| <!DOCTYPE html> |
| <title>Subresource loading using relative URLs in the 'resources' attribute with a base element</title> |
| <base href="../resources/wbn/static-element/"> |
| <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> |
| <script type="webbundle"> |
| { |
| "source": "../static-element.wbn", |
| "resources": ["resources/script.js"] |
| } |
| </script> |
| <script id="script" src="resources/script.js"></script> |
| |
| <script src="/web-bundle/subresource-loading/resources/relative-url-with-base-test.js"></script> |
| </body> |