Commit d50be8ee authored by philipj@opera.com's avatar philipj@opera.com

Add a UseCounter for Text.wholeText

Text.replaceWholeText() was removed from DOM and has very low usage:
https://www.chromestatus.com/metrics/feature/timeline/popularity/100

Measure Text.wholeText also to see if it is similarly unused.

Discussed briefly with Anne van Kesteren on IRC:
http://krijnhoetmer.nl/irc-logs/whatwg/20141117#l-248

Review URL: https://codereview.chromium.org/730003003

git-svn-id: svn://svn.chromium.org/blink/trunk@185453 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 21d1a544
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
[RaisesException] Text splitText(unsigned long offset); [RaisesException] Text splitText(unsigned long offset);
// Introduced in DOM Level 3: // Introduced in DOM Level 3:
readonly attribute DOMString wholeText; [MeasureAs=TextWholeText] readonly attribute DOMString wholeText;
[MeasureAs=TextReplaceWholeText] Text replaceWholeText(DOMString content); // Removed from DOM4. [MeasureAs=TextReplaceWholeText] Text replaceWholeText(DOMString content); // Removed from DOM4.
// Shadow DOM API // Shadow DOM API
......
...@@ -557,6 +557,7 @@ public: ...@@ -557,6 +557,7 @@ public:
UIEventCharCode = 596, UIEventCharCode = 596,
UIEventKeyCode = 597, UIEventKeyCode = 597,
UIEventWhich = 598, UIEventWhich = 598,
TextWholeText = 599,
// Add new features immediately above this line. Don't change assigned // Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots. // numbers of any item, and don't reuse removed slots.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment