"ASSERTION: Don't schedule the same document multiple times"

RESOLVED FIXED in mozilla11

Status

()

Core
DOM
P1
normal
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: Jesse Ruderman, Assigned: bz)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
mozilla11
x86_64
Mac OS X
assertion, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 580578 [details]
testcase

###!!! ASSERTION: Don't schedule the same document multiple times: 'mFrameRequestCallbackDocs.IndexOf(aDocument) == mFrameRequestCallbackDocs.NoIndex', file layout/base/nsRefreshDriver.cpp, line 533
Worksforme with an m-c debug build pulled today (on Mac).
(Reporter)

Comment 2

6 years ago
I can reproduce with the same rev (built from http://hg.mozilla.org/mozilla-central/rev/63bff373cb94). Hmm. I'm on Mac OS X 10.6, if that matters.
I am too...  I guess I'll try building from your rev and reproducing.  Using a clean profile?
(Reporter)

Comment 4

5 years ago
I can reproduce with a clean profile. (Tested with rev 7e74a12601a4 this time.)
OK, now I can reproduce; I needed a narrower browser window to trigger tab scrolling.  This is totally my fault: canceling a callback doesn't unregister us (on purpose, sorta), but other code depends on the invariant that registered == have callbacks.
Created attachment 581883 [details] [diff] [review]
Manage our scheduled state better when animation frame requests are canceled.
Attachment #581883 - Flags: review?(roc)
Assignee: nobody → bzbarsky
Blocks: 647518
Priority: -- → P1
Whiteboard: [need review]
Attachment #581883 - Flags: review?(roc) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/3eb0d7445611
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/3eb0d7445611
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.