W3C home > Mailing lists > Public > www-tag@w3.org > January 2014

Re: [promises] Guidance on the usage of promises for API developers

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 17 Jan 2014 12:52:56 +0100
Message-ID: <CADnb78iW4TE3LtcAuCRMoBTteHzmNxKkPGvxfYR9dknEtXMRcg@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Domenic Denicola <domenic@domenicdenicola.com>, "www-tag@w3.org" <www-tag@w3.org>, public-webapps <public-webapps@w3.org>
On Thu, Jan 16, 2014 at 7:56 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> Here's an example not involving promises that's currently underspecified, I
> believe:
>   window1.document.createElement.call(window2.document, "span");
> I've put the relevant testcase at
> http://web.mit.edu/bzbarsky/www/testcases/multiple-realms/createElement-1.html
> if you want to take a look.  Browsers consistently create the element in the
> realm of window2 in this case, but the DOM spec doesn't seem to actually
> define the behavior right now, unless I'm totally missing something.



Received on Friday, 17 January 2014 11:53:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:33:24 UTC