run-webkit-tests --repeat 2 http/tests/appcache/fail-on-update.html
This often fails an assertion in associateDocumentLoaderWithCache(), as an obsolete cache gets associated with a document. This seems to be a mistake in the spec, e-mailed <http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/025975.html>.
Spec fixed in <http://html5.org/tools/web-apps-tracker?from=5285&to=5286>.
Created attachment 64568 [details]
work in progress
It's easy to apply the spec changes, but my test uncovered several other bugs. This patch fixes those, but the test still crashes randomly, possibly due to the same issue as bug 43506.
Created attachment 69709 [details]
Comment on attachment 69709 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=69709&action=review
Hum... This change is a bit mysterious to me, but ap tells me that no one really understands appcache and he's looking for more of a sanity check.
> +$tmpFile = sys_get_temp_dir() . "/" . "fail_on_update_state";
Does sys_get_temp_dir give you something specific to webkit?