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

Side by Side Diff: LayoutTests/plugins/get-file-url.html

Issue 1319473007: Delete a bunch of NPAPI layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 3 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><P>
4
5 This tests that file URLs can embed plugins which can successfully
6 load other File URLs from the Plugin. (Via the NPN_GetURL API)
7
8 <div id="result">FAILED</div>
9 <iframe name="output">Output Goes Here</iframe>
10
11 <script>
12 function CheckForFinished() {
13 if (window.subframe_done == 1) {
14 var result = document.getElementById("result");
15 result.innerHTML = "SUCCESS";
16 if (testRunner) {
17 testRunner.notifyDone();
18 }
19 } else {
20 setTimeout(CheckForFinished, 10);
21 }
22 }
23
24 function runtest() {
25 window.subframe_done = 0;
26 var loc = window.location.toString();
27 var subfile = loc.replace(/get-file-url.html/,"resources/get-file-url-subframe .html");
28 var plg = document.getElementById("plg");
29 plg.getURL(subfile, "output");
30 setTimeout(CheckForFinished, 10);
31 }
32
33 if (testRunner) {
34 testRunner.dumpAsText();
35 testRunner.waitUntilDone();
36 }
37 runtest();
38 </script>
39 </body>
40 </html>
41
OLDNEW
« no previous file with comments | « LayoutTests/plugins/get-empty-url-expected.txt ('k') | LayoutTests/plugins/get-file-url-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698