| 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>
|
|
|