Index: content/test/data/service_worker/disable_web_security_update.html |
diff --git a/content/test/data/service_worker/disable_web_security_update.html b/content/test/data/service_worker/disable_web_security_update.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..504c9410df3a95c960a1b600b244a5f6987a25fa |
--- /dev/null |
+++ b/content/test/data/service_worker/disable_web_security_update.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<body> |
+<script> |
+var iframe = document.createElement('iframe'); |
+iframe.onload = (_ => { |
nhiroki
2016/08/01 04:32:45
ditto (origin check)
horo
2016/08/01 07:40:56
Done.
|
+ iframe.contentWindow.navigator.serviceWorker.ready |
shimazu
2016/08/01 05:06:20
+2 indent?
horo
2016/08/01 07:40:56
Done.
|
+ .then(reg => reg.update() ) |
shimazu
2016/08/01 05:06:20
Extra space before the last ')'
horo
2016/08/01 07:40:56
Done.
|
+ .then(_ => { document.title = "PASS"; }) |
+}); |
+iframe.src = location.search.substring(1); |
+document.body.appendChild(iframe); |
+</script> |
+</body> |