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

Unified Diff: third_party/WebKit/LayoutTests/harness-tests/resources/mojo-helpers-inner.html

Issue 1707233003: Expose mojo bindings to subframes in layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@layout-test-mojom
Patch Set: Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/LayoutTests/harness-tests/mojo-helpers.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/harness-tests/resources/mojo-helpers-inner.html
diff --git a/third_party/WebKit/LayoutTests/harness-tests/resources/mojo-helpers-inner.html b/third_party/WebKit/LayoutTests/harness-tests/resources/mojo-helpers-inner.html
new file mode 100644
index 0000000000000000000000000000000000000000..f6fb7b0b21504a3fb37fb8900b9ec95c37af1caf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/harness-tests/resources/mojo-helpers-inner.html
@@ -0,0 +1,6 @@
+<script>
+if (window.opener)
+ window.opener.postMessage(!!window.mojo, '*');
+else
+ window.parent.postMessage(!!window.mojo, '*');
+</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/harness-tests/mojo-helpers.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698