static deprecateFeature(major, name, description) {
    const enforcer = shaka.Deprecate.enforcer_;
    goog.asserts.assert(
        enforcer,
        'Missing deprecation enforcer. Was |init| called?');

    const expiresAt = new shaka.deprecate.Version(major, 0);
    enforcer.enforce(expiresAt, name, description);
  }
Ask the deprecation system to require this feature to be removed by the
given version.

@param {number} major
@param {string} name
@param {string} description