Chromium Code Reviews
DescriptionRevert "Reland "UTF-8 detector for pages missing encoding info""
UTF-8 detector introduced in crrev.com/1890103002 is suspected to
cause a couple of bugs due to UTF-8 encoding detection being applied
to wider ranges of web documents. It may have caused overall page
loading time regression by 5% reported via Omaha
PageLoad.Timing2.NavigationToFirstContentfulPaint.
(Update: the regression was caused by something else)
The other bug was confirmed to have been caused by the CL since
the detection changed (albeit correctly) the encoding of the documents
that had not been affected before.
An alternative to address them would be narrow the scope of
the encoding detector but it defeats one of the the goals of the UTF-8
detection expected to set the previously misinterpreted encodings
right for more documents. crrev.com/1960943002
I'm reverting the CL in the hope that the bugs will go away before
branching to M52 scheduled this week. The plan is bring CED to light,
substitute ICU and turn on the automatic encoding detection by
default. CED is much more efficient than ICU, and can potentially
eliminate the need for UTF-8 detection. I'll evaluate the usefulness
of UTF-8 encoding detection afterwards.
This reverts commit 57139d64c5b98142ca9305792f39ae23a4950375.
BUG=609053
Committed: https://crrev.com/1673e2f6087df0f802117110dda2bf6b42b56ef4
Cr-Commit-Position: refs/heads/master@{#393957}
Patch Set 1 #Patch Set 2 : layout test failure #
Total comments: 1
Patch Set 3 : rebaselining #Patch Set 4 : rebased #Messages
Total messages: 18 (8 generated)
|