DescriptionAdd the 'cache' datatype to the clear-site-data WPT
- Add 'cache' to clear-site-data datatypes
- add() is implemented as fetching a resource from a support server.
- isEmpty() is implemented as fetching the same resource with
"Cache-Control: only-if-cached" plus special handling for user agents
that do not support this header.
- Since this is the first datatype where the above two methods are
asynchronous, it revealed a bug in navigation.html where the add() and
isEmpty() Promises were executed in parallel rather than in sequence;
this has been fixed
BUG=607897
Patch Set 1 #Patch Set 2 : Formatting #
Total comments: 8
Patch Set 3 : Cache-Control #Patch Set 4 : Make the tests actually run. #Patch Set 5 : Force HTTPS #Patch Set 6 : Rebase, syntax, cache busting. #Messages
Total messages: 33 (29 generated)
|