Closed Bug 1643547 Opened 4 years ago Closed 4 years ago

Intermittent TV devtools/client/responsive/test/browser/browser_zoom.js | A promise chain failed to handle a rejection: can't access property "top", nextProps.toolboxDoc.defaultView is null - stack: componentWillReceiveProps

Categories

(DevTools :: Responsive Design Mode, defect, P5)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox77 unaffected, firefox78 unaffected, firefox79 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox77 --- unaffected
firefox78 --- unaffected
firefox79 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=305150188&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YD-zBPXETR6nhkffRs34mw/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YD-zBPXETR6nhkffRs34mw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2020-06-05T00:50:18.257Z] 00:50:18 INFO - TEST-PASS | devtools/client/responsive/test/browser/browser_zoom.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2020-06-05T00:50:18.257Z] 00:50:18 INFO - GECKO(2132) | JavaScript error: resource://devtools/client/shared/components/menu/MenuButton.js, line 139: TypeError: can't access property "top", nextProps.toolboxDoc.defaultView is null
[task 2020-06-05T00:50:18.260Z] 00:50:18 INFO - TEST-INFO | started process screentopng
[task 2020-06-05T00:50:18.695Z] 00:50:18 INFO - TEST-INFO | screentopng: exit 0
[task 2020-06-05T00:50:18.695Z] 00:50:18 INFO - Buffered messages logged at 00:50:18
[task 2020-06-05T00:50:18.695Z] 00:50:18 INFO - Console message: [JavaScript Error: "TypeError: can't access property "top", nextProps.toolboxDoc.defaultView is null" {file: "resource://devtools/client/shared/components/menu/MenuButton.js" line: 139}]
[task 2020-06-05T00:50:18.696Z] 00:50:18 INFO - Buffered messages finished
[task 2020-06-05T00:50:18.697Z] 00:50:18 INFO - TEST-UNEXPECTED-FAIL | devtools/client/responsive/test/browser/browser_zoom.js | A promise chain failed to handle a rejection: can't access property "top", nextProps.toolboxDoc.defaultView is null - stack: componentWillReceiveProps@resource://devtools/client/shared/components/menu/MenuButton.js:139:17
[task 2020-06-05T00:50:18.698Z] 00:50:18 INFO - callComponentWillReceiveProps@resource://devtools/client/shared/vendor/react-dom.js:8303:14
[task 2020-06-05T00:50:18.698Z] 00:50:18 INFO - updateClassInstance@resource://devtools/client/shared/vendor/react-dom.js:8482:36
[task 2020-06-05T00:50:18.698Z] 00:50:18 INFO - updateClassComponent@resource://devtools/client/shared/vendor/react-dom.js:10599:20
[task 2020-06-05T00:50:18.698Z] 00:50:18 INFO - beginWork@resource://devtools/client/shared/vendor/react-dom.js:11419:16
[task 2020-06-05T00:50:18.698Z] 00:50:18 INFO - performUnitOfWork@resource://devtools/client/shared/vendor/react-dom.js:14702:12
[task 2020-06-05T00:50:18.699Z] 00:50:18 INFO - workLoop@resource://devtools/client/shared/vendor/react-dom.js:14720:24
[task 2020-06-05T00:50:18.699Z] 00:50:18 INFO - renderRoot@resource://devtools/client/shared/vendor/react-dom.js:14803:15
[task 2020-06-05T00:50:18.699Z] 00:50:18 INFO - performWorkOnRoot@resource://devtools/client/shared/vendor/react-dom.js:15655:17
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - performWork@resource://devtools/client/shared/vendor/react-dom.js:15567:24
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - performSyncWork@resource://devtools/client/shared/vendor/react-dom.js:15541:14
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - requestWork@resource://devtools/client/shared/vendor/react-dom.js:15410:5
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - scheduleWork@resource://devtools/client/shared/vendor/react-dom.js:15224:16
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - enqueueSetState@resource://devtools/client/shared/vendor/react-dom.js:8192:17
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - Component.prototype.setState@resource://devtools/client/shared/vendor/react.js:328:16
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - onStateChange@resource://devtools/client/shared/vendor/react-redux.js:1412:16
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:265:7
[task 2020-06-05T00:50:18.702Z] 00:50:18 INFO - log/</<@resource://devtools/client/shared/redux/middleware/log.js:27:9
[task 2020-06-05T00:50:18.703Z] 00:50:18 INFO - exports.history/</</<@resource://devtools/client/shared/redux/middleware/history.js:23:9
[task 2020-06-05T00:50:18.703Z] 00:50:18 INFO - waitUntilService/</<@resource://devtools/client/shared/redux/middleware/wait-service.js:59:24
[task 2020-06-05T00:50:18.703Z] 00:50:18 INFO - promiseMiddleware/</<@resource://devtools/client/shared/redux/middleware/promise.js:36:14
[task 2020-06-05T00:50:18.703Z] 00:50:18 INFO - thunk/</<@resource://devtools/client/shared/redux/middleware/thunk.js:16:9
[task 2020-06-05T00:50:18.704Z] 00:50:18 INFO - thunk/</<@resource://devtools/client/shared/redux/middleware/thunk.js:16:9
[task 2020-06-05T00:50:18.704Z] 00:50:18 INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
[task 2020-06-05T00:50:18.704Z] 00:50:18 INFO - loadDevices/<@resource://devtools/client/responsive/actions/devices.js:182:17
[task 2020-06-05T00:50:18.704Z] 00:50:18 INFO - asyncthunk/</<@resource://devtools/client/shared/redux/middleware/thunk.js:15:9
[task 2020-06-05T00:50:18.704Z] 00:50:18 INFO - @resource://devtools/client/responsive/index.js:101:19
[task 2020-06-05T00:50:18.705Z] 00:50:18 INFO - promise callback
@resource://devtools/client/responsive/index.js:100:35
[task 2020-06-05T00:50:18.705Z] 00:50:18 INFO - Rejection date: Fri Jun 05 2020 00:50:18 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-06-05T00:50:18.705Z] 00:50:18 INFO - Stack trace:
[task 2020-06-05T00:50:18.705Z] 00:50:18 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-06-05T00:50:18.705Z] 00:50:18 INFO - chrome://mochikit/content/browser-test.js:nextTest:610
[task 2020-06-05T00:50:18.705Z] 00:50:18 INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1464
[task 2020-06-05T00:50:18.706Z] 00:50:18 INFO - chrome://mochikit/content/browser-test.js:run:1379
[task 2020-06-05T00:50:18.706Z] 00:50:18 INFO - GECKO(2132) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2020-06-05T00:50:18.707Z] 00:50:18 INFO - GECKO(2132) | MEMORY STAT | vsize 2861MB | residentFast 336MB | heapAllocated 142MB
[task 2020-06-05T00:50:18.707Z] 00:50:18 INFO - TEST-OK | devtools/client/responsive/test/browser/browser_zoom.js | took 1602ms

Set release status flags based on info from the regressing bug 1638118

Flags: needinfo?(emilio)

It seems like devtools is setting up that popup really really soon. I'm not familiar enough with that code HTMLTooltip, etc to know what the right fix is there.

Given this only happened during TV I don't think it's super-urgent to get to this, but probably someone more familiar with RDM would know better. Maybe it just needs a null-check.

Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.