Chrome shows Google's javascript as raw text for a split second
Reported by
term...@gmail.com,
Jul 27 2017
|
||||||||||||||
Issue descriptionUserAgent: 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
,
Jul 31 2017
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,
,
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.
,
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.
,
Jul 31 2017
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
,
Aug 2 2017
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!
,
Aug 9 2017
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...!!
,
Aug 11 2017
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.
,
Aug 11 2017
,
Aug 25 2017
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...
,
Aug 25 2017
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.
,
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.
,
Aug 28 2017
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
,
Aug 29 2017
,
Sep 1 2017
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?
,
Oct 19 2017
,
Oct 19 2017
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.
,
Nov 6 2017
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?
,
Nov 6 2017
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.
,
Nov 9 2017
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.
,
Jan 15 2018
Issue 793416 has been merged into this issue. |
||||||||||||||
►
Sign in to add a comment |
||||||||||||||
Comment 1 by manoranj...@chromium.org
, Jul 27 2017