[webkit-dev] Deprecating JS interface

Adam Barth abarth at webkit.org
Sat Feb 16 18:54:27 PST 2013


It's much easier to discuss a concrete example.  Which interface are
you interested in deprecating?

Adam


On Sat, Feb 16, 2013 at 5:28 PM, Dirk Schulze <dschulze at adobe.com> wrote:
> 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
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev


More information about the webkit-dev mailing list