html/semantics/scripting-1/the-script-element/module/import-meta/
52 / 52 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 6
- Blocking files
- 0
Chrome 51 / 52 WPT subtests passing on the same files, none blocking
Tests
6 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
import-meta-object.any.js 9 / 9 passingChrome 9 / 90 failedClean
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-object.any.serviceworker-module.html OK 3 / 3
3 passing subtests
- import.meta is an object
- import.meta is extensible
- import.meta's properties are writable, configurable, and enumerable
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-object.any.sharedworker-module.html OK 3 / 3
3 passing subtests
- import.meta is an object
- import.meta is extensible
- import.meta's properties are writable, configurable, and enumerable
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-object.any.worker-module.html OK 3 / 3
3 passing subtests
- import.meta is an object
- import.meta is extensible
- import.meta's properties are writable, configurable, and enumerable
import-meta-resolve-importmap.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- import.meta.resolve() given an import mapped bare specifier
- import.meta.resolve() given an import mapped URL-like specifier
- Testing the ToString() step of import.meta.resolve() via import maps
- import(import.meta.resolve(x)) can be different from import(x)
import-meta-resolve-multiple-scripts.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- import.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
- import.meta.resolve still works if its global has been destroyed (by detaching the iframe)
- import.meta.resolve resolves URLs relative to the import.meta.url, not relative to the active script when it is called: another module script
import-meta-resolve.any.js 21 / 21 passingChrome 21 / 210 failedClean
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve.any.serviceworker-module.html OK 7 / 7
7 passing subtests
- import.meta.resolve is a function with the right properties
- import.meta.resolve is not a constructor
- import.meta.resolve ToString()s its argument
- Relative URL-like specifier resolution
- Absolute URL-like specifier resolution
- Invalid module specifiers
- Works fine with no this value
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve.any.sharedworker-module.html OK 7 / 7
7 passing subtests
- import.meta.resolve is a function with the right properties
- import.meta.resolve is not a constructor
- import.meta.resolve ToString()s its argument
- Relative URL-like specifier resolution
- Absolute URL-like specifier resolution
- Invalid module specifiers
- Works fine with no this value
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve.any.worker-module.html OK 7 / 7
7 passing subtests
- import.meta.resolve is a function with the right properties
- import.meta.resolve is not a constructor
- import.meta.resolve ToString()s its argument
- Relative URL-like specifier resolution
- Absolute URL-like specifier resolution
- Invalid module specifiers
- Works fine with no this value
import-meta-url.any.js 9 / 9 passingChrome 9 / 90 failedClean
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.serviceworker-module.html OK 3 / 3
3 passing subtests
- import.meta.url in a root external script
- import.meta.url in a dependent external script
- import.meta.url when importing the module with different fragments
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.sharedworker-module.html OK 3 / 3
3 passing subtests
- import.meta.url in a root external script
- import.meta.url in a dependent external script
- import.meta.url when importing the module with different fragments
/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.worker-module.html OK 3 / 3
3 passing subtests
- import.meta.url in a root external script
- import.meta.url in a dependent external script
- import.meta.url when importing the module with different fragments
import-meta-url.html 6 / 6 passingChrome 5 / 60 failedClean
6 passing subtests
- import.meta.url in a root external script
- import.meta.url in a dependent external script
- import.meta.url when importing the module with different fragments
- import.meta.url in a root inline script
- import.meta.url at top-level module DedicatedWorker
- import.meta.url at top-level module SharedWorker