| <!DOCTYPE html> |
| <title>Subresource loading using relative URLs in the 'resources' and 'scopes' attributes with a base element</title> |
| <base href="../resources/wbn/"> |
| <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> |
| |
| <body> |
| <link |
| rel="webbundle" |
| href="static-element.wbn" |
| resources="static-element/resources/script.js"/> |
| <script id="script" src="static-element/resources/script.js"></script> |
| |
| <link |
| rel="webbundle" |
| href="dynamic1.wbn" |
| scopes="dynamic/resource"/> |
| |
| <script src="/web-bundle/subresource-loading/resources/relative-url-with-base-test.js"></script> |
| </body> |