DescriptionIntroduce use counters for shadow DOM handling in plainText()
Since http://crrev.com/98493009, |Element.innerText|, |Selection.toString()|,
|Window.find()| and |execCommand("find")| JavaScript API returns text including
text in shadow DOM tree. This behavior is unexpected and incompatible with other
browsers. We would like to make these API behave as same as other browsers.
However, we aren't sure that real world users depend on this incompatible
behavior.
If real world usages of very small, we'll changes these API to compatible other
browsers.
Note: IE and Firefox haven't supported shadow DOM yet. Safari supports user
agent shadow DOM, but these APIs returns text from DOM tree.
This patch introduces use counters for these APIs contains text from shadow
DOM tree for a preparation of collecting real world usage to determine
user affect when change these APIs behavior as other browsers.
BUG=n/a
TEST=n/a; no behavior changes
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198268
Patch Set 1 : 2015-07-02T14:55:38 #Patch Set 2 : 2015-07-02T15:13:50 Add comment for |m_handleShadowRoot| #
Total comments: 4
Patch Set 3 : 2015-07-02T16:05:10 Add counter for Window.find #Patch Set 4 : 2015-07-03T14:40:27 Rebase #
Messages
Total messages: 15 (5 generated)
|