Closed Bug 907648 Opened 12 years ago Closed 12 years ago

test_bug379959.html and test_bug369814.html should use SpecialPowers

Categories

(Core :: XBL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(1 file, 3 obsolete files)

Attached patch 379959.diff (obsolete) — Splinter Review
This test is still using old-style pref setting, the attached patch makes it so that it uses pushPrefEnv.
Attachment #793423 - Flags: review?(jmaher)
Attached patch patch (obsolete) — Splinter Review
docshell/test/test_bug369814.html is also still using old-style pref setting, I included that one as well in this patch.
Attachment #793423 - Attachment is obsolete: true
Attachment #793423 - Flags: review?(jmaher)
Attachment #793441 - Flags: review?(jmaher)
function startTests() in test_bug369814.html didn't seem to be used at all, so I just removed it.
Summary: test_bug379959.html should use SpecialPowers → test_bug379959.html and test_bug369814.html should use SpecialPowers
Comment on attachment 793441 [details] [diff] [review] patch Review of attachment 793441 [details] [diff] [review]: ----------------------------------------------------------------- thanks! I assume these run great on all platforms, opt + debug. ::: docshell/test/test_bug369814.html @@ +29,4 @@ > var gCurrentTest; > var gTargetWindow; > var gNumPokes; > var gPrefValue; we could probably remove this now?
Attachment #793441 - Flags: review?(jmaher) → review+
Yeah, gPrefValue can be removed, will do that in the patch that is ready to be checked in. In the meantime, pushed to try to test it on all platforms: https://tbpl.mozilla.org/?tree=Try&rev=4d4c5a1200b9
Attached patch 907648.diff (obsolete) — Splinter Review
This is what I pushed to try.
Attachment #793441 - Attachment is obsolete: true
Try is green, this is for check-in.
Attachment #793458 - Attachment is obsolete: true
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: