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

Side by Side Diff: ManualTests/blackberry/head-xhr-nonexistant-file.html

Issue 780003004: Cleanup: Remove notification test from blackberry. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: g rm -rf ManualTests/blackberry Created 6 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 <head>
3 <script>
4 var xhr = new XMLHttpRequest();
5 xhr.open("HEAD", "nothing.txt", true);
6 xhr.onreadystatechange = function() {
7 if (xhr.readyState != 4) {
8 return;
9 }
10 if (xhr.status == 404) {
11 alert("PASSED: onreadystatechange fired with status 404");
12 } else {
13 alert("FAILED: onreadystatechange fired with status " + xhr.status);
14 }
15
16 }
17 xhr.onerror = function() {
18 alert("FAILED: onerror fired");
19 }
20 xhr.send();
21 </script>
22 </head>
23 <body>
24 <p>This test must be hosted on a web server, not run from a file url, because XM LHttpRequest from file url causes a security error.</p>
25 <p>You should see an alert box saying whether the test was passed or failed. If there is no alert box, the test was FAILED.</p>
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « ManualTests/blackberry/clear-localstorage.html ('k') | ManualTests/blackberry/http-auth-challenge.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698