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
The setters and getters listed in the IDL were misinterpreted as functions. For example, instead of there being a method named CSSNumericArray.CSSNumbericValue there is actually the ability to treat an instance of the interface as an array. In other words, CSSNumbericArray[n] would be a valid programming reference.
I shouldn't have removed @@iterator. The reason I thought it should be removed is because I'm still confused about. It doesn't look to me like you ever write this in a script. What you actually write is instanceVariable[Symbol.iterator](). Is so, then that's what needs to be in the BCD.
If we need to discuss that first, I'll happily put @@iterator back for now.
@jpmedley If you want to change the way BCD names the iterator symbol, then I think we need to take that up under a separate issue. The @@ notation for well-known symbols seems conventional within BCD and on MDN (see Array's @@iterator for an example); if we're going to change one, we ought to be consistent about it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:apiCompat data for Web APIs. https://developer.mozilla.org/docs/Web/API
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The corrects a few errors with some CSS interfaces.
None of them have
@@iteratorwhich must be present in the the IDL. They are in neither the spec, nor Chrome's implemention of it:The setters and getters listed in the IDL were misinterpreted as functions. For example, instead of there being a method named
CSSNumericArray.CSSNumbericValuethere is actually the ability to treat an instance of the interface as an array. In other words,CSSNumbericArray[n]would be a valid programming reference.