Closed Bug 608911 Opened 14 years ago Closed 14 years ago

Invalid check in browser_bug562890.js

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla2.0b7

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch rev1 (obsolete) — Splinter Review
Attachment #487643 - Flags: review?(dtownsend)
Comment on attachment 487643 [details] [diff] [review] patch rev1 found another change I'd like to make
Attachment #487643 - Flags: review?(dtownsend)
Attached patch patch rev2Splinter Review
Attachment #487643 - Attachment is obsolete: true
Attachment #487657 - Flags: review?(dtownsend)
Comment on attachment 487657 [details] [diff] [review] patch rev2 >diff --git a/toolkit/mozapps/extensions/test/browser/browser_bug562890.js b/toolkit/mozapps/extensions/test/browser/browser_bug562890.js >--- a/toolkit/mozapps/extensions/test/browser/browser_bug562890.js >+++ b/toolkit/mozapps/extensions/test/browser/browser_bug562890.js >@@ -5,18 +5,22 @@ > /** > * Tests the Preferences button for addons in list view > */ > > function test() { > requestLongerTimeout(2); > > waitForExplicitFinish(); >- >- var addonPrefsURI = TESTROOT + "addon_prefs.xul"; >+ >+ var addonPrefPathParts = getRootDirectory(gTestPath).split("/"); >+ // Drop the test last directory name >+ addonPrefPathParts.splice(addonPrefPathParts.length - 2); >+ addonPrefPathParts.push("browser"); >+ var addonPrefsURI = addonPrefPathParts.join("/") + "/" + "addon_prefs.xul"; Actually you should just be able to use CHROMEROOT + "addon_prefs.xul" here. r+ with that change.
Attachment #487657 - Flags: review?(dtownsend) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Flags: in-litmus-
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b7
Verified fixed by check-in.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: