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

Unified Diff: LayoutTests/fast/plugins/plugin-placeholder-not-exposed.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: Blink-in-JS 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-not-exposed.html
diff --git a/LayoutTests/fast/plugins/plugin-placeholder-not-exposed.html b/LayoutTests/fast/plugins/plugin-placeholder-not-exposed.html
new file mode 100644
index 0000000000000000000000000000000000000000..3094bf38322c16ba5b5ba65d9439cd32931d4d1d
--- /dev/null
+++ b/LayoutTests/fast/plugins/plugin-placeholder-not-exposed.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<script>
+description('Ensures that the private PluginPlaceholderElement interface is not exposed.');
+shouldBeUndefined('window.PluginPlaceholderElement');
+shouldThrow('PluginPlaceholderElement');
+shouldThrow('PluginPlaceholderElement.prototype');
+</script>

Powered by Google App Engine
This is Rietveld 408576698