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

Side by Side Diff: LayoutTests/http/tests/plugins/local-geturl-from-remote.html

Issue 1005223002: Blink: Replace all "plug-in" with "plugin". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert netscape-dom-access tests. Created 5 years, 9 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function notify() 4 function notify()
5 { 5 {
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.notifyDone(); 7 testRunner.notifyDone();
8 } 8 }
9 9
10 function runTest() 10 function runTest()
(...skipping 11 matching lines...) Expand all
22 document.getElementById('result').innerHTML = "SUCCESS"; 22 document.getElementById('result').innerHTML = "SUCCESS";
23 else 23 else
24 document.getElementById('result').innerHTML = "FAILURE"; 24 document.getElementById('result').innerHTML = "FAILURE";
25 25
26 // Round-trip to the plugin once more, so errors can propagate. 26 // Round-trip to the plugin once more, so errors can propagate.
27 plg.getURLNotify("resources/load-me-1.txt", null, "notify"); 27 plg.getURLNotify("resources/load-me-1.txt", null, "notify");
28 } 28 }
29 </script> 29 </script>
30 </head> 30 </head>
31 <body onload="runTest()"> 31 <body onload="runTest()">
32 <div>This tests that a plug-in in a remote document can't access local files usi ng NPN_GetURL</div> 32 <div>This tests that a plugin in a remote document can't access local files usin g NPN_GetURL</div>
33 <embed name="plg" type="application/x-webkit-test-netscape"></embed> 33 <embed name="plg" type="application/x-webkit-test-netscape"></embed>
34 <div id="result">FAILURE</div> 34 <div id="result">FAILURE</div>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698