mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Accept: request header in webbundle requests</title>
|
||||
<link
|
||||
rel="help"
|
||||
href="https://github.com/WICG/webpackage/blob/main/explainers/subresource-loading.md"
|
||||
/>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="../resources/test-helpers.js"></script>
|
||||
<body>
|
||||
<script>
|
||||
setup(() => {
|
||||
assert_true(HTMLScriptElement.supports("webbundle"));
|
||||
});
|
||||
promise_test(async () => {
|
||||
await addWebBundleElementAndWaitForLoad(
|
||||
"../resources/check-accept-header-and-return-bundle.py",
|
||||
/*resources=*/ []
|
||||
);
|
||||
}, "Accept: header in a request for a bundle should contain application/webbundle MIME type.");
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue