Re: Non-IDL fragments in WebIDL

On 05/19/2016 07:23 PM, Jim Schaad wrote:
> So if I look at the first reference you have and move down to the example, it is doing some things with PrimaryGlobal and Global which we are not doing.  The current IDL has the [Exposed=(Window,Worker)] on the interfaces.  Are you saying that we should delete the implements statements?

It would be better to keep them - what precise error is testharness.js
giving you?
>
> I am afraid your mail is not clear on what we need do in terms of making changes.
>
> Jim
>
>
>> -----Original Message-----
>> From: Harry Halpin [mailto:hhalpin@w3.org]
>> Sent: Thursday, May 19, 2016 7:08 PM
>> To: public-webcrypto@w3.org; Jim Schaad <ietf@augustcellars.com>
>> Subject: Non-IDL fragments in WebIDL
>>
>> So for the IDL components in a WebIDL, (statements like  "Window implements
>> GlobalCrypto; WorkerGlobalScope implements GlobalCrypto;"
>>
>> We need to use
>>   https://www.w3.org/TR/WebIDL-1/#Exposed
>>
>> Here's an example:
>>
>> https://www.w3.org/TR/workers/#apis-available-to-workers
>>
>> Hope that works!
>>
>>    cheers,
>>        harry
>>
>
>

Received on Friday, 20 May 2016 14:57:04 UTC