The following is the validation messages from webidl2.js, which may help understanding this PR:
Validation error at line 2 in text-detection-api,0, inside `interface TextDetector`:
Constructor,
^ Constructors should now be represented as a `constructor()` operation on the interface instead of `[Constructor]` extended attribute. Refer to the [WebIDL spec section on constructor operations](https://heycam.github.io/webidl/#idl-constructors) for more information.
This is an automated pull request to align the spec with the latest Web IDL specification.
Currently the autofix might introduce some awkward code formatting, so please feel free to modify the formatting.
Please file an issue on https://github.com/saschanaz/webidl-updater/issues/new if you think this PR is invalid or should be enhanced.
The following is the validation messages from webidl2.js, which may help understanding this PR: