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