Re: [heycam/webidl] Add namespaces (#121)

> @@ -9935,7 +10088,8 @@ counter.value;                                           <span class='comment'>/
>                The <a class='xattr' href='#SecureContext'>[SecureContext]</a> extended attribute
>                <span class='rfc2119'>MUST NOT</span> be specified on both an interface
>                member and the interface or partial interface definition the
> -              interface member is declared on.
> +              interface member is declared within, or on both a namespace member and the namespace
> +              definition the namespace member is declared within.

Needs to mention partial namespaces.

But also, this is maybe changing the semantics.  With the new wording, this IDL:

    [SecureContext] interface Foo {};
    partial interface Foo {
      [SecureContext] void func();
    };

is allowed, I think, whereas I _think_ the intent is that it not be allowed or something.  Though it's not clear that the old language prohibited this either; the "declared on" concept is pretty vague.  :(

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/121/files/23ba5276699574269bd955c67d60bd6ce586337f#r76252969

Received on Thursday, 25 August 2016 14:26:16 UTC