Bug 1449546 [wpt PR 10210] - Add a runtime flag to restrict AppCache to secure contexts., a=testonly
authorMike West <mkwst@chromium.org>
Mon, 09 Apr 2018 22:14:41 +0000
changeset 467290 4622504dd3e50bf3ee3a8192aa806614e1ae1a4e
parent 467289 daf860230827427ac56cd80be072f36f097a1036
child 467291 2802f5c47a8a043b0c66671e98b6d8c24ff2cde3
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1449546, 10210, 588931, 982625, 548391
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1449546 [wpt PR 10210] - Add a runtime flag to restrict AppCache to secure contexts., a=testonly Automatic update from web-platform-testsAdd a runtime flag to restrict AppCache to secure contexts. This patch adjusts the `SecureContext` IDL attribute to take an argument, as we need to restrict the relevant bits and pieces to secure contexts iff a specific flag is set. We'll unfortunately need to keep that in place until and unless we decide that we can reasonably remove an enterprise opt-out. Intent to Deprecate/Remove: https://groups.google.com/a/chromium.org/d/msg/blink-dev/ANnafFBhReY/1Xdr53KxBAAJ Spec bug: https://github.com/whatwg/html/issues/3440 Bug: 588931 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I5bedd2ca6f420a88ddbcff65e4223fad224ac0a7 Reviewed-on: https://chromium-review.googlesource.com/982625 Reviewed-by: Yoav Weiss <yoav@yoav.ws> Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#548391} wpt-commits: bf17459a71ff4d1ea280bae54dd046ecf86e0628 wpt-pr: 10210 wpt-commits: bf17459a71ff4d1ea280bae54dd046ecf86e0628 wpt-pr: 10210
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/html/browsers/offline/appcache/workers/appcache-worker.html
testing/web-platform/tests/html/browsers/offline/appcache/workers/appcache-worker.https.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_status_idle.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_status_idle.https.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_status_uncached.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_status_uncached.https.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_swapcache_error.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_swapcache_error.https.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.https.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update_error.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update_error.https.html
testing/web-platform/tests/html/browsers/offline/application-cache-api/secure_context.html
testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_event-manual.html
testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_event-manual.https.html
testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.html
testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.https.html
testing/web-platform/tests/html/browsers/offline/introduction-4/event_cached.html
testing/web-platform/tests/html/browsers/offline/introduction-4/event_cached.https.html
testing/web-platform/tests/html/browsers/offline/introduction-4/event_checking.html
testing/web-platform/tests/html/browsers/offline/introduction-4/event_checking.https.html
testing/web-platform/tests/html/browsers/offline/introduction-4/event_noupdate.html
testing/web-platform/tests/html/browsers/offline/introduction-4/event_noupdate.https.html
testing/web-platform/tests/html/browsers/offline/introduction-4/event_progress.html
testing/web-platform/tests/html/browsers/offline/introduction-4/event_progress.https.html
testing/web-platform/tests/html/browsers/offline/manifest_main_empty-manual.html
testing/web-platform/tests/html/browsers/offline/manifest_main_empty-manual.https.html
testing/web-platform/tests/html/browsers/offline/manifest_notchanged_online-manual.html
testing/web-platform/tests/html/browsers/offline/manifest_notchanged_online-manual.https.html
testing/web-platform/tests/html/browsers/offline/manifest_section_empty-manual.html
testing/web-platform/tests/html/browsers/offline/manifest_section_empty-manual.https.html
testing/web-platform/tests/html/browsers/offline/manifest_section_many-manual.html
testing/web-platform/tests/html/browsers/offline/manifest_section_many-manual.https.html
testing/web-platform/tests/html/browsers/offline/manifest_url_check.html
testing/web-platform/tests/html/browsers/offline/manifest_url_check.https.https.html
testing/web-platform/tests/html/browsers/offline/no-appcache-in-shared-workers-historical.html
testing/web-platform/tests/html/browsers/offline/no-appcache-in-shared-workers-historical.https.html
testing/web-platform/tests/html/browsers/offline/section_network_offline-manual.html
testing/web-platform/tests/html/browsers/offline/section_network_offline-manual.https.html
testing/web-platform/tests/html/browsers/offline/section_network_online-manual.html
testing/web-platform/tests/html/browsers/offline/section_network_online-manual.https.html
testing/web-platform/tests/html/browsers/the-window-object/security-window/window-security.html
testing/web-platform/tests/html/browsers/the-window-object/security-window/window-security.https.html
testing/web-platform/tests/html/browsers/the-window-object/window-properties.html
testing/web-platform/tests/html/browsers/the-window-object/window-properties.https.html
testing/web-platform/tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/009.html
testing/web-platform/tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/009.https.html
testing/web-platform/tests/html/dom/interfaces.html
testing/web-platform/tests/html/dom/interfaces.https.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -13574,19 +13574,19 @@
     ]
    ],
    "html/browsers/offline/application-cache-api/api_swapcache-manual.html": [
     [
      "/html/browsers/offline/application-cache-api/api_swapcache-manual.html",
      {}
     ]
    ],
-   "html/browsers/offline/browser-state/navigator_online_event-manual.html": [
-    [
-     "/html/browsers/offline/browser-state/navigator_online_event-manual.html",
+   "html/browsers/offline/browser-state/navigator_online_event-manual.https.html": [
+    [
+     "/html/browsers/offline/browser-state/navigator_online_event-manual.https.html",
      {}
     ]
    ],
    "html/browsers/offline/introduction-4/event_downloading-manual.html": [
     [
      "/html/browsers/offline/introduction-4/event_downloading-manual.html",
      {}
     ]
@@ -13610,49 +13610,49 @@
     ]
    ],
    "html/browsers/offline/introduction-4/event_updateready_swapcache-manual.html": [
     [
      "/html/browsers/offline/introduction-4/event_updateready_swapcache-manual.html",
      {}
     ]
    ],
-   "html/browsers/offline/manifest_main_empty-manual.html": [
-    [
-     "/html/browsers/offline/manifest_main_empty-manual.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/manifest_notchanged_online-manual.html": [
-    [
-     "/html/browsers/offline/manifest_notchanged_online-manual.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/manifest_section_empty-manual.html": [
-    [
-     "/html/browsers/offline/manifest_section_empty-manual.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/manifest_section_many-manual.html": [
-    [
-     "/html/browsers/offline/manifest_section_many-manual.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/section_network_offline-manual.html": [
-    [
-     "/html/browsers/offline/section_network_offline-manual.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/section_network_online-manual.html": [
-    [
-     "/html/browsers/offline/section_network_online-manual.html",
+   "html/browsers/offline/manifest_main_empty-manual.https.html": [
+    [
+     "/html/browsers/offline/manifest_main_empty-manual.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/manifest_notchanged_online-manual.https.html": [
+    [
+     "/html/browsers/offline/manifest_notchanged_online-manual.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/manifest_section_empty-manual.https.html": [
+    [
+     "/html/browsers/offline/manifest_section_empty-manual.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/manifest_section_many-manual.https.html": [
+    [
+     "/html/browsers/offline/manifest_section_many-manual.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/section_network_offline-manual.https.html": [
+    [
+     "/html/browsers/offline/section_network_offline-manual.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/section_network_online-manual.https.html": [
+    [
+     "/html/browsers/offline/section_network_online-manual.https.html",
      {}
     ]
    ],
    "html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/discard_iframe_history_1-manual.html": [
     [
      "/html/browsers/the-window-object/garbage-collection-and-browsing-contexts/non-automated/discard_iframe_history_1-manual.html",
      {}
     ]
@@ -328679,91 +328679,97 @@
     ]
    ],
    "html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload.tentative.html": [
     [
      "/html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload.tentative.html",
      {}
     ]
    ],
-   "html/browsers/offline/appcache/workers/appcache-worker.html": [
-    [
-     "/html/browsers/offline/appcache/workers/appcache-worker.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/application-cache-api/api_status_idle.html": [
-    [
-     "/html/browsers/offline/application-cache-api/api_status_idle.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/application-cache-api/api_status_uncached.html": [
-    [
-     "/html/browsers/offline/application-cache-api/api_status_uncached.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/application-cache-api/api_swapcache_error.html": [
-    [
-     "/html/browsers/offline/application-cache-api/api_swapcache_error.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/application-cache-api/api_update.html": [
-    [
-     "/html/browsers/offline/application-cache-api/api_update.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/application-cache-api/api_update_error.html": [
-    [
-     "/html/browsers/offline/application-cache-api/api_update_error.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/browser-state/navigator_online_online.html": [
-    [
-     "/html/browsers/offline/browser-state/navigator_online_online.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/introduction-4/event_cached.html": [
-    [
-     "/html/browsers/offline/introduction-4/event_cached.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/introduction-4/event_checking.html": [
-    [
-     "/html/browsers/offline/introduction-4/event_checking.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/introduction-4/event_noupdate.html": [
-    [
-     "/html/browsers/offline/introduction-4/event_noupdate.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/introduction-4/event_progress.html": [
-    [
-     "/html/browsers/offline/introduction-4/event_progress.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/manifest_url_check.html": [
-    [
-     "/html/browsers/offline/manifest_url_check.html",
-     {}
-    ]
-   ],
-   "html/browsers/offline/no-appcache-in-shared-workers-historical.html": [
-    [
-     "/html/browsers/offline/no-appcache-in-shared-workers-historical.html",
+   "html/browsers/offline/appcache/workers/appcache-worker.https.html": [
+    [
+     "/html/browsers/offline/appcache/workers/appcache-worker.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/application-cache-api/api_status_idle.https.html": [
+    [
+     "/html/browsers/offline/application-cache-api/api_status_idle.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/application-cache-api/api_status_uncached.https.html": [
+    [
+     "/html/browsers/offline/application-cache-api/api_status_uncached.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/application-cache-api/api_swapcache_error.https.html": [
+    [
+     "/html/browsers/offline/application-cache-api/api_swapcache_error.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/application-cache-api/api_update.https.html": [
+    [
+     "/html/browsers/offline/application-cache-api/api_update.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/application-cache-api/api_update_error.https.html": [
+    [
+     "/html/browsers/offline/application-cache-api/api_update_error.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/application-cache-api/secure_context.html": [
+    [
+     "/html/browsers/offline/application-cache-api/secure_context.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/browser-state/navigator_online_online.https.html": [
+    [
+     "/html/browsers/offline/browser-state/navigator_online_online.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/introduction-4/event_cached.https.html": [
+    [
+     "/html/browsers/offline/introduction-4/event_cached.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/introduction-4/event_checking.https.html": [
+    [
+     "/html/browsers/offline/introduction-4/event_checking.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/introduction-4/event_noupdate.https.html": [
+    [
+     "/html/browsers/offline/introduction-4/event_noupdate.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/introduction-4/event_progress.https.html": [
+    [
+     "/html/browsers/offline/introduction-4/event_progress.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/manifest_url_check.https.https.html": [
+    [
+     "/html/browsers/offline/manifest_url_check.https.https.html",
+     {}
+    ]
+   ],
+   "html/browsers/offline/no-appcache-in-shared-workers-historical.https.html": [
+    [
+     "/html/browsers/offline/no-appcache-in-shared-workers-historical.https.html",
      {}
     ]
    ],
    "html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html": [
     [
      "/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html",
      {
       "timeout": "long"
@@ -329073,19 +329079,19 @@
     ]
    ],
    "html/browsers/the-window-object/named-access-on-the-window-object/window-null-names.html": [
     [
      "/html/browsers/the-window-object/named-access-on-the-window-object/window-null-names.html",
      {}
     ]
    ],
-   "html/browsers/the-window-object/security-window/window-security.html": [
-    [
-     "/html/browsers/the-window-object/security-window/window-security.html",
+   "html/browsers/the-window-object/security-window/window-security.https.html": [
+    [
+     "/html/browsers/the-window-object/security-window/window-security.https.html",
      {}
     ]
    ],
    "html/browsers/the-window-object/window-aliases.html": [
     [
      "/html/browsers/the-window-object/window-aliases.html",
      {}
     ]
@@ -329109,19 +329115,19 @@
     ]
    ],
    "html/browsers/the-window-object/window-open-noopener.html": [
     [
      "/html/browsers/the-window-object/window-open-noopener.html",
      {}
     ]
    ],
-   "html/browsers/the-window-object/window-properties.html": [
-    [
-     "/html/browsers/the-window-object/window-properties.html",
+   "html/browsers/the-window-object/window-properties.https.html": [
+    [
+     "/html/browsers/the-window-object/window-properties.https.html",
      {}
     ]
    ],
    "html/browsers/the-window-object/window-prototype-chain.html": [
     [
      "/html/browsers/the-window-object/window-prototype-chain.html",
      {}
     ]
@@ -330171,19 +330177,19 @@
     ]
    ],
    "html/dom/dynamic-markup-insertion/opening-the-input-stream/008.html": [
     [
      "/html/dom/dynamic-markup-insertion/opening-the-input-stream/008.html",
      {}
     ]
    ],
-   "html/dom/dynamic-markup-insertion/opening-the-input-stream/009.html": [
-    [
-     "/html/dom/dynamic-markup-insertion/opening-the-input-stream/009.html",
+   "html/dom/dynamic-markup-insertion/opening-the-input-stream/009.https.html": [
+    [
+     "/html/dom/dynamic-markup-insertion/opening-the-input-stream/009.https.html",
      {}
     ]
    ],
    "html/dom/dynamic-markup-insertion/opening-the-input-stream/010.html": [
     [
      "/html/dom/dynamic-markup-insertion/opening-the-input-stream/010.html",
      {}
     ]
@@ -330441,19 +330447,19 @@
     ]
    ],
    "html/dom/historical.html": [
     [
      "/html/dom/historical.html",
      {}
     ]
    ],
-   "html/dom/interfaces.html": [
-    [
-     "/html/dom/interfaces.html",
+   "html/dom/interfaces.https.html": [
+    [
+     "/html/dom/interfaces.https.html",
      {
       "timeout": "long"
      }
     ]
    ],
    "html/dom/interfaces.worker.js": [
     [
      "/html/dom/interfaces.worker.html",
@@ -556788,17 +556794,17 @@
   "html/browsers/offline/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
   "html/browsers/offline/appcache/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
-  "html/browsers/offline/appcache/workers/appcache-worker.html": [
+  "html/browsers/offline/appcache/workers/appcache-worker.https.html": [
    "d4dc559a600b1d197e7b31f960b396da3faa4e42",
    "testharness"
   ],
   "html/browsers/offline/appcache/workers/resources/appcache-dedicated-worker-not-in-cache.js": [
    "4f2e89ef4b23ff17d6c333831cdd81ebf46a9315",
    "support"
   ],
   "html/browsers/offline/appcache/workers/resources/appcache-shared-worker-not-in-cache.js": [
@@ -556828,57 +556834,61 @@
   "html/browsers/offline/application-cache-api/api_status_checking-manual.html": [
    "cbef274f2a41ff3f0299a3273d4706b5a1a83b76",
    "manual"
   ],
   "html/browsers/offline/application-cache-api/api_status_downloading-manual.html": [
    "69e5b07d754512fc91a1da7500ede3986a1587d4",
    "manual"
   ],
-  "html/browsers/offline/application-cache-api/api_status_idle.html": [
+  "html/browsers/offline/application-cache-api/api_status_idle.https.html": [
    "b93f97a03166e627a13acf64a3a540501f375c2e",
    "testharness"
   ],
   "html/browsers/offline/application-cache-api/api_status_obsolete-manual.html": [
    "deb510a40b8a8ec9f2bc51ddaf4775123d1fdd5e",
    "manual"
   ],
-  "html/browsers/offline/application-cache-api/api_status_uncached.html": [
+  "html/browsers/offline/application-cache-api/api_status_uncached.https.html": [
    "52685e57f8b19694baae135c5adc9f5385d23ead",
    "testharness"
   ],
   "html/browsers/offline/application-cache-api/api_status_updateready-manual.html": [
    "3991ecb4e1921d5d6ae8191958fb55e3202dada3",
    "manual"
   ],
   "html/browsers/offline/application-cache-api/api_swapcache-manual.html": [
    "dcb706b598132b1b216a066f279e9aef5fa568ca",
    "manual"
   ],
-  "html/browsers/offline/application-cache-api/api_swapcache_error.html": [
+  "html/browsers/offline/application-cache-api/api_swapcache_error.https.html": [
    "43bd16e925b002e4bc562326b4d2fc00aeb3b933",
    "testharness"
   ],
-  "html/browsers/offline/application-cache-api/api_update.html": [
+  "html/browsers/offline/application-cache-api/api_update.https.html": [
    "99e4b5d9ebec73a932fe522aceece7fb3b94ef26",
    "testharness"
   ],
-  "html/browsers/offline/application-cache-api/api_update_error.html": [
+  "html/browsers/offline/application-cache-api/api_update_error.https.html": [
    "a08540b1a71a7512a8b9cc2b0af28fd5c64bfe25",
    "testharness"
   ],
+  "html/browsers/offline/application-cache-api/secure_context.html": [
+   "fd1eea1cc64dcc5d816545ac3420351d5e8cb317",
+   "testharness"
+  ],
   "html/browsers/offline/browser-state/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
-  "html/browsers/offline/browser-state/navigator_online_event-manual.html": [
+  "html/browsers/offline/browser-state/navigator_online_event-manual.https.html": [
    "6ad5311783547501b80d05eea9b7a414348b151a",
    "manual"
   ],
-  "html/browsers/offline/browser-state/navigator_online_online.html": [
+  "html/browsers/offline/browser-state/navigator_online_online.https.html": [
    "a06d993d34908fb332aca34a3a2002a917db9ee5",
    "testharness"
   ],
   "html/browsers/offline/changestonetworkingmodel/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
   "html/browsers/offline/changestonetworkingmodel/original-id.json": [
@@ -556900,81 +556910,81 @@
   "html/browsers/offline/introduction-4/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
   "html/browsers/offline/introduction-4/contains.json": [
    "c63851b0649b98d8aa06fd82934ca8356ffa13f0",
    "support"
   ],
-  "html/browsers/offline/introduction-4/event_cached.html": [
+  "html/browsers/offline/introduction-4/event_cached.https.html": [
    "5bb7aeb2bdc2223966fc507feb1abbee6d3b8aa9",
    "testharness"
   ],
-  "html/browsers/offline/introduction-4/event_checking.html": [
+  "html/browsers/offline/introduction-4/event_checking.https.html": [
    "c54edd9e042e00ee5d9929c54748e2eb55cdfabf",
    "testharness"
   ],
   "html/browsers/offline/introduction-4/event_downloading-manual.html": [
    "2c0b978c824da20e5418a39320dbe67f393baa11",
    "manual"
   ],
   "html/browsers/offline/introduction-4/event_error-manual.html": [
    "a8fa81ea83fe33040e5c61d956fd8286b0ed8c4e",
    "manual"
   ],
-  "html/browsers/offline/introduction-4/event_noupdate.html": [
+  "html/browsers/offline/introduction-4/event_noupdate.https.html": [
    "2f93ca32a46957612008705bdea4a63c04e73c17",
    "testharness"
   ],
   "html/browsers/offline/introduction-4/event_obsolete-manual.html": [
    "66767643eec64b39c5eeee8557ef71893be42ed4",
    "manual"
   ],
-  "html/browsers/offline/introduction-4/event_progress.html": [
+  "html/browsers/offline/introduction-4/event_progress.https.html": [
    "1558fa802305fe5238fac58f47203f901805ea53",
    "testharness"
   ],
   "html/browsers/offline/introduction-4/event_updateready-manual.html": [
    "43b5b0df9adaede2d3634bec61d54d8271baa2ab",
    "manual"
   ],
   "html/browsers/offline/introduction-4/event_updateready_swapcache-manual.html": [
    "ce0d28bb7c3689439e8b4d46484214ad8b2f811e",
    "manual"
   ],
-  "html/browsers/offline/manifest_main_empty-manual.html": [
+  "html/browsers/offline/manifest_main_empty-manual.https.html": [
    "92ec1cd83c5a9509d19763f33720aa256e199ce2",
    "manual"
   ],
-  "html/browsers/offline/manifest_notchanged_online-manual.html": [
+  "html/browsers/offline/manifest_notchanged_online-manual.https.html": [
    "f3228a9349a536ece39789a6625eb2d53444181a",
    "manual"
   ],
-  "html/browsers/offline/manifest_section_empty-manual.html": [
+  "html/browsers/offline/manifest_section_empty-manual.https.html": [
    "da1aff7c25acc12be27193a52b5c173e2ddcf87b",
    "manual"
   ],
-  "html/browsers/offline/manifest_section_many-manual.html": [
+  "html/browsers/offline/manifest_section_many-manual.https.html": [
    "54c51d8c86cc5378ebde985570dca89c20a24fa0",
    "manual"
   ],
-  "html/browsers/offline/manifest_url_check.html": [
+  "html/browsers/offline/manifest_url_check.https.https.html": [
    "0959d9811748aa674d4863bd31a5cca2d2db0d15",
    "testharness"
   ],
   "html/browsers/offline/manifests/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
   "html/browsers/offline/manifests/contains.json": [
    "f844a4d122bf6a46e2ccd4725483a72f8ebb9f42",
    "support"
   ],
-  "html/browsers/offline/no-appcache-in-shared-workers-historical.html": [
+  "html/browsers/offline/no-appcache-in-shared-workers-historical.https.html": [
    "2c48e76225b084b3a13b7d9f52c95a98463e4bee",
    "testharness"
   ],
   "html/browsers/offline/no-appcache-in-shared-workers-historical.js": [
    "097443ac350588c2dcfb6909269cf9be8ad9b84c",
    "support"
   ],
   "html/browsers/offline/resources/css/clock.css": [
@@ -557012,21 +557022,21 @@
   "html/browsers/offline/resources/manifest/section_many.manifest": [
    "e9a96cd030e3372291bd4b23a4e43e1e67acb83f",
    "support"
   ],
   "html/browsers/offline/resources/manifest/url_check.manifest": [
    "302b651285dd9e4367a90ce48070a3854ad3d0a2",
    "support"
   ],
-  "html/browsers/offline/section_network_offline-manual.html": [
+  "html/browsers/offline/section_network_offline-manual.https.html": [
    "e63dc04a5b870d923689cc892168f0cd22b72405",
    "manual"
   ],
-  "html/browsers/offline/section_network_online-manual.html": [
+  "html/browsers/offline/section_network_online-manual.https.html": [
    "6a403d69ed90abeea5a4c61f6f09778224a5c184",
    "manual"
   ],
   "html/browsers/offline/the-application-cache-selection-algorithm/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
   "html/browsers/origin/.gitkeep": [
@@ -557416,18 +557426,18 @@
   "html/browsers/the-window-object/named-access-on-the-window-object/window-null-names.html": [
    "9c0164a39aea396281dbff9689b9ffac1e95fdac",
    "testharness"
   ],
   "html/browsers/the-window-object/security-window/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
-  "html/browsers/the-window-object/security-window/window-security.html": [
-   "a590848d52c2ed7d66e9889957d58828566717c1",
+  "html/browsers/the-window-object/security-window/window-security.https.html": [
+   "16f41760b88216c36fbdfba95d249cf99f33b8a3",
    "testharness"
   ],
   "html/browsers/the-window-object/support/noopener-target.html": [
    "8b54eda2f83525a82588c889a0a24e2356cac670",
    "support"
   ],
   "html/browsers/the-window-object/the-windowproxy-object/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
@@ -557472,17 +557482,17 @@
   "html/browsers/the-window-object/window-named-properties.html": [
    "21bb2b7a30381decf8b55152ba33cd723b67b8d5",
    "testharness"
   ],
   "html/browsers/the-window-object/window-open-noopener.html": [
    "2e20bfcd1dfe9bee00a9747b87cdaf42004d6415",
    "testharness"
   ],
-  "html/browsers/the-window-object/window-properties.html": [
+  "html/browsers/the-window-object/window-properties.https.html": [
    "ee0ade0a8de422597c362d15cf4a9dd446e4af00",
    "testharness"
   ],
   "html/browsers/the-window-object/window-prototype-chain.html": [
    "e2811af34d54079cbc716b51b2fc73aec1baba74",
    "testharness"
   ],
   "html/browsers/the-windowproxy-exotic-object/windowproxy-prototype-setting-cross-origin-domain.sub.html": [
@@ -558528,17 +558538,17 @@
   "html/dom/dynamic-markup-insertion/opening-the-input-stream/007.html": [
    "6a409aa8cd0629dc1f71977e3994d07ccc7bbcfd",
    "testharness"
   ],
   "html/dom/dynamic-markup-insertion/opening-the-input-stream/008.html": [
    "1c813722dd68b1a13348aa8071d99cf358ab9eca",
    "testharness"
   ],
-  "html/dom/dynamic-markup-insertion/opening-the-input-stream/009.html": [
+  "html/dom/dynamic-markup-insertion/opening-the-input-stream/009.https.html": [
    "02278f0ed00b2392afcbcacd56ddd750b7204241",
    "testharness"
   ],
   "html/dom/dynamic-markup-insertion/opening-the-input-stream/010-1.html": [
    "bf26fa8b0d8542fb5b7f6db9c1e8bdcc8cfa8081",
    "support"
   ],
   "html/dom/dynamic-markup-insertion/opening-the-input-stream/010-2.html": [
@@ -559460,18 +559470,18 @@
   "html/dom/historical.html": [
    "75fd4e5379337af2ebcb3cd7d62dbf3d726c4036",
    "testharness"
   ],
   "html/dom/interactions-with-xpath-and-xslt/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
-  "html/dom/interfaces.html": [
-   "c937f2d908ecfae269b95ade6c830414acf0a005",
+  "html/dom/interfaces.https.html": [
+   "80050746d7869d52bfe7926fa259300ce05db79e",
    "testharness"
   ],
   "html/dom/interfaces.worker.js": [
    "e0916d634075e22c3542de6729ea762ed4b8f8ed",
    "testharness"
   ],
   "html/dom/new-harness.js": [
    "792d2215f2d53b7ccb8c66b270a61afeec43ef25",
rename from testing/web-platform/tests/html/browsers/offline/appcache/workers/appcache-worker.html
rename to testing/web-platform/tests/html/browsers/offline/appcache/workers/appcache-worker.https.html
rename from testing/web-platform/tests/html/browsers/offline/application-cache-api/api_status_idle.html
rename to testing/web-platform/tests/html/browsers/offline/application-cache-api/api_status_idle.https.html
rename from testing/web-platform/tests/html/browsers/offline/application-cache-api/api_status_uncached.html
rename to testing/web-platform/tests/html/browsers/offline/application-cache-api/api_status_uncached.https.html
rename from testing/web-platform/tests/html/browsers/offline/application-cache-api/api_swapcache_error.html
rename to testing/web-platform/tests/html/browsers/offline/application-cache-api/api_swapcache_error.https.html
rename from testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.html
rename to testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.https.html
rename from testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update_error.html
rename to testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update_error.https.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/offline/application-cache-api/secure_context.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+  <script src="/resources/testharness.js"></script>
+  <script src="/resources/testharnessreport.js"></script>
+  <script>
+    test(t => {
+      assert_false('applicationCache' in window);
+      assert_equals(window.applicationCache, undefined);
+    }, "window.applicationCache does not exist in non-secure contexts.");
+
+    test(t => {
+      assert_false('ApplicationCache' in window);
+      assert_equals(typeof ApplicationCache, "undefined");
+    }, "ApplicationCache interface does not exist in non-secure contexts.");
+
+    test(t => {
+      assert_false('ApplicationCacheErrorEvent' in window);
+      assert_equals(typeof ApplicationCacheErrorEvent, "undefined");
+    }, "ApplicationCacheErrorEvent interface does not exist in non-secure contexts.");
+  </script>
+</head>
+</html>
rename from testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_event-manual.html
rename to testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_event-manual.https.html
rename from testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.html
rename to testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.https.html
rename from testing/web-platform/tests/html/browsers/offline/introduction-4/event_cached.html
rename to testing/web-platform/tests/html/browsers/offline/introduction-4/event_cached.https.html
rename from testing/web-platform/tests/html/browsers/offline/introduction-4/event_checking.html
rename to testing/web-platform/tests/html/browsers/offline/introduction-4/event_checking.https.html
rename from testing/web-platform/tests/html/browsers/offline/introduction-4/event_noupdate.html
rename to testing/web-platform/tests/html/browsers/offline/introduction-4/event_noupdate.https.html
rename from testing/web-platform/tests/html/browsers/offline/introduction-4/event_progress.html
rename to testing/web-platform/tests/html/browsers/offline/introduction-4/event_progress.https.html
rename from testing/web-platform/tests/html/browsers/offline/manifest_main_empty-manual.html
rename to testing/web-platform/tests/html/browsers/offline/manifest_main_empty-manual.https.html
rename from testing/web-platform/tests/html/browsers/offline/manifest_notchanged_online-manual.html
rename to testing/web-platform/tests/html/browsers/offline/manifest_notchanged_online-manual.https.html
rename from testing/web-platform/tests/html/browsers/offline/manifest_section_empty-manual.html
rename to testing/web-platform/tests/html/browsers/offline/manifest_section_empty-manual.https.html
rename from testing/web-platform/tests/html/browsers/offline/manifest_section_many-manual.html
rename to testing/web-platform/tests/html/browsers/offline/manifest_section_many-manual.https.html
rename from testing/web-platform/tests/html/browsers/offline/manifest_url_check.html
rename to testing/web-platform/tests/html/browsers/offline/manifest_url_check.https.https.html
rename from testing/web-platform/tests/html/browsers/offline/no-appcache-in-shared-workers-historical.html
rename to testing/web-platform/tests/html/browsers/offline/no-appcache-in-shared-workers-historical.https.html
rename from testing/web-platform/tests/html/browsers/offline/section_network_offline-manual.html
rename to testing/web-platform/tests/html/browsers/offline/section_network_offline-manual.https.html
rename from testing/web-platform/tests/html/browsers/offline/section_network_online-manual.html
rename to testing/web-platform/tests/html/browsers/offline/section_network_online-manual.https.html
deleted file mode 100644
--- a/testing/web-platform/tests/html/browsers/the-window-object/security-window/window-security.html
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>HTML Test: Window Security</title>
-<link rel="author" title="Intel" href="http://www.intel.com/" />
-<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/browsers.html#the-window-object" />
-<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/timers.html#timers" />
-<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/webappapis.html#atob" />
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#windowsessionstorage" />
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#windowlocalstorage" />
-<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/browsers.html#window" />
-<link rel="help" href="http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface" />
-<link rel="help" href="http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface" />
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/common/get-host-info.sub.js"></script>
-<div id="log"></div>
-<script>
-var t = async_test("Window Security testing");
-
-function fr_load() {
-  fr = document.getElementById("fr");
-
-  t.step(function () {
-    //SecurityError should be thrown
-    [
-      //attributes
-      {name: "applicationCache"},
-      {name: "devicePixelRatio"},
-      {name: "document"},
-      {name: "external"},
-      {name: "frameElement"},
-      {name: "history"},
-      {name: "innerWidth"},
-      {name: "innerHeight"},
-      {name: "locationbar"},
-      {name: "localStorage"},
-      {name: "menubar"},
-      {name: "name"},
-      {name: "navigator"},
-      {name: "onabort"},
-      {name: "onafterprint"},
-      {name: "onbeforeprint"},
-      {name: "onbeforeunload"},
-      {name: "onblur"},
-      {name: "oncancel"},
-      {name: "oncanplay"},
-      {name: "oncanplaythrough"},
-      {name: "onchange"},
-      {name: "onclick"},
-      {name: "onclose"},
-      {name: "oncontextmenu"},
-      {name: "oncuechange"},
-      {name: "ondblclick"},
-      {name: "ondrag"},
-      {name: "ondragend"},
-      {name: "ondragenter"},
-      {name: "ondragleave"},
-      {name: "ondragover"},
-      {name: "ondragstart"},
-      {name: "ondrop"},
-      {name: "ondurationchange"},
-      {name: "onemptied"},
-      {name: "onended"},
-      {name: "onerror"},
-      {name: "onfocus"},
-      {name: "onhashchange"},
-      {name: "oninput"},
-      {name: "oninvalid"},
-      {name: "onkeydown"},
-      {name: "onkeypress"},
-      {name: "onkeyup"},
-      {name: "onload"},
-      {name: "onloadeddata"},
-      {name: "onloadedmetadata"},
-      {name: "onloadstart"},
-      {name: "onmessage"},
-      {name: "onmousedown"},
-      {name: "onmousemove"},
-      {name: "onmouseout"},
-      {name: "onmouseover"},
-      {name: "onmouseup"},
-      {name: "onmousewheel"},
-      {name: "onoffline"},
-      {name: "ononline"},
-      {name: "onpause"},
-      {name: "onplay"},
-      {name: "onplaying"},
-      {name: "onpagehide"},
-      {name: "onpageshow"},
-      {name: "onpopstate"},
-      {name: "onprogress"},
-      {name: "onratechange"},
-      {name: "onreset"},
-      {name: "onresize"},
-      {name: "onscroll"},
-      {name: "onseeked"},
-      {name: "onseeking"},
-      {name: "onselect"},
-      {name: "onshow"},
-      {name: "onstalled"},
-      {name: "onstorage"},
-      {name: "onsubmit"},
-      {name: "onsuspend"},
-      {name: "ontimeupdate"},
-      {name: "onunload"},
-      {name: "onvolumechange"},
-      {name: "onwaiting"},
-      {name: "pageXOffset"},
-      {name: "pageYOffset"},
-      {name: "personalbar"},
-      {name: "screen"},
-      {name: "scrollbars"},
-      {name: "statusbar"},
-      {name: "status"},
-      {name: "screenX"},
-      {name: "screenY"},
-      {name: "sessionStorage"},
-      {name: "toolbar"},
-      //methods
-      {name: "alert", isMethod: true},
-      {name: "clearInterval", isMethod: true, args:[1]},
-      {name: "clearTimeout", isMethod: true, args:[function () {}, 1]},
-      {name: "confirm", isMethod: true},
-      {name: "getComputedStyle", isMethod: true, args:[document.body, null]},
-      {name: "getSelection", isMethod: true},
-      {name: "matchMedia", isMethod: true, args:["(min-width:50px)"]},
-      {name: "moveBy", isMethod: true, args:[10, 10]},
-      {name: "moveTo", isMethod: true, args:[10, 10]},
-      {name: "open", isMethod: true},
-      {name: "print", isMethod: true},
-      {name: "prompt", isMethod: true},
-      {name: "resizeTo", isMethod: true, args:[10, 10]},
-      {name: "resizeBy", isMethod: true, args:[10, 10]},
-      {name: "scroll", isMethod: true, args:[10, 10]},
-      {name: "scrollTo", isMethod: true, args:[10, 10]},
-      {name: "scrollBy", isMethod: true, args:[10, 10]},
-      {name: "setInterval", isMethod: true, args:[function () {}, 1]},
-      {name: "setTimeout", isMethod: true, args:[function () {}, 1]},
-      {name: "stop", isMethod: true},
-    ].forEach(function (item) {
-      test(function () {
-        assert_true(item.name in window, "window." + item.name + " should exist.");
-        assert_throws("SecurityError", function () {
-          if (item.isMethod)
-            if (item.args)
-              fr.contentWindow[item.name](item.args[0], item.args[1]);
-            else
-              fr.contentWindow[item.name]();
-          else
-            fr.contentWindow[item.name];
-        }, "A SecurityError exception should be thrown.");
-      }, "A SecurityError exception must be thrown when window." + item.name + " is accessed from a different origin.");
-    });
-
-    //SecurityError should not be thrown
-    [
-      //attributes
-      {name: "closed"},
-      {name: "frames"},
-      {name: "length"},
-      {name: "location"},
-      {name: "opener"},
-      {name: "parent"},
-      {name: "self"},
-      {name: "top"},
-      {name: "window"},
-      //methods
-      {name: "blur", isMethod: true},
-      {name: "close", isMethod: true},
-      {name: "focus", isMethod: true},
-      {name: "postMessage", isMethod: true, args: [{msg: 'foo'}, "*"]}
-    ].forEach(function (item) {
-      test(function () {
-        assert_true(item.name in window, "window." + item.name + " should exist.");
-        try {
-          if (item.isMethod)
-            if (item.args)
-              fr.contentWindow[item.name](item.args[0], item.args[1]);
-            else
-               fr.contentWindow[item.name]();
-          else
-            fr.contentWindow[item.name];
-        } catch (e) {
-          assert_unreached("An unexpected exception was thrown.");
-        }
-      }, "A SecurityError exception should not be thrown when window." + item.name + " is accessed from a different origin.");
-    });
-  });
-  t.done();
-}
-
-</script>
-<script>
-onload = function() {
-  var frame = document.createElement('iframe');
-  frame.id = "fr";
-  frame.setAttribute("style", "display:none");
-  frame.setAttribute('src', get_host_info().HTTP_REMOTE_ORIGIN + "/");
-  frame.setAttribute("onload", "fr_load()");
-  document.body.appendChild(frame);
-}
-</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/the-window-object/security-window/window-security.https.html
@@ -0,0 +1,202 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>HTML Test: Window Security</title>
+<link rel="author" title="Intel" href="http://www.intel.com/" />
+<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/browsers.html#the-window-object" />
+<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/timers.html#timers" />
+<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/webappapis.html#atob" />
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#windowsessionstorage" />
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#windowlocalstorage" />
+<link rel="help" href="https://html.spec.whatwg.org/multipage/multipage/browsers.html#window" />
+<link rel="help" href="http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface" />
+<link rel="help" href="http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface" />
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/common/get-host-info.sub.js"></script>
+<div id="log"></div>
+<script>
+var t = async_test("Window Security testing");
+
+function fr_load() {
+  fr = document.getElementById("fr");
+
+  t.step(function () {
+    //SecurityError should be thrown
+    [
+      //attributes
+      {name: "applicationCache"},
+      {name: "devicePixelRatio"},
+      {name: "document"},
+      {name: "external"},
+      {name: "frameElement"},
+      {name: "history"},
+      {name: "innerWidth"},
+      {name: "innerHeight"},
+      {name: "locationbar"},
+      {name: "localStorage"},
+      {name: "menubar"},
+      {name: "name"},
+      {name: "navigator"},
+      {name: "onabort"},
+      {name: "onafterprint"},
+      {name: "onbeforeprint"},
+      {name: "onbeforeunload"},
+      {name: "onblur"},
+      {name: "oncancel"},
+      {name: "oncanplay"},
+      {name: "oncanplaythrough"},
+      {name: "onchange"},
+      {name: "onclick"},
+      {name: "onclose"},
+      {name: "oncontextmenu"},
+      {name: "oncuechange"},
+      {name: "ondblclick"},
+      {name: "ondrag"},
+      {name: "ondragend"},
+      {name: "ondragenter"},
+      {name: "ondragleave"},
+      {name: "ondragover"},
+      {name: "ondragstart"},
+      {name: "ondrop"},
+      {name: "ondurationchange"},
+      {name: "onemptied"},
+      {name: "onended"},
+      {name: "onerror"},
+      {name: "onfocus"},
+      {name: "onhashchange"},
+      {name: "oninput"},
+      {name: "oninvalid"},
+      {name: "onkeydown"},
+      {name: "onkeypress"},
+      {name: "onkeyup"},
+      {name: "onload"},
+      {name: "onloadeddata"},
+      {name: "onloadedmetadata"},
+      {name: "onloadstart"},
+      {name: "onmessage"},
+      {name: "onmousedown"},
+      {name: "onmousemove"},
+      {name: "onmouseout"},
+      {name: "onmouseover"},
+      {name: "onmouseup"},
+      {name: "onmousewheel"},
+      {name: "onoffline"},
+      {name: "ononline"},
+      {name: "onpause"},
+      {name: "onplay"},
+      {name: "onplaying"},
+      {name: "onpagehide"},
+      {name: "onpageshow"},
+      {name: "onpopstate"},
+      {name: "onprogress"},
+      {name: "onratechange"},
+      {name: "onreset"},
+      {name: "onresize"},
+      {name: "onscroll"},
+      {name: "onseeked"},
+      {name: "onseeking"},
+      {name: "onselect"},
+      {name: "onshow"},
+      {name: "onstalled"},
+      {name: "onstorage"},
+      {name: "onsubmit"},
+      {name: "onsuspend"},
+      {name: "ontimeupdate"},
+      {name: "onunload"},
+      {name: "onvolumechange"},
+      {name: "onwaiting"},
+      {name: "pageXOffset"},
+      {name: "pageYOffset"},
+      {name: "personalbar"},
+      {name: "screen"},
+      {name: "scrollbars"},
+      {name: "statusbar"},
+      {name: "status"},
+      {name: "screenX"},
+      {name: "screenY"},
+      {name: "sessionStorage"},
+      {name: "toolbar"},
+      //methods
+      {name: "alert", isMethod: true},
+      {name: "clearInterval", isMethod: true, args:[1]},
+      {name: "clearTimeout", isMethod: true, args:[function () {}, 1]},
+      {name: "confirm", isMethod: true},
+      {name: "getComputedStyle", isMethod: true, args:[document.body, null]},
+      {name: "getSelection", isMethod: true},
+      {name: "matchMedia", isMethod: true, args:["(min-width:50px)"]},
+      {name: "moveBy", isMethod: true, args:[10, 10]},
+      {name: "moveTo", isMethod: true, args:[10, 10]},
+      {name: "open", isMethod: true},
+      {name: "print", isMethod: true},
+      {name: "prompt", isMethod: true},
+      {name: "resizeTo", isMethod: true, args:[10, 10]},
+      {name: "resizeBy", isMethod: true, args:[10, 10]},
+      {name: "scroll", isMethod: true, args:[10, 10]},
+      {name: "scrollTo", isMethod: true, args:[10, 10]},
+      {name: "scrollBy", isMethod: true, args:[10, 10]},
+      {name: "setInterval", isMethod: true, args:[function () {}, 1]},
+      {name: "setTimeout", isMethod: true, args:[function () {}, 1]},
+      {name: "stop", isMethod: true},
+    ].forEach(function (item) {
+      test(function () {
+        assert_true(item.name in window, "window." + item.name + " should exist.");
+        assert_throws("SecurityError", function () {
+          if (item.isMethod)
+            if (item.args)
+              fr.contentWindow[item.name](item.args[0], item.args[1]);
+            else
+              fr.contentWindow[item.name]();
+          else
+            fr.contentWindow[item.name];
+        }, "A SecurityError exception should be thrown.");
+      }, "A SecurityError exception must be thrown when window." + item.name + " is accessed from a different origin.");
+    });
+
+    //SecurityError should not be thrown
+    [
+      //attributes
+      {name: "closed"},
+      {name: "frames"},
+      {name: "length"},
+      {name: "location"},
+      {name: "opener"},
+      {name: "parent"},
+      {name: "self"},
+      {name: "top"},
+      {name: "window"},
+      //methods
+      {name: "blur", isMethod: true},
+      {name: "close", isMethod: true},
+      {name: "focus", isMethod: true},
+      {name: "postMessage", isMethod: true, args: [{msg: 'foo'}, "*"]}
+    ].forEach(function (item) {
+      test(function () {
+        assert_true(item.name in window, "window." + item.name + " should exist.");
+        try {
+          if (item.isMethod)
+            if (item.args)
+              fr.contentWindow[item.name](item.args[0], item.args[1]);
+            else
+               fr.contentWindow[item.name]();
+          else
+            fr.contentWindow[item.name];
+        } catch (e) {
+          assert_unreached("An unexpected exception was thrown.");
+        }
+      }, "A SecurityError exception should not be thrown when window." + item.name + " is accessed from a different origin.");
+    });
+  });
+  t.done();
+}
+
+</script>
+<script>
+onload = function() {
+  var frame = document.createElement('iframe');
+  frame.id = "fr";
+  frame.setAttribute("style", "display:none");
+  frame.setAttribute('src', get_host_info().HTTPS_REMOTE_ORIGIN + "/");
+  frame.setAttribute("onload", "fr_load()");
+  document.body.appendChild(frame);
+}
+</script>
rename from testing/web-platform/tests/html/browsers/the-window-object/window-properties.html
rename to testing/web-platform/tests/html/browsers/the-window-object/window-properties.https.html
rename from testing/web-platform/tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/009.html
rename to testing/web-platform/tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/009.https.html
deleted file mode 100644
--- a/testing/web-platform/tests/html/dom/interfaces.html
+++ /dev/null
@@ -1,239 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<!-- WARNING: These tests are preliminary and probably partly incorrect.  -->
-<title>HTML IDL tests</title>
-<meta name=timeout content=long>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=/resources/WebIDLParser.js></script>
-<script src=/resources/idlharness.js></script>
-
-<h1>HTML IDL tests</h1>
-<div id=log></div>
-
-<script>
-"use strict";
-var errorVideo; // used to get a MediaError object
-var iframe; // used to get a Document object (can't use `document` because some test clears the page)
-setup(function() {
-  errorVideo = document.createElement('video');
-  errorVideo.src = 'data:,';
-  errorVideo.preload = 'auto';
-  iframe = document.createElement('iframe');
-  iframe.hidden = true;
-  document.body.appendChild(iframe);
-});
-
-function createInput(type) {
-  var input = document.createElement('input');
-  input.type = type;
-  return input;
-}
-
-function doTest([html, dom, cssom, uievents, touchevents]) {
-  var idlArray = new IdlArray();
-  var svg = "interface SVGElement : Element {};";
-  idlArray.add_untested_idls(dom + svg + cssom + uievents + touchevents);
-  idlArray.add_idls(html);
-
-  idlArray.add_objects({
-    NodeList: ['document.getElementsByName("name")'],
-    HTMLAllCollection: ['document.all'],
-    HTMLFormControlsCollection: ['document.createElement("form").elements'],
-    RadioNodeList: [],
-    HTMLOptionsCollection: ['document.createElement("select").options'],
-    DOMStringMap: ['document.head.dataset'],
-    Transferable: [],
-    Document: ['iframe.contentDocument', 'new Document()'],
-    XMLDocument: ['document.implementation.createDocument(null, "", null)'],
-    HTMLElement: ['document.createElement("noscript")'], // more tests in html/semantics/interfaces.js
-    HTMLUnknownElement: ['document.createElement("bgsound")'], // more tests in html/semantics/interfaces.js
-    HTMLHtmlElement: ['document.createElement("html")'],
-    HTMLHeadElement: ['document.createElement("head")'],
-    HTMLTitleElement: ['document.createElement("title")'],
-    HTMLBaseElement: ['document.createElement("base")'],
-    HTMLLinkElement: ['document.createElement("link")'],
-    HTMLMetaElement: ['document.createElement("meta")'],
-    HTMLStyleElement: ['document.createElement("style")'],
-    HTMLScriptElement: ['document.createElement("script")'],
-    HTMLBodyElement: ['document.createElement("body")'],
-    HTMLHeadingElement: ['document.createElement("h1")'],
-    HTMLParagraphElement: ['document.createElement("p")'],
-    HTMLHRElement: ['document.createElement("hr")'],
-    HTMLPreElement: [
-      'document.createElement("pre")',
-      'document.createElement("listing")',
-      'document.createElement("xmp")',
-    ],
-    HTMLQuoteElement: [
-      'document.createElement("blockquote")',
-      'document.createElement("q")',
-    ],
-    HTMLOlistElement: ['document.createElement("ol")'],
-    HTMLUlistElement: ['document.createElement("ul")'],
-    HTMLLIElement: ['document.createElement("li")'],
-    HTMLDlistElement: ['document.createElement("dl")'],
-    HTMLDivElement: ['document.createElement("div")'],
-    HTMLAnchorElement: ['document.createElement("a")'],
-    HTMLDataElement: ['document.createElement("data")'],
-    HTMLTimeElement: ['document.createElement("time")'],
-    HTMLSpanElement: ['document.createElement("span")'],
-    HTMLBRElement: ['document.createElement("br")'],
-    HTMLModElement: [
-      'document.createElement("ins")',
-      'document.createElement("del")',
-    ],
-    HTMLPictureElement: ['document.createElement("picture")'],
-    HTMLImageElement: ['document.createElement("img")', 'new Image()'],
-    HTMLIframeElement: ['document.createElement("iframe")'],
-    HTMLEmbedElement: ['document.createElement("embed")'],
-    HTMLObjectElement: ['document.createElement("object")'],
-    HTMLParamElement: ['document.createElement("param")'],
-    HTMLVideoElement: ['document.createElement("video")'],
-    HTMLAudioElement: ['document.createElement("audio")', 'new Audio()'],
-    HTMLSourceElement: ['document.createElement("source")'],
-    HTMLTrackElement: ['document.createElement("track")'],
-    HTMLMediaElement: [],
-    MediaError: ['errorVideo.error'],
-    AudioTrackList: [],
-    AudioTrack: [],
-    VideoTrackList: [],
-    VideoTrack: [],
-    TextTrackList: ['document.createElement("video").textTracks'],
-    TextTrack: ['document.createElement("track").track'],
-    TextTrackCueList: ['document.createElement("video").addTextTrack("subtitles").cues'],
-    TextTrackCue: [],
-    DataCue: [],
-    TimeRanges: ['document.createElement("video").buffered'],
-    TrackEvent: ['new TrackEvent("addtrack", {track:document.createElement("track").track})'],
-    HTMLTemplateElement: ['document.createElement("template")'],
-    HTMLSlotElement: ['document.createElement("slot")'],
-    HTMLCanvasElement: ['document.createElement("canvas")'],
-    CanvasRenderingContext2D: ['document.createElement("canvas").getContext("2d")'],
-    CanvasGradient: [],
-    CanvasPattern: [],
-    TextMetrics: [],
-    ImageData: [],
-    HTMLMapElement: ['document.createElement("map")'],
-    HTMLAreaElement: ['document.createElement("area")'],
-    HTMLTableElement: ['document.createElement("table")'],
-    HTMLTableCaptionElement: ['document.createElement("caption")'],
-    HTMLTableColElement: [
-      'document.createElement("colgroup")',
-      'document.createElement("col")',
-    ],
-    HTMLTableSectionElement: [
-      'document.createElement("tbody")',
-      'document.createElement("thead")',
-      'document.createElement("tfoot")',
-    ],
-    HTMLTableRowElement: ['document.createElement("tr")'],
-    HTMLTableCellElement: [
-      'document.createElement("td")',
-      'document.createElement("th")',
-    ],
-    HTMLFormElement: ['document.createElement("form")'],
-    HTMLFieldsetElement: ['document.createElement("fieldset")'],
-    HTMLLegendElement: ['document.createElement("legend")'],
-    HTMLLabelElement: ['document.createElement("label")'],
-    HTMLInputElement: [
-      'document.createElement("input")',
-      'createInput("text")',
-      'createInput("hidden")',
-      'createInput("search")',
-      'createInput("tel")',
-      'createInput("url")',
-      'createInput("email")',
-      'createInput("password")',
-      'createInput("date")',
-      'createInput("month")',
-      'createInput("week")',
-      'createInput("time")',
-      'createInput("datetime-local")',
-      'createInput("number")',
-      'createInput("range")',
-      'createInput("color")',
-      'createInput("checkbox")',
-      'createInput("radio")',
-      'createInput("file")',
-      'createInput("submit")',
-      'createInput("image")',
-      'createInput("reset")',
-      'createInput("button")'
-    ],
-    HTMLButtonElement: ['document.createElement("button")'],
-    HTMLSelectElement: ['document.createElement("select")'],
-    HTMLDataListElement: ['document.createElement("datalist")'],
-    HTMLOptGroupElement: ['document.createElement("optgroup")'],
-    HTMLOptionElement: ['document.createElement("option")', 'new Option()'],
-    HTMLTextAreaElement: ['document.createElement("textarea")'],
-    HTMLOutputElement: ['document.createElement("output")'],
-    HTMLProgressElement: ['document.createElement("progress")'],
-    HTMLMeterElement: ['document.createElement("meter")'],
-    ValidityState: ['document.createElement("input").validity'],
-    HTMLDetailsElement: ['document.createElement("details")'],
-    HTMLMenuElement: ['document.createElement("menu")'],
-    Window: ['window'],
-    BarProp: [],
-    History: ['window.history'],
-    Location: ['window.location'],
-    PopStateEvent: ['new PopStateEvent("popstate", { data: {} })'],
-    HashChangeEvent: [],
-    PageTransitionEvent: [],
-    BeforeUnloadEvent: [],
-    ApplicationCache: ['window.applicationCache'],
-    WindowModal: [],
-    Navigator: ['window.navigator'],
-    External: ['window.external'],
-    DataTransfer: [],
-    DataTransferItemList: [],
-    DataTransferItem: [],
-    DragEvent: [],
-    NavigatorUserMediaError: [],
-    MediaStream: [],
-    LocalMediaStream: [],
-    MediaStreamTrack: [],
-    MediaStreamRecorder: [],
-    PeerConnection: [],
-    MediaStreamEvent: [],
-    ErrorEvent: [],
-    WebSocket: ['new WebSocket("ws://foo")'],
-    CloseEvent: ['new CloseEvent("close")'],
-    AbstractWorker: [],
-    Worker: [],
-    SharedWorker: [],
-    MessageEvent: ['new MessageEvent("message", { data: 5 })'],
-    MessageChannel: [],
-    MessagePort: [],
-    HTMLMarqueeElement: ['document.createElement("marquee")'],
-    HTMLFrameSetElement: ['document.createElement("frameset")'],
-    HTMLFrameElement: ['document.createElement("frame")'],
-    HTMLDirectoryElement: ['document.createElement("dir")'],
-    HTMLFontElement: ['document.createElement("font")'],
-  });
-  idlArray.prevent_multiple_testing("HTMLElement");
-  idlArray.test();
-};
-
-function fetchData(url) {
-  return fetch(url).then((response) => response.text());
-}
-
-function waitForLoad() {
-  return new Promise(function(resolve) {
-    addEventListener("load", resolve);
-  });
-}
-
-promise_test(function() {
-  // Have to wait for onload
-  return Promise.all([fetchData("/interfaces/html.idl"),
-                      fetchData("/interfaces/dom.idl"),
-                      fetchData("/interfaces/cssom.idl"),
-                      fetchData("/interfaces/touchevents.idl"),
-                      fetchData("/interfaces/uievents.idl"),
-                      waitForLoad()])
-                .then(doTest);
-}, "Test driver");
-
-</script>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/html/dom/interfaces.https.html
@@ -0,0 +1,239 @@
+<!doctype html>
+<meta charset=utf-8>
+<!-- WARNING: These tests are preliminary and probably partly incorrect.  -->
+<title>HTML IDL tests</title>
+<meta name=timeout content=long>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<script src=/resources/WebIDLParser.js></script>
+<script src=/resources/idlharness.js></script>
+
+<h1>HTML IDL tests</h1>
+<div id=log></div>
+
+<script>
+"use strict";
+var errorVideo; // used to get a MediaError object
+var iframe; // used to get a Document object (can't use `document` because some test clears the page)
+setup(function() {
+  errorVideo = document.createElement('video');
+  errorVideo.src = 'data:,';
+  errorVideo.preload = 'auto';
+  iframe = document.createElement('iframe');
+  iframe.hidden = true;
+  document.body.appendChild(iframe);
+});
+
+function createInput(type) {
+  var input = document.createElement('input');
+  input.type = type;
+  return input;
+}
+
+function doTest([html, dom, cssom, uievents, touchevents]) {
+  var idlArray = new IdlArray();
+  var svg = "interface SVGElement : Element {};";
+  idlArray.add_untested_idls(dom + svg + cssom + uievents + touchevents);
+  idlArray.add_idls(html);
+
+  idlArray.add_objects({
+    NodeList: ['document.getElementsByName("name")'],
+    HTMLAllCollection: ['document.all'],
+    HTMLFormControlsCollection: ['document.createElement("form").elements'],
+    RadioNodeList: [],
+    HTMLOptionsCollection: ['document.createElement("select").options'],
+    DOMStringMap: ['document.head.dataset'],
+    Transferable: [],
+    Document: ['iframe.contentDocument', 'new Document()'],
+    XMLDocument: ['document.implementation.createDocument(null, "", null)'],
+    HTMLElement: ['document.createElement("noscript")'], // more tests in html/semantics/interfaces.js
+    HTMLUnknownElement: ['document.createElement("bgsound")'], // more tests in html/semantics/interfaces.js
+    HTMLHtmlElement: ['document.createElement("html")'],
+    HTMLHeadElement: ['document.createElement("head")'],
+    HTMLTitleElement: ['document.createElement("title")'],
+    HTMLBaseElement: ['document.createElement("base")'],
+    HTMLLinkElement: ['document.createElement("link")'],
+    HTMLMetaElement: ['document.createElement("meta")'],
+    HTMLStyleElement: ['document.createElement("style")'],
+    HTMLScriptElement: ['document.createElement("script")'],
+    HTMLBodyElement: ['document.createElement("body")'],
+    HTMLHeadingElement: ['document.createElement("h1")'],
+    HTMLParagraphElement: ['document.createElement("p")'],
+    HTMLHRElement: ['document.createElement("hr")'],
+    HTMLPreElement: [
+      'document.createElement("pre")',
+      'document.createElement("listing")',
+      'document.createElement("xmp")',
+    ],
+    HTMLQuoteElement: [
+      'document.createElement("blockquote")',
+      'document.createElement("q")',
+    ],
+    HTMLOlistElement: ['document.createElement("ol")'],
+    HTMLUlistElement: ['document.createElement("ul")'],
+    HTMLLIElement: ['document.createElement("li")'],
+    HTMLDlistElement: ['document.createElement("dl")'],
+    HTMLDivElement: ['document.createElement("div")'],
+    HTMLAnchorElement: ['document.createElement("a")'],
+    HTMLDataElement: ['document.createElement("data")'],
+    HTMLTimeElement: ['document.createElement("time")'],
+    HTMLSpanElement: ['document.createElement("span")'],
+    HTMLBRElement: ['document.createElement("br")'],
+    HTMLModElement: [
+      'document.createElement("ins")',
+      'document.createElement("del")',
+    ],
+    HTMLPictureElement: ['document.createElement("picture")'],
+    HTMLImageElement: ['document.createElement("img")', 'new Image()'],
+    HTMLIframeElement: ['document.createElement("iframe")'],
+    HTMLEmbedElement: ['document.createElement("embed")'],
+    HTMLObjectElement: ['document.createElement("object")'],
+    HTMLParamElement: ['document.createElement("param")'],
+    HTMLVideoElement: ['document.createElement("video")'],
+    HTMLAudioElement: ['document.createElement("audio")', 'new Audio()'],
+    HTMLSourceElement: ['document.createElement("source")'],
+    HTMLTrackElement: ['document.createElement("track")'],
+    HTMLMediaElement: [],
+    MediaError: ['errorVideo.error'],
+    AudioTrackList: [],
+    AudioTrack: [],
+    VideoTrackList: [],
+    VideoTrack: [],
+    TextTrackList: ['document.createElement("video").textTracks'],
+    TextTrack: ['document.createElement("track").track'],
+    TextTrackCueList: ['document.createElement("video").addTextTrack("subtitles").cues'],
+    TextTrackCue: [],
+    DataCue: [],
+    TimeRanges: ['document.createElement("video").buffered'],
+    TrackEvent: ['new TrackEvent("addtrack", {track:document.createElement("track").track})'],
+    HTMLTemplateElement: ['document.createElement("template")'],
+    HTMLSlotElement: ['document.createElement("slot")'],
+    HTMLCanvasElement: ['document.createElement("canvas")'],
+    CanvasRenderingContext2D: ['document.createElement("canvas").getContext("2d")'],
+    CanvasGradient: [],
+    CanvasPattern: [],
+    TextMetrics: [],
+    ImageData: [],
+    HTMLMapElement: ['document.createElement("map")'],
+    HTMLAreaElement: ['document.createElement("area")'],
+    HTMLTableElement: ['document.createElement("table")'],
+    HTMLTableCaptionElement: ['document.createElement("caption")'],
+    HTMLTableColElement: [
+      'document.createElement("colgroup")',
+      'document.createElement("col")',
+    ],
+    HTMLTableSectionElement: [
+      'document.createElement("tbody")',
+      'document.createElement("thead")',
+      'document.createElement("tfoot")',
+    ],
+    HTMLTableRowElement: ['document.createElement("tr")'],
+    HTMLTableCellElement: [
+      'document.createElement("td")',
+      'document.createElement("th")',
+    ],
+    HTMLFormElement: ['document.createElement("form")'],
+    HTMLFieldsetElement: ['document.createElement("fieldset")'],
+    HTMLLegendElement: ['document.createElement("legend")'],
+    HTMLLabelElement: ['document.createElement("label")'],
+    HTMLInputElement: [
+      'document.createElement("input")',
+      'createInput("text")',
+      'createInput("hidden")',
+      'createInput("search")',
+      'createInput("tel")',
+      'createInput("url")',
+      'createInput("email")',
+      'createInput("password")',
+      'createInput("date")',
+      'createInput("month")',
+      'createInput("week")',
+      'createInput("time")',
+      'createInput("datetime-local")',
+      'createInput("number")',
+      'createInput("range")',
+      'createInput("color")',
+      'createInput("checkbox")',
+      'createInput("radio")',
+      'createInput("file")',
+      'createInput("submit")',
+      'createInput("image")',
+      'createInput("reset")',
+      'createInput("button")'
+    ],
+    HTMLButtonElement: ['document.createElement("button")'],
+    HTMLSelectElement: ['document.createElement("select")'],
+    HTMLDataListElement: ['document.createElement("datalist")'],
+    HTMLOptGroupElement: ['document.createElement("optgroup")'],
+    HTMLOptionElement: ['document.createElement("option")', 'new Option()'],
+    HTMLTextAreaElement: ['document.createElement("textarea")'],
+    HTMLOutputElement: ['document.createElement("output")'],
+    HTMLProgressElement: ['document.createElement("progress")'],
+    HTMLMeterElement: ['document.createElement("meter")'],
+    ValidityState: ['document.createElement("input").validity'],
+    HTMLDetailsElement: ['document.createElement("details")'],
+    HTMLMenuElement: ['document.createElement("menu")'],
+    Window: ['window'],
+    BarProp: [],
+    History: ['window.history'],
+    Location: ['window.location'],
+    PopStateEvent: ['new PopStateEvent("popstate", { data: {} })'],
+    HashChangeEvent: [],
+    PageTransitionEvent: [],
+    BeforeUnloadEvent: [],
+    ApplicationCache: ['window.applicationCache'],
+    WindowModal: [],
+    Navigator: ['window.navigator'],
+    External: ['window.external'],
+    DataTransfer: [],
+    DataTransferItemList: [],
+    DataTransferItem: [],
+    DragEvent: [],
+    NavigatorUserMediaError: [],
+    MediaStream: [],
+    LocalMediaStream: [],
+    MediaStreamTrack: [],
+    MediaStreamRecorder: [],
+    PeerConnection: [],
+    MediaStreamEvent: [],
+    ErrorEvent: [],
+    WebSocket: ['new WebSocket("wss://foo")'],
+    CloseEvent: ['new CloseEvent("close")'],
+    AbstractWorker: [],
+    Worker: [],
+    SharedWorker: [],
+    MessageEvent: ['new MessageEvent("message", { data: 5 })'],
+    MessageChannel: [],
+    MessagePort: [],
+    HTMLMarqueeElement: ['document.createElement("marquee")'],
+    HTMLFrameSetElement: ['document.createElement("frameset")'],
+    HTMLFrameElement: ['document.createElement("frame")'],
+    HTMLDirectoryElement: ['document.createElement("dir")'],
+    HTMLFontElement: ['document.createElement("font")'],
+  });
+  idlArray.prevent_multiple_testing("HTMLElement");
+  idlArray.test();
+};
+
+function fetchData(url) {
+  return fetch(url).then((response) => response.text());
+}
+
+function waitForLoad() {
+  return new Promise(function(resolve) {
+    addEventListener("load", resolve);
+  });
+}
+
+promise_test(function() {
+  // Have to wait for onload
+  return Promise.all([fetchData("/interfaces/html.idl"),
+                      fetchData("/interfaces/dom.idl"),
+                      fetchData("/interfaces/cssom.idl"),
+                      fetchData("/interfaces/touchevents.idl"),
+                      fetchData("/interfaces/uievents.idl"),
+                      waitForLoad()])
+                .then(doTest);
+}, "Test driver");
+
+</script>