New issue
Advanced search Search tips

Issue 813009 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regression: Unnecessary translation bar is seen after signing out from Gmail account.

Reported by pranjali...@etouch.net, Feb 16 2018

Issue description

Chrome Version: 66.0.3349.0 (Official Build) 63cd2c2dfef0dbc7a588006b72e0ec358026cf11-refs/heads/master@{#537110}(64 bit)
 
OS: Mac(10.12.6, 10.13.1, 10.13.4).

Steps to reproduce:
1. Launch chrome and navigate to https://accounts.google.com.
2. Sign in Gmail with valid credentials , click on save button on save password bubble and then sign out from gmail account.
3. Repeat step 2 and observe.

Actual: Unnecessary translation bar is seen after signing out from gmail account.
Expected: Translation bar should not be seen after signing out from gmail account.

This is Regression issue broken in 'M-66’ and Using the per-revision bisect providing the bisect results,

Good Build:66.0.3348.0 (Revision: 536935) 
Bad Build:66.0.3349.0  (Revision: 537110) 

You are probably looking for a change made after 536968 (known good), but no later than 536969 (first known bad).

CHANGELOG URL:

The script might not always return single CL as suspect as some perf builds might get missing due to failure.

https://chromium.googlesource.com/chromium/src/+log/a85265e3f9b269648fab357695479fd56fcd1e2d..605ee9330b375a6e91a99606be0800e6331fe524

Suspect: https://chromium.googlesource.com/chromium/src/+/605ee9330b375a6e91a99606be0800e6331fe524

@xiaochengh:  Could you please look into the issue, pardon me if it has nothing to do with your changes and if possible please assign it to concern owner.

Note: Issue is not seen on Windows(7,8,8.1,10) and Linux(14.04 LTS).

Kindly refer attached screen cast 


 
Actual_result.mov
5.7 MB View Download
Expected_result.mov
5.6 MB View Download
Labels: RegressedIn-66 FoundIn-66 Target-66
Labels: ReleaseBlock-Stable
Adding release blocker label for this issue.Please reduce priority or remove if not the case.

Thank You!

Comment 3 Deleted

My change resulted in some non-text content in the text dump:

 <meta http-equiv="refresh" content="0; url=https://accounts.google.com/ServiceLogin?continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&amp;nojavascript=1&amp;service=mail&amp;rm=false&amp;ltmpl=default&amp;scc=1&amp;ss=1&amp;osid=1&amp;emr=1"><style nonce="C7smg7GbgfiWHSn8EJAa3tibnrs">body{opacity:0;}</style>GmailHi Xiaochengxiaochengh@chromium.orgEnter your passwordType the text you hear or seeNextForgot password?‪Afrikaans‬‪azərbaycan‬‪català‬‪Čeština‬‪Dansk‬‪Deutsch‬‪eesti‬‪English (United Kingdom)‬‪English (United States)‬‪Español (España)‬‪Español (Latinoamérica)‬‪euskara‬‪Filipino‬‪Français (Canada)‬‪Français (France)‬‪galego‬‪Hrvatski‬‪Indonesia‬‪isiZulu‬‪íslenska‬‪Italiano‬‪Kiswahili‬‪latviešu‬‪lietuvių‬‪magyar‬‪Melayu‬‪Nederlands‬‪norsk‬‪polski‬‪Português (Brasil)‬‪Português (Portugal)‬‪română‬‪Slovenčina‬‪slovenščina‬‪Suomi‬‪Svenska‬‪Tiếng Việt‬‪Türkçe‬‪Ελληνικά‬‪български‬‪монгол‬‪Русский‬‪српски‬‪Українська‬‪ქართული‬‪հայերեն‬‫עברית‬‎‫اردو‬‎‫العربية‬‎‫فارسی‬‎‪አማርኛ‬‪नेपाली‬‪मराठी‬‪हिन्दी‬‪বাংলা‬‪ગુજરાતી‬‪தமிழ்‬‪తెలుగు‬‪ಕನ್ನಡ‬‪മലയാളം‬‪සිංහල‬‪ไทย‬‪ລາວ‬‪မြန်မာ‬‪ខ្មែរ‬‪한국어‬‪中文(香港)‬‪日本語‬‪简体中文‬‪繁體中文‬HelpPrivacyTerms

The non-text content is from a NOSCRIPT element.
Components: -Services>SignIn UI>Browser>Language>Translate
Project Member

Comment 6 by bugdroid1@chromium.org, Feb 18 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/797a3802e777fb42a24529261a1af57a8f899e12

commit 797a3802e777fb42a24529261a1af57a8f899e12
Author: Xiaocheng Hu <xiaochengh@chromium.org>
Date: Sun Feb 18 05:41:26 2018

Eliminate NOSCRIPT element from TranslateHelper text dump

TranslateHelper uses a sample of the page text to determine the page
language. This patch eliminates content of NOSCRIPT elements from the
text dump, so that non-text contents in NOSCRIPT elements are not passed
to TranslateHelper.

Bug:  813009 
Change-Id: Icf1781a69d17538103574bd149cb3d5851852a08
Reviewed-on: https://chromium-review.googlesource.com/924111
Reviewed-by: Rachel Blum <groby@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537557}
[modify] https://crrev.com/797a3802e777fb42a24529261a1af57a8f899e12/third_party/WebKit/Source/core/exported/WebFrameContentDumper.cpp

Cc: xiaoche...@chromium.org
Labels: Needs-TestConfirmation
Owner: ----
Status: Untriaged (was: Assigned)
Test team: could you verify if the patch in #6 fixes the issue?

Thanks!
Labels: -Needs-TestConfirmation
With respect to c#7, rechecked above issue on Mac(10.12.6, 10.13.1, 10.13.4) OS using latest canary 66.0.3350.0  and it is still reproducible.

@ xiaochengh: Could you please confirm ?

Thank you.
Actual_result.mov
4.6 MB View Download
Owner: xiaoche...@chromium.org
Status: Assigned (was: Untriaged)
mac triage: reassigning to xiaochengh for followup.
Labels: Needs-TestConfirmation
Owner: ----
Status: Untriaged (was: Assigned)
Test team: Could you test with 66.0.3351.0 or later versions?

66.0.3350.0 was branched at r537342, and doesn't contain my fix attempt.

Btw, I can't reproduce this issue locally. I'm wondering if I need the specific test account, since it depends on the text dump of the page, which differs with different accounts
Labels: -Needs-TestConfirmation
Update : 
Verified above issue in latest Canary #66.0.3352.0 build on Mac(10.12.6, 10.13.1, 10.13.4) OS and the issue is fixed. The fix is working as intended. Kindly review an attached screencast.

Thank you!
Actual_result.mov
11.7 MB View Download
Labels: TE-Verified-M66 TE-Verified-66.0.3352.0
Status: Verified (was: Untriaged)
mac triage: marking verified :)
Project Member

Comment 14 by bugdroid1@chromium.org, Apr 4 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ccfb59af9d1773592076f35d5210b30f9e3ff617

commit ccfb59af9d1773592076f35d5210b30f9e3ff617
Author: Xiaocheng Hu <xiaochengh@chromium.org>
Date: Wed Apr 04 00:57:35 2018

Revert "Eliminate NOSCRIPT element from TranslateHelper text dump"

This reverts commit 797a3802e777fb42a24529261a1af57a8f899e12.

Reason for revert: The overall approach is a hack that keeps generating regressions

Original change's description:
> Eliminate NOSCRIPT element from TranslateHelper text dump
> 
> TranslateHelper uses a sample of the page text to determine the page
> language. This patch eliminates content of NOSCRIPT elements from the
> text dump, so that non-text contents in NOSCRIPT elements are not passed
> to TranslateHelper.
> 
> Bug:  813009 
> Change-Id: Icf1781a69d17538103574bd149cb3d5851852a08
> Reviewed-on: https://chromium-review.googlesource.com/924111
> Reviewed-by: Rachel Blum <groby@chromium.org>
> Reviewed-by: Emil A Eklund <eae@chromium.org>
> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#537557}

TBR=groby@chromium.org,eae@chromium.org,tkent@chromium.org,xiaochengh@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  813009 
Change-Id: Ibb2557436cdb5b07586bc69177f1456dc435568c
Reviewed-on: https://chromium-review.googlesource.com/994059
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547905}
[modify] https://crrev.com/ccfb59af9d1773592076f35d5210b30f9e3ff617/third_party/WebKit/Source/core/exported/WebFrameContentDumper.cpp

Update : 
Verified above issue in latest canary#67.0.3388.0 build on Mac(10.12.6, 10.13.1, 10.13.4) OS and issue is still reproducible.
Kindle refer attached screencast.

Thank you!
Beta_Behaviour.mov
13.4 MB View Download
Labels: Needs-TestConfirmation
Owner: xiaoche...@chromium.org
Status: Assigned (was: Verified)
There is one more revert crrev.com/98199e90 landed.

Test team: could you test if the issue reproduces with 67.0.3389.0 or later version? Thanks!
Labels: TE-Verified-M67 TE-Verified-67.0.3389.0
w.r.t comment#16

Verified the above issue in latest Canary #67.0.3389.0 build on Mac(10.12.6, 10.13.1, 10.13.4) OS and the issue is fixed. The fix is working as intended. Kindly review an attached screencast.

Thank you!
Canary_behaviour.mov
15.3 MB Download
Labels: Merge-Request-66
Requesting to merge the revert in #14 into M66.

Reason: I landed two changes r536969 and r537557 into M66, which caused several regressions. Both changes have been reverted in M67 (#14 is for r537557). Hence, I'm requesting also reverting them in M66.
Project Member

Comment 19 by sheriffbot@chromium.org, Apr 5 2018

Labels: -Merge-Request-66 Merge-Review-66 Hotlist-Merge-Review
This bug requires manual review: We are only 11 days from stable.
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), josafat@(ChromeOS), abdulsyed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-66 Merge-Approved-66
Approving reverts in M66. Branch:3359
Project Member

Comment 21 by bugdroid1@chromium.org, Apr 5 2018

Labels: -merge-approved-66 merge-merged-3359
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/34eb1e709d89f5a8a9eabd8c240d9c25517fc0a6

commit 34eb1e709d89f5a8a9eabd8c240d9c25517fc0a6
Author: Xiaocheng Hu <xiaochengh@chromium.org>
Date: Thu Apr 05 18:00:19 2018

Revert "Eliminate NOSCRIPT element from TranslateHelper text dump"

This reverts commit 797a3802e777fb42a24529261a1af57a8f899e12.

Reason for revert: The overall approach is a hack that keeps generating regressions

Original change's description:
> Eliminate NOSCRIPT element from TranslateHelper text dump
> 
> TranslateHelper uses a sample of the page text to determine the page
> language. This patch eliminates content of NOSCRIPT elements from the
> text dump, so that non-text contents in NOSCRIPT elements are not passed
> to TranslateHelper.
> 
> Bug:  813009 
> Change-Id: Icf1781a69d17538103574bd149cb3d5851852a08
> Reviewed-on: https://chromium-review.googlesource.com/924111
> Reviewed-by: Rachel Blum <groby@chromium.org>
> Reviewed-by: Emil A Eklund <eae@chromium.org>
> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#537557}

TBR=groby@chromium.org,eae@chromium.org,tkent@chromium.org,xiaochengh@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  813009 
Change-Id: Ibb2557436cdb5b07586bc69177f1456dc435568c
Reviewed-on: https://chromium-review.googlesource.com/994059
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#547905}(cherry picked from commit ccfb59af9d1773592076f35d5210b30f9e3ff617)
Reviewed-on: https://chromium-review.googlesource.com/998175
Cr-Commit-Position: refs/branch-heads/3359@{#589}
Cr-Branched-From: 66afc5e5d10127546cc4b98b9117aff588b5e66b-refs/heads/master@{#540276}
[modify] https://crrev.com/34eb1e709d89f5a8a9eabd8c240d9c25517fc0a6/third_party/WebKit/Source/core/exported/WebFrameContentDumper.cpp

Status: Fixed (was: Assigned)
Labels: TE-Verified-66.0.3359.106
Update : 
Verified above issue in latest Beta#66.0.3359.106 build on Mac(10.12.6, 10.13.1, 10.13.5) OS and the issue is fixed. The fix is working as intended. Kindly review an attached screencast.

Thank you!
Beta_behaviour.mov
15.9 MB Download

Sign in to add a comment