Re: Privileged context features and JavaScript

It's preferable not to do that for us because you can then create a static
heap snapshot at compile time and memcpy to start JS contexts faster.
On Apr 17, 2015 12:03 AM, "Boris Zbarsky" <bzbarsky@mit.edu> wrote:

> On 4/17/15 2:52 AM, Boris Zbarsky wrote:
>
>> If that preference is toggled, we in fact remove the API entirely, so
>> that "'geolocation' in navigator" tests false.
>>
>
> Oh, I meant to mention: this is more web-compatible than having the API
> entrypoints throw, because it can be object-detected.  Of course we could
> have made the API entrypoints just always reject the request instead, I
> guess; removing the API altogether was somewhat simpler to do.
>
> -Boris
>
>
>

Received on Friday, 17 April 2015 07:38:38 UTC