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

[Bug 24248] New: Inconsistency between WebIDL callback function default this and JS strict mode default this

From: <bugzilla@jessica.w3.org>
Date: Thu, 09 Jan 2014 05:15:08 +0000
To: public-script-coord@w3.org
Message-ID: <bug-24248-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24248

            Bug ID: 24248
           Summary: Inconsistency between WebIDL callback function default
                    this and JS strict mode default this
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: nsm.nikhil@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

http://www.w3.org/TR/WebIDL/#es-invoking-callback-functions

When a JS callback is invoked, WebIDL specifies default `this` to be `null`,
but JS strict mode functions require that `this` be `undefined`.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 9 January 2014 05:15:10 UTC

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