Language detection: Updates static test cases to be more realistic.
Remove test cases relying on kStaticText being a child of kStaticText. Instead we use kGenericContainer, kStaticText, and kInlineTextBox. This is so the tests better reflect the actual structure of DOM nodes. R=dmazzoni, akihiroota Change-Id: Ida32d67ecf081d8140e483f1d6bd67ddd6c57fc8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1947516 Commit-Queue: Chris Hall <chrishall@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#721339}
Showing
This diff is collapsed.
Please register or sign in to comment