New issue
Advanced search Search tips

Issue 674714 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 523433



Sign in to add a comment

Remove WebNode/WebElement use in translate_helper.cc

Project Member Reported by adithyas@chromium.org, Dec 15 2016

Issue description

Currently, translate_helper directly crawls the DOM to extract the value of the <html> lang attribute and to check if "notranslate" is set in a <meta> tag.  This code should be extracted out to Blink and the uses of WebNode/WebElement should be removed.
 
Cc: esprehn@chromium.org

Comment 2 by groby@chromium.org, Dec 15 2016

Why should that be extracted? (I'm not naysaying, but wondering what the rationale is)
Blocking: 523433
In general we're working toward removing WebElement/WebNode and friends. They're too low level, slow because they can't use the internal blink types (ex. AtomicString), and lead to often broken code. For example autofill doesn't understand Shadow DOM.

See also https://bugs.chromium.org/p/chromium/issues/detail?id=523433
Status: Fixed (was: Started)
Components: -UI>Browser>Translate UI>Browser>Language>Translate

Sign in to add a comment