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

Issue 2913553004: Add the 'cache' datatype to the clear-site-data WPT (Closed)

Created:
3 years, 6 months ago by msramek
Modified:
3 years, 5 months ago
Reviewers:
Mike West
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add 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)
Mike West
Looking good! https://codereview.chromium.org/2913553004/diff/20001/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js File third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js (right): https://codereview.chromium.org/2913553004/diff/20001/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js#newcode10 third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js:10: var base_url = location.origin + "/clear-site-data/"; Can ...
3 years, 6 months ago (2017-05-30 07:45:17 UTC) #8
msramek
https://codereview.chromium.org/2913553004/diff/20001/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js File third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js (right): https://codereview.chromium.org/2913553004/diff/20001/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js#newcode10 third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js:10: var base_url = location.origin + "/clear-site-data/"; On 2017/05/30 07:45:17, ...
3 years, 6 months ago (2017-05-30 09:11:12 UTC) #16
Mike West
LGTM. https://codereview.chromium.org/2913553004/diff/20001/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js File third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js (right): https://codereview.chromium.org/2913553004/diff/20001/third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js#newcode10 third_party/WebKit/LayoutTests/external/wpt/clear-site-data/support/test_utils.js:10: var base_url = location.origin + "/clear-site-data/"; On 2017/05/30 ...
3 years, 6 months ago (2017-05-30 11:01:31 UTC) #19
msramek
3 years, 5 months ago (2017-07-06 19:53:31 UTC) #32
I'm closing this CL, as cache turns out to be currently untestable.

The rest is extracted as https://codereview.chromium.org/2975463002/.

Powered by Google App Engine
This is Rietveld 408576698