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

[Bug 25025] New: Named creators with [OverrideBuiltins] don't work right as the spec is written now

From: <bugzilla@jessica.w3.org>
Date: Wed, 12 Mar 2014 21:20:42 +0000
To: public-script-coord@w3.org
Message-ID: <bug-25025-3890@http.www.w3.org/Bugs/Public/>

            Bug ID: 25025
           Summary: Named creators with [OverrideBuiltins] don't work
                    right as the spec is written now
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: bzbarsky@mit.edu
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

Consider an interface with a named creator and [OverrideBuiltins] (in fact, the
only interface with a named creator in the platform has that extended

When a set happens for a currently-nonexistent, per current spec
[[GetOwnProperty]] will return undefined.  Then the ES impl will go up the
proto chain looking for a setter, and if found call it.

That doesn't seem correct; we actually want to call the named creator in this

We should probably just override [[Put]] when we have a named creator.  And
maybe transition all this stuff to the ES6 MOP in the process...

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 12 March 2014 21:20:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:19 UTC