| <!DOCTYPE html> | |
| <title>Request's destination must be "webbundle" with the link-based API</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> | |
| <script> | |
| window.TEST_WEB_BUNDLE_ELEMENT_TYPE = 'link'; | |
| </script> | |
| <body> | |
| <script src="resources/request-destination-test.sub.js"></script> | |
| </body> |