Closed
Bug 722962
Opened 13 years ago
Closed 13 years ago
intermittent failure in /tests/content/base/test/test_XHR.html | hello pass
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla13
Tracking | Status | |
---|---|---|
firefox11 | --- | unaffected |
firefox12 | - | fixed |
People
(Reporter: philor, Assigned: emk)
References
Details
(Keywords: intermittent-failure, regression, Whiteboard: [qa-])
Attachments
(1 file, 3 obsolete files)
9.82 KB,
patch
|
emk
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #656253 +++
https://tbpl.mozilla.org/php/getParsedLog.php?id=8972541&tree=Firefox
Rev3 WINNT 5.1 mozilla-central opt test mochitests-1/5 on 2012-01-31 05:03:58
6764 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_XHR.html | hello pass
https://tbpl.mozilla.org/php/getParsedLog.php?id=8991612&tree=Mozilla-Inbound
Rev3 WINNT 6.1 mozilla-inbound opt test mochitests-1/5 on 2012-01-31 17:06:47
6764 ERROR TEST-UNEXPECTED-FAIL | /tests/content/base/test/test_XHR.html | hello pass
Assignee | ||
Comment 1•13 years ago
|
||
|var fr| can race after bug 696586 because it is executed twice now.
Wrapped the code in an anonymous function to avoid the race.
Also added |"use strict";| directive.
Can you explain what's happening here?
I don't see how runTests is run twice, and even if it was, 'fr' is a local variable so it will go out of scope after the first run, no?
Nit: please put the "use strict" on a separate line.
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Jonas Sicking (:sicking) from comment #2)
|var fr = new FileReader();| at line 237 will be executed twice because a for-loop has been added by bug 696586 (from line 218 to line 302).
'fr' will be overwritten even if it is a local variable because the for-loop will not create a independent scope. I added a anonymous function to create a new scope for every execute.
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #593626 -
Flags: review?(jonas)
Assignee | ||
Updated•13 years ago
|
Attachment #593371 -
Attachment is obsolete: true
Attachment #593371 -
Flags: review?(jonas)
Comment on attachment 593626 [details] [diff] [review]
patch v2
Review of attachment 593626 [details] [diff] [review]:
-----------------------------------------------------------------
r=me if you also fix the indentation in this file. Both the fact that this whole thing is wrapped in a function, and the for-loop is all too easy to miss.
Attachment #593626 -
Flags: review?(jonas) → review+
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 9•13 years ago
|
||
Attachment #593626 -
Attachment is obsolete: true
Attachment #593794 -
Flags: review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 10•13 years ago
|
||
Sorry, the previous patch didn't pass the test
Attachment #593794 -
Attachment is obsolete: true
Attachment #593798 -
Flags: review+
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Updated•13 years ago
|
Whiteboard: [orange] → [orange] [autoland-try]
Updated•13 years ago
|
Whiteboard: [orange] [autoland-try] → [orange] [autoland-in-queue]
Comment 14•13 years ago
|
||
Autoland Patchset:
Patches: 593798
Branch: mozilla-central => try
Destination: http://hg.mozilla.org/try/rev/f1b3301da9a5
Try run started, revision f1b3301da9a5. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=f1b3301da9a5
Assignee | ||
Updated•13 years ago
|
status-firefox11:
--- → unaffected
status-firefox12:
--- → affected
tracking-firefox12:
--- → ?
Keywords: regression
Comment 15•13 years ago
|
||
Try run for f1b3301da9a5 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=f1b3301da9a5
Results (out of 206 total builds):
success: 185
warnings: 21
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-f1b3301da9a5
Timed out after 06 hours without completing.
Comment 16•13 years ago
|
||
Keywords: checkin-needed
Whiteboard: [orange] [autoland-in-queue] → [orange]
Target Milestone: --- → mozilla13
Comment 17•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 18•13 years ago
|
||
We don't typically track a test-only change for release, but we'll gladly accept a nomination to fix this orange on Aurora 12.
Assignee | ||
Comment 19•13 years ago
|
||
Comment on attachment 593798 [details] [diff] [review]
patch for check in; r=jonas
[Approval Request Comment]
Regression caused by (bug #): bug 696586
User impact if declined: None (test only)
Testing completed (on m-c, etc.): No test orange on m-c for 5 days
Risk to taking this patch (and alternatives if risky): None (test only)
String changes made by this patch: None
Attachment #593798 -
Flags: approval-mozilla-aurora?
Comment 20•13 years ago
|
||
Comment on attachment 593798 [details] [diff] [review]
patch for check in; r=jonas
[Triage Comment]
Approved for Aurora 12.
Attachment #593798 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Whiteboard: [orange] → [orange] [land to aurora]
Comment 21•13 years ago
|
||
Keywords: checkin-needed
Whiteboard: [orange] [land to aurora] → [orange]
Updated•12 years ago
|
Keywords: intermittent-failure
Updated•12 years ago
|
Whiteboard: [orange][qa-] → [qa-]
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
•