Re: More on workerStart

On Tue, Jun 2, 2015 at 10:51 AM, Boris Zbarsky <> wrote:
> On 6/2/15 1:28 PM, Ilya Grigorik wrote:
>> The workerStart attribute MUST return a DOMHighResTimeStamp
>> representing the difference between the time origin of WorkerGlobalScope
>> of the AbstractWorker the getter is invoked on, and the [time origin of
>> the
>> context][1] that started it.
> So what, exactly, does "the context that started it" mean?  The fundamental
> problem is that both "context" and "started it" are undefined.

Please don't do any operation for Shared Workers or Service Workers
based on which document started it. That is bound to break things once
a user opens multiple tabs and cause the same Shared Worker to be
reused by multiple documents.

/ Jonas

Received on Tuesday, 2 June 2015 18:00:30 UTC