windows/aarch64 - devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | A promise chain failed to handle a rejection: this.toolbox.doc.getElementById(...) is null - stack: _updateA11YMenuItem@resource://devtools/client/inspector/

RESOLVED FIXED in Firefox 67

Status

defect
P5
normal
RESOLVED FIXED
3 months ago
3 months ago

People

(Reporter: egao, Assigned: egao)

Tracking

(Blocks 1 bug)

unspecified
Firefox 67
Dependency tree / graph

Firefox Tracking Flags

(firefox67 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

3 months ago

#[markdown(off)]
Filed by: egao [at] mozilla.com

https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&author=egao%40mozilla.com&fromchange=b230202663cea2a9c118dcf4f91b089296ebdd11&selectedJob=232468306

https://taskcluster-artifacts.net/VFk36txeS2aXtNL6w905sQ/0/public/logs/live_backing.log

Test: opt-mochitest-devtools-chrome-e10s-5 m-e10s(dt5)

Context:
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Menu item 'node-menu-add-attribute' found -
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Found markup-container for selector: #attributes -
18:05:11 INFO - Console message: [JavaScript Error: "TypeError: this.toolbox.doc.getElementById(...) is null" {file: "resource://devtools/client/inspector/markup/markup-context-menu.js" line: 769}]
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | attribute was successfully added -
18:05:11 INFO - Testing 'Copy Attribute Value' and waiting for clipboard promise to resolve
18:05:11 INFO - Getting the markup-container for node #attributes
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Menu item 'node-menu-copy-attribute' found -
18:05:11 INFO - Triggering 'Copy Attribute Value' and waiting for clipboard to copy the value
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Clipboard has the given value: 'the' -
18:05:11 INFO - Testing 'Copy Attribute Value' copies very long attribute values
18:05:11 INFO - Getting the markup-container for node #attributes
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Menu item 'node-menu-copy-attribute' found -
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Clipboard has the given value: '#01234567890123456789012345678901234567890123456789123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123' -
18:05:11 INFO - Testing 'Edit Attribute' menu item
18:05:11 INFO - Getting the markup-container for node #attributes
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Menu item 'node-menu-edit-attribute' found -
18:05:11 INFO - Triggering 'Edit Attribute' and waiting for mutation to occur
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Found markup-container for selector: #attributes -
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Found markup-container for selector: #attributes -
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Found markup-container for selector: #attributes -
18:05:11 INFO - Console message: [JavaScript Error: "TypeError: this.toolbox.doc.getElementById(...) is null" {file: "resource://devtools/client/inspector/markup/markup-context-menu.js" line: 769}]
18:05:11 INFO - Console message: [JavaScript Error: "TypeError: this.toolbox.doc.getElementById(...) is null" {file: "resource://devtools/client/inspector/markup/markup-context-menu.js" line: 769}]
18:05:11 INFO - Console message: [JavaScript Error: "TypeError: this.toolbox.doc.getElementById(...) is null" {file: "resource://devtools/client/inspector/markup/markup-context-menu.js" line: 769}]
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | attribute was successfully edited -
18:05:11 INFO - Testing 'Remove Attribute' menu item
18:05:11 INFO - Getting the markup-container for node #attributes
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Menu item 'node-menu-remove-attribute' found -
18:05:11 INFO - Triggering 'Remove Attribute' and waiting for mutation to occur
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | Found markup-container for selector: #attributes -
18:05:11 INFO - Console message: [JavaScript Error: "TypeError: this.toolbox.doc.getElementById(...) is null" {file: "resource://devtools/client/inspector/markup/markup-context-menu.js" line: 769}]
18:05:11 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | attribute was successfully removed -
18:05:11 INFO - Buffered messages finished
18:05:11 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | A promise chain failed to handle a rejection: this.toolbox.doc.getElementById(...) is null - stack: _updateA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:769:24
18:05:11 INFO - async*_buildA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:363:12
18:05:11 INFO - _openMenu@resource://devtools/client/inspector/markup/markup-context-menu.js:741:10
18:05:11 INFO - openContextMenuAndGetAllItems@chrome://mochitests/content/browser/devtools/client/inspector/test/shared-head.js:663:45
18:05:11 INFO - getMenuItem@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:103:26
18:05:11 INFO - testAddAttribute@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:22:26
18:05:11 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:14:9
18:05:11 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
18:05:11 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
18:05:11 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:14
18:05:11 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
18:05:11 INFO - Rejection date: Thu Mar 07 2019 18:05:11 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
18:05:11 INFO - Stack trace:
18:05:11 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
18:05:11 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
18:05:11 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
18:05:11 INFO - Not taking screenshot here: see the one that was previously logged
18:05:11 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | A promise chain failed to handle a rejection: this.toolbox.doc.getElementById(...) is null - stack: _updateA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:769:24
18:05:11 INFO - async*_buildA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:363:12
18:05:11 INFO - _openMenu@resource://devtools/client/inspector/markup/markup-context-menu.js:741:10
18:05:11 INFO - openContextMenuAndGetAllItems@chrome://mochitests/content/browser/devtools/client/inspector/test/shared-head.js:663:45
18:05:11 INFO - getMenuItem@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:103:26
18:05:11 INFO - testCopyAttributeValue@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:36:32
18:05:11 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:15:9
18:05:11 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
18:05:11 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
18:05:11 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:14
18:05:11 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
18:05:11 INFO - Rejection date: Thu Mar 07 2019 18:05:11 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
18:05:11 INFO - Stack trace:
18:05:11 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
18:05:11 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
18:05:11 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
18:05:11 INFO - Not taking screenshot here: see the one that was previously logged
18:05:11 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | A promise chain failed to handle a rejection: this.toolbox.doc.getElementById(...) is null - stack: _updateA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:769:24
18:05:11 INFO - async*_buildA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:363:12
18:05:11 INFO - _openMenu@resource://devtools/client/inspector/markup/markup-context-menu.js:741:10
18:05:11 INFO - openContextMenuAndGetAllItems@chrome://mochitests/content/browser/devtools/client/inspector/test/shared-head.js:663:45
18:05:11 INFO - getMenuItem@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:103:26
18:05:11 INFO - testCopyLongAttributeValue@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:50:32
18:05:11 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:16:9
18:05:11 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
18:05:11 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
18:05:11 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:14
18:05:11 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
18:05:11 INFO - Rejection date: Thu Mar 07 2019 18:05:11 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
18:05:11 INFO - Stack trace:
18:05:11 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
18:05:11 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
18:05:11 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
18:05:11 INFO - Not taking screenshot here: see the one that was previously logged
18:05:11 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | A promise chain failed to handle a rejection: this.toolbox.doc.getElementById(...) is null - stack: _updateA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:769:24
18:05:11 INFO - async*_buildA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:363:12
18:05:11 INFO - _openMenu@resource://devtools/client/inspector/markup/markup-context-menu.js:741:10
18:05:11 INFO - openContextMenuAndGetAllItems@chrome://mochitests/content/browser/devtools/client/inspector/test/shared-head.js:663:45
18:05:11 INFO - getMenuItem@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:103:26
18:05:11 INFO - testEditAttribute@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:67:27
18:05:11 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:17:9
18:05:11 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
18:05:11 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
18:05:11 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:14
18:05:11 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
18:05:11 INFO - Rejection date: Thu Mar 07 2019 18:05:11 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
18:05:11 INFO - Stack trace:
18:05:11 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
18:05:11 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
18:05:11 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
18:05:11 INFO - Not taking screenshot here: see the one that was previously logged
18:05:11 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | A promise chain failed to handle a rejection: this.toolbox.doc.getElementById(...) is null - stack: _updateA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:769:24
18:05:11 INFO - async*_buildA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:363:12
18:05:11 INFO - _openMenu@resource://devtools/client/inspector/markup/markup-context-menu.js:741:10
18:05:11 INFO - openContextMenuAndGetAllItems@chrome://mochitests/content/browser/devtools/client/inspector/test/shared-head.js:663:45
18:05:11 INFO - getMenuItem@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:103:26
18:05:11 INFO - testRemoveAttribute@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:87:29
18:05:11 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js:18:9
18:05:11 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
18:05:11 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
18:05:11 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:14
18:05:11 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
18:05:11 INFO - Rejection date: Thu Mar 07 2019 18:05:11 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
18:05:11 INFO - Stack trace:
18:05:11 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
18:05:11 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
18:05:11 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
18:05:11 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
18:05:11 INFO - Leaving test bound
18:05:11 INFO - GECKO(9464) | console.warn: "Error while detaching the thread front: 'detach' request packet to 'server1.conn88.child1/context22' can't be sent as the connection is closed."
18:05:11 INFO - Removing tab.
18:05:11 INFO - Waiting for event: 'TabClose' on [object XULElement].
18:05:12 INFO - Got event: 'TabClose' on [object XULElement].
18:05:12 INFO - Tab removed and finished closing
18:05:12 INFO - GECKO(9464) | MEMORY STAT | vsize 5988MB | vsizeMaxContiguous 68397751MB | residentFast 347MB | heapAllocated 118MB
18:05:12 INFO - TEST-OK | devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js | took 1879ms
18:05:12 INFO - checking window state

Comment 2

3 months ago
Pushed by egao@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3f2daa42445a
disable devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js r=jmaher

Comment 3

3 months ago
bugherder
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.