W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2014

Re: Determining what prototype should be used for an object

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Mon, 17 Nov 2014 21:14:12 -0500
Message-ID: <546AAB74.7030202@mit.edu>
To: public-script-coord@w3.org
On 11/17/14, 7:33 PM, Travis Leithead wrote:
> In IE, we always have two Realms to use at runtime when a DOM method
> needs to create objects: the caller’s realm (from the current call-chain
> provided by the script engine) and the ‘this’ object’s Realm.

Travis, I just want to check on something.  If I have script in window1 
that does:


then is the "caller's realm" in his case window1 or window2?

> Our design is fairly straightforward: if we are creating DOM objects we almost
> always use the ‘this’ object’s Realm.

OK.  What do you do in the get/createImageData testcase?

Received on Tuesday, 18 November 2014 02:14:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC