Skip to content

Commit

Permalink
[ REBASLINE ] ([ WK1 Monterey ] http/tests/appcache/remove-cache.html…
Browse files Browse the repository at this point in the history
… needs a rebasline (262204))

rdar://116136809
https://bugs.webkit.org/show_bug.cgi?id=262204

Unreviewed test gardening.

* LayoutTests/platform/mac-monterey-wk1/http/tests/appcache/remove-cache-expected.txt: Added.

Canonical link: https://commits.webkit.org/268533@main
  • Loading branch information
Dawn Flores committed Sep 27, 2023
1 parent 4e02312 commit 6be8452
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
CONSOLE MESSAGE: Application Cache manifest could not be fetched, because the manifest had a 404 response.
CONSOLE MESSAGE: ApplicationCache is deprecated. Please use ServiceWorkers instead.
Test that a 404 response for manifest results in cache removal.

Frame 1: Manifest is still available, so a new master resource is added to the cache.
Frame 2: Manifest loading results in 404 response, so the cache group becomes obsolete, and an obsolete event is dispatched (because the document in frame was associated with a cache in the group).
Frame 3: Manifest is still 404 - the document is never associated with a cache.
Frame 4: Manifest is now available, so the document gets associated with a cache in a newly created group; the obsolete cache group is not affected.
Should say SUCCESS:

SUCCESS

0 comments on commit 6be8452

Please sign in to comment.