Closed
Bug 718340
Opened 13 years ago
Closed 13 years ago
Don't traverse black windows
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
patch
|
mccr8
:
review+
jst
:
review+
|
Details | Diff | Splinter Review |
There are cases when window is still black, but document isn't in CC generation.
I think this would be the fix for jst's Google Reader problem.
I'd like to land this small patch separately so that possible regressions are easier
to find.
Attachment #588779 -
Flags: review?(jst)
Attachment #588779 -
Flags: review?(continuation)
Assignee | ||
Comment 1•13 years ago
|
||
The patch has been part of my bigger patch for ~two weeks now, and so far everything looks ok.
Comment 2•13 years ago
|
||
Comment on attachment 588779 [details] [diff] [review]
patch
Makes sense. The wrapper will always keep the window alive, so this makes sense to me. Just out of curiousity, have you looked at doing this for nsGenericElements with wrappers?
Attachment #588779 -
Flags: review?(continuation) → review+
Updated•13 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Assignee | ||
Comment 3•13 years ago
|
||
Yes, nodes do check blackness already. It is just that any changes to window's CC handling *may*
have more dramatic effects than changing just node/element/document handling - that is why
I want to land this small patch separately.
Updated•13 years ago
|
Attachment #588779 -
Flags: review?(jst) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•13 years ago
|
||
Some unknown orange. filed bug 716598
https://hg.mozilla.org/mozilla-central/rev/b3b8d62e0d92
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #5)
> Some unknown orange. filed bug 716598
er, bug 718411
Assignee | ||
Comment 7•13 years ago
|
||
I haven't seen the error on tryserver. Is it required to traverse timeouts even when
the window is black. But if so, why not when the document is in cc generation.
Assignee | ||
Comment 8•13 years ago
|
||
I don't understand it. Timeouts should be traversed anyway, since they are stored in mJSHolders
and XPConnect should add that stuff to CC.
Comment 9•13 years ago
|
||
Have you tried turning on CC logging and seeing what they look like with and without this turned optimization?
Assignee | ||
Comment 10•13 years ago
|
||
Well, there is certainly a bug in videocontrols.xml.
But no, I haven't checked the CC logs, since I can't reproduce the problem.
Assignee | ||
Comment 11•13 years ago
|
||
And looks like the failure isn't caused by this. It happened even after backout.
Comment 12•13 years ago
|
||
Well, at least that means we still probably understand what is happening.
Assignee | ||
Comment 13•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0e7d183d0d12
The problem ended up being a regression from another patch which landed just before this one.
Hopefully better luck this time.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•