Bug 1539829 [wpt PR 16060] - Remove legacy-image-formats feature, a=testonly

Automatic update from web-platform-tests
Remove legacy-image-formats feature

Bug: 945945
Change-Id: Idf5022f6b531b9e2bd353d451c1614adb6a757c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532889
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Luna Lu <loonybear@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#645654}

--

wpt-commits: 11d0520935fd52b7d1c6cab0f1cc6563f6dfa16e
wpt-pr: 16060
This commit is contained in:
Ian Clelland 2019-04-18 11:58:35 +00:00 коммит произвёл James Graham
Родитель 3c538314c0
Коммит 04da5d6011
2 изменённых файлов: 0 добавлений и 25 удалений

Просмотреть файл

@ -1,24 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
</head>
<body>
<img src="image.bmp">
<script>
var check_report_format = (reports, observer) => {
let report = reports[0];
assert_equals(report.type, "feature-policy-violation");
assert_equals(report.url, document.location.href);
assert_equals(report.body.featureId, "legacy-image-formats");
assert_equals(report.body.disposition, "enforce");
};
async_test(t => {
new ReportingObserver(t.step_func_done(check_report_format),
{types: ['feature-policy-violation'], buffered: true}).observe();
}, "Unsized-media Report Format");
</script>
</body>
</html>

Просмотреть файл

@ -1 +0,0 @@
Feature-Policy: legacy-image-formats 'none'