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 upwindow[0] is throwing an SyntaxError #24943
Closed
Labels
Projects
Comments
|
This is caused by the missing indexed getter: |
|
That being said, the spec doesn't include an indexed getter on the Window interface, and instead includes the GetOwnProperty spec text for WindowProxy: https://html.spec.whatwg.org/multipage/window-object.html#windowproxy-getownproperty |
|
I am mistaken here; the window[0] part is getting /something/ back, and then something else goes wrong later in the same line. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WPT xhr/open-url-multi-window-* and xhr/open-url-about-blank-window try to find an iframe as self[0], where self is window, and throw "The string did not match the expected pattern." which is defined in script/dom/domexception.rs as the SyntaxError message.