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

Side by Side Diff: webkit/data/layout_tests/chrome/plugins/get-file-url.html

Issue 504079: Remove tests that have been upstreamed:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add test_expectations.txt mods Created 11 years 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 (layoutTestController) {
17 layoutTestController.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 (layoutTestController) {
34 layoutTestController.dumpAsText();
35 layoutTestController.waitUntilDone();
36 }
37 runtest();
38 </script>
39 </body>
40 </html>
41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698