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

Unified Diff: LayoutTests/plugins/webview-plugin-lifecycle.html

Issue 1153103004: Add a layout test for plugins::PluginPlaceholder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « LayoutTests/platform/linux/plugins/webview-plugin-lifecycle-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/plugins/webview-plugin-lifecycle.html
diff --git a/LayoutTests/plugins/webview-plugin-lifecycle.html b/LayoutTests/plugins/webview-plugin-lifecycle.html
new file mode 100644
index 0000000000000000000000000000000000000000..69dedc18600b7f3aa145a9151f7dfa038a2612bc
--- /dev/null
+++ b/LayoutTests/plugins/webview-plugin-lifecycle.html
@@ -0,0 +1,21 @@
+<!doctype HTML>
+<style>
+ #plugin {
+ width: 150px;
+ height: 150px;
+ border: 1px solid black;
+ }
+</style>
+<embed id="plugin" type="application/x-plugin-placeholder-test"></embed>
+<script>
+onload = function() {
+ window.testRunner.waitUntilDone();
+ // Need to paint two frames in order to allow the plugin to propery load.
+ // TODO(chrishtr): find out why and fix.
+ window.testRunner.layoutAndPaintAsyncThen(function() {
+ window.testRunner.layoutAndPaintAsyncThen(function() {
+ window.testRunner.notifyDone();
+ });
+ });
+}
+</script>
« no previous file with comments | « LayoutTests/platform/linux/plugins/webview-plugin-lifecycle-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698