Closed
Bug 784116
Opened 13 years ago
Closed 13 years ago
error: TEST FAILED: test-content-proxy.testFunctions (timed out)
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: ochameau)
References
Details
Attachments
(1 file)
info: executing 'test-content-proxy.testFunctions'
error: An exception occurred.
Traceback (most recent call last):
File " }", line 9, in }:
File " done()", line NaN, in done
File " assert(window.wrappedJSObject.isEqual(closure, closure), "Function references are cached before being wrapped to native")", line NaN, in assert
File " let closure = function () {}", line NaN, in let closure = function
File " // Ensure that functions are cached when being wrapped to native cod", line NaN, in // Ensure that functions are cached when being wrapped to native cod
File " assert(window.wrappedJSObject.callFunction(closure2) == "ok", "Function references work")", line NaN, in assert
File " let closure2 = function () {return "ok";}", line NaN, in let closure2 = function
File " // Check basic usage of function", line NaN, in // Check basic usage of function
File "new function ContentScriptScope() ", line NaN, in new function ContentScriptScope
File " }", line NaN, in }
File " ", line NaN, in
File " self.port.emit("done")", line NaN, in self.port.emit
File " done = function done() ", line NaN, in done = function done
File " ", line NaN, in
File " self.port.emit("assert", {assertion:v, msg", line NaN, in self.port.emit
File " assert = function assert(v, msg) ", line NaN, in assert = function assert
File "javascript", line NaN, in
File " }", line 12, in }:1
File " done()", line NaN, in done
File " assert(window.wrappedJSObject.isEqual(closure, closure), "Function references are cached before being wrapped to native")", line NaN, in assert
File " let closure = function () {}", line NaN, in let closure = function
File " // Ensure that functions are cached when being wrapped to native cod", line NaN, in // Ensure that functions are cached when being wrapped to native cod
File " assert(window.wrappedJSObject.callFunction(closure2) == "ok", "Function references work")", line NaN, in assert
File " let closure2 = function () {return "ok";}", line NaN, in let closure2 = function
File " // Check basic usage of function", line NaN, in // Check basic usage of function
File "new function ContentScriptScope() ", line NaN, in new function ContentScriptScope
File " }", line NaN, in }
File " ", line NaN, in
File " self.port.emit("done")", line NaN, in self.port.emit
File " done = function done() ", line NaN, in done = function done
File " ", line NaN, in
File " self.port.emit("assert", {assertion:v, msg", line NaN, in self.port.emit
File " assert = function assert(v, msg) ", line NaN, in assert = function assert
File "javascript", line NaN, in ContentScriptScope
File "resource://b6333372-d002-4ac5-823c-a6d342038ba7-at-jetpack/api-utils/lib/content/content-proxy.js", line 803, in
return wrap(o, obj, name);
File "resource://b6333372-d002-4ac5-823c-a6d342038ba7-at-jetpack/api-utils/lib/content/content-proxy.js", line 307, in wrap
return getProxyForFunction(value, NativeFunctionWrapper(value, obj, name));
File "resource://b6333372-d002-4ac5-823c-a6d342038ba7-at-jetpack/api-utils/lib/content/content-proxy.js", line 367, in getProxyForFunction
configurable : false});
Error: Permission denied to access property '___proxy'
console: [JavaScript Error: "An exception occurred.
Traceback (most recent call last):
File " }", line 9, in }:
File " done()", line NaN, in done
File " assert(window.wrappedJSObject.isEqual(closure, closure), "Function references are cached before being wrapped to native")", line NaN, in assert
File " let closure = function () {}", line NaN, in let closure = function
File " // Ensure that functions are cached when being wrapped to native cod", line NaN, in // Ensure that functions are cached when being wrapped to native cod
File " assert(window.wrappedJSObject.callFunction(closure2) == "ok", "Function references work")", line NaN, in assert
File " let closure2 = function () {return "ok";}", line NaN, in let closure2 = function
File " // Check basic usage of function", line NaN, in // Check basic usage of function
File "new function ContentScriptScope() ", line NaN, in new function ContentScriptScope
File " }", line NaN, in }
File " ", line NaN, in
File " self.port.emit("done")", line NaN, in self.port.emit
File " done = function done() ", line NaN, in done = function done
File " ", line NaN, in
File " self.port.emit("assert", {assertion:v, msg", line NaN, in self.port.emit
File " assert = function assert(v, msg) ", line NaN, in assert = function assert
File "javascript", line NaN, in
File " }", line 12, in }:1
File " done()", line NaN, in done
File " assert(window.wrappedJSObject.isEqual(closure, closure), "Function references are cached before being wrapped to native")", line NaN, in assert
File " let closure = function () {}", line NaN, in let closure = function
File " // Ensure that functions are cached when being wrapped to native cod", line NaN, in // Ensure that functions are cached when being wrapped to native cod
File " assert(window.wrappedJSObject.callFunction(closure2) == "ok", "Function references work")", line NaN, in assert
File " let closure2 = function () {return "ok";}", line NaN, in let closure2 = function
File " // Check basic usage of function", line NaN, in // Check basic usage of function
File "new function ContentScriptScope() ", line NaN, in new function ContentScriptScope
File " }", line NaN, in }
File " ", line NaN, in
File " self.port.emit("done")", line NaN, in self.port.emit
File " done = function done() ", line NaN, in done = function done
File " ", line NaN, in
File " self.port.emit("assert", {assertion:v, msg", line NaN, in self.port.emit
File " assert = function assert(v, msg) ", line NaN, in assert = function assert
File "javascript", line NaN, in ContentScriptScope
File "resource://b6333372-d002-4ac5-823c-a6d342038ba7-at-jetpack/api-utils/lib/content/content-proxy.js", line 803, in
return wrap(o, obj, name);
File "resource://b6333372-d002-4ac5-823c-a6d342038ba7-at-jetpack/api-utils/lib/content/content-proxy.js", line 307, in wrap
return getProxyForFunction(value, NativeFunctionWrapper(value, obj, name));
File "resource://b6333372-d002-4ac5-823c-a6d342038ba7-at-jetpack/api-utils/lib/content/content-proxy.js", line 367, in getProxyForFunction
configurable : false});
Error: Permission denied to access property '___proxy'
"]
error: TEST FAILED: test-content-proxy.testFunctions (timed out)
All of our tests turned orange with the backout of bug 764831.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → poirot.alex
Assignee | ||
Updated•13 years ago
|
OS: Windows 8 → All
Hardware: x86_64 → All
Updated•13 years ago
|
Attachment #653490 -
Flags: review+
Comment 2•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/80cc2f6cc885fc142555825f67609467940aaeb1
Bug 784116: TEST FAILED: test-content-proxy.testFunctions
https://github.com/mozilla/addon-sdk/commit/a999c0cf1ca7600e6406b088f7f606aa34c94077
Merge pull request #527 from ochameau/bug-784116
Fixes Bug 784116: TEST FAILED: test-content-proxy.testFunctions
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 3•13 years ago
|
||
Commit pushed to stabilization at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/6bfa4630edcd4c0cd6c76edd25fa19c301d7d12e
Bug 784116: TEST FAILED: test-content-proxy.testFunctions
(cherry picked from commit 80cc2f6cc885fc142555825f67609467940aaeb1)
You need to log in
before you can comment on or make changes to this bug.
Description
•