Closed Bug 1110342 Opened 10 years ago Closed 10 years ago

TEST-UNEXPECTED-FAIL | addon-sdk/tests/test-simple-prefs.testIterations | TypeError: Object.prototype.hasOwnProperty is not a function TypeError: Object.prototype.hasOwnProperty is not a function

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evold, Assigned: irakli)

References

()

Details

TEST-UNEXPECTED-FAIL | addon-sdk/tests/test-simple-prefs.testIterations | TypeError: Object.prototype.hasOwnProperty is not a function
An exception occurred.
Traceback (most recent call last):
  File "resource://gre/modules/Promise-backend.js", line 691, in this.PromiseWalker.scheduleWalkerLoop/<
    DOMPromise.resolve().then(() => this.walkerLoop());
  File "resource://gre/modules/Promise-backend.js", line 749, in this.PromiseWalker.walkerLoop
    this.handlers.shift().process();
  File "resource://gre/modules/Promise-backend.js", line 870, in Handler.prototype.process
    nextValue = this.onResolve.call(undefined, nextValue);
  File "resource://extensions.modules.336806d1-1ef9-4d56-a66a-b21bf78f5927-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 505, in startMany/runNextTest/<
    self.start({test: test, onDone: runNextTest});
  File "resource://extensions.modules.336806d1-1ef9-4d56-a66a-b21bf78f5927-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 542, in start
    this.test.testFunction(this);
  File "resource://extensions.modules.336806d1-1ef9-4d56-a66a-b21bf78f5927-at-jetpack.commonjs.path/sdk/test.js", line 76, in 
    test(assert);
  File "resource://336806d1-1ef9-4d56-a66a-b21bf78f5927-at-jetpack/addon-sdk/tests/test-simple-prefs.js", line 41, in exports.testIterations
    assert.ok(Object.prototype.hasOwnProperty.call(sp, "test"));
TypeError: Object.prototype.hasOwnProperty is not a function
Something landed between dec 8th and the 10th on fx-team which caused this.
Irakli said he is working on this one.
Assignee: nobody → rFobic
https://github.com/mozilla/addon-sdk/commit/3cb218ce13370e4a59738ece8be3099eb7e171cc
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.