Deprecating Features

How To Measure Usage and Notify Developers

  1. Add your feature to web_feature.mojom's WebFeature.
  2. Add a clever deprecation message to the big switch in UseCounter::deprecationMessage.
  3. Instrument your code by:
Note that DeprecateAs is intended to replace MeasureAs in the IDL file. Specifying both is redundant.