-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@@toStringTag property attributes + general semantics #54
Comments
The interface vs interface prototype issue is covered by https://www.w3.org/Bugs/Public/show_bug.cgi?id=28244 |
I guess we'll try Erik's idea and see if it breaks anything |
Tangentially related to this thread: @bzbarsky given what you're saying in https://lists.w3.org/Archives/Public/public-script-coord/2015JulSep/0022.html --- Maybe Does that seem sensible, or too restrictive on same-origin objects? |
I don't see why we need anything unforgeable on Window at all. You do need something on cross-origin WindowProxy instances, of course. I think making same-origin access not do the right thing here would be quite confusing to consumers.... |
This got fixed in #357. |
I think we really need to define these. Matching the values on the builtin properties is probably good, because fewer inconsistencies between DOM & JS is good.
The other issue with these properties, is making
InterfacePrototype.@@toStringTag === "InterfacePrototype"
whileInterface.@@toStringTag === "Interface"
--- I don't believe we want to giveInterface
an instance property@@toStringTag
, so the alternative is making@@toStringTag
a getter which returns a distinct value depending on the receiver --- but this kind of sucks?So yeah, I don't think we have a good answer for these semantics right now. It's probably worth discussing it a bit
The text was updated successfully, but these errors were encountered: