New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 749715 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Chrome shows Google's javascript as raw text for a split second

Reported by term...@gmail.com, Jul 27 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.0; rv:52.0) Gecko/20100101 Firefox/52.0

Example URL:
https://www.google.com/#q=weather+10538

Steps to reproduce the problem:
1. Go to the URL in a new tab
2. Observe for a split second it shows raw javascript before rendering it into a page
3. 

What is the expected behavior?
Don't show the raw javascript

What went wrong?
See screenshot

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? Yes 

Does this work in other browsers? N/A

Chrome version: Version 60.0.3112.78 (Official Build) (64-bit)  Channel: stable
OS Version: 6.1
Flash Version: 

I recently upgraded Google Chrome to this version yesterday and I've only noticed this problem since then
 
Clipboard01.png
114 KB View Download
Labels: Needs-Triage-M60
This issue reproducible on previous stable#59.0.3071.115 as well for Win7 64-bit.
Cc: kavvaru@chromium.org
Components: UI
Labels: Needs-Feedback
termsrv@Thanks for the issue.

Unable to reproduce the issue on windows 7, Mac 10.12.6 using chrome version 60.0.3112.78 and canary 62.0.3171.0 with the below steps

1. Go to URL https://www.google.co.in/search?q=weather+10538 in a new tab
2. Not observed any raw javascript 

Please find the attached screen cast and confirm if anything missed here.
Request you please try the issue on clean profile without any extensions/flags and update the thread if the issue still persists.

Thanks,
749715.mp4
782 KB View Download

Comment 3 by term...@gmail.com, Jul 31 2017

Well I don't know what to tell you. I can reproduce it here in Windows 7 but it only happens for a split second. The way I'm opening the tab is middle-click on the item in bookmarks and then I click on the tab. 

Comment 4 by term...@gmail.com, Jul 31 2017

I can also reproduce it in the current tab (in other words just left-click on the bookmarks item but it's much less likely to happen.
Project Member

Comment 5 by sheriffbot@chromium.org, Jul 31 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kavvaru@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: hdodda@chromium.org
Unable to reproduce the issue on windows 7 suing chrome M60 #60.0.3112.78 , bookmarked the given url and middle-clicked on it and didn't observe any raw script.

@redirecting it to UI team , as the issue is inconsistent . Could someone from UI team . Please look into this.

Thanks!
Components: Blink>JavaScript
Labels: -Type-Compat M-62 OS-Linux OS-Mac Type-Bug
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome stable version #60.0.3112.90 and latest canary #62.0.3180.0.

This is a non-regression issue as it is observed from M45 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Components: -Blink>JavaScript Blink
This is not related to V8. I suggest looping in the Blink folks (already done) and/or get in contact with the Google search team. Seems like text (JavaScript) is written to the document and rendered.

Comment 9 by e...@chromium.org, Aug 11 2017

Components: -Blink Blink>Loader
Able to capture a screen record on Mac / Chrome stable.
In this case, the text looks like a part of stylesheet inside <style> tag in view-source:https://www.google.co.jp/search?q=weather+10538 .
Not sure why this is displayed as text...
crbug749715.mp4
1.3 MB View Download
Components: -UI Blink>CSS Blink>Layout
I was told that "script { display: block; }" in the CSS will do this. (but there's probably a little bit more to it than that)

Adding Layout and CSS labels, hoping someone in the teams could help debugging this.

Comment 12 by ricea@chromium.org, Aug 25 2017

I think there's two page loads going on here. First it loads https://www.google.com/#q=weather+10538, which displays garbage, and then https://www.google.co.jp/search?q=weather+10538&cad=h which displays fine.

I can reproduce easily in M-62 in guest mode. I cannot reproduce in M-60.
Components: -Blink>CSS
css wise: i have shown the issue to the style team, no luck so far with any debugging help i'm sorry

removing blink>css component for clearer ownership
Labels: B-ID-64355649

Comment 15 by e...@chromium.org, Sep 1 2017

Cc: e...@chromium.org
Components: -Blink>Layout
This looks like a loader issue where it doesn't process the redirect at the end of the script block but does stop loading the css which triggers a layout without any styling. It is somewhat tricky to debug.

Could someone from the loading team please help look into this in detail?

Comment 16 by kochi@chromium.org, Oct 19 2017

Cc: sc00335...@techmahindra.com
 Issue 771060  has been merged into this issue.
BTW this happens only if the following URL is used:

 https://www.google.com/#q=...

It does not happen if you use canonical search result URL:

 https://www.google.co.jp/search?q=...

The former redirects to the latter.

Cc: treib@chromium.org
It doesn't repro in Chrome 63 (beta).

Bisection suggested that this was fixed by 6593874a60b5694724d6a226ab1b0dfca71052a5, but I'm not sure what was happening.

+treib@, do you have any insights here?

Huh, weird. What that CL does is avoid some unnecessary renderer forks for URLs related to the default search engine. Per comments 12 and 17, maybe it's related to the redirect from .com to .co.jp somehow, since only one of the two will be considered the default search engine? Still, no idea how this would trigger the weird rendering bug.
Status: Fixed (was: Untriaged)
Thanks.

Let me close this as fixed in M63. Although we don't fully understand the root cause, we don't have bandwidth to investigate it further.
Cc: krajshree@chromium.org vamshi.k...@techmahindra.com
 Issue 793416  has been merged into this issue.

Sign in to add a comment