rustwasm / weedle

A WebIDL Parser
MIT License
43 stars 27 forks source link

Implemented parsing of ExtendedAttributeWildcard #54

Closed rozbb closed 2 years ago

rozbb commented 2 years ago

This implements the correct parsing of extended attributes of the form Exposed=*, a.k.a., wildcard attributes. Previously, WebIDL with this syntax would cause a parsing error.

This PR unblocks https://github.com/rustwasm/wasm-bindgen/pull/3046 , which pulls in an interface with a wildcard extended attribute.

cc @alexcrichton