Closed
Bug 565186
Opened 15 years ago
Closed 15 years ago
WARNING: NS_ENSURE_TRUE(mDocument && mDocShell) failed: file nsHtml5TreeOpExecutor.cpp
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
People
(Reporter: dbaron, Assigned: vlad)
References
Details
Attachments
(1 file)
646 bytes,
patch
|
hsivonen
:
review+
|
Details | Diff | Splinter Review |
I see excessive numbers of:
WARNING: NS_ENSURE_TRUE(mDocument && mDocShell) failed: file .../mozilla/parser/html/nsHtml5TreeOpExecutor.cpp, line 610
on many sites. (One example is http://maps.google.com/, but I've seen other sites with significantly larger numbers.)
Should this actually spam the console every time it happens? Is there something going wrong?
Comment 1•15 years ago
|
||
The code is question is legacy code copied from elsewhere in Gecko (from nsHTMLContentSink.cpp), which is why it uses NS_ENSURE_TRUE, which in turn spams the console pointlessly.
The new parser calls this code where the old parser didn't (in innerHTML setter), because there's no normal sink / fragment sink distinction. Changing this is bug 559319.
Depends on: 559319
Assignee | ||
Comment 2•15 years ago
|
||
If the spam is pointless, can we just remove it, like so?
Attachment #449056 -
Flags: review?(hsivonen)
Updated•15 years ago
|
Attachment #449056 -
Flags: review?(hsivonen) → review+
Assignee | ||
Comment 3•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Assignee: nobody → vladimir
You need to log in
before you can comment on or make changes to this bug.
Description
•