Closed Bug 1170400 Opened 9 years ago Closed 7 years ago

INFO - TypeError: tab is undefined

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: evold, Unassigned)

References

Details

(Keywords: intermittent-failure)

I'm seeing errors like this:

https://treeherder.mozilla.org/logviewer.html#?repo=b2g-inbound&job_id=2033905

06:06:52 INFO - TEST-PASS | jetpack-package/addon-sdk/source/test/test-test-utils.js.testCleanUIWithExtraTabAndWindow | the ui was cleaned
06:06:52 INFO - TEST-PASS | jetpack-package/addon-sdk/source/test/test-test-utils.js.testCleanUIWithExtraTabAndWindow | there is only one tab open
06:06:52 INFO - TEST-INFO | executing 'jetpack-package/addon-sdk/source/test/test-test-utils.js.testCleanUIWithOnlyExtraTab'
06:06:52 INFO - ++DOCSHELL 0x85eed800 == 14 [pid = 2038] [id = 608]
06:06:52 INFO - ++DOMWINDOW == 43 (0x86cd3000) [pid = 2038] [serial = 1554] [outer = (nil)]
06:06:52 INFO - ++DOMWINDOW == 44 (0x86f90400) [pid = 2038] [serial = 1555] [outer = 0x86cd3000]
06:06:52 INFO - [2038] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/b2g-in-lx-d-000000000000000000/build/src/docshell/base/nsDocShell.cpp, line 4591
06:06:52 INFO - TEST-PASS | jetpack-package/addon-sdk/source/test/test-test-utils.js.testCleanUIWithOnlyExtraTab | the ui was cleaned
06:06:52 INFO - TEST-PASS | jetpack-package/addon-sdk/source/test/test-test-utils.js.testCleanUIWithOnlyExtraTab | there is only one tab open
06:06:52 INFO - An exception occurred.
06:06:52 INFO - Traceback (most recent call last):
06:06:52 INFO - File "resource://gre/modules/commonjs/sdk/timers.js", line 70, in dispatcher
06:06:52 INFO - try { immediate(); }
06:06:52 INFO - File "resource://gre/modules/commonjs/sdk/timers.js", line 79, in setImmediate/<
06:06:52 INFO - immediates.set(id, _ => callback.apply(callback, params));
06:06:52 INFO - File "resource://gre/modules/commonjs/sdk/lang/functional/helpers.js", line 28, in invoke
06:06:52 INFO - const invoke = (callee, params, self) => callee.apply(self, params);
06:06:52 INFO - File "resource://gre/modules/commonjs/sdk/tabs/tab-firefox.js", line 185, in Tab<.activate<
06:06:52 INFO - activateTab(viewsFor.get(this));
06:06:52 INFO - File "resource://gre/modules/commonjs/sdk/tabs/utils.js", line 48, in activateTab
06:06:52 INFO - let gBrowser = getTabBrowserForTab(tab);
06:06:52 INFO - File "resource://gre/modules/commonjs/sdk/tabs/utils.js", line 187, in getTabBrowserForTab
06:06:52 INFO - let outerWin = getOwnerWindow(tab);
06:06:52 INFO - File "resource://gre/modules/commonjs/sdk/tabs/utils.js", line 105, in getOwnerWindow
06:06:52 INFO - if (tab.ownerDocument)
06:06:52 INFO - TypeError: tab is undefined
Priority: -- → P1
Priority: P1 → --
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.