Bug 1756495 - Ensure script registration is complete when a new process is spawned...
commit11cb030a03cf7344e0797ecd29f6afb2316a70f9
authorWilliam Durand <will+git@drnd.me>
Wed, 2 Mar 2022 16:15:41 +0000 (2 16:15 +0000)
committerWilliam Durand <will+git@drnd.me>
Wed, 2 Mar 2022 16:15:41 +0000 (2 16:15 +0000)
tree609036431ad155497291b3a9e2acba6c24592f1c
parentdd2faa9bfa854086067f02f745fbe51125b74420
Bug 1756495 - Ensure script registration is complete when a new process is spawned during the registration. r=robwu

Differential Revision: https://phabricator.services.mozilla.com/D139503
toolkit/components/extensions/parent/ext-contentScripts.js
toolkit/components/extensions/parent/ext-scripting.js
toolkit/components/extensions/parent/ext-userScripts.js
toolkit/components/extensions/test/mochitest/test_ext_scripting_contentScripts.html
toolkit/components/extensions/test/xpcshell/test_ext_contentscript_dynamic_registration.js [new file with mode: 0644]
toolkit/components/extensions/test/xpcshell/xpcshell-common.ini