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

Side by Side Diff: LayoutTests/plugins/reloadplugins-and-pages.html

Issue 18951003: Skip or delete a bunch of timing out tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete a few more tests Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <body>
3 <embed id="plg" type="application/x-webkit-test-netscape"></embed>
4 <p>Test for NPN_RelaodPlugin in which reloadOpenPages is true. You should see tw o alerts, indicating that the page was loaded twice.</p>
5 <div id='res'>FAILURE</div>
6 <script>
7 alert("Page was loaded");
8 callReload = true;
9 if (window.sessionStorage) {
10 if (window.sessionStorage.reloadPluginsAndPagesCalled) {
11 callReload = false;
12 } else {
13 window.sessionStorage.reloadPluginsAndPagesCalled = 1;
14 }
15 }
16
17 if (window.testRunner)
18 testRunner.dumpAsText();
19
20 if (callReload) {
21 try {
22 if (window.testRunner)
23 testRunner.waitUntilDone();
24 document.getElementById('plg').reloadPluginsAndPages();
25 } catch (ex) {
26 alert("Exception: " + ex.description + ". Test plugin was not found" );
27 }
28 } else {
29 document.getElementById('res').innerHTML="SUCCESS";
30 if (window.testRunner)
31 testRunner.notifyDone();
32 }
33 </script>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698