Skip to content
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

Support for ExtendedAttributeIdentList (current editor's draft) #18

Closed
fkling opened this issue Nov 24, 2014 · 1 comment
Closed

Support for ExtendedAttributeIdentList (current editor's draft) #18

fkling opened this issue Nov 24, 2014 · 1 comment

Comments

@fkling
Copy link

fkling commented Nov 24, 2014

While parsing:

[Constructor(DOMString type, optional CustomEventInit eventInitDict),
 Exposed=(Window,Worker)]
interface CustomEvent : Event {
  readonly attribute any detail;

  void initCustomEvent(DOMString type, boolean bubbles, boolean cancelable, any detail);
};

(from https://dom.spec.whatwg.org/#customevent)

I'm getting the error

No right hand side to extended attribute assignment, line 1 (tokens: '(Window,Worker)')
[
    {
        "type": "other",
        "value": "("
    },
    {
        "type": "identifier",
        "value": "Window"
    },
    {
        "type": "other",
        "value": ","
    },
    {
        "type": "identifier",
        "value": "Worker"
    },
    {
        "type": "other",
        "value": ")"
    }
]

It seems like the parser doesn't support identifier lists as specified in the current editor's draft: http://heycam.github.io/webidl/#prod-ExtendedAttributeIdentList.

Are there plans to support the editor's draft?

@fkling fkling changed the title Support for ExtendedAttributeIdentList Support for ExtendedAttributeIdentList (current editor's draft) Nov 24, 2014
@darobin
Copy link
Member

darobin commented Dec 11, 2014

Can you try with the latest release? I reckon #20 ought to have solved that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants