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

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: Created 6 years, 4 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..004307ffab03bba53c80e7a07f12671907991db3
--- /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. Here, have a <a href=\"#\">link</a>." });
+</script>

Powered by Google App Engine
This is Rietveld 408576698