Re: A new hack for singleton objects

On Wed, Mar 18, 2015 at 2:29 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> It'd make the most sense to me personally to use the origin of the global of
> the Realm of the requestPermission function.
>
> Except of course the HTML spec pretends like globals don't have origins,
> which is also singularly unhelpful....

I tried to figure out what a sensible follow up was for this thread,
but as far as I can tell we first need to improve the existing
situation around globals. For IDL that should maybe start with this
bug

  https://www.w3.org/Bugs/Public/show_bug.cgi?id=24652

and its dependencies.

My hope is that if we provide better infrastructure for authors of
specification it'll be easier to guide them towards using the right
globals and/or origins.


-- 
https://annevankesteren.nl/

Received on Monday, 30 March 2015 13:12:20 UTC