You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getOriginalProperty doesn't allow a target that is a WebIDL prototype or constructor. So to use it to get a constant you have to get an instance of that interface and that as target.
None of the other APIs being introduced here return WebIDL constants.
The text was updated successfully, but these errors were encountered:
It's only important in the sense of making it simpler to write code using these primitives.
That said, I guess if you want to do Node.DOCUMENT_NODE you can get the original Node constructor and then just get its .DOCUMENT_NODE. It's non-configurable and non-writable so this is safe... as long as you know for sure it's there at all.
getOriginalProperty doesn't allow a target that is a WebIDL prototype or constructor. So to use it to get a constant you have to get an instance of that interface and that as target.
None of the other APIs being introduced here return WebIDL constants.
The text was updated successfully, but these errors were encountered: