Adding "maychangeremoteness" causes [test_ext_startup_request_handler.js](https://searchfox.org/mozilla-central/rev/91d82d7cbf05a71954dfa49d0e43824c7c973e62/toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js) to fail: ``` Unexpected Results ------------------ xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js FAIL test_startup_request_handler - [test_startup_request_handler : 265] A promise chain failed to handle a rejection: No matching message handler - stack: (No stack available.) Rejection date: Mon Jul 06 2020 15:28:00 GMT-0400 (Eastern Daylight Time) - false == true resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265 /testing/xpcshell/head.js:_execute_test:578 -e:null:1 FAIL test_startup_request_handler - [test_startup_request_handler : 352] Extension left running at test shutdown - "running" == "unloaded" resource://testing-common/ExtensionXPCShellUtils.jsm:ExtensionWrapper/<:352 /testing/xpcshell/head.js:_execute_test/<:641 /testing/xpcshell/head.js:_execute_test:650 -e:null:1 FAIL xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js - xpcshell return code: 0 ERROR Unexpected exception No matching message handler undefined ERROR NS_ERROR_ABORT: _abort_failed_test@/testing/xpcshell/head.js:833:20 do_report_result@/testing/xpcshell/head.js:934:5 Assert<@/testing/xpcshell/head.js:73:21 proto.report@resource://testing-common/Assert.jsm:233:10 equal@resource://testing-common/Assert.jsm:275:8 ExtensionWrapper/<@resource://testing-common/ExtensionXPCShellUtils.jsm:352:24 _execute_test/<@/testing/xpcshell/head.js:641:28 _execute_test@/testing/xpcshell/head.js:650:5 @-e:1:1 ``` The error comes from [here](https://searchfox.org/mozilla-central/rev/91d82d7cbf05a71954dfa49d0e43824c7c973e62/toolkit/components/extensions/MessageChannel.jsm#896-899). I've requested a pernosco trace.
Bug 1646817 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Adding "maychangeremoteness" to the ContentPage browser causes [test_ext_startup_request_handler.js](https://searchfox.org/mozilla-central/rev/91d82d7cbf05a71954dfa49d0e43824c7c973e62/toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js) to fail: ``` Unexpected Results ------------------ xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js FAIL test_startup_request_handler - [test_startup_request_handler : 265] A promise chain failed to handle a rejection: No matching message handler - stack: (No stack available.) Rejection date: Mon Jul 06 2020 15:28:00 GMT-0400 (Eastern Daylight Time) - false == true resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265 /testing/xpcshell/head.js:_execute_test:578 -e:null:1 FAIL test_startup_request_handler - [test_startup_request_handler : 352] Extension left running at test shutdown - "running" == "unloaded" resource://testing-common/ExtensionXPCShellUtils.jsm:ExtensionWrapper/<:352 /testing/xpcshell/head.js:_execute_test/<:641 /testing/xpcshell/head.js:_execute_test:650 -e:null:1 FAIL xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js - xpcshell return code: 0 ERROR Unexpected exception No matching message handler undefined ERROR NS_ERROR_ABORT: _abort_failed_test@/testing/xpcshell/head.js:833:20 do_report_result@/testing/xpcshell/head.js:934:5 Assert<@/testing/xpcshell/head.js:73:21 proto.report@resource://testing-common/Assert.jsm:233:10 equal@resource://testing-common/Assert.jsm:275:8 ExtensionWrapper/<@resource://testing-common/ExtensionXPCShellUtils.jsm:352:24 _execute_test/<@/testing/xpcshell/head.js:641:28 _execute_test@/testing/xpcshell/head.js:650:5 @-e:1:1 ``` The error comes from [here](https://searchfox.org/mozilla-central/rev/91d82d7cbf05a71954dfa49d0e43824c7c973e62/toolkit/components/extensions/MessageChannel.jsm#896-899). I've requested a pernosco trace.
Adding "maychangeremoteness" to the ContentPage browser causes [test_ext_startup_request_handler.js](https://searchfox.org/mozilla-central/rev/91d82d7cbf05a71954dfa49d0e43824c7c973e62/toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js) to fail: ``` Unexpected Results ------------------ xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js FAIL test_startup_request_handler - [test_startup_request_handler : 265] A promise chain failed to handle a rejection: No matching message handler - stack: (No stack available.) Rejection date: Mon Jul 06 2020 15:28:00 GMT-0400 (Eastern Daylight Time) - false == true resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265 /testing/xpcshell/head.js:_execute_test:578 -e:null:1 FAIL test_startup_request_handler - [test_startup_request_handler : 352] Extension left running at test shutdown - "running" == "unloaded" resource://testing-common/ExtensionXPCShellUtils.jsm:ExtensionWrapper/<:352 /testing/xpcshell/head.js:_execute_test/<:641 /testing/xpcshell/head.js:_execute_test:650 -e:null:1 FAIL xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_startup_request_handler.js - xpcshell return code: 0 ERROR Unexpected exception No matching message handler undefined ERROR NS_ERROR_ABORT: _abort_failed_test@/testing/xpcshell/head.js:833:20 do_report_result@/testing/xpcshell/head.js:934:5 Assert<@/testing/xpcshell/head.js:73:21 proto.report@resource://testing-common/Assert.jsm:233:10 equal@resource://testing-common/Assert.jsm:275:8 ExtensionWrapper/<@resource://testing-common/ExtensionXPCShellUtils.jsm:352:24 _execute_test/<@/testing/xpcshell/head.js:641:28 _execute_test@/testing/xpcshell/head.js:650:5 @-e:1:1 ``` The error comes from [here](https://searchfox.org/mozilla-central/rev/91d82d7cbf05a71954dfa49d0e43824c7c973e62/toolkit/components/extensions/MessageChannel.jsm#896-899). I've requested a pernosco trace (edit: https://pernos.co/debug/vH7JWRt3imaP2jznXQ-D9g/index.html).