Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLocation is missing some exotic behaviors #25378
Open
Labels
Projects
Comments
|
servo/components/script/dom/bindings/proxyhandler.rs Lines 117 to 120 in 8002c6b WindowProxy has a special different get_prototype_if_ordinary to itself; Location must need one too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WPT html/browsers/history/the-location-interface/ has various tests that the Location exotic object does things in its own way, as https://html.spec.whatwg.org/multipage/history.html#the-location-interface warns us it must. Some of these tests fail, such as the ones that try to set its prototype. I don't know how much of this is codegen's responsibility and how much is Location::new_inherited's responsibility.