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 23276 - "If creating is false and O does not implement a..."
Summary: "If creating is false and O does not implement a..."
Status: RESOLVED WORKSFORME
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 15:21 UTC by Dominique Hazael-Massieux
Modified: 2013-09-18 16:33 UTC (History)
3 users (show)

See Also:


Attachments

Description Dominique Hazael-Massieux 2013-09-18 15:21:51 UTC
http://dev.w3.org/2006/webapi/WebIDL/#defineownproperty

[[
If creating is false and O does not implement an interface with a named property setter, then Reject.
If creating is false or O implements an interface with a named property creator, then: 
]]

The algorithm doesn't say what to do (presumably Reject?) when creating is true and O implements an interface without a named property creator
Comment 1 Boris Zbarsky 2013-09-18 16:28:27 UTC
When 'creating' is true, you do neither 2.2.1 nor 2.2.2.  Which means you continue on to steps 3 and 4.

Just a naive translation of this algorithm into (pseudo-)code gives that.
Comment 2 Dominique Hazael-Massieux 2013-09-18 16:33:54 UTC
oops, indeed, sorry for the noise