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

Unified Diff: LayoutTests/fast/plugins/plugin-placeholder-structured.html

Issue 522783002: Add a custom element to own structure of shadow DOM plugin placeholders. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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/fast/plugins/plugin-placeholder-structured.html
diff --git a/LayoutTests/fast/plugins/plugin-placeholder-structured.html b/LayoutTests/fast/plugins/plugin-placeholder-structured.html
new file mode 100644
index 0000000000000000000000000000000000000000..168f0a8256fd3d679a669efaedd27b522a2c2e34
--- /dev/null
+++ b/LayoutTests/fast/plugins/plugin-placeholder-structured.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+
+<!-- The message inserted below should be shown with some suitable style. -->
+<object type="application/x-fake-plugin"></object>
+
+<script>
+var plugin = document.querySelector("object");
+internals.forcePluginPlaceholder(plugin, { message: "Sorry, but your plugin couldn't be loaded." });
+</script>

Powered by Google App Engine
This is Rietveld 408576698