Error displayed when running test add-on layout-change

RESOLVED FIXED

Status

Add-on SDK
General
P2
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: erikvold, Assigned: erikvold)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Testing layout-change...
Using binary at '/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin'.
Using profile at '/var/folders/lc/2v6jzk5525gd4l6zr5hxt2yc0000gn/T/tmpPDDnMj.mozrunner'.
Running tests on Firefox 34.0a1/Gecko 34.0a1 ({ec8030f7-c20a-464f-9b0e-13a3a9e97384}) under darwin/x86_64.
console.info: layout-change: executing 'layout-change/main.test compatibility'
console.info: layout-change: pass: sdk/self -> self
console.info: layout-change: pass: sdk/tabs -> tabs
console.error: layout-change: 
  DEPRECATED: The widget module is deprecated.  Please consider using the sdk/ui module instead.
Traceback (most recent call last):
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/test/harness.js", line 617, in runTests
    nextIteration();
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/test/harness.js", line 412, in nextIteration
    checkForEnd();
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/test/harness.js", line 421, in checkForEnd
    findAndRunTests(loader, nextIteration);
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/test/runner.js", line 122, in findAndRunTests
    runner.startMany({
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 496, in startMany
    runNextTest(this);
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 491, in runNextTest
    self.start({test: test, onDone: runNextTest});
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 524, in start
    this.test.testFunction(this);
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/test.js", line 76, in null
    test(assert);
  File "resource://test-layout-change-at-jetpack/layout-change/lib/main.js", line 24, in exports["test compatibility"]
    assert.equal(require("widget"),
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/toolkit/loader.js", line 586, in require
    freeze(load(loader, module));
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/loader/cuddlefish.js", line 129, in CuddlefishLoader/options<.load
    result = load(loader, module);
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/toolkit/loader.js", line 313, in load
    evaluate(sandbox, module.uri);
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/toolkit/loader.js", line 262, in evaluate
    : loadSubScript(uri, sandbox, encoding);
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/widget.js", line 59, in null
    require("./util/deprecate").deprecateUsage(
  File "resource://extensions.modules.test-layout-change-at-jetpack.commonjs.path/sdk/util/deprecate.js", line 18, in deprecateUsage
    let stack = get().slice(2);

Updated

4 years ago
Assignee: nobody → evold
Priority: -- → P2
I wanted to try to work on this more, but I'm not sure that I will be able to now.
Assignee: evold → nobody
Assignee: nobody → evold
Created attachment 8544039 [details] [review]
Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1799
Attachment #8544039 - Flags: review?(tomica+amo)
Attachment #8544039 - Flags: review?(tomica+amo) → review+

Comment 3

4 years ago
Commits pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/ce7498a150828fddb09f366abe590caf5d541517
Bug 1060842 - Error displayed when running test add-on layout-change

https://github.com/mozilla/addon-sdk/commit/0756d5b63dd06e084c3aaac3c6e1e8f576332076
Merge pull request #1799 from erikvold/1060842

Bug 1060842 - Error displayed when running test add-on layout-change r=zombie
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.