html/browsers/history/the-location-interface/
281 / 288 WPT subtests passing
- Failed
- 7
- Timed out
- 0
- Not run
- 0
- Test files
- 66
- Blocking files
- 0
Chrome 240 / 288 WPT subtests passing on the same files, 2 blocking, 1 without a result
Tests
66 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
allow_prototype_cycle_through_location.sub.html 1 / 4 passingChrome 1 / 43 failedWith failures
- ¶
FAILsame-origin, same-window location cycle
Immutable prototype object '#<Location>' cannot have their prototype set
- ¶
FAILsame-origin, different-window location cycle
Immutable prototype object '[object Location]' cannot have their prototype set
- ¶
FAILcross-origin, but joined via document.domain, location cycle
Immutable prototype object '[object Location]' cannot have their prototype set
1 passing subtest
- cross-origin location has null prototype
assign-replace-from-iframe.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Browser sends Referer header in iframe request when location.replace is called from an iframe
- Browser sends Referer header in iframe request when location.assign is called from an iframe
assign-replace-from-top-to-nested-iframe.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Browser sends Referer header in nested iframe request when location.replace is called on an iframe
- Browser sends Referer header in nested iframe request when location.assign is called on an iframe
assign-with-nested-iframe.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Browser sends Referer header when location.assign is called in iframe document on another nested iframe element
assign_after_load.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Assignment to location after document is completely loaded
assign_before_load.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Assignment to location before document is completely loaded
create-script-set-location.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Setting href in appended script still creates history entry
cross-origin-location-stringify-crash.sub.html none reportedChrome —0 failedClean
/html/browsers/history/the-location-interface/cross-origin-location-stringify-crash.sub.html PASS none reported
No subtests were reported.
document_location.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- document not in a browsing context
- document.location equals window.location
- Attribute getter deduplication
- Attribute setter deduplication
location-ancestor-origins-csp-sandbox.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A1 -> C1 (sandbox in its CSP) -> B1 -> C2
location-ancestor-origins-inactive-document.sub.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- location.ancestorOrigins returns empty list after iframe is removed and referenced Location's relevant document is null
- location.ancestorOrigins returns empty list when iframe navigated away and referenced Location's relevant document is null
location-ancestor-origins-new-object.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location.ancestorOrigins new object semantics
location-ancestor-origins-redirect-still-mask.sub.html 16 / 16 passingChrome 4 / 160 failedClean
16 passing subtests
- no-referrer masks ancestorOrigins after same-origin 301 redirect
- no-referrer masks ancestorOrigins after same-origin 302 redirect
- no-referrer masks ancestorOrigins after same-origin 307 redirect
- no-referrer masks ancestorOrigins after same-origin 308 redirect
- no-referrer masks ancestorOrigins after cross-origin 301 redirect
- no-referrer masks ancestorOrigins after cross-origin 302 redirect
- no-referrer masks ancestorOrigins after cross-origin 307 redirect
- no-referrer masks ancestorOrigins after cross-origin 308 redirect
- testing referrerpolicy="same-origin" masking after 301 redirect for iframe of same-origin
- testing referrerpolicy="same-origin" masking after 302 redirect for iframe of same-origin
- testing referrerpolicy="same-origin" masking after 307 redirect for iframe of same-origin
- testing referrerpolicy="same-origin" masking after 308 redirect for iframe of same-origin
- testing referrerpolicy="same-origin" masking after 301 redirect for iframe of cross-origin
- testing referrerpolicy="same-origin" masking after 302 redirect for iframe of cross-origin
- testing referrerpolicy="same-origin" masking after 307 redirect for iframe of cross-origin
- testing referrerpolicy="same-origin" masking after 308 redirect for iframe of cross-origin
location-ancestor-origins-referrerpolicy-snapshot.html 2 / 2 passingChrome 0 / 20 failedClean
2 passing subtests
- location.ancestorOrigins snapshot timing of referrerpolicy
- location.ancestorOrigins snapshot timing of referrerpolicy 1
location-ancestor-origins-referrerpolicy-unsupported-elements.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- <frame> with referrerpolicy='no-referrer' does not mask initial about:blank ancestorOrigins
- <object> with referrerpolicy='no-referrer' ancestorOrigins must strictly equal [window.origin]
- <embed> does not expose contentWindow on initial about:blank
location-ancestor-origins.sub.html 16 / 16 passingChrome 9 / 160 failedClean
16 passing subtests
- test A1 -> B1 (no-referrer in response header) -> C1 -> B2
- test A1 -> A2 (no-referrer in response header) -> B1 -> C1
- test no-referrer attribute on iframe for iframe containing B1
- test default referrer policy, A1 -> B1 -> A2
- test toggle of masked A1 -> B1 iframe for A2 sets no-referrer -> A2
- test of toggle of masked at first origin != parentDocOrigin, A1 -> B1 -> B2 -> A2
- test sandboxed iframe in A1, A1 iframe attribute sandbox -> C1 -> B1 -> C2
- Test same-origin referrer policy, A1 -> B1 -> A2 iframe attribute same-origin -> B2
- Test that mutating the iframe referrerpolicy attribute of B1 before creation of B2 does not impact the hiding/non-hiding when creating a grandchild browsing context (keep null)
- Test that mutating the iframe referrerpolicy attribute does not impact the hiding/non-hiding when creating a grandchild browsing context (keep origins)
- Test that tightening policy using meta, does not affect list
- Test that loosening policy in policy container has no effect.
- about:blank's location.ancestorOrigin policy=null
- about:blank's location.ancestorOrigin policy=no-referrer
- A -> about:blank -> B1 -> B2
- A -> about:blank, that set iframe referrer policy=no-referrer -> B1 -> B2
location-encoding-parse.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- location.replace() should use document encoding (windows-1252)
- location.assign() should use document encoding (windows-1252)
- location.href setter should use document encoding (windows-1252)
location-getters-about-blank.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Location properties on an about:blank page
location-hash-about-blank.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Setting hash on an about:blank iframe location
location-hash-setter-empty-string.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Location hash setter with the empty string
location-non-configurable-toString-valueOf.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- 'toString' redefinition with accessor fails
- 'valueOf' redefinition with accessor fails
location-origin-idna.sub.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that location.origin returns ASCII
location-pathname-setter-question-mark.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Set location.pathname to ?
location-prevent-extensions.html 2 / 2 passingChrome 0 / 20 failedClean
2 passing subtests
- Object.preventExtensions throws a TypeError
- Reflect.preventExtensions returns false
location-protocol-setter-non-broken-weird.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Set location.protocol to x
- Set location.protocol to data
- Set location.protocol to file
- Set location.protocol to ftp
- Set location.protocol to http+x
location-protocol-setter-non-broken.html 10 / 10 passingChrome 9 / 100 failedClean
10 passing subtests
- Set HTTP URL frame location.protocol to x
- Set data URL frame location.protocol to x
- Set HTTP URL frame location.protocol to data
- Set data URL frame location.protocol to data
- Set HTTP URL frame location.protocol to file
- Set data URL frame location.protocol to file
- Set HTTP URL frame location.protocol to ftp
- Set data URL frame location.protocol to ftp
- Set HTTP URL frame location.protocol to http+x
- Set data URL frame location.protocol to http+x
location-protocol-setter-sameish.html 4 / 4 passingChrome 1 / 40 failedClean
4 passing subtests
- Set location.protocol to http (percent-encoded here for clarity)
- Set location.protocol to ht%0Atp (percent-encoded here for clarity)
- Set location.protocol to http%0A (percent-encoded here for clarity)
- Set location.protocol to %09ht%09%0AtP (percent-encoded here for clarity)
location-protocol-setter-with-colon.sub.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- General setup
- Set location.protocol = location.protocol
- Set location.protocol to http:gunk
location-protocol-setter.html 48 / 48 passingChrome 48 / 480 failedClean
48 passing subtests
- %00 (percent-encoded here for clarity) is not a scheme
- %01 (percent-encoded here for clarity) is not a scheme
- %09 (percent-encoded here for clarity) is not a scheme
- %0A (percent-encoded here for clarity) is not a scheme
- %0C (percent-encoded here for clarity) is not a scheme
- %0D (percent-encoded here for clarity) is not a scheme
- %20 (percent-encoded here for clarity) is not a scheme
- ! (percent-encoded here for clarity) is not a scheme
- %7F (percent-encoded here for clarity) is not a scheme
- %C2%80 (percent-encoded here for clarity) is not a scheme
- %C3%BF (percent-encoded here for clarity) is not a scheme
- : (percent-encoded here for clarity) is not a scheme
- %C3%A2%E2%82%AC%C2%A0 (percent-encoded here for clarity) is not a scheme
- %00x (percent-encoded here for clarity) is not a scheme
- %01x (percent-encoded here for clarity) is not a scheme
- %20x (percent-encoded here for clarity) is not a scheme
- !x (percent-encoded here for clarity) is not a scheme
- %7Fx (percent-encoded here for clarity) is not a scheme
- %C2%80x (percent-encoded here for clarity) is not a scheme
- %C3%BFx (percent-encoded here for clarity) is not a scheme
- :x (percent-encoded here for clarity) is not a scheme
- %C3%A2%E2%82%AC%C2%A0x (percent-encoded here for clarity) is not a scheme
- %00X (percent-encoded here for clarity) is not a scheme
- %01X (percent-encoded here for clarity) is not a scheme
- %20X (percent-encoded here for clarity) is not a scheme
- !X (percent-encoded here for clarity) is not a scheme
- %7FX (percent-encoded here for clarity) is not a scheme
- %C2%80X (percent-encoded here for clarity) is not a scheme
- %C3%BFX (percent-encoded here for clarity) is not a scheme
- :X (percent-encoded here for clarity) is not a scheme
- %C3%A2%E2%82%AC%C2%A0X (percent-encoded here for clarity) is not a scheme
- x%00 (percent-encoded here for clarity) is not a scheme
- x%01 (percent-encoded here for clarity) is not a scheme
- x%20 (percent-encoded here for clarity) is not a scheme
- x! (percent-encoded here for clarity) is not a scheme
- x%7F (percent-encoded here for clarity) is not a scheme
- x%C2%80 (percent-encoded here for clarity) is not a scheme
- x%C3%BF (percent-encoded here for clarity) is not a scheme
- x%C3%A2%E2%82%AC%C2%A0 (percent-encoded here for clarity) is not a scheme
- X%00 (percent-encoded here for clarity) is not a scheme
- X%01 (percent-encoded here for clarity) is not a scheme
- X%20 (percent-encoded here for clarity) is not a scheme
- X! (percent-encoded here for clarity) is not a scheme
- X%7F (percent-encoded here for clarity) is not a scheme
- X%C2%80 (percent-encoded here for clarity) is not a scheme
- X%C3%BF (percent-encoded here for clarity) is not a scheme
- X%C3%A2%E2%82%AC%C2%A0 (percent-encoded here for clarity) is not a scheme
- Equivalent tests for data URL and srcdoc <iframe>s
location-prototype-no-toString-valueOf.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- 'toString' accessor property is defined
- 'toString' data property is created via [[Set]]
- 'valueOf' accessor property is defined
- 'valueOf' data property is created via [[Set]]
location-prototype-setting-cross-origin-domain.sub.html 8 / 8 passingChrome 4 / 80 failedClean
8 passing subtests
- Cross-origin via document.domain: the prototype is null
- Cross-origin via document.domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError
- Cross-origin via document.domain: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException
- Cross-origin via document.domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false
- Cross-origin via document.domain: the prototype must still be null
- Cross-origin via document.domain: setting the prototype to null via Object.setPrototypeOf should not throw
- Cross-origin via document.domain: setting the prototype to null via __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty
- Cross-origin via document.domain: setting the prototype to null via Reflect.setPrototypeOf should return true
location-prototype-setting-cross-origin.sub.html 8 / 8 passingChrome 4 / 80 failedClean
8 passing subtests
- Cross-origin: the prototype is null
- Cross-origin: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError
- Cross-origin: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException
- Cross-origin: setting the prototype to an empty object via Reflect.setPrototypeOf should return false
- Cross-origin: the prototype must still be null
- Cross-origin: setting the prototype to null via Object.setPrototypeOf should not throw
- Cross-origin: setting the prototype to null via __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty
- Cross-origin: setting the prototype to null via Reflect.setPrototypeOf should return true
location-prototype-setting-goes-cross-origin-domain.sub.html 12 / 12 passingChrome 6 / 120 failedClean
12 passing subtests
- Same-origin (for now): the prototype is accessible
- Became cross-origin via document.domain: the prototype is now null
- Became cross-origin via document.domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError
- Became cross-origin via document.domain: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException
- Became cross-origin via document.domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false
- Became cross-origin via document.domain: the prototype must still be null
- Became cross-origin via document.domain: setting the prototype to null via Object.setPrototypeOf should not throw
- Became cross-origin via document.domain: setting the prototype to null via __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty
- Became cross-origin via document.domain: setting the prototype to null via Reflect.setPrototypeOf should return true
- Became cross-origin via document.domain: setting the prototype to the original value from before going cross-origin via Object.setPrototypeOf should throw a TypeError
- Became cross-origin via document.domain: setting the prototype to the original value from before going cross-origin via __proto__ should throw a "SecurityError" DOMException
- Became cross-origin via document.domain: setting the prototype to the original value from before going cross-origin via Reflect.setPrototypeOf should return false
location-prototype-setting-same-origin-domain.sub.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Same-origin-domain prerequisite check: the original prototype is accessible
- Same-origin-domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError
- Same-origin-domain: setting the prototype to an empty object via __proto__ should throw a TypeError
- Same-origin-domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false
- Same-origin-domain: the prototype must still be its original value
- Same-origin-domain: setting the prototype to its original value via Object.setPrototypeOf should not throw
- Same-origin-domain: setting the prototype to its original value via __proto__ should not throw
- Same-origin-domain: setting the prototype to its original value via Reflect.setPrototypeOf should return true
location-prototype-setting-same-origin.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Same-origin prerequisite check: the original prototype is accessible
- Same-origin: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError
- Same-origin: setting the prototype to an empty object via __proto__ should throw a TypeError
- Same-origin: setting the prototype to an empty object via Reflect.setPrototypeOf should return false
- Same-origin: the prototype must still be its original value
- Same-origin: setting the prototype to its original value via Object.setPrototypeOf should not throw
- Same-origin: setting the prototype to its original value via __proto__ should not throw
- Same-origin: setting the prototype to its original value via Reflect.setPrototypeOf should return true
location-replace-cross-site.html 10 / 10 passingChrome 9 / 100 failedClean
10 passing subtests
- location.replace() of a cross-site iframe
- location.replace() of a cross-site iframe to a same-origin URL
- location.replace() of a same-origin iframe to a cross-site URL
- location.replace() of a cross-site iframe by its sibling
- location.replace() of a popup by its cross-site child
- location.replace() of a cross-site popup
- location.replace() of a popup by the cross-site popup it opened
- Setting location.href of a cross-site iframe
- Setting location.href of a cross-site popup
- Setting location.href of a cross-site iframe that is not completely loaded
location-stringifier.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Location stringifier
- Location stringifier 1
- Location stringifier 2
- Location stringifier 3
- Location stringifier 4
- Location stringifier 5
location-symbol-toprimitive.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Location Symbol.toPrimitive
location-tojson.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Location has no toJSON
location-valueof.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Location valueOf
location_assign.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- location assign
- URL that fails to parse
location_assign_about_blank.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location.assign with initial about:blank browsing context
location_hash.html 5 / 6 passingChrome 6 / 61 failedWith failures
- ¶
FAILSetting location.hash on srcdoc iframe
assert_true: Should have scrolled by more than one viewport height expected true got false
5 passing subtests
- location hash
- Setting hash should automatically include hash character
- Setting hash should encode incompatible characters
- Setting hash to an already encoded value should not double encode it
- Setting hash which is partially encoded should only encode incompatible characters
location_hash_set_empty_string.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.location.hash is an empty string
location_hashchange_infinite_loop.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Setting window.location.hash to same value while handling hashchange event shouldn't cause an infinite loop.
location_host.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location host
location_hostname.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location hostname
location_href.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location href
location_origin.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location origin
location_pathname.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location pathname
location_port.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location port
location_protocol.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location protocol
location_reload.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location_reload
location_reload_javascript_url.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- location_reload_javascript_url
location_replace.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- location replace
- URL that fails to parse
location_search.html 1 / 2 passingChrome 2 / 21 failedWith failures
- ¶
FAILlocation.search on about:blank
assert_equals: expected "?foo" but got ""
1 passing subtest
- location search
no-browsing-context.window.js 46 / 46 passingChrome 46 / 460 failedClean
46 passing subtests
- Window and Location are 1:1 after browsing context removal
- Setting `href` to `https://example.com/` of a `Location` object sans browsing context is a no-op
- Setting `href` to `/` of a `Location` object sans browsing context is a no-op
- Setting `href` to `http://test:test/` of a `Location` object sans browsing context is a no-op
- Setting `href` to `test test` of a `Location` object sans browsing context is a no-op
- Setting `href` to `test:test` of a `Location` object sans browsing context is a no-op
- Setting `href` to `chrome:fail` of a `Location` object sans browsing context is a no-op
- Setting `protocol` to `http` of a `Location` object sans browsing context is a no-op
- Setting `protocol` to `about` of a `Location` object sans browsing context is a no-op
- Setting `protocol` to `test` of a `Location` object sans browsing context is a no-op
- Setting `host` to `example.com` of a `Location` object sans browsing context is a no-op
- Setting `host` to `test test` of a `Location` object sans browsing context is a no-op
- Setting `host` to `()` of a `Location` object sans browsing context is a no-op
- Setting `hostname` to `example.com` of a `Location` object sans browsing context is a no-op
- Setting `port` to `80` of a `Location` object sans browsing context is a no-op
- Setting `port` to `` of a `Location` object sans browsing context is a no-op
- Setting `port` to `443` of a `Location` object sans browsing context is a no-op
- Setting `port` to `notaport` of a `Location` object sans browsing context is a no-op
- Setting `pathname` to `/` of a `Location` object sans browsing context is a no-op
- Setting `pathname` to `x` of a `Location` object sans browsing context is a no-op
- Setting `search` to `test` of a `Location` object sans browsing context is a no-op
- Setting `hash` to `test` of a `Location` object sans browsing context is a no-op
- Setting `hash` to `#` of a `Location` object sans browsing context is a no-op
- Getting `origin` of a `Location` object sans browsing context should be "null"
- Invoking `assign` with `about:blank` on a `Location` object sans browsing context is a no-op
- Invoking `assign` with `https://example.com/` on a `Location` object sans browsing context is a no-op
- Invoking `assign` with `/` on a `Location` object sans browsing context is a no-op
- Invoking `assign` with `http://test:test/` on a `Location` object sans browsing context is a no-op
- Invoking `assign` with `test test` on a `Location` object sans browsing context is a no-op
- Invoking `assign` with `test:test` on a `Location` object sans browsing context is a no-op
- Invoking `assign` with `chrome:fail` on a `Location` object sans browsing context is a no-op
- Invoking `replace` with `about:blank` on a `Location` object sans browsing context is a no-op
- Invoking `replace` with `https://example.com/` on a `Location` object sans browsing context is a no-op
- Invoking `replace` with `/` on a `Location` object sans browsing context is a no-op
- Invoking `replace` with `http://test:test/` on a `Location` object sans browsing context is a no-op
- Invoking `replace` with `test test` on a `Location` object sans browsing context is a no-op
- Invoking `replace` with `test:test` on a `Location` object sans browsing context is a no-op
- Invoking `replace` with `chrome:fail` on a `Location` object sans browsing context is a no-op
- Invoking `reload` with `about:blank` on a `Location` object sans browsing context is a no-op
- Invoking `reload` with `https://example.com/` on a `Location` object sans browsing context is a no-op
- Invoking `reload` with `/` on a `Location` object sans browsing context is a no-op
- Invoking `reload` with `http://test:test/` on a `Location` object sans browsing context is a no-op
- Invoking `reload` with `test test` on a `Location` object sans browsing context is a no-op
- Invoking `reload` with `test:test` on a `Location` object sans browsing context is a no-op
- Invoking `reload` with `chrome:fail` on a `Location` object sans browsing context is a no-op
- Getting `ancestorOrigins` of a `Location` object sans browsing context should be []
per-global.window.js 4 / 4 passingChrome 3 / 40 failedClean
4 passing subtests
- Navigating from the transient about:blank must not replace window.location
- Navigating from the initial about:blank must not replace window.location
- Discarding the browsing context must not change window.location
- document.open() must not replace window.location
reload_document_open_write.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Reload document with document.open and document.written content
reload_document_write.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Reload document with document.written content
reload_document_write_onload.html 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
a top-level location.reload() made while the earlier one is still queued or running replaces it, so the popup's document loads twice in all (4 messages: original, written, original, written) where the test expects 3, exactly as in Chrome, Firefox and Safari ("lengths differ ... length 4" in all three); HTML's traversal queue would run both reloads (6)
- Crane matches
- Chrome, Firefox, Safari
- Chrome
- wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Ruling
- golden rule 2, the browsers agreeing with no newer spec: the integrator, 2026-11-19 9:50 AM ET (lane blk4), superseding the 2026-10-28 line that kept location.reload() on the spec's queue
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILReload document with document.written content written in load event
assert_array_equals: lengths differ, expected array ["original", "written", "written"] length 3, got ["original", "written", "original", "written"] length 4
replace-with-nested-iframe.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Browser sends Referer header when location.replace is called in iframe document on another nested iframe element
scripted_click_assign_during_load.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Assignment to location with click during load
scripted_click_location_assign_during_load.html 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
a location.assign() made from a scripted click during load replaces the current entry, as in Chrome and Firefox ("expected 2 but got 1" in all three); Safari fails at a different count (3 expected, 2)
- Crane matches
- Chrome, Firefox
- Chrome
- wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILlocation.assign with click during load
assert_equals: expected 2 but got 1
scripted_form_submit_assign_during_load.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Assignment to location with form submit during load
security_location_0.htm 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Accessing location object from different origins doesn't raise SECURITY_ERR exception