Revision b38f09e16029e5944ef273644ba52588977515b7 authored by Rayan Kanso on 18 October 2018, 15:34:25 UTC, committed by Blink WPT Bot on 18 October 2018, 15:46:21 UTC
In addition, MatchAll should return all records, including unprocessed ones. To support this, the following changes were made: - Creating a registration also stores all the requests with an empty response in the cache. - When an individual request is processed, the failure reason (if any) is stored in the metadata. - The logic of GetSettledFetchesTask was moved to MarkRegistrationForDeletionTask. It checks the metadata rather than the cache itself to find a failure reason (if any). - Match/MatchAll logic was moved to a new database task (MatchRequestsTask). A new API call was added to the cache storage to allow querying request/response pairs. If a response is found to be empty it will be exposed as a nullptr. Change-Id: I631a3ef3da95117aed759a675fe591da5201eeca Reviewed-on: https://chromium-review.googlesource.com/c/1280851 Reviewed-by: Peter Beverloo <peter@chromium.org> Reviewed-by: Steven Holte <holte@chromium.org> Reviewed-by: Joshua Bell <jsbell@chromium.org> Reviewed-by: Ben Kelly <wanderview@chromium.org> Reviewed-by: Mugdha Lakhani <nator@chromium.org> Commit-Queue: Rayan Kanso <rayankans@chromium.org> Cr-Commit-Position: refs/heads/master@{#600768}
1 parent 8ca1dc4
File | Mode | Size |
---|---|---|
Document-open.html | -rw-r--r-- | 2.0 KB |
META.yml | -rw-r--r-- | 74 bytes |
addRange-00.html | -rw-r--r-- | 384 bytes |
addRange-04.html | -rw-r--r-- | 384 bytes |
addRange-08.html | -rw-r--r-- | 385 bytes |
addRange-12.html | -rw-r--r-- | 386 bytes |
addRange-16.html | -rw-r--r-- | 386 bytes |
addRange-20.html | -rw-r--r-- | 386 bytes |
addRange-24.html | -rw-r--r-- | 386 bytes |
addRange-28.html | -rw-r--r-- | 386 bytes |
addRange-32.html | -rw-r--r-- | 386 bytes |
addRange-36.html | -rw-r--r-- | 386 bytes |
addRange-40.html | -rw-r--r-- | 386 bytes |
addRange-44.html | -rw-r--r-- | 386 bytes |
addRange-48.html | -rw-r--r-- | 386 bytes |
addRange-52.html | -rw-r--r-- | 386 bytes |
addRange-56.html | -rw-r--r-- | 382 bytes |
addRange.htm | -rw-r--r-- | 953 bytes |
addRange.js | -rw-r--r-- | 10.6 KB |
collapse-00.html | -rw-r--r-- | 385 bytes |
collapse-15.html | -rw-r--r-- | 386 bytes |
collapse-30.html | -rw-r--r-- | 382 bytes |
collapse-45.html | -rw-r--r-- | 386 bytes |
collapse.htm | -rw-r--r-- | 899 bytes |
collapse.js | -rw-r--r-- | 4.1 KB |
collapseToStartEnd.html | -rw-r--r-- | 5.4 KB |
common.js | -rw-r--r-- | 38.1 KB |
deleteFromDocument.html | -rw-r--r-- | 4.3 KB |
dir-manual.html | -rw-r--r-- | 4.4 KB |
extend-00.html | -rw-r--r-- | 393 bytes |
extend-20.html | -rw-r--r-- | 394 bytes |
extend-40.html | -rw-r--r-- | 390 bytes |
extend.js | -rw-r--r-- | 7.1 KB |
getRangeAt.html | -rw-r--r-- | 443 bytes |
getSelection.html | -rw-r--r-- | 6.6 KB |
idlharness.window.js | -rw-r--r-- | 342 bytes |
isCollapsed.html | -rw-r--r-- | 1.1 KB |
removeAllRanges.html | -rw-r--r-- | 2.3 KB |
removeRange.html | -rw-r--r-- | 1.8 KB |
selectAllChildren.html | -rw-r--r-- | 2.6 KB |
setBaseAndExtent.html | -rw-r--r-- | 5.3 KB |
test-iframe.html | -rw-r--r-- | 1.1 KB |
type.html | -rw-r--r-- | 918 bytes |
Computing file changes ...