зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1498311 Handle content scripts properly on platforms without oop extensions r=zombie
--HG-- extra : rebase_source : 96f10978d9f19c2a8ec007a725643cd58395ccb6
This commit is contained in:
Родитель
fa5786d2c8
Коммит
631def558c
|
@ -68,7 +68,7 @@ XPCOMUtils.defineLazyGetter(this, "console", ExtensionCommon.getConsole);
|
|||
|
||||
XPCOMUtils.defineLazyGetter(this, "isContentScriptProcess", () => {
|
||||
return Services.appinfo.processType === Services.appinfo.PROCESS_TYPE_CONTENT ||
|
||||
!Services.appinfo.browserTabsRemoteAutostart;
|
||||
!WebExtensionPolicy.useRemoteWebExtensions;
|
||||
});
|
||||
|
||||
var DocumentManager;
|
||||
|
|
|
@ -160,7 +160,9 @@ add_task(async function test_userScripts_matches_denied() {
|
|||
// - can be registered/unregistered from an extension page
|
||||
// - have no WebExtensions APIs available
|
||||
// - are able to access the target window and document
|
||||
add_task(async function test_userScripts_no_webext_apis() {
|
||||
|
||||
// Temporarily disabled due to bug 1498364
|
||||
false && add_task(async function test_userScripts_no_webext_apis() {
|
||||
async function background() {
|
||||
const matches = ["http://localhost/*/file_sample.html"];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче