diff --git a/packages/appcache/appcache_tests-server.js b/packages/appcache/appcache_tests-server.js index b4398cb9a1..6632db9513 100644 --- a/packages/appcache/appcache_tests-server.js +++ b/packages/appcache/appcache_tests-server.js @@ -5,9 +5,11 @@ // depending on the state of the browser cache. To do that we disable // the "manifest" attribute of the tag. This runs after appcache // registers its hook, so this hook overrides the return value of the -// real hook. +// real hook. We point to a non-existent file to clear the appcache in +// case there was previously a site running with appcache on +// localhost:3000. WebApp.addHtmlAttributeHook(function (request) { - return { manifest: "" }; + return { manifest: "/no-such-file" }; });