Closed
Bug 1316114
Opened 9 years ago
Closed 9 years ago
dom/base/test/test_bug475156.html fails to run twice in the same browser session
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla52
| Tracking | Status | |
|---|---|---|
| firefox52 | --- | fixed |
People
(Reporter: jmaher, Assigned: jmaher)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
this fails:
./mach mochitest dom/base/test/test_bug475156.html --repeat 1
our tests shouldn't be that fragile!
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jmaher
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8808785 [details]
Bug 1316114 - reset sjs file at the end of the test case.
https://reviewboard.mozilla.org/r/91530/#review91632
::: dom/base/test/test_bug475156.html:264
(Diff revision 1)
> },
> +
> + {
> + init: function (xhr) {
> + xhr.open("GET", path + "bug475156.sjs");
> + xhr.setRequestHeader("If-Match", "a1");
I'm not author of this test. if this helps, then I don't understand how. but if it does, land it.
please fix the indent to be 2 spaces
Comment 4•9 years ago
|
||
Comment on attachment 8808785 [details]
Bug 1316114 - reset sjs file at the end of the test case.
how much I don't like rb....
Attachment #8808785 -
Flags: review?(honzab.moz) → review+
| Assignee | ||
Comment 5•9 years ago
|
||
what happens is the internal state in the .sjs file is set at a3, so when we run again, it is cached and gets a3 instead of a fresh value of a1.
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8808785 [details]
Bug 1316114 - reset sjs file at the end of the test case.
sorry about that :( I obviously don't know how to use mozreview and will switch to a splinter patch with the whitespace changes.
Attachment #8808785 -
Flags: review?(honzab.moz)
| Assignee | ||
Updated•9 years ago
|
Attachment #8808785 -
Attachment is obsolete: true
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Attachment #8809163 -
Flags: review?(honzab.moz) → review+
| Assignee | ||
Comment 9•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8809163 [details]
Bug 1316114 - reset sjs file at the end of the test case.
https://reviewboard.mozilla.org/r/91800/#review91726
reviewed in the previous attempt to push this.
Comment 10•9 years ago
|
||
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c62fafdf682
reset sjs file at the end of the test case. r=jmaher
Comment 11•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•