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

Unified Diff: LayoutTests/http/tests/appcache/non-html.xhtml

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/non-html.xhtml
diff --git a/LayoutTests/http/tests/appcache/non-html.xhtml b/LayoutTests/http/tests/appcache/non-html.xhtml
index f377d95747a73ed1905c800f25cb30e931e61533..a92e61840e65110e7b14e47ac8932b6462c90047 100644
--- a/LayoutTests/http/tests/appcache/non-html.xhtml
+++ b/LayoutTests/http/tests/appcache/non-html.xhtml
@@ -46,7 +46,7 @@ function cached()
req.open("GET", "/resources/network-simulator.php?path=/appcache/resources/not-in-cache.txt", false);
req.send();
} catch (e) {
- if (e.code == XMLHttpRequestException.NETWORK_ERR)
+ if (e.code == DOMException.NETWORK_ERR)
hadError = true;
}
« no previous file with comments | « LayoutTests/fast/files/workers/worker-apply-blob-url-to-xhr-expected.txt ('k') | LayoutTests/http/tests/appcache/simple.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698