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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/workers/resources/frame-with-insecure-xhr.html

Issue 594803002: Transfer SecurityOrigin overrides to Workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename transferPrivileges() to transferPrivilegesFrom() over security origins Created 6 years, 3 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: LayoutTests/http/tests/xmlhttprequest/workers/resources/frame-with-insecure-xhr.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/workers/resources/frame-with-insecure-xhr.html b/LayoutTests/http/tests/xmlhttprequest/workers/resources/frame-with-insecure-xhr.html
new file mode 100644
index 0000000000000000000000000000000000000000..7048e2c2c26fb44c2fd4fec770d906dd3bc9ae11
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/workers/resources/frame-with-insecure-xhr.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<script>
+var w = new Worker("/xmlhttprequest/resources/insecure-xhr.js");
+w.onmessage = function (e) {
+ if (window.opener)
+ window.opener.postMessage(e.data, '*');
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698