Files
sousa-gecko/testing/web-platform/tests/fetch/content-encoding/zstd/zstd-navigation.https.window.js
T
Tsuyoshi Horo 56fc350cc0 Bug 1952421 [wpt PR 51183] - Add WPT for navigation request content encoding, a=testonly
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
2025-03-17 09:46:22 +00:00

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`);