| Index: Source/core/frame/UseCounter.cpp
|
| diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
|
| index a25946e078acdad385773c3e16865a4940cd90f3..e4494ac77bf32fc93506eef97ff7cc8e0661c71e 100644
|
| --- a/Source/core/frame/UseCounter.cpp
|
| +++ b/Source/core/frame/UseCounter.cpp
|
| @@ -733,6 +733,10 @@ String UseCounter::deprecationMessage(Feature feature)
|
| case ElementSetPrefix:
|
| return "Setting 'Element.prefix' is deprecated, as it is read-only per DOM (http://dom.spec.whatwg.org/#element).";
|
|
|
| + // http://crbug.com/353484
|
| + case EventTargetMissingArgs:
|
| + return "The omitting either of the first two arguments of 'EventTarget.addEventListener' or 'EventTarget.removeEventListener' is deprecated, as these are required (http://dom.spec.whatwg.org/#interface-eventtarget).";
|
| +
|
| // Features that aren't deprecated don't have a deprecation message.
|
| default:
|
| return String();
|
|
|