Bug: Intermittent browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js | Uncaught exception - at resource://specialpowers/SpecialPowersParent.jsm:1045 - TypeError: browsingContext.currentWindowGlobal is null
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-01-10 17:16:22+00:00
Resolved: 2020-01-28 01:03:05+00:00

**Filed by:** ncsoregi [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=284421311&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OUdcrdCES3S809GMbo38eA/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/OUdcrdCES3S809GMbo38eA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---

>[task 2020-01-10T16:21:54.274Z] 16:21:54     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js | audio global indicator attribute as expected - 
[task 2020-01-10T16:21:54.274Z] 16:21:54     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js | screen global indicator attribute as expected - 
[task 2020-01-10T16:21:54.274Z] 16:21:54     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js | only one global indicator window - 
[task 2020-01-10T16:21:54.274Z] 16:21:54     INFO - reloading the web page
[task 2020-01-10T16:21:54.275Z] 16:21:54     INFO - Buffered messages finished
[task 2020-01-10T16:21:54.277Z] 16:21:54     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js | Uncaught exception - at resource://specialpowers/SpecialPowersParent.jsm:1045 - TypeError: browsingContext.currentWindowGlobal is null
[task 2020-01-10T16:21:54.277Z] 16:21:54     INFO - Stack trace:
[task 2020-01-10T16:21:54.278Z] 16:21:54     INFO - receiveMessage@resource://specialpowers/SpecialPowersParent.jsm:1045:24
[task 2020-01-10T16:21:54.278Z] 16:21:54     INFO - JSWindowActor query*spawn@resource://specialpowers/SpecialPowersChild.jsm:1678:17
[task 2020-01-10T16:21:54.278Z] 16:21:54     INFO - getMediaCaptureState@chrome://mochitests/content/browser/browser/base/content/test/webrtc/head.js:414:37
[task 2020-01-10T16:21:54.278Z] 16:21:54     INFO - async*checkNotSharing@chrome://mochitests/content/browser/browser/base/content/test/webrtc/head.js:735:11
[task 2020-01-10T16:21:54.278Z] 16:21:54     INFO - reloadAndAssertClosedStreams@chrome://mochitests/content/browser/browser/base/content/test/webrtc/head.js:622:9
[task 2020-01-10T16:21:54.278Z] 16:21:54     INFO - async*checkReloading@chrome://mochitests/content/browser/browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js:498:13
[task 2020-01-10T16:21:54.278Z] 16:21:54     INFO - async*runTests@chrome://mochitests/content/browser/browser/base/content/test/webrtc/head.js:874:20
[task 2020-01-10T16:21:54.279Z] 16:21:54     INFO - async*test_inprocess@chrome://mochitests/content/browser/browser/base/content/test/webrtc/browser_devices_get_user_media_in_frame.js:504:9
[task 2020-01-10T16:21:54.279Z] 16:21:54     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1062:34
[task 2020-01-10T16:21:54.279Z] 16:21:54     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1097:11
[task 2020-01-10T16:21:54.279Z] 16:21:54     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:919:14
[task 2020-01-10T16:21:54.279Z] 16:21:54     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:808:67
[task 2020-01-10T16:21:54.279Z] 16:21:54     INFO - Leaving test bound test_inprocess