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

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