Closed
Bug 1282985
Opened 9 years ago
Closed 9 years ago
"ASSERTION: No Document Request!" with <iframe>, <video>, <svg:use>
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: jruderman, Assigned: smaug)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
###!!! ASSERTION: No Document Request!: 'mDocumentRequest', file uriloader/base/nsDocLoader.cpp, line 695
###!!! ASSERTION: Firing OnStateChange(...) notification with a NULL request!: 'aRequest', file uriloader/base/nsDocLoader.cpp, line 1248
Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
smaug may know what's up here.
http://searchfox.org/mozilla-central/source/uriloader/base/nsDocLoader.cpp#695
Flags: needinfo?(bugs)
Assignee | ||
Comment 3•9 years ago
|
||
ok, so because of flushing in nsDocLoader::DocLoaderIsEmpty we re-enter the method and end up clearing document request.
Assignee | ||
Comment 4•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4dda0bdc51eb0e9d69b4f741af752fb2805f8ccc
I went through couple of other options, but I think this quick-and-dirty is actually the best and safest.
The re-entrancy happens when we after layout flush run script runners and stop frameloader's docshell.
Comment on attachment 8766585 [details] [diff] [review]
docloader_unusual_reentrancy.diff
Review of attachment 8766585 [details] [diff] [review]:
-----------------------------------------------------------------
Ok ... I guess.
Attachment #8766585 -
Flags: review?(khuey) → review+
Reporter | ||
Comment 6•9 years ago
|
||
Is there a more direct way to test this kind of thing? The fragile setTimeout cascade was hard to work with and won't make a reliable regression test.
Assignee | ||
Comment 7•9 years ago
|
||
perhaps dholbert might be able to comment about that, given that this is about svg:use, which does some rather unusual stuff in layout.
Flags: needinfo?(dholbert)
Comment 8•9 years ago
|
||
Sorry, I haven't had a recent enough interaction with the <use> mechanics (and the flushes / loader stuff involved here) to have a solid suggestion for comment 6.
Flags: needinfo?(dholbert)
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3fc0469634a5
don't try to notify about page load of already stopped page, r=khuey
![]() |
||
Comment 10•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•