Roll r168668 back in.
[WebKit-https.git] / LayoutTests / compositing / plugins / no-backing-store.html
index 8280fcc..9d58e74 100644 (file)
@@ -6,11 +6,12 @@
       margin: 10px;
     }
   </style>
+  <script src="../../resources/plugin.js"></script>
   <script type="text/javascript" charset="utf-8">
-    if (window.testRunner) {
+    if (window.testRunner)
         testRunner.dumpAsText();
-        testRunner.waitUntilDone();
-    }
+
+    runAfterPluginLoad(doTest, DoNotNotifyDone);
 
     function doTest()
     {
@@ -22,7 +23,6 @@
             }
         }, 0)
     }
-    window.addEventListener('load', doTest, false);
   </script>
 </head>
 <body>