Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: LayoutTests/http/tests/appcache/remove-cache-expected.txt

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated patch with reset -expected.txt files. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni ng.
1 Test that a 404 response for manifest results in cache removal. 2 Test that a 404 response for manifest results in cache removal.
2 3
3 Frame 1: Manifest is still available, so a new master resource is added to the c ache. 4 Frame 1: Manifest is still available, so a new master resource is added to the c ache.
4 Frame 2: Manifest loading results in 404 response, so the cache group becomes ob solete, and an obsolete event is dispatched (because the document in frame was a ssociated with a cache in the group). 5 Frame 2: Manifest loading results in 404 response, so the cache group becomes ob solete, and an obsolete event is dispatched (because the document in frame was a ssociated with a cache in the group).
5 Frame 3: Manifest is still 404 - the document is never associated with a cache. 6 Frame 3: Manifest is still 404 - the document is never associated with a cache.
6 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. 7 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.
7 Should say SUCCESS: 8 Should say SUCCESS:
8 9
9 SUCCESS 10 SUCCESS
10 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698