Closed Bug 1533490 Opened 6 years ago Closed 6 years ago

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

Categories

(DevTools :: Inspector, defect, P5)

defect

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: egao, Assigned: egao)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

#[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:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Found markup-container for selector: #deleteManually -
18:02:06 INFO - Clicking 'Delete Node' in the context menu.
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | delete menu item is enabled -
18:02:06 INFO - Waiting for inspector to update.
18:02:06 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:02:06 INFO - Buffered messages logged at 18:02:01
18:02:06 INFO - Performing checks.
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | The right node is selected -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | The right breadcrumb is selected -
18:02:06 INFO - Selecting a node, deleting it via javascript and checking that its parent node is selected and breadcrumbs are updated.
18:02:06 INFO - Selecting the node for '[Front for domnode/server1.conn13.child1/domnode43]'
18:02:06 INFO - Deleting selected node via javascript.
18:02:06 INFO - Waiting for inspector to update.
18:02:06 INFO - Buffered messages logged at 18:02:02
18:02:06 INFO - Inspector updated, performing checks.
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | The right node is selected -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | The right breadcrumb is selected -
18:02:06 INFO - Selecting a node inside iframe, deleting the iframe via javascript and checking the parent node of the iframe is selected and breadcrumbs are updated.
18:02:06 INFO - Selecting an element inside iframe.
18:02:06 INFO - Selecting the node for '[Front for domnode/server1.conn13.child1/domnode51]'
18:02:06 INFO - Deleting selected node via javascript.
18:02:06 INFO - Waiting for inspector to update.
18:02:06 INFO - Console message: [JavaScript Error: "TypeError: global is null" {file: "resource://devtools/server/actors/inspector/event-collector.js" line: 268}]
18:02:06 INFO - Buffered messages logged at 18:02:03
18:02:06 INFO - Inspector updated, performing checks.
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | The right node is selected -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | The right breadcrumb is selected -
18:02:06 INFO - Selecting a node, deleting it via context menu and checking that its parent node is selected and breadcrumbs are updated when the node is followed by a non-element node
18:02:06 INFO - Selecting the node for '#deleteWithNonElement'
18:02:06 INFO - Getting the node container in the markup view.
18:02:06 INFO - Getting the markup-container for node #deleteWithNonElement
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Found markup-container for selector: #deleteWithNonElement -
18:02:06 INFO - Clicking 'Delete Node' in the context menu.
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | delete menu item is enabled -
18:02:06 INFO - Waiting for inspector to update.
18:02:06 INFO - Buffered messages logged at 18:02:04
18:02:06 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:02:06 INFO - Buffered messages logged at 18:02:05
18:02:06 INFO - Performing checks
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | The node has the right type -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Have the correct number of breadcrumbs -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Text content for button 0 is correct -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Text content for button 1 is correct -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Text content for button 2 is correct -
18:02:06 INFO - Buffered messages logged at 18:02:06
18:02:06 INFO - Performing checks
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | The node has the right type -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Have the correct number of breadcrumbs -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Text content for button 0 is correct -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Text content for button 1 is correct -
18:02:06 INFO - TEST-PASS | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | Text content for button 2 is correct -
18:02:06 INFO - Buffered messages finished
18:02:06 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.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:02:06 INFO - async*_buildA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:363:12
18:02:06 INFO - _openMenu@resource://devtools/client/inspector/markup/markup-context-menu.js:741:10
18:02:06 INFO - openContextMenuAndGetAllItems@chrome://mochitests/content/browser/devtools/client/inspector/test/shared-head.js:663:45
18:02:06 INFO - deleteNodeWithContextMenu@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js:101:26
18:02:06 INFO - async*testManuallyDeleteSelectedNode@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js:27:11
18:02:06 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js:18:9
18:02:06 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
18:02:06 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
18:02:06 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:14
18:02:06 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
18:02:06 INFO - Rejection date: Thu Mar 07 2019 18:02:00 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
18:02:06 INFO - Stack trace:
18:02:06 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
18:02:06 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
18:02:06 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
18:02:06 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
18:02:06 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
18:02:06 INFO - Not taking screenshot here: see the one that was previously logged
18:02:06 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.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:02:06 INFO - async*_buildA11YMenuItem@resource://devtools/client/inspector/markup/markup-context-menu.js:363:12
18:02:06 INFO - _openMenu@resource://devtools/client/inspector/markup/markup-context-menu.js:741:10
18:02:06 INFO - openContextMenuAndGetAllItems@chrome://mochitests/content/browser/devtools/client/inspector/test/shared-head.js:663:45
18:02:06 INFO - deleteNodeWithContextMenu@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js:101:26
18:02:06 INFO - async*testDeleteWithNonElementNode@chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js:77:11
18:02:06 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js:21:9
18:02:06 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1106:34
18:02:06 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1134:12
18:02:06 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:14
18:02:06 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
18:02:06 INFO - Rejection date: Thu Mar 07 2019 18:02:04 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257
18:02:06 INFO - Stack trace:
18:02:06 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257
18:02:06 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1130
18:02:06 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1134
18:02:06 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
18:02:06 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
18:02:06 INFO - Leaving test bound
18:02:06 INFO - GECKO(9464) | console.warn: "Error while detaching the thread front: 'detach' request packet to 'server1.conn13.child1/context22' can't be sent as the connection is closed."
18:02:06 INFO - Removing tab.
18:02:06 INFO - Waiting for event: 'TabClose' on [object XULElement].
18:02:06 INFO - Got event: 'TabClose' on [object XULElement].
18:02:06 INFO - Tab removed and finished closing
18:02:06 INFO - GECKO(9464) | MEMORY STAT | vsize 5868MB | vsizeMaxContiguous 68397751MB | residentFast 269MB | heapAllocated 94MB
18:02:06 INFO - TEST-OK | devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js | took 7199ms
18:02:06 INFO - checking window state

Component: General → Inspector
Pushed by egao@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/428d172ba274 disable devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js r=jmaher
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Assignee: nobody → egao
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: