This is a testharness.js-based test.
[FAIL] Cross-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
[FAIL] Cross-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
Harness: the test ran to completion.