diff --git a/testing/specialpowers/content/SpecialPowersChild.jsm b/testing/specialpowers/content/SpecialPowersChild.jsm index e94f7d719133..ec7fbef4e608 100644 --- a/testing/specialpowers/content/SpecialPowersChild.jsm +++ b/testing/specialpowers/content/SpecialPowersChild.jsm @@ -2141,10 +2141,6 @@ class SpecialPowersChild extends JSWindowActorChild { sendMessage(...args) { sp.sendAsyncMessage("SPExtensionMessage", { id, args }); }, - - grantActiveTab(tabId) { - sp.sendAsyncMessage("SPExtensionGrantActiveTab", { id, tabId }); - }, }; this.sendAsyncMessage("SPLoadExtension", { ext, id }); diff --git a/testing/specialpowers/content/SpecialPowersParent.jsm b/testing/specialpowers/content/SpecialPowersParent.jsm index b5561a887579..cfc073f8fe98 100644 --- a/testing/specialpowers/content/SpecialPowersParent.jsm +++ b/testing/specialpowers/content/SpecialPowersParent.jsm @@ -1106,13 +1106,6 @@ class SpecialPowersParent extends JSWindowActorParent { return undefined; } - case "SPExtensionGrantActiveTab": { - let { id, tabId } = aMessage.data; - let { tabManager } = this._extensions.get(id); - tabManager.addActiveTabPermission(tabManager.get(tabId).nativeTab); - return undefined; - } - case "SPUnloadExtension": { let id = aMessage.data.id; let extension = this._extensions.get(id); diff --git a/toolkit/components/extensions/test/mochitest/file_contentscript_activeTab.html b/toolkit/components/extensions/test/mochitest/file_contentscript_activeTab.html deleted file mode 100644 index 6c1675cb4751..000000000000 --- a/toolkit/components/extensions/test/mochitest/file_contentscript_activeTab.html +++ /dev/null @@ -1,11 +0,0 @@ - - - -
- - - - - - - diff --git a/toolkit/components/extensions/test/mochitest/file_contentscript_activeTab2.html b/toolkit/components/extensions/test/mochitest/file_contentscript_activeTab2.html deleted file mode 100644 index 3b102b3d67cf..000000000000 --- a/toolkit/components/extensions/test/mochitest/file_contentscript_activeTab2.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/toolkit/components/extensions/test/mochitest/file_contentscript_iframe.html b/toolkit/components/extensions/test/mochitest/file_contentscript_iframe.html deleted file mode 100644 index dda5169d69b3..000000000000 --- a/toolkit/components/extensions/test/mochitest/file_contentscript_iframe.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/toolkit/components/extensions/test/mochitest/mochitest-common.ini b/toolkit/components/extensions/test/mochitest/mochitest-common.ini index 3383a1100579..5b8192ab621f 100644 --- a/toolkit/components/extensions/test/mochitest/mochitest-common.ini +++ b/toolkit/components/extensions/test/mochitest/mochitest-common.ini @@ -7,9 +7,6 @@ support-files = file_WebRequest_page3.html file_contains_img.html file_contains_iframe.html - file_contentscript_activeTab.html - file_contentscript_activeTab2.html - file_contentscript_iframe.html file_image_bad.png file_image_good.png file_image_great.png @@ -80,9 +77,6 @@ skip-if = os == 'android' skip-if = headless # Bug 1405872 [test_ext_contentscript_about_blank.html] skip-if = os == 'android' # bug 1369440 -[test_ext_contentscript_activeTab.html] -skip-if = os == 'android' -fail-if = true # Broken by DocumentChannel [test_ext_contentscript_cache.html] skip-if = (os == 'linux' && debug) || (toolkit == 'android' && debug) # bug 1348241 fail-if = xorigin # TypeError: can't access property "staticScripts", ext is undefined - Should not throw any errors diff --git a/toolkit/components/extensions/test/mochitest/test_ext_contentscript_activeTab.html b/toolkit/components/extensions/test/mochitest/test_ext_contentscript_activeTab.html deleted file mode 100644 index 306f093fe148..000000000000 --- a/toolkit/components/extensions/test/mochitest/test_ext_contentscript_activeTab.html +++ /dev/null @@ -1,371 +0,0 @@ - - - -