Revert "Explicitly ignore "Exposed" attributes"

This reverts commit 81150492a5.
This commit is contained in:
Alex Crichton 2018-07-20 12:15:25 -07:00
parent 13cee9e264
commit cc8e7edd83

View File

@ -353,14 +353,6 @@ impl<'a> WebidlParse<&'a webidl::ast::NonPartialInterface> for webidl::ast::Exte
{
add_constructor(arguments, &interface.name)
}
webidl::ast::ExtendedAttribute::IdentifierList(
webidl::ast::IdentifierListExtendedAttribute { lhs, .. },
)
if lhs == "Exposed" =>
{
// ignore these attributes for now, we just splat everything in
// the crate whether it's workable in a web worker or not.
}
webidl::ast::ExtendedAttribute::NoArguments(webidl::ast::Other::Identifier(name))
if name == "Constructor" =>
{