Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1112)

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix some failures Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 01c94e3c8a287e962a1c354e482a60f3b944dddc..7b50dc1e8075f15f557ac390bdf5d818aeb7a4f0 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -716,6 +716,9 @@ String UseCounter::deprecationMessage(Feature feature)
case ElementSetAttributeNodeNS:
return "'Element.setAttributeNodeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).";
+ case RangeDetach:
+ return "'Range.detach' is now a no-op, as per DOM4 (http://dom.spec.whatwg.org/#dom-range-detach).";
tkent 2014/04/28 08:50:50 It's not DOM*4*.
Inactive 2014/04/28 14:44:18 Done.
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698