Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/scripting-1/the-script-element/fetch-src/alpha/base.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset=utf-8>
<title>Script src with a base URL</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<base href=../beta/>
<div id=log></div>
<script>
function do_test(path) {
test(function() {
assert_equals(path, "beta");
});
}
</script>
<script src=test.js></script>