Closed
Bug 1142330
Opened 10 years ago
Closed 10 years ago
test-page-mod and test-page-worker failures in travis-ci
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mossop, Assigned: mossop)
References
Details
Attachments
(1 file)
The following tests failed:
./test/test-page-mod.testPageModContentScriptFile: timed out, failure
./test/test-page-mod.testPageModCss: failure
./test/test-page-worker.testLoadContentPageRelativePath: timed out
The reason they are failing is because they can't find content script files they need. In both cases they create a loader with prefixURI pointing into the test fixtures directory:
https://github.com/mozilla/addon-sdk/blob/master/test/pagemod-test-helpers.js#L18
Unfortunately since the baseURI preference is set that prefix is completely ignored when self.data.url is called:
https://github.com/mozilla/addon-sdk/blob/master/lib/sdk/addon/bootstrap.js#L106
https://github.com/mozilla/addon-sdk/blob/master/lib/sdk/self.js#L24
Previously the test-native-options test was clearing baseURI while it ran which was hiding this but running the test individually shows that it has been faulty for a long time, at least back January, probably caused by bug 1115601.
Assignee | ||
Comment 1•10 years ago
|
||
This is looking more healthy on travis. One intermittent failure (bug 1009340), one other I didn't recognise but respinning to check. Pretty sure this is good though.
Attachment #8576332 -
Flags: review?(evold)
Updated•10 years ago
|
Attachment #8576332 -
Flags: review?(evold) → review+
Updated•10 years ago
|
Blocks: sdk/page-mod
Priority: -- → P1
Comment 2•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/5d4a58046a91888b743629106c59c8c434fcfcc2
Bug 1142330: Make child loaders user a unique ID so they don't inherit the preferences of the parent loader.
https://github.com/mozilla/addon-sdk/commit/b637d55fe61e3ab5362a703fd96489eeb899a6d2
Merge pull request #1893 from Mossop/bug1142330
Bug 1142330: Make child loaders user a unique ID so they don't inherit the preferences of the parent loader. r=erikvold
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•