html/browsers/origin/cross-origin-objects/

116 / 127 WPT subtests passing

Failed
11
Timed out
0
Not run
0
Test files
8
Blocking files
0

Chrome 110 / 127 WPT subtests passing on the same files, none blocking

Tests

8 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
cross-origin-due-to-document-domain-only.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Cross-origin due to document.domain
cross-origin-objects-function-caching.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. Cross-origin Window methods are cached
  2. Cross-origin Window accessors are cached
  3. Cross-origin Location `replace` method is cached
  4. Cross-origin Location `href` setter is cached
cross-origin-objects-function-length.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. Cross-origin Window methods have correct 'length'
  2. Cross-origin Window accessors have correct 'length'
  3. Cross-origin Location `replace` method has correct 'length'
  4. Cross-origin Location `href` setter has correct 'length'
cross-origin-objects-function-name.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. Cross-origin Window methods have correct 'name'
  2. Cross-origin Window accessors have correct 'name'
  3. Cross-origin Location `replace` method has correct 'name'
  4. Cross-origin Location `href` setter has correct 'name'
cross-origin-objects-on-new-window.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Cross-origin object identity preserved across document.domain
cross-origin-objects.html81 / 90 passingChrome 75 / 909 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 75 / 90 WPT subtests passing runner status OK
  1. FAIL[[SetPrototypeOf]] should return false (cross-origin)
    assert_throws_js: proto setter |call| on cross-origin Window function "function() { protoSetter.call(win, new Object()); }" threw object "SecurityError: Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame." ("SecurityError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
  2. FAIL[[SetPrototypeOf]] should return false (same-origin + document.domain)
    assert_throws_js: proto setter |call| on cross-origin Window function "function() { protoSetter.call(win, new Object()); }" threw object "SecurityError: Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame." ("SecurityError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
  3. FAIL[[SetPrototypeOf]] should return false (cross-site)
    assert_throws_js: proto setter |call| on cross-origin Window function "function() { protoSetter.call(win, new Object()); }" threw object "SecurityError: Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame." ("SecurityError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
  4. FAIL[[PreventExtensions]] should return false cross-origin objects (cross-origin)
    assert_throws_js: preventExtensions on cross-origin Window should throw function "function() { Object.preventExtensions(win) }" threw object "SecurityError: Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame." ("SecurityError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
  5. FAIL[[PreventExtensions]] should return false cross-origin objects (same-origin + document.domain)
    assert_throws_js: preventExtensions on cross-origin Window should throw function "function() { Object.preventExtensions(win) }" threw object "SecurityError: Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame." ("SecurityError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
  6. FAIL[[PreventExtensions]] should return false cross-origin objects (cross-site)
    assert_throws_js: preventExtensions on cross-origin Window should throw function "function() { Object.preventExtensions(win) }" threw object "SecurityError: Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame." ("SecurityError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
  7. FAILCan only enumerate safelisted enumerable properties (cross-origin)
    assert_equals: Enumerate all enumerable safelisted cross-origin Window properties expected 2 but got 0
  8. FAILCan only enumerate safelisted enumerable properties (same-origin + document.domain)
    assert_equals: Enumerate all enumerable safelisted cross-origin Window properties expected 2 but got 0
  9. FAILCan only enumerate safelisted enumerable properties (cross-site)
    assert_equals: Enumerate all enumerable safelisted cross-origin Window properties expected 2 but got 0
81 passing subtests
  1. Basic sanity-checking (cross-origin)
  2. Basic sanity-checking (same-origin + document.domain)
  3. Basic sanity-checking (cross-site)
  4. Only certain properties are accessible cross-origin (cross-origin)
  5. Only certain properties are accessible cross-origin (same-origin + document.domain)
  6. Only certain properties are accessible cross-origin (cross-site)
  7. Only certain properties are usable as cross-origin this objects (cross-origin)
  8. Only certain properties are usable as cross-origin this objects (same-origin + document.domain)
  9. Only certain properties are usable as cross-origin this objects (cross-site)
  10. [[GetPrototypeOf]] should return null (cross-origin)
  11. [[GetPrototypeOf]] should return null (same-origin + document.domain)
  12. [[GetPrototypeOf]] should return null (cross-site)
  13. [[IsExtensible]] should return true for cross-origin objects (cross-origin)
  14. [[IsExtensible]] should return true for cross-origin objects (same-origin + document.domain)
  15. [[IsExtensible]] should return true for cross-origin objects (cross-site)
  16. [[GetOwnProperty]] - Properties on cross-origin objects should be reported |own| (cross-origin)
  17. [[GetOwnProperty]] - Properties on cross-origin objects should be reported |own| (same-origin + document.domain)
  18. [[GetOwnProperty]] - Properties on cross-origin objects should be reported |own| (cross-site)
  19. [[GetOwnProperty]] - Property descriptors for cross-origin properties should be set up correctly (cross-origin)
  20. [[GetOwnProperty]] - Property descriptors for cross-origin properties should be set up correctly (same-origin + document.domain)
  21. [[GetOwnProperty]] - Property descriptors for cross-origin properties should be set up correctly (cross-site)
  22. [[GetOwnProperty]] - Subframe named 'then' should shadow the default 'then' value (cross-origin)
  23. [[GetOwnProperty]] - Subframe named 'then' should shadow the default 'then' value (same-origin + document.domain)
  24. [[GetOwnProperty]] - Subframe named 'then' should shadow the default 'then' value (cross-site)
  25. [[GetOwnProperty]] - Subframes should be visible cross-origin only if their names don't match the names of cross-origin-exposed IDL properties (cross-origin)
  26. [[GetOwnProperty]] - Subframes should be visible cross-origin only if their names don't match the names of cross-origin-exposed IDL properties (same-origin + document.domain)
  27. [[GetOwnProperty]] - Subframes should be visible cross-origin only if their names don't match the names of cross-origin-exposed IDL properties (cross-site)
  28. [[GetOwnProperty]] - Should be able to get a property descriptor for an indexed property only if it corresponds to a child window. (cross-origin)
  29. [[GetOwnProperty]] - Should be able to get a property descriptor for an indexed property only if it corresponds to a child window. (same-origin + document.domain)
  30. [[GetOwnProperty]] - Should be able to get a property descriptor for an indexed property only if it corresponds to a child window. (cross-site)
  31. [[Delete]] Should throw on cross-origin objects (cross-origin)
  32. [[Delete]] Should throw on cross-origin objects (same-origin + document.domain)
  33. [[Delete]] Should throw on cross-origin objects (cross-site)
  34. [[DefineOwnProperty]] Should throw for cross-origin objects (cross-origin)
  35. [[DefineOwnProperty]] Should throw for cross-origin objects (same-origin + document.domain)
  36. [[DefineOwnProperty]] Should throw for cross-origin objects (cross-site)
  37. [[OwnPropertyKeys]] should return all properties from cross-origin objects (cross-origin)
  38. [[OwnPropertyKeys]] should return all properties from cross-origin objects (same-origin + document.domain)
  39. [[OwnPropertyKeys]] should return all properties from cross-origin objects (cross-site)
  40. [[OwnPropertyKeys]] should return the right symbol-named properties for cross-origin objects (cross-origin)
  41. [[OwnPropertyKeys]] should return the right symbol-named properties for cross-origin objects (same-origin + document.domain)
  42. [[OwnPropertyKeys]] should return the right symbol-named properties for cross-origin objects (cross-site)
  43. [[OwnPropertyKeys]] should place the symbols after the property names after the subframe indices (cross-origin)
  44. [[OwnPropertyKeys]] should place the symbols after the property names after the subframe indices (same-origin + document.domain)
  45. [[OwnPropertyKeys]] should place the symbols after the property names after the subframe indices (cross-site)
  46. [[OwnPropertyKeys]] should not reorder where 'then' appears if it's a named subframe, nor add another copy of 'then' (cross-origin)
  47. [[OwnPropertyKeys]] should not reorder where 'then' appears if it's a named subframe, nor add another copy of 'then' (same-origin + document.domain)
  48. [[OwnPropertyKeys]] should not reorder where 'then' appears if it's a named subframe, nor add another copy of 'then' (cross-site)
  49. A and B jointly observe the same identity for cross-origin Window and Location (cross-origin)
  50. A and B jointly observe the same identity for cross-origin Window and Location (same-origin + document.domain)
  51. A and B jointly observe the same identity for cross-origin Window and Location (cross-site)
  52. Cross-origin functions get local Function.prototype (cross-origin)
  53. Cross-origin functions get local Function.prototype (same-origin + document.domain)
  54. Cross-origin functions get local Function.prototype (cross-site)
  55. Cross-origin Window accessors get local Function.prototype (cross-origin)
  56. Cross-origin Window accessors get local Function.prototype (same-origin + document.domain)
  57. Cross-origin Window accessors get local Function.prototype (cross-site)
  58. Same-origin observers get different functions for cross-origin objects (cross-origin)
  59. Same-origin observers get different functions for cross-origin objects (same-origin + document.domain)
  60. Same-origin observers get different functions for cross-origin objects (cross-site)
  61. Same-origin observers get different accessors for cross-origin Window (cross-origin)
  62. Same-origin observers get different accessors for cross-origin Window (same-origin + document.domain)
  63. Same-origin observers get different accessors for cross-origin Window (cross-site)
  64. Same-origin observers get different accessors for cross-origin Location (cross-origin)
  65. Same-origin observers get different accessors for cross-origin Location (same-origin + document.domain)
  66. Same-origin observers get different accessors for cross-origin Location (cross-site)
  67. {}.toString.call() does the right thing on cross-origin objects (cross-origin)
  68. {}.toString.call() does the right thing on cross-origin objects (same-origin + document.domain)
  69. {}.toString.call() does the right thing on cross-origin objects (cross-site)
  70. Resolving a promise with a cross-origin window without a 'then' subframe should work (cross-origin)
  71. Resolving a promise with a cross-origin window without a 'then' subframe should work (same-origin + document.domain)
  72. Resolving a promise with a cross-origin window without a 'then' subframe should work (cross-site)
  73. Resolving a promise with a cross-origin window with a 'then' subframe should work (cross-origin)
  74. Resolving a promise with a cross-origin window with a 'then' subframe should work (same-origin + document.domain)
  75. Resolving a promise with a cross-origin window with a 'then' subframe should work (cross-site)
  76. Resolving a promise with a cross-origin location should work (cross-origin)
  77. Resolving a promise with a cross-origin location should work (same-origin + document.domain)
  78. Resolving a promise with a cross-origin location should work (cross-site)
  79. LegacyLenientThis behavior (cross-origin)
  80. LegacyLenientThis behavior (same-origin + document.domain)
  81. LegacyLenientThis behavior (cross-site)
location-properties-smoke-test.window.js12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?assign OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'assign' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?customproperty OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'customproperty' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?hash OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'hash' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?host OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'host' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?hostname OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'hostname' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?pathname OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'pathname' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?port OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'port' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?protocol OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'protocol' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?reload OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'reload' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?search OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'search' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?toString OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'toString' is restricted

/html/browsers/origin/cross-origin-objects/location-properties-smoke-test.window.html?valueOf OK 1 / 1

1 passing subtest
  1. Verifying that cross-origin access of 'valueOf' is restricted
window-location-and-location-href-cross-realm-set.html9 / 11 passingChrome 9 / 112 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 9 / 11 WPT subtests passing runner status OK
  1. FAILCross-origin window.location setter throws TypeError in lexical realm on invalid |this| value
    assert_throws_js: function "() => { Object.create(crossOriginWindow).location = URL_VALID; }" did not throw
  2. FAILCross-origin location.href setter throws TypeError in lexical realm on invalid |this| value
    assert_throws_js: function "() => { Object.create(crossOriginWindow.location).href = URL_VALID; }" did not throw
9 passing subtests
  1. Same-origin window.location getter throws TypeError in holder's realm on invalid |this| value
  2. Same-origin location.href getter throws TypeError in holder's realm on invalid |this| value
  3. Cross-origin location.href getter throws SecurityError in lexical realm
  4. Same-origin window.location setter throws TypeError in holder's realm on invalid |this| value
  5. Same-origin location.href setter throws TypeError in holder's realm on invalid |this| value
  6. Same-origin window.location` setter throws TypeError in holder's realm on non-coercible URL argument
  7. Same-origin location.href setter throws TypeError in holder's realm on non-coercible URL argument
  8. Cross-origin window.location setter throws TypeError in lexical realm on non-coercible URL argument
  9. Cross-origin location.href setter throws TypeError in lexical realm on non-coercible URL argument

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.