Closed Bug 588319 Opened 15 years ago Closed 15 years ago

test-securable-module.testSecurableModule failures

Categories

(Add-on SDK Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Assigned: irakli)

References

Details

Attachments

(1 file)

I'm seeing es5-related test failures when testing securable-module on tip on Linux: (jsdk)myk@myk:~/Projects/jsdk/packages/jetpack-core$ cfx test -F securable-module ... error: TEST FAILED: test-securable-module.testSecurableModule (exception) error: An exception occurred. Traceback (most recent call last): File "<string>", line 1, in File "", line 0, in require File "resource://jetpack-core-jetpack-core-lib/securable-module.js", line 210, in require throw new Error('Module "' + module + '" not found'); File "", line 0, in Error Error: Module "es5" not found .....error: fail: "/blarg/foo" != null info: Traceback (most recent call last): File "<string>", line 1, in null File "resource://jetpack-core-jetpack-core-lib/securable-module.js", line 208, in require var path = self.fs.resolveModule(rootDir, module); File "resource://jetpack-core-jetpack-core-tests/test-securable-module.js", line 264, in anonymous test.assertEqual(base, null); File "resource://jetpack-core-jetpack-core-lib/unit-test.js", line 231, in assertEqual this.fail(message); File "resource://jetpack-core-jetpack-core-lib/unit-test.js", line 149, in fail console.trace(); error: fail: "es5" != "foo" info: Traceback (most recent call last): File "<string>", line 1, in null File "resource://jetpack-core-jetpack-core-lib/securable-module.js", line 208, in require var path = self.fs.resolveModule(rootDir, module); File "resource://jetpack-core-jetpack-core-tests/test-securable-module.js", line 265, in anonymous test.assertEqual(path, "foo"); File "resource://jetpack-core-jetpack-core-lib/unit-test.js", line 231, in assertEqual this.fail(message); File "resource://jetpack-core-jetpack-core-lib/unit-test.js", line 149, in fail console.trace(); error: An exception occurred. Traceback (most recent call last): File "<string>", line 1, in TypeError: require("es5").init is not a function
Blocks: 588320
Attached patch FixSplinter Review
I still see 2 test failures but they are unrelated to this one.
Attachment #467043 - Flags: review?(myk)
Comment on attachment 467043 [details] [diff] [review] Fix Looks good, works well, r=myk!
Attachment #467043 - Flags: review?(myk) → review+
I went ahead and pushed this, since we need it to spin the 0.7 RC. Fixed by changeset https://hg.mozilla.org/labs/jetpack-sdk/rev/bdb08e077013.
Assignee: nobody → rFobic
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product. To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: