Re: [HighResolutionTime2] WorkerPerformance interface

On 8/18/14, 7:52 PM, James Simonsen wrote:
> Is there a simpler way to communicate this? Does Exposed work with
> partial interfaces?

Yes.  So you could do:

[Exposed=(Window,Worker)]
interface Performance : EventTarget {
   double now();
};

[Exposed=Window]
partial interface Performance {
   // Put the Window-only things here.
};

-Boris

Received on Tuesday, 19 August 2014 06:42:56 UTC