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

Unified Diff: LayoutTests/security/cannot-read-self-from-file.html

Issue 1240503004: Revert of [XMLHttpRequest] Stop throwing for network error in async mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/security/cannot-read-self-from-file.html
diff --git a/LayoutTests/security/cannot-read-self-from-file.html b/LayoutTests/security/cannot-read-self-from-file.html
index 7e4daa6fa7275a8390f031ac8d52a3eebe333413..cae88b62bb970b86499b2ec6a969819044af4fc0 100644
--- a/LayoutTests/security/cannot-read-self-from-file.html
+++ b/LayoutTests/security/cannot-read-self-from-file.html
@@ -9,7 +9,7 @@
var t = async_test('file: should be a unique-origin protocol for XHR purposes');
window.addEventListener('message', t.step_func(function(evt) {
- assert_equals(evt.data, 'PASS');
+ assert_equals(evt.data, 'NetworkError');
t.done();
}));
</script>

Powered by Google App Engine
This is Rietveld 408576698