Closed
Bug 489812
Opened 16 years ago
Closed 16 years ago
[FIX] Suspending timeouts doesn't clear mFiringDepth
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla1.9.1
People
(Reporter: smaug, Assigned: smaug)
References
Details
(Keywords: fixed1.9.1, regression)
Attachments
(3 files, 1 obsolete file)
3.39 KB,
patch
|
jst
:
superreview+
|
Details | Diff | Splinter Review |
3.38 KB,
patch
|
bent.mozilla
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
3.38 KB,
patch
|
Details | Diff | Splinter Review |
Passes chrome/browser-chrome/mochitest
Ginn, could you test this with your testcase?
Flags: blocking1.9.1?
Attachment #374273 -
Flags: superreview?(jst)
Attachment #374273 -
Flags: review?(bent.mozilla)
Assignee | ||
Updated•16 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•16 years ago
|
||
Doesn't regress https://bugzilla.mozilla.org/show_bug.cgi?id=37907, which bug 315286 fixed.
Assignee | ||
Comment 2•16 years ago
|
||
Attachment #374273 -
Attachment is obsolete: true
Attachment #374283 -
Flags: superreview?(jst)
Attachment #374283 -
Flags: review?(bent.mozilla)
Attachment #374273 -
Flags: superreview?(jst)
Attachment #374273 -
Flags: review?(bent.mozilla)
Comment on attachment 374283 [details] [diff] [review]
Remove some debug leftovers from the test.
Are you sure you want to move the IsFrozen check too? That was in place before we ever started messing with the sync xhr stuff so I'm worried it might cause some other hard-to-find regression. Having said that, though, I think that your change is correct. jst should weigh in.
Assignee | ||
Comment 4•16 years ago
|
||
(In reply to comment #3)
> (From update of attachment 374283 [details] [diff] [review])
> Are you sure you want to move the IsFrozen check too?
As far as I see, that is the right thing to do... but sure, for 1.9.1 we can
make only the minimal change.
Assignee | ||
Comment 5•16 years ago
|
||
Attachment #374304 -
Flags: superreview?(jst)
Attachment #374304 -
Flags: review?(bent.mozilla)
Updated•16 years ago
|
Attachment #374304 -
Flags: review?(bent.mozilla) → review+
Comment 7•16 years ago
|
||
If I understand this right this can cause random timers to never fire, and that could break random sites. Blocking.
Flags: blocking1.9.1? → blocking1.9.1+
Assignee | ||
Comment 8•16 years ago
|
||
(In reply to comment #7)
> If I understand this right this can cause random timers to never fire, and that
> could break random sites.
Right.
Any chance for a sreview ;) The latter patch changes only sync-XHR case. The
first patch should fix also the case when page goes to bfcache and then back, but that is an *old* regression.
Updated•16 years ago
|
Attachment #374283 -
Flags: superreview?(jst) → superreview+
Comment 9•16 years ago
|
||
Comment on attachment 374283 [details] [diff] [review]
Remove some debug leftovers from the test.
I think we do want this, and I'd even say we should take this for the branch as well.
Updated•16 years ago
|
Attachment #374304 -
Flags: superreview?(jst) → superreview+
Comment 10•16 years ago
|
||
Comment on attachment 374304 [details] [diff] [review]
Moving only mTimeoutsSuspendDepth check
sr=jst for this one as well, but I still think we should take the other patch on the branch.
Assignee | ||
Comment 11•16 years ago
|
||
Comment on attachment 374304 [details] [diff] [review]
Moving only mTimeoutsSuspendDepth check
http://hg.mozilla.org/mozilla-central/rev/531f60d6cf88
I pushed this one. I think I need to write some tests before pushing the other one.
Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•16 years ago
|
||
Ginn, could you verify (using a trunk build) that the bug is fixed.
Comment 13•16 years ago
|
||
I've confirmed it is fixed in this build.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090426 Minefield/3.6a1pre
Built from http://hg.mozilla.org/mozilla-central/rev/b552b1ef8aa0
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Attachment #374283 -
Flags: review?(bent.mozilla)
Assignee | ||
Comment 14•16 years ago
|
||
Assignee | ||
Comment 15•16 years ago
|
||
Keywords: fixed1.9.1
Updated•16 years ago
|
Flags: in-testsuite+
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
•