Index: Source/core/frame/UseCounter.cpp |
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp |
index a25946e078acdad385773c3e16865a4940cd90f3..43454de30769858f4dd76b9ef4c3c8182aeb3e3e 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 "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(); |