Skip to content

Commit

Permalink
fixup! [fetch] Add new metadata tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Aug 9, 2021
1 parent b764a77 commit bd4858e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
15 changes: 0 additions & 15 deletions fetch/metadata/generated/appcache-manifest.https.sub.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,21 +293,6 @@
.then(() => t.done(), t.step_func((error) => { throw error; }));
}, 'sec-fetch-site - Same-Site -> Cross-Site');

async_test((t) => {
const key = '{{uuid()}}';
assert_implements_optional(
!!window.applicationCache, 'Application Cache supported.'
);

return induceRequest(makeRequestURL(key, ['httpsOrigin', 'httpOrigin', 'httpsOrigin']))
.then(() => retrieve(key))
.then((headers) => {
assert_own_property(headers, 'sec-fetch-site');
assert_array_equals(headers['sec-fetch-site'], ['cross-site']);
})
.then(() => t.done(), t.step_func((error) => { throw error; }));
}, 'sec-fetch-site - HTTPS downgrade-upgrade');

async_test((t) => {
const key = '{{uuid()}}';
assert_implements_optional(
Expand Down
4 changes: 2 additions & 2 deletions fetch/metadata/tools/fetch-metadata.conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ cases:
window-history.sub.html: []
worker-dedicated-constructor.sub.html: []
worker-dedicated-importscripts.sub.html: []

appcache-manifest.sub.https.html: [{}]
# Avoid duplicate subtest for 'sec-fetch-site - HTTPS downgrade-upgrade'
appcache-manifest.sub.https.html: []
css-images.sub.html:
- filename_flags: [tentative]
element-a.sub.html: [{}]
Expand Down

0 comments on commit bd4858e

Please sign in to comment.