Closed
Bug 744366
Opened 12 years ago
Closed 12 years ago
Assert about expected readyState before readyState transitions
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: hsivonen, Assigned: hsivonen)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
11.38 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
In order to make it easier to fix about:blank in a way that makes sure its readyStates are reasonable, it's useful to assert about the readyState being transitioned away from in various situations. (However, it's probably not worthwhile to try to make readyState make sense for XUL documents.) In order to avoid bitrot, it makes sense to do this separately of the main about:blank fix.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #615335 -
Attachment is obsolete: true
Attachment #615379 -
Flags: review?(bzbarsky)
Comment 3•12 years ago
|
||
Comment on attachment 615379 [details] [diff] [review] Assert about readyState, right patch Review of attachment 615379 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/base/src/nsDocument.cpp @@ +7707,5 @@ > + /* > + if (READYSTATE_COMPLETE == rs) { > + fprintf(stderr, "Setting readyState to complete on %p\n", static_cast<nsIDocument*>(this)); > + NS_ASSERTION(false, "Dump stack"); > + } You probably want to remove this hunk before landing.
![]() |
||
Comment 4•12 years ago
|
||
Comment on attachment 615379 [details] [diff] [review] Assert about readyState, right patch What ms2ger said, and r=me
Attachment #615379 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Ms2ger from comment #3) > You probably want to remove this hunk before landing. Oops. Thanks. Removed. (In reply to Boris Zbarsky (:bz) from comment #4) > What ms2ger said, and r=me Thanks. Landed. https://hg.mozilla.org/integration/mozilla-inbound/rev/5ed1eb2bb418
Flags: in-testsuite-
Target Milestone: --- → mozilla14
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5ed1eb2bb418
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•