DescriptionFetcher: Disable memory caching when Service Worker handles a request
MemoryCache can cache 1 resouce for 1 URL, but ServiceWorker can serve
arbitrary resources for 1 URL and pollute a memory cache entry.
As a stopgap solution, this change removes a cached resouce to be
controlled by Service Worker before requesting.
BUG=388375
TEST=manual (access a same resource from controlled/non-controlled documents on a same tab)
TEST=run_webkit_tests.py http/tests/serviceworker/chromium/memory-cache.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183534
Patch Set 1 : #Patch Set 2 : #
Total comments: 3
Patch Set 3 : rebase #Patch Set 4 : add layout test #Patch Set 5 : fix test crash #
Total comments: 8
Patch Set 6 : rebase #Patch Set 7 : tweak test #
Total comments: 4
Patch Set 8 : s/getJSON/getJSONP #
Messages
Total messages: 29 (10 generated)
|