# HG changeset patch # User Kris Maglione # Date 1520737734 28800 # Node ID 4545ede6e508a03e88bbf400ebcca1a65b0ce6c4 # Parent 30ea20ff5f91ebc5ddda638077a3fc45f89367f4 Bug 1444680: Part 5: Convert test_ext_webRequest_set_cookie to xpcshell. r=mixedpuppy MozReview-Commit-ID: 8hTlHqB0KX7 diff --git a/toolkit/components/extensions/test/mochitest/file_webrequestblocking_set_cookie.html b/toolkit/components/extensions/test/mochitest/file_webrequestblocking_set_cookie.html deleted file mode 100644 --- a/toolkit/components/extensions/test/mochitest/file_webrequestblocking_set_cookie.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Set Cookie Example - - - - diff --git a/toolkit/components/extensions/test/mochitest/file_webrequestblocking_set_cookie.html^headers^ b/toolkit/components/extensions/test/mochitest/file_webrequestblocking_set_cookie.html^headers^ deleted file mode 100644 --- a/toolkit/components/extensions/test/mochitest/file_webrequestblocking_set_cookie.html^headers^ +++ /dev/null @@ -1,1 +0,0 @@ -Set-Cookie: reqcookie=reqvalue diff --git a/toolkit/components/extensions/test/mochitest/mochitest-common.ini b/toolkit/components/extensions/test/mochitest/mochitest-common.ini --- a/toolkit/components/extensions/test/mochitest/mochitest-common.ini +++ b/toolkit/components/extensions/test/mochitest/mochitest-common.ini @@ -34,18 +34,16 @@ support-files = file_webNavigation_clientRedirect.html file_webNavigation_clientRedirect_httpHeaders.html file_webNavigation_clientRedirect_httpHeaders.html^headers^ file_webNavigation_frameClientRedirect.html file_webNavigation_frameRedirect.html file_webNavigation_manualSubframe.html file_webNavigation_manualSubframe_page1.html file_webNavigation_manualSubframe_page2.html - file_webrequestblocking_set_cookie.html - file_webrequestblocking_set_cookie.html^headers^ file_with_about_blank.html head.js head_cookies.js head_unlimitedStorage.js head_webrequest.js hsts.sjs lorem.html.gz lorem.html.gz^headers^ @@ -140,17 +138,16 @@ skip-if = os == 'android' # Bug 1258975 skip-if = os == 'android' [test_ext_unload_frame.html] [test_ext_web_accessible_resources.html] [test_ext_webnavigation.html] [test_ext_webnavigation_filters.html] [test_ext_webrequest_auth.html] skip-if = os == 'android' [test_ext_webrequest_background_events.html] -[test_ext_webrequestblocking_set_cookie.html] [test_ext_webrequest_basic.html] [test_ext_webrequest_errors.html] [test_ext_webrequest_filter.html] [test_ext_webrequest_frameId.html] [test_ext_webrequest_hsts.html] [test_ext_webrequest_responseBody.html] skip-if = os == 'android' || os == 'linux' # linux, bug 1398120 [test_ext_webrequest_upgrade.html] diff --git a/toolkit/components/extensions/test/mochitest/test_ext_webrequestblocking_set_cookie.html b/toolkit/components/extensions/test/xpcshell/test_ext_webRequest_set_cookie.js rename from toolkit/components/extensions/test/mochitest/test_ext_webrequestblocking_set_cookie.html rename to toolkit/components/extensions/test/xpcshell/test_ext_webRequest_set_cookie.js --- a/toolkit/components/extensions/test/mochitest/test_ext_webrequestblocking_set_cookie.html +++ b/toolkit/components/extensions/test/xpcshell/test_ext_webRequest_set_cookie.js @@ -1,26 +1,26 @@ - - - - Testing modifying cookies in webRequest.onHeadersReceived - - - - - - - - - - - diff --git a/toolkit/components/extensions/test/xpcshell/xpcshell-common.ini b/toolkit/components/extensions/test/xpcshell/xpcshell-common.ini --- a/toolkit/components/extensions/test/xpcshell/xpcshell-common.ini +++ b/toolkit/components/extensions/test/xpcshell/xpcshell-common.ini @@ -73,16 +73,17 @@ skip-if = os == "android" skip-if = os == "android" [test_ext_storage_telemetry.js] skip-if = os == "android" # checking for telemetry needs to be updated: 1384923 [test_ext_trustworthy_origin.js] [test_ext_topSites.js] skip-if = os == "android" [test_ext_webRequest_filterResponseData.js] [test_ext_webRequest_permission.js] +[test_ext_webRequest_set_cookie.js] [test_ext_webRequest_suspend.js] [test_ext_webRequest_webSocket.js] [test_native_manifests.js] subprocess = true skip-if = os == "android" [test_ext_permissions.js] skip-if = os == "android" # Bug 1350559 [test_proxy_scripts.js]