[webkit-dev] Deprecating JS interface

Dirk Schulze dschulze at adobe.com
Sat Feb 16 17:28:16 PST 2013


Hi,

There are several steps on deprecating features[1]. My question is about deprecating a whole interface and throwing warnings that the feature is deprecated. 

If I have the following interface for deprecation:

[Constructor]
interface Bla {
	attribute bar;
	void foo();
}

Should I just throw the deprecation warning on calling the constructor (and any method/attribute creating the object), or on calling foo and bar as well?

Greetings,
Dirk

[1] http://trac.webkit.org/wiki/DeprecatingFeatures


More information about the webkit-dev mailing list