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 here

Each 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.js9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK

/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-object.any.serviceworker-module.html OK 3 / 3

3 passing subtests
  1. import.meta is an object
  2. import.meta is extensible
  3. 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
  1. import.meta is an object
  2. import.meta is extensible
  3. 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
  1. import.meta is an object
  2. import.meta is extensible
  3. import.meta's properties are writable, configurable, and enumerable
import-meta-resolve-importmap.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. import.meta.resolve() given an import mapped bare specifier
  2. import.meta.resolve() given an import mapped URL-like specifier
  3. Testing the ToString() step of import.meta.resolve() via import maps
  4. import(import.meta.resolve(x)) can be different from import(x)
import-meta-resolve-multiple-scripts.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. 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
  2. import.meta.resolve still works if its global has been destroyed (by detaching the iframe)
  3. 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.js21 / 21 passingChrome 21 / 210 failedClean
Standing
Clean runner status OK
Chrome
Clean 21 / 21 WPT subtests passing runner status OK

/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-resolve.any.serviceworker-module.html OK 7 / 7

7 passing subtests
  1. import.meta.resolve is a function with the right properties
  2. import.meta.resolve is not a constructor
  3. import.meta.resolve ToString()s its argument
  4. Relative URL-like specifier resolution
  5. Absolute URL-like specifier resolution
  6. Invalid module specifiers
  7. 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
  1. import.meta.resolve is a function with the right properties
  2. import.meta.resolve is not a constructor
  3. import.meta.resolve ToString()s its argument
  4. Relative URL-like specifier resolution
  5. Absolute URL-like specifier resolution
  6. Invalid module specifiers
  7. 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
  1. import.meta.resolve is a function with the right properties
  2. import.meta.resolve is not a constructor
  3. import.meta.resolve ToString()s its argument
  4. Relative URL-like specifier resolution
  5. Absolute URL-like specifier resolution
  6. Invalid module specifiers
  7. Works fine with no this value
import-meta-url.any.js9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK

/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.serviceworker-module.html OK 3 / 3

3 passing subtests
  1. import.meta.url in a root external script
  2. import.meta.url in a dependent external script
  3. 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
  1. import.meta.url in a root external script
  2. import.meta.url in a dependent external script
  3. 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
  1. import.meta.url in a root external script
  2. import.meta.url in a dependent external script
  3. import.meta.url when importing the module with different fragments
import-meta-url.html6 / 6 passingChrome 5 / 60 failedClean
Standing
Clean runner status OK
Chrome
With failures 5 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. import.meta.url in a root external script
  2. import.meta.url in a dependent external script
  3. import.meta.url when importing the module with different fragments
  4. import.meta.url in a root inline script
  5. import.meta.url at top-level module DedicatedWorker
  6. import.meta.url at top-level module SharedWorker

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.