[Bug 18242] Not clear what "script that invoked the method" means exactly. Should this be changed to "entry script" instead? If not, please specify what it means.

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #14 from Boris Zbarsky <bzbarsky@mit.edu> ---
> Assuming that the getter is the one calling, say, postMessage()

No, the case I'm thinking about is when the getter _is_ postMessage.  Or more
likely postMessage.bind(stuff).  Your changed text seems to say that in this
case the answer is C (maybe; in this case there is no SourceElements production
invoking postMessage at all; it's called directly from engine code implementing
bound methods), whereas I believe the correct answer should in fact be B.  Or
rather should be the origin of the postMessage method in question.

> It can arise on the Web platform too, with document.domain (at least, as it is
> implemented in WebKit/Blink-derived browsers and in IE).

Ah, I guess for purposes of the origin stuff in postMessage it can, indeed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 11 June 2013 21:55:31 UTC