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

[Bug 26521] New: [[GetOwnProperty]] behavior for named properties is not web-compatible

From: <bugzilla@jessica.w3.org>
Date: Tue, 05 Aug 2014 01:31:44 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26521-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26521

            Bug ID: 26521
           Summary: [[GetOwnProperty]] behavior for named properties is
                    not web-compatible
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: critical
          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

For example, this case:

  <form>
    <input name="action">
  </form>

should return the input when you do form.action but should set the "action"
HTML attribute when you do form.action = "something".  This requires defining a
[[Set]] hook that does a normal [[GetOwnProperty]] for non-indices, ignoring
the named props.

There are multiple testcase in
https://bugzilla.mozilla.org/show_bug.cgi?id=1043690 for various aspects of
this behavior which show that UAs are not very interoperable on it.  What the
behavior should be is not clear and I've had no luck getting any of the other
browser vendors to comment on this issue so far.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 5 August 2014 01:31:47 UTC

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