[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

Adam Barth <w3c@adambarth.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |w3c@adambarth.com

--- Comment #1 from Adam Barth <w3c@adambarth.com> 2012-08-21 20:06:08 UTC ---
> Should this be changed to "entry script" instead?

Entry script is incorrect.  I'm not sure what terms the spec uses, but it's the
script that actually called the function.  Consider the following runtime
stack:

Entry script, which calls...
function f defined in document A, which calls...
function g defined in document B, which calls...
function h defined in document C, which calls...
postMessage

The correct window object to use is the defaultView of document C.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 21 August 2012 20:06:10 UTC