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

[Bug 27301] New: Define context variables, such as "context object"

From: <bugzilla@jessica.w3.org>
Date: Tue, 11 Nov 2014 11:47:07 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27301-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27301

            Bug ID: 27301
           Summary: Define context variables, such as "context object"
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: annevk@annevk.nl
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

The current flow is:

  JavaScript -> IDL -> API spec -> IDL -> JavaScript

I think it would be useful if IDL defined a bit more explicitly what the API
spec has access to. E.g. one thing we often stumble with is something DOM calls
the "context object". Perhaps IDL could "invent" something named "this" and
hand that to the API spec.

Another thing we might need access to is the Realm. It has been suggested to
base origin checks on that. (Although in that case IDL would also need to make
it clear what the origin is of a Realm, as JavaScript doesn't do that.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 11 November 2014 11:47:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:52 UTC