DescriptionDrop [LegacyInterfaceTypeChecking] for most init*Event() methods
This will only affect cases where the argument provided but is neither null nor
an object of the required type. The main risk is therefore that people have
passed shifted all the arguments by accident, so that a boolean, string or
number is passed for one of the affected arguments.
Cases where undefined is passed or the argument is omitted entirely are not
affected, they behave just as if null were passed.
Also drop the *Arg suffix in arguments for initTextEvent().
BUG=561338
Committed: https://crrev.com/6fd2d82ef9ef4a19c6eeefa0ff8a486b0f22b43a
Cr-Commit-Position: refs/heads/master@{#362727}
Patch Set 1 #Patch Set 2 : add tests #Messages
Total messages: 17 (8 generated)
|