Closed Bug 1699619 Opened 4 years ago Closed 4 years ago

Intermittent browser_aboutdebugging_devtoolstoolbox_reload.js | A promise chain failed to handle a rejection: Can not send request 'getWatcher' because front 'tabDescriptor' is already destroyed. - stack: generateRequestMethods/</frontProto[name]@*/FrontC

Categories

(DevTools :: about:debugging, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox86 unaffected, firefox87 unaffected, firefox88 fixed, firefox89 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- unaffected
firefox88 --- fixed
firefox89 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jdescottes)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered])

Attachments

(1 file, 4 obsolete files)

Filed by: btara [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=333743717&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/f-khNZ4ESW6zNlrY0HkkAA/runs/0/artifacts/public/logs/live_backing.log


[task 2021-03-19T05:11:46.454Z] 05:11:46     INFO - TEST-START | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js
[task 2021-03-19T05:11:52.520Z] 05:11:52     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2021-03-19T05:11:53.657Z] 05:11:53     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2021-03-19T05:11:53.657Z] 05:11:53     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2021-03-19T05:11:53.716Z] 05:11:53     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2021-03-19T05:11:54.546Z] 05:11:54     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2021-03-19T05:11:54.807Z] 05:11:54     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2021-03-19T05:11:58.225Z] 05:11:58     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2021-03-19T05:11:59.491Z] 05:11:59     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2021-03-19T05:11:59.493Z] 05:11:59     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2021-03-19T05:11:59.554Z] 05:11:59     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2021-03-19T05:12:00.130Z] 05:12:00     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2021-03-19T05:12:00.406Z] 05:12:00     INFO - GECKO(2104) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2021-03-19T05:12:11.848Z] 05:12:11     INFO - GECKO(2104) | console.warn: "IGNORED REDUX ACTION:" "HISTORY_LOADED"
[task 2021-03-19T05:13:06.334Z] 05:13:06     INFO - GECKO(2104) | console.warn: "Failed to enumerate CacheStorage for host about:debugging: TypeError: can't access property \"keys\", caches is null"
[task 2021-03-19T05:13:06.517Z] 05:13:06     INFO - GECKO(2104) | console.warn: "Failed to enumerate localStorage for host about:debugging: [Exception... \"Component is not available\"  nsresult: \"0x80040111 (NS_ERROR_NOT_AVAILABLE)\"  location: \"JS frame :: resource://devtools/server/actors/storage.js :: populateStoresForHost :: line 1282\"  data: no]"
[task 2021-03-19T05:13:06.535Z] 05:13:06     INFO - GECKO(2104) | console.warn: "Failed to enumerate sessionStorage for host about:debugging: [Exception... \"Component is not available\"  nsresult: \"0x80040111 (NS_ERROR_NOT_AVAILABLE)\"  location: \"JS frame :: resource://devtools/server/actors/storage.js :: populateStoresForHost :: line 1282\"  data: no]"
[task 2021-03-19T05:13:08.926Z] 05:13:08     INFO - GECKO(2104) | console.warn: "Failed to enumerate CacheStorage for host about:debugging: TypeError: can't access property \"keys\", caches is null"
[task 2021-03-19T05:13:09.027Z] 05:13:09     INFO - GECKO(2104) | console.warn: "Failed to enumerate localStorage for host about:debugging: [Exception... \"Component is not available\"  nsresult: \"0x80040111 (NS_ERROR_NOT_AVAILABLE)\"  location: \"JS frame :: resource://devtools/server/actors/storage.js :: populateStoresForHost :: line 1282\"  data: no]"
[task 2021-03-19T05:13:09.032Z] 05:13:09     INFO - GECKO(2104) | console.warn: "Failed to enumerate sessionStorage for host about:debugging: [Exception... \"Component is not available\"  nsresult: \"0x80040111 (NS_ERROR_NOT_AVAILABLE)\"  location: \"JS frame :: resource://devtools/server/actors/storage.js :: populateStoresForHost :: line 1282\"  data: no]"
[task 2021-03-19T05:13:17.826Z] 05:13:17     INFO - GECKO(2104) | console.warn: "Error while destroying front:" "inspector" (new Error("Can not send request 'getWatcher' because front 'tabDescriptor' is already destroyed.", "resource://devtools/shared/protocol/Front/FrontClassWithSpec.js", 28))
[task 2021-03-19T05:13:17.987Z] 05:13:17     INFO - GECKO(2104) | JavaScript error: resource://devtools/shared/protocol/Front/FrontClassWithSpec.js, line 28: Error: Can not send request 'getWatcher' because front 'tabDescriptor' is already destroyed.
[task 2021-03-19T05:13:21.083Z] 05:13:21     INFO - TEST-INFO | started process screenshot
[task 2021-03-19T05:13:21.345Z] 05:13:21     INFO - TEST-INFO | screenshot: exit 0
[task 2021-03-19T05:13:21.346Z] 05:13:21     INFO - <snipped 152 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-03-19T05:13:21.346Z] 05:13:21     INFO - Buffered messages logged at 05:12:50
[task 2021-03-19T05:13:21.346Z] 05:13:21     INFO - Wait until about:devtools-toolbox is removed from debug targets
[task 2021-03-19T05:13:21.346Z] 05:13:21     INFO - Buffered messages logged at 05:12:51
[task 2021-03-19T05:13:21.346Z] 05:13:21     INFO - Removing tab.
[task 2021-03-19T05:13:21.347Z] 05:13:21     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.347Z] 05:13:21     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.347Z] 05:13:21     INFO - Tab removed and finished closing
[task 2021-03-19T05:13:21.347Z] 05:13:21     INFO - opening about:debugging
[task 2021-03-19T05:13:21.347Z] 05:13:21     INFO - Adding a new tab with URL: about:debugging
[task 2021-03-19T05:13:21.348Z] 05:13:21     INFO - Tab added and finished loading
[task 2021-03-19T05:13:21.348Z] 05:13:21     INFO - Wait until Connect page is displayed
[task 2021-03-19T05:13:21.348Z] 05:13:21     INFO - Buffered messages logged at 05:12:53
[task 2021-03-19T05:13:21.348Z] 05:13:21     INFO - Select This Firefox page
[task 2021-03-19T05:13:21.349Z] 05:13:21     INFO - Wait for requests to be complete
[task 2021-03-19T05:13:21.349Z] 05:13:21     INFO - Wait for runtime page to be rendered
[task 2021-03-19T05:13:21.350Z] 05:13:21     INFO - Buffered messages logged at 05:12:54
[task 2021-03-19T05:13:21.351Z] 05:13:21     INFO - Open about:devtools-toolbox page
[task 2021-03-19T05:13:21.351Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:debugging tab target appeared - 
[task 2021-03-19T05:13:21.351Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | Inspect button for about:debugging appeared - 
[task 2021-03-19T05:13:21.352Z] 05:13:21     INFO - Buffered messages logged at 05:12:56
[task 2021-03-19T05:13:21.352Z] 05:13:21     INFO - Wait for about:devtools-toolbox tab will be selected
[task 2021-03-19T05:13:21.353Z] 05:13:21     INFO - Select tool: netmonitor
[task 2021-03-19T05:13:21.353Z] 05:13:21     INFO - Wait for requests to settle before reloading
[task 2021-03-19T05:13:21.354Z] 05:13:21     INFO - Reload about:devtools-toolbox page
[task 2021-03-19T05:13:21.354Z] 05:13:21     INFO - Buffered messages logged at 05:12:59
[task 2021-03-19T05:13:21.354Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | Toolbox is re-created again - 
[task 2021-03-19T05:13:21.355Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:devtools-toolbox is still selected - 
[task 2021-03-19T05:13:21.355Z] 05:13:21     INFO - Check whether about:devtools-toolbox page displays correctly
[task 2021-03-19T05:13:21.356Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:devtools-toolbox page displays correctly - 
[task 2021-03-19T05:13:21.356Z] 05:13:21     INFO - Close about:devtools-toolbox page
[task 2021-03-19T05:13:21.356Z] 05:13:21     INFO - Wait for removeTab
[task 2021-03-19T05:13:21.357Z] 05:13:21     INFO - Removing tab.
[task 2021-03-19T05:13:21.357Z] 05:13:21     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.358Z] 05:13:21     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.358Z] 05:13:21     INFO - Tab removed and finished closing
[task 2021-03-19T05:13:21.359Z] 05:13:21     INFO - Wait for toolbox destroyed
[task 2021-03-19T05:13:21.359Z] 05:13:21     INFO - Buffered messages logged at 05:13:00
[task 2021-03-19T05:13:21.360Z] 05:13:21     INFO - Wait until aboutdebugging is selected
[task 2021-03-19T05:13:21.360Z] 05:13:21     INFO - Wait until about:devtools-toolbox is removed from debug targets
[task 2021-03-19T05:13:21.360Z] 05:13:21     INFO - Removing tab.
[task 2021-03-19T05:13:21.361Z] 05:13:21     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.361Z] 05:13:21     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.361Z] 05:13:21     INFO - Buffered messages logged at 05:13:01
[task 2021-03-19T05:13:21.361Z] 05:13:21     INFO - Tab removed and finished closing
[task 2021-03-19T05:13:21.362Z] 05:13:21     INFO - opening about:debugging
[task 2021-03-19T05:13:21.362Z] 05:13:21     INFO - Adding a new tab with URL: about:debugging
[task 2021-03-19T05:13:21.363Z] 05:13:21     INFO - Tab added and finished loading
[task 2021-03-19T05:13:21.363Z] 05:13:21     INFO - Wait until Connect page is displayed
[task 2021-03-19T05:13:21.364Z] 05:13:21     INFO - Buffered messages logged at 05:13:02
[task 2021-03-19T05:13:21.364Z] 05:13:21     INFO - Select This Firefox page
[task 2021-03-19T05:13:21.364Z] 05:13:21     INFO - Wait for requests to be complete
[task 2021-03-19T05:13:21.364Z] 05:13:21     INFO - Buffered messages logged at 05:13:03
[task 2021-03-19T05:13:21.364Z] 05:13:21     INFO - Wait for runtime page to be rendered
[task 2021-03-19T05:13:21.365Z] 05:13:21     INFO - Buffered messages logged at 05:13:04
[task 2021-03-19T05:13:21.365Z] 05:13:21     INFO - Open about:devtools-toolbox page
[task 2021-03-19T05:13:21.365Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:debugging tab target appeared - 
[task 2021-03-19T05:13:21.365Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | Inspect button for about:debugging appeared - 
[task 2021-03-19T05:13:21.365Z] 05:13:21     INFO - Buffered messages logged at 05:13:05
[task 2021-03-19T05:13:21.366Z] 05:13:21     INFO - Wait for about:devtools-toolbox tab will be selected
[task 2021-03-19T05:13:21.366Z] 05:13:21     INFO - Select tool: storage
[task 2021-03-19T05:13:21.366Z] 05:13:21     INFO - Buffered messages logged at 05:13:06
[task 2021-03-19T05:13:21.366Z] 05:13:21     INFO - Wait for requests to settle before reloading
[task 2021-03-19T05:13:21.366Z] 05:13:21     INFO - Reload about:devtools-toolbox page
[task 2021-03-19T05:13:21.366Z] 05:13:21     INFO - Buffered messages logged at 05:13:09
[task 2021-03-19T05:13:21.366Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | Toolbox is re-created again - 
[task 2021-03-19T05:13:21.367Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:devtools-toolbox is still selected - 
[task 2021-03-19T05:13:21.367Z] 05:13:21     INFO - Check whether about:devtools-toolbox page displays correctly
[task 2021-03-19T05:13:21.367Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:devtools-toolbox page displays correctly - 
[task 2021-03-19T05:13:21.367Z] 05:13:21     INFO - Close about:devtools-toolbox page
[task 2021-03-19T05:13:21.367Z] 05:13:21     INFO - Wait for removeTab
[task 2021-03-19T05:13:21.367Z] 05:13:21     INFO - Removing tab.
[task 2021-03-19T05:13:21.368Z] 05:13:21     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.368Z] 05:13:21     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.368Z] 05:13:21     INFO - Tab removed and finished closing
[task 2021-03-19T05:13:21.368Z] 05:13:21     INFO - Wait for toolbox destroyed
[task 2021-03-19T05:13:21.368Z] 05:13:21     INFO - Wait until aboutdebugging is selected
[task 2021-03-19T05:13:21.368Z] 05:13:21     INFO - Wait until about:devtools-toolbox is removed from debug targets
[task 2021-03-19T05:13:21.369Z] 05:13:21     INFO - Buffered messages logged at 05:13:10
[task 2021-03-19T05:13:21.369Z] 05:13:21     INFO - Removing tab.
[task 2021-03-19T05:13:21.369Z] 05:13:21     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.369Z] 05:13:21     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.369Z] 05:13:21     INFO - Tab removed and finished closing
[task 2021-03-19T05:13:21.370Z] 05:13:21     INFO - opening about:debugging
[task 2021-03-19T05:13:21.370Z] 05:13:21     INFO - Adding a new tab with URL: about:debugging
[task 2021-03-19T05:13:21.370Z] 05:13:21     INFO - Buffered messages logged at 05:13:11
[task 2021-03-19T05:13:21.370Z] 05:13:21     INFO - Tab added and finished loading
[task 2021-03-19T05:13:21.370Z] 05:13:21     INFO - Wait until Connect page is displayed
[task 2021-03-19T05:13:21.370Z] 05:13:21     INFO - Buffered messages logged at 05:13:12
[task 2021-03-19T05:13:21.370Z] 05:13:21     INFO - Select This Firefox page
[task 2021-03-19T05:13:21.371Z] 05:13:21     INFO - Wait for requests to be complete
[task 2021-03-19T05:13:21.371Z] 05:13:21     INFO - Buffered messages logged at 05:13:13
[task 2021-03-19T05:13:21.371Z] 05:13:21     INFO - Wait for runtime page to be rendered
[task 2021-03-19T05:13:21.371Z] 05:13:21     INFO - Open about:devtools-toolbox page
[task 2021-03-19T05:13:21.371Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:debugging tab target appeared - 
[task 2021-03-19T05:13:21.371Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | Inspect button for about:debugging appeared - 
[task 2021-03-19T05:13:21.372Z] 05:13:21     INFO - Buffered messages logged at 05:13:15
[task 2021-03-19T05:13:21.372Z] 05:13:21     INFO - Wait for about:devtools-toolbox tab will be selected
[task 2021-03-19T05:13:21.372Z] 05:13:21     INFO - Select tool: accessibility
[task 2021-03-19T05:13:21.372Z] 05:13:21     INFO - Buffered messages logged at 05:13:16
[task 2021-03-19T05:13:21.372Z] 05:13:21     INFO - Wait for requests to settle before reloading
[task 2021-03-19T05:13:21.372Z] 05:13:21     INFO - Reload about:devtools-toolbox page
[task 2021-03-19T05:13:21.372Z] 05:13:21     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 4
[task 2021-03-19T05:13:21.373Z] 05:13:21     INFO - Buffered messages logged at 05:13:17
[task 2021-03-19T05:13:21.373Z] 05:13:21     INFO - Console message: [JavaScript Error: "Error: Can not send request 'getWatcher' because front 'tabDescriptor' is already destroyed." {file: "resource://devtools/shared/protocol/Front/FrontClassWithSpec.js" line: 28}]
[task 2021-03-19T05:13:21.373Z] 05:13:21     INFO - Buffered messages logged at 05:13:19
[task 2021-03-19T05:13:21.373Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | Toolbox is re-created again - 
[task 2021-03-19T05:13:21.373Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:devtools-toolbox is still selected - 
[task 2021-03-19T05:13:21.373Z] 05:13:21     INFO - Check whether about:devtools-toolbox page displays correctly
[task 2021-03-19T05:13:21.374Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | about:devtools-toolbox page displays correctly - 
[task 2021-03-19T05:13:21.374Z] 05:13:21     INFO - Close about:devtools-toolbox page
[task 2021-03-19T05:13:21.374Z] 05:13:21     INFO - Wait for removeTab
[task 2021-03-19T05:13:21.374Z] 05:13:21     INFO - Removing tab.
[task 2021-03-19T05:13:21.374Z] 05:13:21     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.374Z] 05:13:21     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.374Z] 05:13:21     INFO - Tab removed and finished closing
[task 2021-03-19T05:13:21.375Z] 05:13:21     INFO - Wait for toolbox destroyed
[task 2021-03-19T05:13:21.375Z] 05:13:21     INFO - Buffered messages logged at 05:13:20
[task 2021-03-19T05:13:21.375Z] 05:13:21     INFO - Wait until aboutdebugging is selected
[task 2021-03-19T05:13:21.375Z] 05:13:21     INFO - Wait until about:devtools-toolbox is removed from debug targets
[task 2021-03-19T05:13:21.375Z] 05:13:21     INFO - Removing tab.
[task 2021-03-19T05:13:21.375Z] 05:13:21     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.376Z] 05:13:21     INFO - Buffered messages logged at 05:13:21
[task 2021-03-19T05:13:21.376Z] 05:13:21     INFO - Got event: 'TabClose' on [object XULElement].
[task 2021-03-19T05:13:21.376Z] 05:13:21     INFO - Tab removed and finished closing
[task 2021-03-19T05:13:21.376Z] 05:13:21     INFO - Buffered messages finished
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - TEST-UNEXPECTED-FAIL | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | A promise chain failed to handle a rejection: Can not send request 'getWatcher' because front 'tabDescriptor' is already destroyed. - stack: generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:28:15
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - getWatcherFront@resource://devtools/client/fronts/targets/target-mixin.js:157:33
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - getParentTarget@resource://devtools/client/fronts/targets/target-mixin.js:171:39
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - reparentRemoteFrame@resource://devtools/client/fronts/walker.js:419:49
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - _getWalker@resource://devtools/client/fronts/inspector.js:73:23
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - async*initialize@resource://devtools/client/fronts/inspector.js:55:12
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - manage@resource://devtools/shared/protocol/Front.js:142:19
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - getFront@resource://devtools/shared/protocol/types.js:552:18
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - getFront@resource://devtools/client/fronts/targets/target-mixin.js:288:15
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - exports.updateDetails/<@resource://devtools/client/accessibility/actions/details.js:14:62
[task 2021-03-19T05:13:21.377Z] 05:13:21     INFO - thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:17:11
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - update@resource://devtools/client/accessibility/components/AccessibilityRow.js:168:13
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - componentDidUpdate@resource://devtools/client/accessibility/components/AccessibilityRow.js:131:12
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - commitLifeCycles@resource://devtools/client/shared/vendor/react-dom.js:12958:22
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - commitAllLifeCycles@resource://devtools/client/shared/vendor/react-dom.js:14174:23
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - commitRoot@resource://devtools/client/shared/vendor/react-dom.js:14380:28
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - completeRoot/<@resource://devtools/client/shared/vendor/react-dom.js:15731:15
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - unstable_runWithPriority@resource://devtools/client/shared/vendor/react.js:617:12
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - completeRoot@resource://devtools/client/shared/vendor/react-dom.js:15730:27
[task 2021-03-19T05:13:21.378Z] 05:13:21     INFO - performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom.js:15659:21
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - performWork@resource://devtools/client/shared/vendor/react-dom.js:15567:24
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - performSyncWork@resource://devtools/client/shared/vendor/react-dom.js:15541:14
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - requestWork@resource://devtools/client/shared/vendor/react-dom.js:15410:5
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - scheduleWork@resource://devtools/client/shared/vendor/react-dom.js:15224:16
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - enqueueSetState@resource://devtools/client/shared/vendor/react-dom.js:8192:17
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - Component.prototype.setState@resource://devtools/client/shared/vendor/react.js:328:16
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1412:16
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - notify@resource://devtools/client/shared/vendor/react-redux.js:1159:21
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - notifyNestedSubs@resource://devtools/client/shared/vendor/react-redux.js:1198:20
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1409:16
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:265:7
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - exports.history/</</<@resource://devtools/client/shared/redux/middleware/history.js:23:9
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - waitUntilService/</<@resource://devtools/client/shared/redux/middleware/wait-service.js:59:24
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - promiseMiddleware/</<@resource://devtools/client/shared/redux/middleware/promise.js:24:14
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:18:11
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
[task 2021-03-19T05:13:21.379Z] 05:13:21     INFO - exports.fetchChildren/</<@resource://devtools/client/accessibility/actions/accessibles.js:20:31
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - promise callback*exports.fetchChildren/<@resource://devtools/client/accessibility/actions/accessibles.js:20:6
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:17:11
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - getChildren@resource://devtools/client/accessibility/provider.js:38:19
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - getMembers@resource://devtools/client/shared/components/tree/TreeView.js:594:31
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - renderRows@resource://devtools/client/shared/components/tree/TreeView.js:662:28
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - render@resource://devtools/client/shared/components/tree/TreeView.js:721:23
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - finishClassComponent@resource://devtools/client/shared/vendor/react-dom.js:10638:31
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - updateClassComponent@resource://devtools/client/shared/vendor/react-dom.js:10601:44
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - beginWork@resource://devtools/client/shared/vendor/react-dom.js:11419:16
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - performUnitOfWork@resource://devtools/client/shared/vendor/react-dom.js:14702:12
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - workLoop@resource://devtools/client/shared/vendor/react-dom.js:14720:24
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - renderRoot@resource://devtools/client/shared/vendor/react-dom.js:14803:15
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom.js:15655:17
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - performWork@resource://devtools/client/shared/vendor/react-dom.js:15567:24
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - performSyncWork@resource://devtools/client/shared/vendor/react-dom.js:15541:14
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - requestWork@resource://devtools/client/shared/vendor/react-dom.js:15410:5
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - scheduleWork@resource://devtools/client/shared/vendor/react-dom.js:15224:16
[task 2021-03-19T05:13:21.380Z] 05:13:21     INFO - scheduleRootUpdate@resource://devtools/client/shared/vendor/react-dom.js:15865:15
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - updateContainerAtExpirationTime@resource://devtools/client/shared/vendor/react-dom.js:15881:10
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - updateContainer@resource://devtools/client/shared/vendor/react-dom.js:15908:10
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - ReactRoot.prototype.render@resource://devtools/client/shared/vendor/react-dom.js:16133:18
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - legacyRenderSubtreeIntoContainer/<@resource://devtools/client/shared/vendor/react-dom.js:16242:14
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - unbatchedUpdates@resource://devtools/client/shared/vendor/react-dom.js:15772:10
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - legacyRenderSubtreeIntoContainer@resource://devtools/client/shared/vendor/react-dom.js:16238:21
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - render@resource://devtools/client/shared/vendor/react-dom.js:16289:12
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - initialize@resource://devtools/client/accessibility/accessibility-view.js:160:31
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - async*onMessage@resource://devtools/client/accessibility/accessibility-view.js:249:19
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - postContentMessage@resource://devtools/client/accessibility/panel.js:282:19
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - refresh@resource://devtools/client/accessibility/panel.js:226:10
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - onPanelVisibilityChange/<@resource://devtools/client/accessibility/panel.js:192:35
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - Rejection date: Fri Mar 19 2021 05:13:17 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - Stack trace:
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1120
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1129
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:949
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:1037
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - Leaving test bound 
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - GECKO(2104) | MEMORY STAT | vsize 19406409MB | vsizeMaxContiguous 65443754MB | residentFast 1494MB
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - TEST-OK | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js | took 94829ms
[task 2021-03-19T05:13:21.381Z] 05:13:21     INFO - checking window state```
Has Regression Range: --- → yes
Whiteboard: [retriggered][stockwell needswork:owner]

In the last 7 days there have been 67 occurrences, mostly on linux1804-64 opt and macosx1014-64-qr opt.

Recent failure: https://treeherder.mozilla.org/logviewer?job_id=334663626&repo=autoland&lineNumber=2703

I see a couple of different stack traces:

in the inspector

devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js
  FAIL A promise chain failed to handle a rejection: Can not send request 'getWatcher' because front 'tabDescriptor' is already destroyed. - stack: generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:28:15
getWatcherFront@resource://devtools/client/fronts/targets/target-mixin.js:157:33
getParentTarget@resource://devtools/client/fronts/targets/target-mixin.js:171:39
reparentRemoteFrame@resource://devtools/client/fronts/walker.js:419:49
_getWalker@resource://devtools/client/fronts/inspector.js:88:23
async*initialize@resource://devtools/client/fronts/inspector.js:70:12
async*manage@resource://devtools/shared/protocol/Front.js:142:19
getFront@resource://devtools/shared/protocol/types.js:552:18
getFront@resource://devtools/client/fronts/targets/target-mixin.js:288:15
exports.updateDetails/<@resource://devtools/client/accessibility/actions/details.js:17:62
thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:17:11
update@resource://devtools/client/accessibility/components/AccessibilityRow.js:168:13
componentDidUpdate@resource://devtools/client/accessibility/components/AccessibilityRow.js:131:12
commitLifeCycles@resource://devtools/client/shared/vendor/react-dom-dev.js:17484:22
commitAllLifeCycles@resource://devtools/client/shared/vendor/react-dom-dev.js:18871:23
callCallback@resource://devtools/client/shared/vendor/react-dom-dev.js:143:14
invokeGuardedCallbackDev@resource://devtools/client/shared/vendor/react-dom-dev.js:193:16
invokeGuardedCallback@resource://devtools/client/shared/vendor/react-dom-dev.js:250:31
commitRoot@resource://devtools/client/shared/vendor/react-dom-dev.js:19083:28
completeRoot/<@resource://devtools/client/shared/vendor/react-dom-dev.js:20553:15
unstable_runWithPriority@resource://devtools/client/shared/vendor/react-dev.js:735:12
completeRoot@resource://devtools/client/shared/vendor/react-dom-dev.js:20552:27
performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom-dev.js:20481:21
performWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20389:24
performSyncWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20363:14
requestWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20232:5
scheduleWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20046:16
enqueueSetState@resource://devtools/client/shared/vendor/react-dom-dev.js:11304:17
Component.prototype.setState@resource://devtools/client/shared/vendor/react-dev.js:423:16
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1412:16
notify@resource://devtools/client/shared/vendor/react-redux.js:1159:21
notifyNestedSubs@resource://devtools/client/shared/vendor/react-redux.js:1198:20
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1409:16

In the accessibility panel:

devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_reload.js
  FAIL A promise chain failed to handle a rejection: Connection closed, pending request to server0.conn4.watcher2, type watchResources failed

Request stack:
request@resource://devtools/shared/protocol/Front.js:285:14
generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:46:19
_startListening@resource://devtools/shared/resources/resource-watcher.js:737:31
watchResources@resource://devtools/shared/resources/resource-watcher.js:168:20
async*initialize@resource://devtools/client/fronts/inspector.js:63:29
manage@resource://devtools/shared/protocol/Front.js:142:19
getFront@resource://devtools/shared/protocol/types.js:552:18
getFront@resource://devtools/client/fronts/targets/target-mixin.js:288:15
exports.updateDetails/<@resource://devtools/client/accessibility/actions/details.js:14:62
thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:17:11
update@resource://devtools/client/accessibility/components/AccessibilityRow.js:168:13
componentDidUpdate@resource://devtools/client/accessibility/components/AccessibilityRow.js:131:12
commitLifeCycles@resource://devtools/client/shared/vendor/react-dom-dev.js:17484:22
commitAllLifeCycles@resource://devtools/client/shared/vendor/react-dom-dev.js:18871:23
callCallback@resource://devtools/client/shared/vendor/react-dom-dev.js:143:14
invokeGuardedCallbackDev@resource://devtools/client/shared/vendor/react-dom-dev.js:193:16
invokeGuardedCallback@resource://devtools/client/shared/vendor/react-dom-dev.js:250:31
commitRoot@resource://devtools/client/shared/vendor/react-dom-dev.js:19083:28
completeRoot/<@resource://devtools/client/shared/vendor/react-dom-dev.js:20553:15
unstable_runWithPriority@resource://devtools/client/shared/vendor/react-dev.js:735:12
completeRoot@resource://devtools/client/shared/vendor/react-dom-dev.js:20552:27
performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom-dev.js:20481:21
performWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20389:24
performSyncWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20363:14
requestWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20232:5
scheduleWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20046:16
enqueueSetState@resource://devtools/client/shared/vendor/react-dom-dev.js:11304:17
Component.prototype.setState@resource://devtools/client/shared/vendor/react-dev.js:423:16
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1412:16
notify@resource://devtools/client/shared/vendor/react-redux.js:1159:21
notifyNestedSubs@resource://devtools/client/shared/vendor/react-redux.js:1198:20
onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1409:16
dispatch@resource://devtools/client/shared/vendor/redux.js:265:7
exports.history/</</<@resource://devtools/client/shared/redux/middleware/history.js:23:9
waitUntilService/</<@resource://devtools/client/shared/redux/middleware/wait-service.js:59:24
promiseMiddleware/</<@resource://devtools/client/shared/redux/middleware/promise.js:24:14
thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:18:11
dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
exports.fetchChildren/</<@resource://devtools/client/accessibility/actions/accessibles.js:20:31
promise callback*exports.fetchChildren/<@resource://devtools/client/accessibility/actions/accessibles.js:20:6
thunk/</</<@resource://devtools/client/shared/redux/middleware/thunk.js:17:11
getChildren@resource://devtools/client/accessibility/provider.js:38:19
getMembers@resource://devtools/client/shared/components/tree/TreeView.js:594:31
renderRows@resource://devtools/client/shared/components/tree/TreeView.js:662:28
render@resource://devtools/client/shared/components/tree/TreeView.js:721:23
finishClassComponent@resource://devtools/client/shared/vendor/react-dom-dev.js:14876:31
updateClassComponent@resource://devtools/client/shared/vendor/react-dom-dev.js:14831:44
beginWork@resource://devtools/client/shared/vendor/react-dom-dev.js:15779:16
performUnitOfWork@resource://devtools/client/shared/vendor/react-dom-dev.js:19447:12
workLoop@resource://devtools/client/shared/vendor/react-dom-dev.js:19487:24
renderRoot@resource://devtools/client/shared/vendor/react-dom-dev.js:19570:15
performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom-dev.js:20477:17
performWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20389:24
performSyncWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20363:14
requestWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20232:5
scheduleWork@resource://devtools/client/shared/vendor/react-dom-dev.js:20046:16
scheduleRootUpdate@resource://devtools/client/shared/vendor/react-dom-dev.js:20707:15
updateContainerAtExpirationTime@resource://devtools/client/shared/vendor/react-dom-dev.js:20735:10
updateContainer@resource://devtools/client/shared/vendor/react-dom-dev.js:20792:10
ReactRoot.prototype.render@resource://devtools/client/shared/vendor/react-dom-dev.js:21088:18
legacyRenderSubtreeIntoContainer/<@resource://devtools/client/shared/vendor/react-dom-dev.js:21225:14
unbatchedUpdates@resource://devtools/client/shared/vendor/react-dom-dev.js:20594:10
legacyRenderSubtreeIntoContainer@resource://devtools/client/shared/vendor/react-dom-dev.js:21221:21
render@resource://devtools/client/shared/vendor/react-dom-dev.js:21290:12
initialize@resource://devtools/client/accessibility/accessibility-view.js:160:31
async*onMessage@resource://devtools/client/accessibility/accessibility-view.js:249:19

Unfortunately, adding waitForRequestsToSettle doesn't fix these exceptions.
Nor does it seem to be fixed by adding a few early bailout with isDestroyed or isDestroyedOrBeingDestroyed...

Flags: needinfo?(poirot.alex)

This helps tests know when the panel is done processing a new page load.

It appears to be hard to track when the acccessiblity panel is done processing page reload,
so open it first, so that it has more time to complete async updates.

The accessibility panel delays its UI initialization until it receives the "select" event from the toolbox.
So when you select the a11y panel in the toolbox the following happens:

  • toolbox loads a11y panel
  • a11y panel starts and emits "ready"
  • toolbox receives the "ready" event from a11y panel, and emits the "select" event
  • a11y panel receives the "select" event and starts a "refresh"

This refresh will actually initialize the UI. Panels should not really listen for the select event to finish their first rendering. Otherwise it means that the toolbox will resolve before the panel is ready.

There is an alternate event we can use in the test, for a normally safe fix: https://treeherder.mozilla.org/jobs?repo=try&revision=f599bfe0974d2dabc652e53baecb9132fd38b92d

I also naively tried to update the initialization of the panel to perform the rendering immediately, without waiting for "select" and to fire "ready" only after the UI had finished its initialization: https://treeherder.mozilla.org/jobs?repo=try&revision=c965f23e726abd402c9ec77b43c98f3b1d27d9bf (this might be very orange though).

Edit: the initialization change looks green (devtools-green), that's surprising.

So while I was focusing only on page reload, it looks like it mainly fails from selectTool!

Delaying ready event may actually fix various intermittents if any test isn't waiting for some other event before doing any assertion... So it is probably a good move !

Note that ACCESSIBILITY_INSPECTOR_UPDATED may be a better event to wait for. INITIALIZE fires before the AccessibilityTree fetches its data lazily.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED

Comment on attachment 9212159 [details]
Bug 1699619 - [devtools] Make the accesibility panel support "reloaded" event.

Revision D110077 was moved to bug 1701776. Setting attachment 9212159 [details] to obsolete.

Attachment #9212159 - Attachment is obsolete: true

(In reply to Alexandre Poirot [:ochameau] from comment #11)

So while I was focusing only on page reload, it looks like it mainly fails from selectTool!

Delaying ready event may actually fix various intermittents if any test isn't waiting for some other event before doing any assertion... So it is probably a good move !

Yes I was also surprised to see that the issue was from selectTool!
(and my suggestion to move accessibility earlier in the array was pointless since each tool is tested in isolation)

Note that ACCESSIBILITY_INSPECTOR_UPDATED may be a better event to wait for. INITIALIZE fires before the AccessibilityTree fetches its data lazily.

After adding some logs, it seems INITIALIZED fires after ACCESSIBILITY_INSPECTOR_UPDATED.
It's a bit hard to track because it's fired in response to another event:

    window.once(EVENTS.PROPERTIES_UPDATED).then(() => {
      window.emit(EVENTS.INITIALIZED);
    });

PROPERTIES_UPDATED is emitted by componentDidUpdate in Accessible.js, so probably a similar timeframe as ACCESSIBILITY_INSPECTOR_UPDATED which comes from componentDidUpdate in AccessibilityTree.js.

Attachment #9212174 - Attachment is obsolete: true
Attachment #9212143 - Attachment is obsolete: true

(In reply to Julian Descottes [:jdescottes] from comment #13)

Note that ACCESSIBILITY_INSPECTOR_UPDATED may be a better event to wait for. INITIALIZE fires before the AccessibilityTree fetches its data lazily.

After adding some logs, it seems INITIALIZED fires after ACCESSIBILITY_INSPECTOR_UPDATED.
It's a bit hard to track because it's fired in response to another event:

    window.once(EVENTS.PROPERTIES_UPDATED).then(() => {
      window.emit(EVENTS.INITIALIZED);
    });

PROPERTIES_UPDATED is emitted by componentDidUpdate in Accessible.js, so probably a similar timeframe as ACCESSIBILITY_INSPECTOR_UPDATED which comes from componentDidUpdate in AccessibilityTree.js.

+1 I've been confused....
We only see ACCESSIBILITY_INSPECTOR_UPDATED while running the test because we close before we get a chance to emit INITIALIZED. So INITIALIZED definitely comes after and is a better option!

Assignee: poirot.alex → jdescottes

With the previous implementation, the toolbox would resolve the panel before all the initialization data had been retrieved.
This could lead to issues if we tried to destroy the toolbox right after the panel got selected.

Blocks: 1702078

Comment on attachment 9212507 [details]
Bug 1699619 - [devtools] a11y panel should emit ready event after rendering the UI

Revision D110247 was moved to bug 1702078. Setting attachment 9212507 [details] to obsolete.

Attachment #9212507 - Attachment is obsolete: true
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/715de1f966ad [devtools] Wait for a11y panel initialization in browser_aboutdebugging_devtoolstoolbox_reload r=ochameau
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: