Closed Bug 565052 Opened 14 years ago Closed 14 years ago

one test fails with cfx -a firefox testall

Categories

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

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 562762

People

(Reporter: mcepl, Unassigned)

Details

............................................................error: fail: modules shouldn't have chrome privileges by default. ("V <http://www.mozilla.org> bylo odepYeno \r\xEDst vlastnost XPCComponents.classes" != "Permission denied for <http://www.mozilla.org> to get property XPCComponents.classes")
info: Traceback (most recent call last):
  File "resource://testall-jetpack-core-lib/timer.js", line 57, in notify
    this._callback.apply(null, []);
  File "resource://testall-jetpack-core-lib/unit-test.js", line 215, in anonymous
    timer.setTimeout(function() { onDone(self); }, 0);
  File "resource://testall-jetpack-core-lib/unit-test.js", line 238, in runNextTest
    self.start({test: test, onDone: runNextTest});
  File "resource://testall-jetpack-core-lib/unit-test.js", line 256, in start
    this.test(this);
  File "resource://testall-jetpack-core-lib/unit-test.js", line 57, in runTest
    test(runner);
  File "resource://testall-jetpack-core-tests/test-securable-module.js", line 49, in anonymous
    file);
  File "resource://testall-jetpack-core-tests/test-securable-module.js", line 160, in run
    "modules shouldn't have chrome privileges by default."
  File "resource://testall-jetpack-core-tests/test-securable-module.js", line 33, in anonymous
    test.assertEqual(a, b, msg);
  File "resource://testall-jetpack-core-lib/unit-test.js", line 193, in assertEqual
    this.fail(message);
  File "resource://testall-jetpack-core-lib/unit-test.js", line 114, in fail
    console.trace();
.........................console: [JavaScript Error: "[Exception... "'JavaScript component does not have a method named: "notify"' when calling method: [nsITimerCallback::notify]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"  data: no]"]
.console: [JavaScript Error: "[Exception... "'JavaScript component does not have a method named: "notify"' when calling method: [nsITimerCallback::notify]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"  data: no]"]
............................console: [JavaScript Error: "[Exception... "'JavaScript component does not have a method named: "notify"' when calling method: [nsITimerCallback::notify]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"  data: no]"]
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................console: [JavaScript Error: "[Exception... "'JavaScript component does not have a method named: "notify"' when calling method: [nsITimerCallback::notify]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"  data: no]"]
........console: [JavaScript Error: "[Exception... "'JavaScript component does not have a method named: "notify"' when calling method: [nsITimerCallback::notify]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"  data: no]"]
........................................................................................................................................................................................................
object count is 7991 in 65 modules (34380 across entire JS runtime)
Tracked memory objects in testing sandbox: 5
warning: LEAK [object Object]
warning: LEAK resource://testall-jetpack-core-lib/memory.js
warning: LEAK resource://testall-jetpack-core-lib/unload.js
warning: LEAK resource://testall-jetpack-core-lib/unit-test.js
warning: LEAK resource://testall-jetpack-core-lib/timer.js
warning: LEAK resource://testall-jetpack-core-lib/xpcom.js
warning: LEAK resource://testall-jetpack-core-lib/file.js
warning: LEAK resource://testall-jetpack-core-lib/byte-streams.js
warning: LEAK resource://testall-jetpack-core-lib/text-streams.js
warning: LEAK resource://testall-nsjetpack-tests/test-nsjetpack.js
warning: LEAK resource://testall-nsjetpack-tests/test-legacy-nsjetpack.js
warning: LEAK resource://testall-jetpack-core-tests/test-xul-app.js
warning: LEAK resource://testall-jetpack-core-lib/xul-app.js
warning: LEAK resource://testall-jetpack-core-tests/test-plain-text-console.js
warning: LEAK resource://testall-jetpack-core-tests/test-timer.js
warning: LEAK resource://testall-jetpack-core-tests/test-xpcom.js
warning: LEAK resource://testall-jetpack-core-lib/traceback.js
warning: LEAK resource://testall-jetpack-core-tests/test-unload.js
warning: LEAK resource://testall-jetpack-core-tests/test-collection.js
warning: LEAK resource://testall-jetpack-core-lib/collection.js
warning: LEAK resource://testall-jetpack-core-tests/test-traceback.js
warning: LEAK resource://testall-jetpack-core-tests/test-text-streams.js
warning: LEAK resource://testall-jetpack-core-lib/url.js
warning: LEAK resource://testall-jetpack-core-tests/test-globals.js
warning: LEAK resource://testall-jetpack-core-tests/test-preferences-service.js
warning: LEAK resource://testall-jetpack-core-lib/preferences-service.js
warning: LEAK resource://testall-jetpack-core-tests/test-url.js
warning: LEAK resource://testall-jetpack-core-tests/test-cuddlefish.js
warning: LEAK resource://testall-jetpack-core-tests/test-private-browsing.js
warning: LEAK resource://testall-jetpack-core-lib/private-browsing.js
warning: LEAK resource://testall-jetpack-core-lib/observer-service.js
warning: LEAK resource://testall-jetpack-core-lib/errors.js
warning: LEAK resource://testall-jetpack-core-tests/test-observer-service.js
warning: LEAK resource://testall-jetpack-core-tests/test-errors.js
warning: LEAK resource://testall-jetpack-core-tests/test-file.js
warning: LEAK resource://testall-jetpack-core-tests/test-window-utils.js
warning: LEAK resource://testall-jetpack-core-lib/window-utils.js
warning: LEAK resource://testall-jetpack-core-tests/test-securable-module.js
warning: LEAK resource://testall-jetpack-core-tests/test-tab-browser.js
warning: LEAK resource://testall-jetpack-core-lib/tab-browser.js
warning: LEAK resource://testall-jetpack-core-tests/test-api-utils.js
warning: LEAK resource://testall-jetpack-core-lib/api-utils.js
warning: LEAK resource://testall-jetpack-core-tests/test-memory.js
warning: LEAK resource://testall-jetpack-core-tests/test-xhr.js
warning: LEAK resource://testall-jetpack-core-lib/xhr.js
warning: LEAK resource://testall-jetpack-core-tests/test-context-menu.js
warning: LEAK resource://testall-jetpack-core-lib/context-menu.js
warning: LEAK resource://testall-test-harness-tests/test-packaging.js
warning: LEAK resource://testall-test-harness-tests/test-self.js
warning: LEAK resource://testall-jetpack-core-lib/self.js
warning: LEAK resource://testall-nsjetpack-lib/nsjetpack.js
warning: LEAK resource://testall-jetpack-core-lib/plain-text-console.js
warning: LEAK resource://testall-jetpack-core-lib/securable-module.js
warning: LEAK [object Object]

1769 of 1770 tests passed.
FAIL
Total time: 16.512760 seconds
Program terminated unsuccessfully.
(jetpack-sdk)johanka:jetpack-sdk$
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
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
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.