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; |
} |