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

Unified Diff: LayoutTests/http/tests/appcache/simple.html

Issue 14200030: Remove XMLHttpRequestException in favor of DOMException (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests after rebasing... Created 7 years, 8 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/http/tests/appcache/simple.html
diff --git a/LayoutTests/http/tests/appcache/simple.html b/LayoutTests/http/tests/appcache/simple.html
index de473cf98b118396bcf59bdfaf1832c853e509bf..931cf001f68baae2853ef2956e5fe81a43ef3dff 100644
--- a/LayoutTests/http/tests/appcache/simple.html
+++ b/LayoutTests/http/tests/appcache/simple.html
@@ -15,7 +15,7 @@ function cached()
req.open("GET", "resources/not-in-cache.txt", false);
req.send();
} catch (e) {
- if (e.code == XMLHttpRequestException.NETWORK_ERR)
+ if (e.code == DOMException.NETWORK_ERR)
hadError = true;
}

Powered by Google App Engine
This is Rietveld 408576698