Closed Bug 1160397 Opened 9 years ago Closed 7 years ago

Uncaught "TypeError: tab is undefined" error occurring in all test results

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: evold, Assigned: evold)

Details

There is some uncaught "Tab is undefined" error which is displayed in all of the green results on https://treeherder.mozilla.org/#/jobs?repo=addon-sdk

here is a copy of the log from http://ftp.mozilla.org/pub/mozilla.org/jetpack/tinderbox-builds/addon-sdk-ubuntu32_vm/jetpack-fx-team-ubuntu32_vm-opt-bm04-tests1-linux32-build5.txt.gz

TEST-START | addon-sdk/tests/test-test-utils.testCleanUIWithOnlyExtraTab
TEST-PASS | addon-sdk/tests/test-test-utils.testCleanUIWithOnlyExtraTab | the ui was cleaned
TEST-PASS | addon-sdk/tests/test-test-utils.testCleanUIWithOnlyExtraTab | there is only one tab open
An exception occurred.
Traceback (most recent call last):
  File "resource://extensions.modules.09cb832e-0492-4a56-a71b-24bcebaf0152-at-jetpack.commonjs.path/sdk/timers.js", line 70, in dispatcher
    try { immediate(); }
  File "resource://extensions.modules.09cb832e-0492-4a56-a71b-24bcebaf0152-at-jetpack.commonjs.path/sdk/timers.js", line 79, in setImmediate/<
    immediates.set(id, _ => callback.apply(callback, params));
  File "resource://extensions.modules.09cb832e-0492-4a56-a71b-24bcebaf0152-at-jetpack.commonjs.path/sdk/lang/functional/helpers.js", line 28, in invoke
    const invoke = (callee, params, self) => callee.apply(self, params);
  File "resource://extensions.modules.09cb832e-0492-4a56-a71b-24bcebaf0152-at-jetpack.commonjs.path/sdk/tabs/tab-firefox.js", line 185, in Tab<.activate<
    activateTab(viewsFor.get(this));
  File "resource://extensions.modules.09cb832e-0492-4a56-a71b-24bcebaf0152-at-jetpack.commonjs.path/sdk/tabs/utils.js", line 48, in activateTab
    let gBrowser = getTabBrowserForTab(tab);
  File "resource://extensions.modules.09cb832e-0492-4a56-a71b-24bcebaf0152-at-jetpack.commonjs.path/sdk/tabs/utils.js", line 187, in getTabBrowserForTab
    let outerWin = getOwnerWindow(tab);
  File "resource://extensions.modules.09cb832e-0492-4a56-a71b-24bcebaf0152-at-jetpack.commonjs.path/sdk/tabs/utils.js", line 105, in getOwnerWindow
    if (tab.ownerDocument)
TypeError: tab is undefined
TEST-END | addon-sdk/tests/test-test-utils.testCleanUIWithOnlyExtraTab
TEST-START | addon-sdk/tests/test-test-utils.testWaitUntil
TEST-PASS | addon-sdk/tests/test-test-utils.testWaitUntil | waitUntil shouldn't call until predicate is truthy
TEST-END | addon-sdk/tests/test-test-utils.testWaitUntil
TEST-START | addon-sdk/tests/test-test-utils.testWaitUntilInterval
TEST-PASS | addon-sdk/tests/test-test-utils.testWaitUntilInterval | waitUntil shouldn't call until predicate is truthy
TEST-PASS | addon-sdk/tests/test-test-utils.testWaitUntilInterval | predicate should only be called once with a higher interval
TEST-END | addon-sdk/tests/test-test-utils.testWaitUntilInterval
TEST-START | addon-sdk/tests/test-test-utils-async.testABeforeAsync
TEST-PASS | addon-sdk/tests/test-test-utils-async.testABeforeAsync | assert passed into before function
TEST-PASS | addon-sdk/tests/test-test-utils-async.testABeforeAsync | before function was called
TEST-PASS | addon-sdk/tests/test-test-utils-async.testABeforeAsync | assert passed into after function
TEST-END | addon-sdk/tests/test-test-utils-async.testABeforeAsync
Priority: -- → P2
https://treeherder.mozilla.org/logviewer.html#?repo=fx-team&job_id=3033135
Priority: P2 → P1
Summary: uncaught "Tab is undefined" error occurring in all test results → Uncaught "TypeError: tab is undefined" error occurring in all test results
Assignee: nobody → evold
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.