Closed
Bug 608911
Opened 14 years ago
Closed 14 years ago
Invalid check in browser_bug562890.js
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla2.0b7
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file, 1 obsolete file)
4.03 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #487643 -
Flags: review?(dtownsend)
Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 487643 [details] [diff] [review]
patch rev1
found another change I'd like to make
Attachment #487643 -
Flags: review?(dtownsend)
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #487643 -
Attachment is obsolete: true
Attachment #487657 -
Flags: review?(dtownsend)
Comment 4•14 years ago
|
||
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+
Assignee | ||
Comment 5•14 years ago
|
||
Pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/48ae242466f0
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Flags: in-litmus-
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b7
You need to log in
before you can comment on or make changes to this bug.
Description
•