W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[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.

From: <bugzilla@jessica.w3.org>
Date: Tue, 21 Aug 2012 20:06:08 +0000
Message-Id: <E1T3uiG-0003eI-Uu@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 August 2012 20:06:10 GMT