chromium/third_party/blink/web_tests/external/wpt/html/browsers/history/the-location-interface/location-tojson.html

<!DOCTYPE html>
<title>Location has no toJSON</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(() => {
  assert_equals(location.toJSON, undefined)
  assert_equals(Object.getOwnPropertyDescriptor(location, "toJSON"), undefined)
  assert_false(location.hasOwnProperty("toJSON"))
})
</script>
<!-- See https://github.com/whatwg/html/pull/2294 for context. (And the HTML Standard of course.) -->