This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26521 - [[GetOwnProperty]] behavior for named properties is not web-compatible
Summary: [[GetOwnProperty]] behavior for named properties is not web-compatible
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 critical
Target Milestone: ---
Assignee: Boris Zbarsky
QA Contact: public-webapps-bugzilla
Depends on: 27988
Blocks: 25025
  Show dependency treegraph
Reported: 2014-08-05 01:31 UTC by Boris Zbarsky
Modified: 2015-04-17 19:24 UTC (History)
3 users (show)

See Also:


Description Boris Zbarsky 2014-08-05 01:31:44 UTC
For example, this case:

    <input name="action">

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 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.