Chromium Code Reviews
DescriptionMake MutationObserver observe parameter optional as per spec.
The spec for MutationObserver:
https://dom.spec.whatwg.org/#interface-mutationobserver
According to the spec, the observe() method has an "options" dictionary
parameter, which should be optional. The IDL definition of observe()
was missing the optional modifier, making the parameter required.
This CL corrects the IDL so that it conforms exactly with the spec. As it
turns out, the options parameter is effectively required, as the spec
requires at least one of the values to be set. The result of this change
is only observable in different error messages (the type thrown is the
same).
BUG=673698
Review-Url: https://codereview.chromium.org/2678583002
Cr-Commit-Position: refs/heads/master@{#448769}
Committed: https://chromium.googlesource.com/chromium/src/+/48d992b90f2a9a95bb591cf2a5d48baea27567df
Patch Set 1 #Patch Set 2 : Fix failing wpt #
Total comments: 1
Patch Set 3 : Rebase #
Messages
Total messages: 22 (16 generated)
|
|||||||||||||||||||||||||||||||||||||