Bug: Intermittent [tier 2] browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Uncaught exception - at chrome://mochitests/content/browser/browser/base/content/test/tabs/head.js:283 - TypeError: can't access property "remoteType
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-09-13 22:38:06+00:00
Resolved: 2023-06-02 12:02:47+00:00

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

---
```
[task 2021-09-13T21:58:41.186Z] 21:58:41     INFO - TEST-START | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js
[task 2021-09-13T21:58:42.305Z] 21:58:42     INFO - GECKO(1533) | console.warn: AboutWelcomeParent: Not handling AWPage:TELEMETRY_EVENT because the browser doesn't exist.
[task 2021-09-13T21:58:44.084Z] 21:58:44     INFO - GECKO(1533) | JavaScript error: resource://activity-stream/aboutwelcome/aboutwelcome.bundle.js, line 222: TypeError: window.AWGetFeatureConfig is not a function
[task 2021-09-13T21:58:45.523Z] 21:58:45     INFO - TEST-INFO | started process screentopng
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - TEST-INFO | screentopng: exit 0
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - Buffered messages logged at 21:58:41
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - Entering test bound setup
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - Leaving test bound setup
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - Entering test bound activity_stream_in_privileged_content_process
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Ensures that tab runs in the privilegedabout content process. - 
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Parent and child process should agree on the remote type. - 
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - Buffered messages logged at 21:58:42
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - Console message: [JavaScript Error: "can't access property "createInstance", Cc[("@mozilla.org/profile/migrator;1?app=browser&type=" + aKey)] is undefined" {file: "resource:///modules/MigrationUtils.jsm" line: 792}]
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - MU_getMigrator@resource:///modules/MigrationUtils.jsm:792:1
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - getImportableSites@resource:///actors/AboutWelcomeParent.jsm:62:43
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - 
[task 2021-09-13T21:58:45.993Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:45.994Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:45.995Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:45.995Z] 21:58:45     INFO - Buffered messages logged at 21:58:43
[task 2021-09-13T21:58:45.995Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:45.996Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:45.999Z] 21:58:45     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:46.000Z] 21:58:46     INFO - Buffered messages logged at 21:58:44
[task 2021-09-13T21:58:46.000Z] 21:58:46     INFO - Console message: [JavaScript Error: "TypeError: window.AWGetFeatureConfig is not a function" {file: "resource://activity-stream/aboutwelcome/aboutwelcome.bundle.js" line: 222}]
[task 2021-09-13T21:58:46.003Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:46.004Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Check that about:newtab tabs are in the same privileged about: content process. - 
[task 2021-09-13T21:58:46.004Z] 21:58:46     INFO - Leaving test bound activity_stream_in_privileged_content_process
[task 2021-09-13T21:58:46.005Z] 21:58:46     INFO - Entering test bound process_switching_through_loading_in_the_same_tab
[task 2021-09-13T21:58:46.006Z] 21:58:46     INFO - Buffered messages logged at 21:58:45
[task 2021-09-13T21:58:46.007Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Ensures that tab runs in the web content process. - 
[task 2021-09-13T21:58:46.010Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Parent and child process should agree on the remote type. - 
[task 2021-09-13T21:58:46.011Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Ensures that tab runs in the privilegedabout content process. - 
[task 2021-09-13T21:58:46.012Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Parent and child process should agree on the remote type. - 
[task 2021-09-13T21:58:46.013Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Ensures that tab runs in the web content process. - 
[task 2021-09-13T21:58:46.019Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Parent and child process should agree on the remote type. - 
[task 2021-09-13T21:58:46.020Z] 21:58:46     INFO - Console message: [JavaScript Error: "remote browser crashed while on http://example.org/
[task 2021-09-13T21:58:46.020Z] 21:58:46     INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 10}]
[task 2021-09-13T21:58:46.020Z] 21:58:46     INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:10:10
[task 2021-09-13T21:58:46.021Z] 21:58:46     INFO - 
[task 2021-09-13T21:58:46.021Z] 21:58:46     INFO - TEST-PASS | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Ensures that tab runs in the web content process. - 
[task 2021-09-13T21:58:46.022Z] 21:58:46     INFO - Buffered messages finished
[task 2021-09-13T21:58:46.024Z] 21:58:46     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | Uncaught exception - at chrome://mochitests/content/browser/browser/base/content/test/tabs/head.js:283 - TypeError: can't access property "remoteType", browser.messageManager is null
[task 2021-09-13T21:58:46.024Z] 21:58:46     INFO - Stack trace:
[task 2021-09-13T21:58:46.024Z] 21:58:46     INFO - checkBrowserRemoteType@chrome://mochitests/content/browser/browser/base/content/test/tabs/head.js:283:1
[task 2021-09-13T21:58:46.024Z] 21:58:46     INFO - process_switching_through_loading_in_the_same_tab/<@chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js:105:29
[task 2021-09-13T21:58:46.025Z] 21:58:46     INFO - Leaving test bound process_switching_through_loading_in_the_same_tab
[task 2021-09-13T21:58:46.026Z] 21:58:46     INFO - Entering test bound process_switching_through_navigation_features
[task 2021-09-13T21:58:46.027Z] 21:58:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-09-13T21:58:46.031Z] 21:58:46     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js | uncaught exception - TypeError: can't access property "hasLayers", initialBrowser.frameLoader.remoteTab is null at AsyncTabSwitcher@resource:///modules/AsyncTabSwitcher.jsm:168:1
[task 2021-09-13T21:58:46.031Z] 21:58:46     INFO - _getSwitcher@chrome://browser/content/tabbrowser.js:5136:26
[task 2021-09-13T21:58:46.032Z] 21:58:46     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1066:16
[task 2021-09-13T21:58:46.032Z] 21:58:46     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5607:16
[task 2021-09-13T21:58:46.033Z] 21:58:46     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:202:14
[task 2021-09-13T21:58:46.033Z] 21:58:46     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:220:7
[task 2021-09-13T21:58:46.033Z] 21:58:46     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:544:11
[task 2021-09-13T21:58:46.033Z] 21:58:46     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:563:35
[task 2021-09-13T21:58:46.034Z] 21:58:46     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:85:11
[task 2021-09-13T21:58:46.034Z] 21:58:46     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:311:7
[task 2021-09-13T21:58:46.035Z] 21:58:46     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.jsm:250:61
[task 2021-09-13T21:58:46.035Z] 21:58:46     INFO - switchTab@resource://testing-common/BrowserTestUtils.jsm:388:7
[task 2021-09-13T21:58:46.035Z] 21:58:46     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.jsm:245:26
[task 2021-09-13T21:58:46.035Z] 21:58:46     INFO - withNewTab@resource://testing-common/BrowserTestUtils.jsm:146:38
[task 2021-09-13T21:58:46.036Z] 21:58:46     INFO - process_switching_through_navigation_features@chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js:120:26
[task 2021-09-13T21:58:46.036Z] 21:58:46     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1091:34
[task 2021-09-13T21:58:46.036Z] 21:58:46     INFO - 
[task 2021-09-13T21:58:46.036Z] 21:58:46     INFO - Stack trace:
[task 2021-09-13T21:58:46.036Z] 21:58:46     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2021-09-13T21:58:46.036Z] 21:58:46     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:202
[task 2021-09-13T21:58:46.036Z] 21:58:46     INFO - chrome://global/content/elements/tabbox.js:set selectedPanel:220
[task 2021-09-13T21:58:46.037Z] 21:58:46     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:544
[task 2021-09-13T21:58:46.037Z] 21:58:46     INFO - chrome://global/content/elements/tabbox.js:set selectedItem:563
[task 2021-09-13T21:58:46.037Z] 21:58:46     INFO - chrome://global/content/elements/tabbox.js:set selectedTab:85
[task 2021-09-13T21:58:46.037Z] 21:58:46     INFO - chrome://browser/content/tabbrowser.js:set selectedTab:311
[task 2021-09-13T21:58:46.037Z] 21:58:46     INFO - resource://testing-common/BrowserTestUtils.jsm:openNewForegroundTab/promises<:250
[task 2021-09-13T21:58:46.037Z] 21:58:46     INFO - resource://testing-common/BrowserTestUtils.jsm:switchTab:388
[task 2021-09-13T21:58:46.038Z] 21:58:46     INFO - resource://testing-common/BrowserTestUtils.jsm:openNewForegroundTab:245
[task 2021-09-13T21:58:46.038Z] 21:58:46     INFO - resource://testing-common/BrowserTestUtils.jsm:withNewTab:146
[task 2021-09-13T21:58:46.038Z] 21:58:46     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js:process_switching_through_navigation_features:120
[task 2021-09-13T21:58:46.038Z] 21:58:46     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1091
```