Bug 1323845: Part 6a - Support WebExtension-style experiment API provider extensions. r=aswan
MozReview-Commit-ID: E1IBFyzEwqU
This commit is contained in:
@@ -500,6 +500,13 @@ ExtensionProcessScript.prototype = {
|
||||
}
|
||||
},
|
||||
|
||||
getExtensionChild(id) {
|
||||
let policy = WebExtensionPolicy.getByID(id);
|
||||
if (policy) {
|
||||
return extensions.get(policy);
|
||||
}
|
||||
},
|
||||
|
||||
preloadContentScript(contentScript) {
|
||||
contentScripts.get(contentScript).preload();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user