Closed Bug 592765 Opened 15 years ago Closed 15 years ago

Errors logged from panel.js appear when running tests in jetpack-core

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 624903

People

(Reporter: avarma, Unassigned)

Details

Running 'cfx testall -v' using Firefox 3.6 and the latest nightlies result in the logging of some errors to nsIConsole, which aren't reported as errors in the test suite due to bug 581109. While the errors come from panel.js, they are logged well after the panel tests: info: executing 'test-widget.testPanelWidget' info: pass: widget.panel must be a Panel object info: pass: panel displayed on click info: pass: onClick called on click for widget with both panel and onClick info: executing 'test-window-utils.testCloseOnUnload' info: pass: unload listener added on closeOnUnload() info: pass: window not closed when registered. info: pass: window closed on module unload. info: pass: unload event listener removed on module unload info: pass: window not closed when registered. info: pass: window closed when close() called. info: pass: unload event listener removed on window close info: pass: window not closed again on module unload. info: executing 'test-window-utils.testWindowWatcher' info: pass: onTrack() called with our test window info: pass: onUntrack() called with our test window console: [JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIFrameLoaderOwner.swapFrameLoaders]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: resource://testpkgs-jetpack-core-lib/securable-module.js -> resource://testpkgs-jetpack-core-lib/panel.js :: popupHidden :: line 345" data: no]"] console: [JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIFrameLoaderOwner.swapFrameLoaders]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: resource://testpkgs-jetpack-core-lib/securable-module.js -> resource://testpkgs-jetpack-core-lib/panel.js :: popupHidden :: line 345" data: no]"] info: executing 'test-xhr.testAbortedXhr' info: pass: a == b == 1 info: pass: a == b == 0 info: executing 'test-xhr.testLocalXhr'
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
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.