Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/addressspace-worker-basic.html

Issue 1754713006: CORS-RFC1918: Introduce the 'addressSpace' IDL attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philip Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/addressspace-worker-basic.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/addressspace-worker-basic.html b/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/addressspace-worker-basic.html
new file mode 100644
index 0000000000000000000000000000000000000000..72e8040f519ff4f5ea8be31ccbc6d9c98a0a06cb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/cors-rfc1918/addressspace-worker-basic.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="./resources/addressspace-test.js"></script>
+<script>
+ window.onload = function () {
+ // TODO(mkwst): These return "public" because we're not passing data into workers correctly.
+ // Will be fixed in https://codereview.chromium.org/1760523004
+ addressSpaceTest("http://localhost:8000", "worker", "local");
+ addressSpaceTest("http://127.0.0.1:8000", "worker", "local");
+ addressSpaceTest("http://example.test:8000", "worker", "private");
+ };
+</script>
+

Powered by Google App Engine
This is Rietveld 408576698