Closed Bug 585209 Opened 14 years ago Closed 14 years ago

Add a couple of mochitests for the location object

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b4

People

(Reporter: mrbkap, Assigned: mrbkap)

References

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch patchSplinter Review
One of these fails and is a todo(!).
Attachment #463703 - Flags: review?(jst)
Comment on attachment 463703 [details] [diff] [review]
patch

Looks good.
Attachment #463703 - Flags: review?(jst) → review+
Does top do the right thing in

  top.SimpleTest.ok(!("existingprop" in location), "got a new location object in the iframe");

when you're running in the harness?
http://hg.mozilla.org/tracemonkey/rev/0486278c8eea

Thanks Ms2ger, you're correct; I fixed that in:

http://hg.mozilla.org/tracemonkey/rev/2a4a551d1711
Whiteboard: fixed-in-tracemonkey
Assignee: nobody → mrbkap
Flags: in-testsuite+
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla2.0b4
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: