W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: Specs and Object.observe()

From: François REMY <francois.remy.dev@outlook.com>
Date: Mon, 17 Jun 2013 11:55:58 +0200
Message-ID: <DUB120-DS19C3A239853C3D4B83FD76A5830@phx.gbl>
To: "Marcos Caceres" <w3c@marcosc.com>, "public-script-coord" <public-script-coord@w3.org>
As far as I know, Object.observe only works for "plain objects" i.e. it 
doesn't fire when properties with getter/setter are changed. If you are 
working on a DOM spec, it's very likely you're in this specific case.



-----Message d'origine----- 
From: Marcos Caceres
Sent: Monday, June 17, 2013 11:42 AM
To: public-script-coord
Subject: Specs and Object.observe()

Would it be safe for new specs to start assuming Object.observe will be part 
of the platform soon? Or should specs also define events in conjunction to 
where Object.observe can be used?

I have some specs that currently fire events when the value of an attribute 
changes. I would like to get rid of those events if possible.

-- 
Marcos Caceres
Received on Monday, 17 June 2013 09:56:15 UTC

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