Closed Bug 686032 Opened 13 years ago Closed 13 years ago

Test for bug 622088 conceals its location after it's done

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

My patch in bug 668728 requires that when each test is finished, its location won't change. The test for bug 622088 breaks this invariant, by using history.replaceState. I have a simple patch to fix this.
Attached patch Patch (v1) (deleted) — Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #559603 - Flags: review?(ted.mielczarek)
Comment on attachment 559603 [details] [diff] [review] Patch (v1) Review of attachment 559603 [details] [diff] [review]: ----------------------------------------------------------------- Fine, but again, I'd really prefer the original test authors to r+ these.
Attachment #559603 - Flags: review?(ted.mielczarek) → review+
Attachment #559603 - Flags: review?(justin.lebar+bug)
Copy-pasted from bug 685788 comment 3: (In reply to Ehsan Akhgari [:ehsan] from comment #0) > My patch in bug 668728 requires that when each test is finished, its > location won't change. It's not a problem if the test fails (e.g. throws an exception) and leaves the location different than it was initially? ed. to add: The failure mode for many of these tests is to hang and not get to the SimpleTest.finish() call.
(In reply to Justin Lebar [:jlebar] from comment #3) > Copy-pasted from bug 685788 comment 3: > > (In reply to Ehsan Akhgari [:ehsan] from comment #0) > > My patch in bug 668728 requires that when each test is finished, its > > location won't change. > > It's not a problem if the test fails (e.g. throws an exception) and leaves > the location different than it was initially? > > ed. to add: The failure mode for many of these tests is to hang and not get > to the SimpleTest.finish() call. That should be fine, as my patch in bug 668728 would catch that as an explicit failure. So we'll have one timeout, and one explicit failure. Which is even better than only a timeout. ;-)
Comment on attachment 559603 [details] [diff] [review] Patch (v1) Cool; sounds like a plan!
Attachment #559603 - Flags: review?(justin.lebar+bug) → review+
Flags: in-testsuite+
Target Milestone: --- → mozilla9
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: