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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/plugins/resources/navigator-plugins-frame.html

Issue 2121433002: Fix navigator.plugins and navigator.mimeTypes for OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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/plugins/resources/navigator-plugins-frame.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/plugins/resources/navigator-plugins-frame.html b/third_party/WebKit/LayoutTests/http/tests/plugins/resources/navigator-plugins-frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..156a36ebf9a039b6a6c5e3eca3dd9320e474d492
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/plugins/resources/navigator-plugins-frame.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<script src="navigator-plugins.js"></script>
+<script>
+
+function sendPluginData() {
+ parent.postMessage(pluginDataAsString(), "*");
+}
+
+</script>
+<body onload="sendPluginData()">
+This frame evaluates navigator.plugins and navigator.mimeTypes and sends results
+to the parent frame.
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698