| Index: Source/core/frame/UseCounter.cpp
|
| diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
|
| index a0ce4057a5caad02882b1c83873cddf821280ef4..09d2af9a88685d95810c2b8dfdc8787a20902232 100644
|
| --- a/Source/core/frame/UseCounter.cpp
|
| +++ b/Source/core/frame/UseCounter.cpp
|
| @@ -748,6 +748,10 @@ String UseCounter::deprecationMessage(Feature feature)
|
| case SyncXHRWithCredentials:
|
| return "Setting 'XMLHttpRequest.withCredentials' for synchronous requests is deprecated.";
|
|
|
| + // http://crbug.com/353484
|
| + case EventTargetMissingArgs:
|
| + return "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();
|
|
|