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

Side by Side Diff: LayoutTests/plugins/get-url-that-the-resource-load-delegate-will-disallow.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 name="plg" type="application/x-webkit-test-netscape"></embed>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.addDisallowedURL('http://www.apple.com');
8
9 plg.getURL("http://www.apple.com", "callback");
10 } else {
11 document.write("Cannot run interactively");
12 }
13 </script>This tests that we won't crash when a plugin tries to open an URL that the resource load delegate doesn't allow.
14 <div>SUCCESS - didn't crash</div>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698