Automatic update from web-platform-tests Add WPT for navigation request content encoding I noticed that there are no WPT for navigation request content encoding. So this CL adds WPT of navigating br/gzip/zstd encoded page. Bug: 391950057 Change-Id: I55125e2eb219499be8cfc0aef5c5067f68d19ef9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329859 Reviewed-by: Shunya Shishido <sisidovski@chromium.org> Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Cr-Commit-Position: refs/heads/main@{#1429286} -- wpt-commits: fa4477ae5ce31b672238ea37759642369b4eaec2 wpt-pr: 51183
7 lines
288 B
JavaScript
7 lines
288 B
JavaScript
// META: script=../../../service-workers/service-worker/resources/test-helpers.sub.js
|
|
|
|
promise_test(async t => {
|
|
const frame = await with_iframe('./resources/hello.html.zst');
|
|
assert_equals(frame.contentDocument.body.textContent, 'Hello world');
|
|
}, `Naigation to zstd encoded page`);
|