html/browsers/origin/api/

314 / 339 WPT subtests passing

Failed
25
Timed out
0
Not run
0
Test files
13
Blocking files
0

Chrome 314 / 339 WPT subtests passing on the same files, none blocking

Tests

13 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
origin-comparison.any.js8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK

/html/browsers/origin/api/origin-comparison.any.html OK 4 / 4

4 passing subtests
  1. Comparison of `new Origin()` opaque origins.
  2. Comparison of tuple origins.
  3. Comparisons are schemeful.
  4. Comparison of `Origin.from(<url-string>)` opaque origins.

/html/browsers/origin/api/origin-comparison.any.worker.html OK 4 / 4

4 passing subtests
  1. Comparison of `new Origin()` opaque origins.
  2. Comparison of tuple origins.
  3. Comparisons are schemeful.
  4. Comparison of `Origin.from(<url-string>)` opaque origins.
origin-from-extendablemessageevent.any.js2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Constructed `ExtendableMessageEvent` objects have no real origins.
  2. Posted `ExtendableMessageEvent` objects have origins.
origin-from-global.any.js4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK

/html/browsers/origin/api/origin-from-global.any.html OK 1 / 1

1 passing subtest
  1. Origin.from(globalThis) is a tuple origin.

/html/browsers/origin/api/origin-from-global.any.serviceworker.html OK 1 / 1

1 passing subtest
  1. Origin.from(globalThis) is a tuple origin.

/html/browsers/origin/api/origin-from-global.any.sharedworker.html OK 1 / 1

1 passing subtest
  1. Origin.from(globalThis) is a tuple origin.

/html/browsers/origin/api/origin-from-global.any.worker.html OK 1 / 1

1 passing subtest
  1. Origin.from(globalThis) is a tuple origin.
origin-from-hyperlinkelementutils.window.js104 / 129 passingChrome 104 / 12925 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 104 / 129 WPT subtests passing runner status OK
  1. FAILOrigin.from(MathML <a href="about:blank">) returns an opaque origin.
    TypeError
  2. FAILOrigin.from(MathML <a href="data:text/plain,opaque">) returns an opaque origin.
    TypeError
  3. FAILOrigin.from(MathML <a href="weird-protocol:whatever">) returns an opaque origin.
    TypeError
  4. FAILOrigin.from(MathML <a href="weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
    TypeError
  5. FAILOrigin.from(MathML <a href="blob:weird-protocol:whatever">) returns an opaque origin.
    TypeError
  6. FAILOrigin.from(MathML <a href="blob:weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
    TypeError
  7. FAILOrigin.from(MathML <a href="http://site.example">) returns a tuple origin.
    TypeError
  8. FAILOrigin.from(MathML <a href="https://site.example">) returns a tuple origin.
    TypeError
  9. FAILOrigin.from(MathML <a href="https://site.example:123">) returns a tuple origin.
    TypeError
  10. FAILOrigin.from(MathML <a href="http://sub.site.example">) returns a tuple origin.
    TypeError
  11. FAILOrigin.from(MathML <a href="https://sub.site.example">) returns a tuple origin.
    TypeError
  12. FAILOrigin.from(MathML <a href="https://sub.site.example:123">) returns a tuple origin.
    TypeError
  13. FAILOrigin.from(MathML <a href="https://xn--mlauted-m2a.example">) returns a tuple origin.
    TypeError
  14. FAILOrigin.from(MathML <a href="ftp://ftp.example">) returns a tuple origin.
    TypeError
  15. FAILOrigin.from(MathML <a href="ws://ws.example">) returns a tuple origin.
    TypeError
  16. FAILOrigin.from(MathML <a href="wss://wss.example">) returns a tuple origin.
    TypeError
  17. FAILOrigin.from(MathML <a href="https://trailing.slash/">) returns a tuple origin.
    TypeError
  18. FAILOrigin.from(MathML <a href="https://user:pass@site.example">) returns a tuple origin.
    TypeError
  19. FAILOrigin.from(MathML <a href="https://has.a.port:1234/and/path">) returns a tuple origin.
    TypeError
  20. FAILOrigin.from(MathML <a href="https://ümlauted.example">) returns a tuple origin.
    TypeError
  21. FAILOrigin.from(MathML <a href="blob:https://example.com/some-guid">) returns a tuple origin.
    TypeError
  22. FAILOrigin.from(MathML <a href="ftp://example.com/">) returns a tuple origin.
    TypeError
  23. FAILOrigin.from(MathML <a href="https://example.com/path?query#fragment">) returns a tuple origin.
    TypeError
  24. FAILOrigin.from(MathML <a href="https://127.0.0.1/">) returns a tuple origin.
    TypeError
  25. FAILOrigin.from(MathML <a href="https://[::1]/">) returns a tuple origin.
    TypeError
104 passing subtests
  1. Origin.from(<a>) throws.
  2. Origin.from(<area>) throws.
  3. Origin.from(SVG <a>) throws.
  4. Origin.from(MathML <a>) throws.
  5. Origin.from(<a href="about:blank">) returns an opaque origin.
  6. Origin.from(<area href="about:blank">) returns an opaque origin.
  7. Origin.from(SVG <a href="about:blank">) returns an opaque origin.
  8. Origin.from(SVG <a xlink:href="about:blank">) returns an opaque origin.
  9. Origin.from(<a href="data:text/plain,opaque">) returns an opaque origin.
  10. Origin.from(<area href="data:text/plain,opaque">) returns an opaque origin.
  11. Origin.from(SVG <a href="data:text/plain,opaque">) returns an opaque origin.
  12. Origin.from(SVG <a xlink:href="data:text/plain,opaque">) returns an opaque origin.
  13. Origin.from(<a href="weird-protocol:whatever">) returns an opaque origin.
  14. Origin.from(<area href="weird-protocol:whatever">) returns an opaque origin.
  15. Origin.from(SVG <a href="weird-protocol:whatever">) returns an opaque origin.
  16. Origin.from(SVG <a xlink:href="weird-protocol:whatever">) returns an opaque origin.
  17. Origin.from(<a href="weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
  18. Origin.from(<area href="weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
  19. Origin.from(SVG <a href="weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
  20. Origin.from(SVG <a xlink:href="weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
  21. Origin.from(<a href="blob:weird-protocol:whatever">) returns an opaque origin.
  22. Origin.from(<area href="blob:weird-protocol:whatever">) returns an opaque origin.
  23. Origin.from(SVG <a href="blob:weird-protocol:whatever">) returns an opaque origin.
  24. Origin.from(SVG <a xlink:href="blob:weird-protocol:whatever">) returns an opaque origin.
  25. Origin.from(<a href="blob:weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
  26. Origin.from(<area href="blob:weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
  27. Origin.from(SVG <a href="blob:weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
  28. Origin.from(SVG <a xlink:href="blob:weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.
  29. Origin.from(<a href="http://site.example">) returns a tuple origin.
  30. Origin.from(<area href="http://site.example">) returns a tuple origin.
  31. Origin.from(SVG <a href="http://site.example">) returns a tuple origin.
  32. Origin.from(SVG <a xlink:href="http://site.example">) returns a tuple origin.
  33. Origin.from(<a href="https://site.example">) returns a tuple origin.
  34. Origin.from(<area href="https://site.example">) returns a tuple origin.
  35. Origin.from(SVG <a href="https://site.example">) returns a tuple origin.
  36. Origin.from(SVG <a xlink:href="https://site.example">) returns a tuple origin.
  37. Origin.from(<a href="https://site.example:123">) returns a tuple origin.
  38. Origin.from(<area href="https://site.example:123">) returns a tuple origin.
  39. Origin.from(SVG <a href="https://site.example:123">) returns a tuple origin.
  40. Origin.from(SVG <a xlink:href="https://site.example:123">) returns a tuple origin.
  41. Origin.from(<a href="http://sub.site.example">) returns a tuple origin.
  42. Origin.from(<area href="http://sub.site.example">) returns a tuple origin.
  43. Origin.from(SVG <a href="http://sub.site.example">) returns a tuple origin.
  44. Origin.from(SVG <a xlink:href="http://sub.site.example">) returns a tuple origin.
  45. Origin.from(<a href="https://sub.site.example">) returns a tuple origin.
  46. Origin.from(<area href="https://sub.site.example">) returns a tuple origin.
  47. Origin.from(SVG <a href="https://sub.site.example">) returns a tuple origin.
  48. Origin.from(SVG <a xlink:href="https://sub.site.example">) returns a tuple origin.
  49. Origin.from(<a href="https://sub.site.example:123">) returns a tuple origin.
  50. Origin.from(<area href="https://sub.site.example:123">) returns a tuple origin.
  51. Origin.from(SVG <a href="https://sub.site.example:123">) returns a tuple origin.
  52. Origin.from(SVG <a xlink:href="https://sub.site.example:123">) returns a tuple origin.
  53. Origin.from(<a href="https://xn--mlauted-m2a.example">) returns a tuple origin.
  54. Origin.from(<area href="https://xn--mlauted-m2a.example">) returns a tuple origin.
  55. Origin.from(SVG <a href="https://xn--mlauted-m2a.example">) returns a tuple origin.
  56. Origin.from(SVG <a xlink:href="https://xn--mlauted-m2a.example">) returns a tuple origin.
  57. Origin.from(<a href="ftp://ftp.example">) returns a tuple origin.
  58. Origin.from(<area href="ftp://ftp.example">) returns a tuple origin.
  59. Origin.from(SVG <a href="ftp://ftp.example">) returns a tuple origin.
  60. Origin.from(SVG <a xlink:href="ftp://ftp.example">) returns a tuple origin.
  61. Origin.from(<a href="ws://ws.example">) returns a tuple origin.
  62. Origin.from(<area href="ws://ws.example">) returns a tuple origin.
  63. Origin.from(SVG <a href="ws://ws.example">) returns a tuple origin.
  64. Origin.from(SVG <a xlink:href="ws://ws.example">) returns a tuple origin.
  65. Origin.from(<a href="wss://wss.example">) returns a tuple origin.
  66. Origin.from(<area href="wss://wss.example">) returns a tuple origin.
  67. Origin.from(SVG <a href="wss://wss.example">) returns a tuple origin.
  68. Origin.from(SVG <a xlink:href="wss://wss.example">) returns a tuple origin.
  69. Origin.from(<a href="https://trailing.slash/">) returns a tuple origin.
  70. Origin.from(<area href="https://trailing.slash/">) returns a tuple origin.
  71. Origin.from(SVG <a href="https://trailing.slash/">) returns a tuple origin.
  72. Origin.from(SVG <a xlink:href="https://trailing.slash/">) returns a tuple origin.
  73. Origin.from(<a href="https://user:pass@site.example">) returns a tuple origin.
  74. Origin.from(<area href="https://user:pass@site.example">) returns a tuple origin.
  75. Origin.from(SVG <a href="https://user:pass@site.example">) returns a tuple origin.
  76. Origin.from(SVG <a xlink:href="https://user:pass@site.example">) returns a tuple origin.
  77. Origin.from(<a href="https://has.a.port:1234/and/path">) returns a tuple origin.
  78. Origin.from(<area href="https://has.a.port:1234/and/path">) returns a tuple origin.
  79. Origin.from(SVG <a href="https://has.a.port:1234/and/path">) returns a tuple origin.
  80. Origin.from(SVG <a xlink:href="https://has.a.port:1234/and/path">) returns a tuple origin.
  81. Origin.from(<a href="https://ümlauted.example">) returns a tuple origin.
  82. Origin.from(<area href="https://ümlauted.example">) returns a tuple origin.
  83. Origin.from(SVG <a href="https://ümlauted.example">) returns a tuple origin.
  84. Origin.from(SVG <a xlink:href="https://ümlauted.example">) returns a tuple origin.
  85. Origin.from(<a href="blob:https://example.com/some-guid">) returns a tuple origin.
  86. Origin.from(<area href="blob:https://example.com/some-guid">) returns a tuple origin.
  87. Origin.from(SVG <a href="blob:https://example.com/some-guid">) returns a tuple origin.
  88. Origin.from(SVG <a xlink:href="blob:https://example.com/some-guid">) returns a tuple origin.
  89. Origin.from(<a href="ftp://example.com/">) returns a tuple origin.
  90. Origin.from(<area href="ftp://example.com/">) returns a tuple origin.
  91. Origin.from(SVG <a href="ftp://example.com/">) returns a tuple origin.
  92. Origin.from(SVG <a xlink:href="ftp://example.com/">) returns a tuple origin.
  93. Origin.from(<a href="https://example.com/path?query#fragment">) returns a tuple origin.
  94. Origin.from(<area href="https://example.com/path?query#fragment">) returns a tuple origin.
  95. Origin.from(SVG <a href="https://example.com/path?query#fragment">) returns a tuple origin.
  96. Origin.from(SVG <a xlink:href="https://example.com/path?query#fragment">) returns a tuple origin.
  97. Origin.from(<a href="https://127.0.0.1/">) returns a tuple origin.
  98. Origin.from(<area href="https://127.0.0.1/">) returns a tuple origin.
  99. Origin.from(SVG <a href="https://127.0.0.1/">) returns a tuple origin.
  100. Origin.from(SVG <a xlink:href="https://127.0.0.1/">) returns a tuple origin.
  101. Origin.from(<a href="https://[::1]/">) returns a tuple origin.
  102. Origin.from(<area href="https://[::1]/">) returns a tuple origin.
  103. Origin.from(SVG <a href="https://[::1]/">) returns a tuple origin.
  104. Origin.from(SVG <a xlink:href="https://[::1]/">) returns a tuple origin.
origin-from-location.window.js2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Origin.from(window.location) throws.
  2. Origin.from(Location) throws for cross-origin frames.
origin-from-messageevent-opaque.window.js3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Origin.from(MessageEvent) returns an opaque origin for a sandboxed frame.
  2. Origin.from(MessageEvent) returns the same opaque origin for each message from a sandboxed frame.
  3. Origin.from(MessageEvent) returns distinct opaque origins for each message from a reloaded sandboxed frame.
origin-from-messageevent.window.js6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Constructed `MessageEvent` objects have no real origins.
  2. Origin.from(MessageEvent) returns a tuple origin for messages from same-origin frames.
  3. Origin.from(MessageEvent) returns a tuple origin for messages from cross-origin frames.
  4. Origin.from(MessageEvent) returns an opaque origin for messages from sandboxed frames.
  5. Origin.from(MessageEvent) returns a tuple origin for same-origin windows.
  6. Origin.from(MessageEvent) returns a tuple origin for cross-origin windows.
origin-from-origin.any.js50 / 50 passingChrome 50 / 500 failedClean
Standing
Clean runner status OK
Chrome
Clean 50 / 50 WPT subtests passing runner status OK

/html/browsers/origin/api/origin-from-origin.any.html OK 25 / 25

25 passing subtests
  1. Origin.from(Origin.from("about:blank")) is an opaque origin.
  2. Origin.from(Origin.from("data:text/plain,opaque")) is an opaque origin.
  3. Origin.from(Origin.from("weird-protocol:whatever")) is an opaque origin.
  4. Origin.from(Origin.from("weird-hierarchical-protocol://host/path?etc")) is an opaque origin.
  5. Origin.from(Origin.from("blob:weird-protocol:whatever")) is an opaque origin.
  6. Origin.from(Origin.from("blob:weird-hierarchical-protocol://host/path?etc")) is an opaque origin.
  7. Origin.from(Origin.from("http://site.example")) is an tuple origin.
  8. Origin.from(Origin.from("https://site.example")) is an tuple origin.
  9. Origin.from(Origin.from("https://site.example:123")) is an tuple origin.
  10. Origin.from(Origin.from("http://sub.site.example")) is an tuple origin.
  11. Origin.from(Origin.from("https://sub.site.example")) is an tuple origin.
  12. Origin.from(Origin.from("https://sub.site.example:123")) is an tuple origin.
  13. Origin.from(Origin.from("https://xn--mlauted-m2a.example")) is an tuple origin.
  14. Origin.from(Origin.from("ftp://ftp.example")) is an tuple origin.
  15. Origin.from(Origin.from("ws://ws.example")) is an tuple origin.
  16. Origin.from(Origin.from("wss://wss.example")) is an tuple origin.
  17. Origin.from(Origin.from("https://trailing.slash/")) is an tuple origin.
  18. Origin.from(Origin.from("https://user:pass@site.example")) is an tuple origin.
  19. Origin.from(Origin.from("https://has.a.port:1234/and/path")) is an tuple origin.
  20. Origin.from(Origin.from("https://ümlauted.example")) is an tuple origin.
  21. Origin.from(Origin.from("blob:https://example.com/some-guid")) is an tuple origin.
  22. Origin.from(Origin.from("ftp://example.com/")) is an tuple origin.
  23. Origin.from(Origin.from("https://example.com/path?query#fragment")) is an tuple origin.
  24. Origin.from(Origin.from("https://127.0.0.1/")) is an tuple origin.
  25. Origin.from(Origin.from("https://[::1]/")) is an tuple origin.

/html/browsers/origin/api/origin-from-origin.any.worker.html OK 25 / 25

25 passing subtests
  1. Origin.from(Origin.from("about:blank")) is an opaque origin.
  2. Origin.from(Origin.from("data:text/plain,opaque")) is an opaque origin.
  3. Origin.from(Origin.from("weird-protocol:whatever")) is an opaque origin.
  4. Origin.from(Origin.from("weird-hierarchical-protocol://host/path?etc")) is an opaque origin.
  5. Origin.from(Origin.from("blob:weird-protocol:whatever")) is an opaque origin.
  6. Origin.from(Origin.from("blob:weird-hierarchical-protocol://host/path?etc")) is an opaque origin.
  7. Origin.from(Origin.from("http://site.example")) is an tuple origin.
  8. Origin.from(Origin.from("https://site.example")) is an tuple origin.
  9. Origin.from(Origin.from("https://site.example:123")) is an tuple origin.
  10. Origin.from(Origin.from("http://sub.site.example")) is an tuple origin.
  11. Origin.from(Origin.from("https://sub.site.example")) is an tuple origin.
  12. Origin.from(Origin.from("https://sub.site.example:123")) is an tuple origin.
  13. Origin.from(Origin.from("https://xn--mlauted-m2a.example")) is an tuple origin.
  14. Origin.from(Origin.from("ftp://ftp.example")) is an tuple origin.
  15. Origin.from(Origin.from("ws://ws.example")) is an tuple origin.
  16. Origin.from(Origin.from("wss://wss.example")) is an tuple origin.
  17. Origin.from(Origin.from("https://trailing.slash/")) is an tuple origin.
  18. Origin.from(Origin.from("https://user:pass@site.example")) is an tuple origin.
  19. Origin.from(Origin.from("https://has.a.port:1234/and/path")) is an tuple origin.
  20. Origin.from(Origin.from("https://ümlauted.example")) is an tuple origin.
  21. Origin.from(Origin.from("blob:https://example.com/some-guid")) is an tuple origin.
  22. Origin.from(Origin.from("ftp://example.com/")) is an tuple origin.
  23. Origin.from(Origin.from("https://example.com/path?query#fragment")) is an tuple origin.
  24. Origin.from(Origin.from("https://127.0.0.1/")) is an tuple origin.
  25. Origin.from(Origin.from("https://[::1]/")) is an tuple origin.
origin-from-string.any.js54 / 54 passingChrome 54 / 540 failedClean
Standing
Clean runner status OK
Chrome
Clean 54 / 54 WPT subtests passing runner status OK

/html/browsers/origin/api/origin-from-string.any.html OK 27 / 27

27 passing subtests
  1. Origin.from("") throws a TypeError.
  2. Origin.from("not-valid") throws a TypeError.
  3. Origin.from("about:blank") is an opaque origin.
  4. Origin.from("data:text/plain,opaque") is an opaque origin.
  5. Origin.from("weird-protocol:whatever") is an opaque origin.
  6. Origin.from("weird-hierarchical-protocol://host/path?etc") is an opaque origin.
  7. Origin.from("blob:weird-protocol:whatever") is an opaque origin.
  8. Origin.from("blob:weird-hierarchical-protocol://host/path?etc") is an opaque origin.
  9. Origin.from("http://site.example") is a tuple origin.
  10. Origin.from("https://site.example") is a tuple origin.
  11. Origin.from("https://site.example:123") is a tuple origin.
  12. Origin.from("http://sub.site.example") is a tuple origin.
  13. Origin.from("https://sub.site.example") is a tuple origin.
  14. Origin.from("https://sub.site.example:123") is a tuple origin.
  15. Origin.from("https://xn--mlauted-m2a.example") is a tuple origin.
  16. Origin.from("ftp://ftp.example") is a tuple origin.
  17. Origin.from("ws://ws.example") is a tuple origin.
  18. Origin.from("wss://wss.example") is a tuple origin.
  19. Origin.from("https://trailing.slash/") is a tuple origin.
  20. Origin.from("https://user:pass@site.example") is a tuple origin.
  21. Origin.from("https://has.a.port:1234/and/path") is a tuple origin.
  22. Origin.from("https://ümlauted.example") is a tuple origin.
  23. Origin.from("blob:https://example.com/some-guid") is a tuple origin.
  24. Origin.from("ftp://example.com/") is a tuple origin.
  25. Origin.from("https://example.com/path?query#fragment") is a tuple origin.
  26. Origin.from("https://127.0.0.1/") is a tuple origin.
  27. Origin.from("https://[::1]/") is a tuple origin.

/html/browsers/origin/api/origin-from-string.any.worker.html OK 27 / 27

27 passing subtests
  1. Origin.from("") throws a TypeError.
  2. Origin.from("not-valid") throws a TypeError.
  3. Origin.from("about:blank") is an opaque origin.
  4. Origin.from("data:text/plain,opaque") is an opaque origin.
  5. Origin.from("weird-protocol:whatever") is an opaque origin.
  6. Origin.from("weird-hierarchical-protocol://host/path?etc") is an opaque origin.
  7. Origin.from("blob:weird-protocol:whatever") is an opaque origin.
  8. Origin.from("blob:weird-hierarchical-protocol://host/path?etc") is an opaque origin.
  9. Origin.from("http://site.example") is a tuple origin.
  10. Origin.from("https://site.example") is a tuple origin.
  11. Origin.from("https://site.example:123") is a tuple origin.
  12. Origin.from("http://sub.site.example") is a tuple origin.
  13. Origin.from("https://sub.site.example") is a tuple origin.
  14. Origin.from("https://sub.site.example:123") is a tuple origin.
  15. Origin.from("https://xn--mlauted-m2a.example") is a tuple origin.
  16. Origin.from("ftp://ftp.example") is a tuple origin.
  17. Origin.from("ws://ws.example") is a tuple origin.
  18. Origin.from("wss://wss.example") is a tuple origin.
  19. Origin.from("https://trailing.slash/") is a tuple origin.
  20. Origin.from("https://user:pass@site.example") is a tuple origin.
  21. Origin.from("https://has.a.port:1234/and/path") is a tuple origin.
  22. Origin.from("https://ümlauted.example") is a tuple origin.
  23. Origin.from("blob:https://example.com/some-guid") is a tuple origin.
  24. Origin.from("ftp://example.com/") is a tuple origin.
  25. Origin.from("https://example.com/path?query#fragment") is a tuple origin.
  26. Origin.from("https://127.0.0.1/") is a tuple origin.
  27. Origin.from("https://[::1]/") is a tuple origin.
origin-from-url.any.js54 / 54 passingChrome 54 / 540 failedClean
Standing
Clean runner status OK
Chrome
Clean 54 / 54 WPT subtests passing runner status OK

/html/browsers/origin/api/origin-from-url.any.html OK 27 / 27

27 passing subtests
  1. Origin.from("") throws a TypeError.
  2. Origin.from("not-valid") throws a TypeError.
  3. Origin.from("about:blank") is an opaque origin.
  4. Origin.from("data:text/plain,opaque") is an opaque origin.
  5. Origin.from("weird-protocol:whatever") is an opaque origin.
  6. Origin.from("weird-hierarchical-protocol://host/path?etc") is an opaque origin.
  7. Origin.from("blob:weird-protocol:whatever") is an opaque origin.
  8. Origin.from("blob:weird-hierarchical-protocol://host/path?etc") is an opaque origin.
  9. Origin.from("http://site.example") is a tuple origin.
  10. Origin.from("https://site.example") is a tuple origin.
  11. Origin.from("https://site.example:123") is a tuple origin.
  12. Origin.from("http://sub.site.example") is a tuple origin.
  13. Origin.from("https://sub.site.example") is a tuple origin.
  14. Origin.from("https://sub.site.example:123") is a tuple origin.
  15. Origin.from("https://xn--mlauted-m2a.example") is a tuple origin.
  16. Origin.from("ftp://ftp.example") is a tuple origin.
  17. Origin.from("ws://ws.example") is a tuple origin.
  18. Origin.from("wss://wss.example") is a tuple origin.
  19. Origin.from("https://trailing.slash/") is a tuple origin.
  20. Origin.from("https://user:pass@site.example") is a tuple origin.
  21. Origin.from("https://has.a.port:1234/and/path") is a tuple origin.
  22. Origin.from("https://ümlauted.example") is a tuple origin.
  23. Origin.from("blob:https://example.com/some-guid") is a tuple origin.
  24. Origin.from("ftp://example.com/") is a tuple origin.
  25. Origin.from("https://example.com/path?query#fragment") is a tuple origin.
  26. Origin.from("https://127.0.0.1/") is a tuple origin.
  27. Origin.from("https://[::1]/") is a tuple origin.

/html/browsers/origin/api/origin-from-url.any.worker.html OK 27 / 27

27 passing subtests
  1. Origin.from("") throws a TypeError.
  2. Origin.from("not-valid") throws a TypeError.
  3. Origin.from("about:blank") is an opaque origin.
  4. Origin.from("data:text/plain,opaque") is an opaque origin.
  5. Origin.from("weird-protocol:whatever") is an opaque origin.
  6. Origin.from("weird-hierarchical-protocol://host/path?etc") is an opaque origin.
  7. Origin.from("blob:weird-protocol:whatever") is an opaque origin.
  8. Origin.from("blob:weird-hierarchical-protocol://host/path?etc") is an opaque origin.
  9. Origin.from("http://site.example") is a tuple origin.
  10. Origin.from("https://site.example") is a tuple origin.
  11. Origin.from("https://site.example:123") is a tuple origin.
  12. Origin.from("http://sub.site.example") is a tuple origin.
  13. Origin.from("https://sub.site.example") is a tuple origin.
  14. Origin.from("https://sub.site.example:123") is a tuple origin.
  15. Origin.from("https://xn--mlauted-m2a.example") is a tuple origin.
  16. Origin.from("ftp://ftp.example") is a tuple origin.
  17. Origin.from("ws://ws.example") is a tuple origin.
  18. Origin.from("wss://wss.example") is a tuple origin.
  19. Origin.from("https://trailing.slash/") is a tuple origin.
  20. Origin.from("https://user:pass@site.example") is a tuple origin.
  21. Origin.from("https://has.a.port:1234/and/path") is a tuple origin.
  22. Origin.from("https://ümlauted.example") is a tuple origin.
  23. Origin.from("blob:https://example.com/some-guid") is a tuple origin.
  24. Origin.from("ftp://example.com/") is a tuple origin.
  25. Origin.from("https://example.com/path?query#fragment") is a tuple origin.
  26. Origin.from("https://127.0.0.1/") is a tuple origin.
  27. Origin.from("https://[::1]/") is a tuple origin.
origin-from-window.window.js7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. Origin.from(window) returns a tuple origin.
  2. Origin.from(Window) returns a tuple origin for same-origin frames.
  3. Origin.from(Window) throws for cross-origin frames.
  4. Origin.from(Window) throws for sandboxed frames.
  5. Origin.from(Window) returns a tuple origin for same-origin windows.
  6. Origin.from(Window) throws for cross-origin windows.
  7. Origin.from(Window) returns an opaque origin for a data URL source.
origin-from-worker.window.js2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Comparison of `Origin.from(Worker)` for opaque data URL origin.
  2. Comparison of `Origin.from(Worker)` tuple origins.
origin-from.any.js18 / 18 passingChrome 18 / 180 failedClean
Standing
Clean runner status OK
Chrome
Clean 18 / 18 WPT subtests passing runner status OK

/html/browsers/origin/api/origin-from.any.html OK 9 / 9

9 passing subtests
  1. Origin.from(null) throws a TypeError.
  2. Origin.from(undefined) throws a TypeError.
  3. Origin.from(1) throws a TypeError.
  4. Origin.from(1.1) throws a TypeError.
  5. Origin.from(true) throws a TypeError.
  6. Origin.from([object Object]) throws a TypeError.
  7. Origin.from(function Object() { [native code] }) throws a TypeError.
  8. Origin.from(function Origin() { [native code] }) throws a TypeError.
  9. Origin.from(function from() { [native code] }) throws a TypeError.

/html/browsers/origin/api/origin-from.any.worker.html OK 9 / 9

9 passing subtests
  1. Origin.from(null) throws a TypeError.
  2. Origin.from(undefined) throws a TypeError.
  3. Origin.from(1) throws a TypeError.
  4. Origin.from(1.1) throws a TypeError.
  5. Origin.from(true) throws a TypeError.
  6. Origin.from([object Object]) throws a TypeError.
  7. Origin.from(function Object() { [native code] }) throws a TypeError.
  8. Origin.from(function Origin() { [native code] }) throws a TypeError.
  9. Origin.from(function from() { [native code] }) throws a TypeError.

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.