Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
Passimport.meta.resolve resolves URLs relative to the import.meta.url, not relative to the active script when it is called: another global's inline script
Asserts run
Pass
assert_not_equals("https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/resources/store-import-meta.html", "https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-multiple-scripts.html", "Precondition check: we've set things up so that the other script has a different import.meta.url")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-multiple-scripts.html:13:5)
Pass
assert_equals("https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/resources/x", "https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/resources/x")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-multiple-scripts.html:17:5)
Passimport.meta.resolve still works if its global has been destroyed (by detaching the iframe)
Asserts run
Pass
assert_equals("https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/resources/x", "https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/resources/x")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-multiple-scripts.html:26:5)
Passimport.meta.resolve resolves URLs relative to the import.meta.url, not relative to the active script when it is called: another module script
Asserts run
Pass
assert_not_equals("https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/resources/export-import-meta.mjs", "https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-multiple-scripts.html", "Precondition check: we've set things up so that the other script has a different import.meta.url")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-multiple-scripts.html:30:5)
Pass
assert_equals("https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/resources/x", "https://wpt.live/html/semantics/scripting-1/the-script-element/module/import-meta/resources/x")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve-multiple-scripts.html:34:5)