RESOLVED WONTFIX 68331
[chromium] frameContentAsPlainText shouldn't be using TextIterator
https://bugs.webkit.org/show_bug.cgi?id=68331
Summary [chromium] frameContentAsPlainText shouldn't be using TextIterator
Ryosuke Niwa
Reported 2011-09-18 20:46:18 PDT
We should avoid using TextIterator directly in WebKit layer code. Justification for not using plainText is that: " // The text iterator will walk nodes giving us text. This is similar to // the plainText() function in TextIterator.h, but we implement the maximum // size and also copy the results directly into a wstring, avoiding the // string conversion." However, this comment is not true at all as the function currently takes Vector<UChar>.
Attachments
Note You need to log in before you can comment on or make changes to this bug.