PerformanceResourceTiming transferSize not working in chrome - google-chrome

PerformanceResourceTiming.transferSize not working in chrome but works as expected in firefox
Steps to reproduce the issue in both browser
Goto https://sachin7desai7.github.io/ it will display the number of java script loaded on the page which are not from browser cache
hit 'F5' to reload the page , now the browser should display a different number from step 1 because browser cache would serve the java script files
The functionality works as expected in Firefox but not in Chrome.
Source code can be found at https://github.com/sachin7desai7/sachin7desai7.github.io/blob/main/index.html

Related

Website popup is blank for Chrome

Our application uses a popup window to show a report. This works in every browser except Chrome.
In Chrome the URL in the Network tab of the inspector has a blank response. I also see Chrome loading an inject.preload.js script from disk cache?
This exact same page works in Firefox and Safari as well. I haven't been able to check IE yet (i'm on a mac today).
What is this inject.preload.js script and why would Chrome not load a URL in a popup?
The exact same code running staging servers works, the popup loads just fine. In production it works everywhere except Chrome. Both staging and production use SSL, have the same config, etc.
I unfortunately can't link as its a secured site.
Inject.preload.js is generally some sort of adblocker. It could be the case that its acting up and blocking your popup. If it is the case, it would show as an icon to the right of the address bar.

Chrome 66 shows HTML code instead of rendering

I have a HTML file that renders correctly in Chrome 66 when the file extension is ".html", so I know that the code if fine.
However, the process that generates the code defaults to an extension of ".DAT" and there isn't a way to change it. Also, I tried associating ".DAT" with Chrome, but the page still shows code instead of rendering.
When I was using an older version of Chrome (50 something) it was rendering the pages properly. How can I get ".DAT" files to render correctly in my newer version?
I have the same behaviour today with one of our users.
Some DAT files with html coding are displayed as loose html code instead of being rendered.
If I open it in IE it works fine.

Loading pdf file from AWS s3 into iframe does not work in IE 11

I have ASP.NET Core web application. The view is using iframe to load PDF file from amazon s3.
<iframe style="width:100%;height:100vh" src="https://xxxx.s3-us-west-2.amazonaws.com/mybucket/a_01_03_44_35_5745663485955446.pdf"></iframe>
The above code was working fine until recently.
Now iframe does not show any pdf. When i check network using F12 it shows Protocol and Result/Description as Pending
if copy the URL and paste it into IE 11 directly then browser shows the file.
The above behavior is happening in IE 11 and IE Edge, as usual chrome works fine.
I am not sure if recent windows update has got anything to do with this.
Update 1
I take it back, I cannot open S3 url in IE 11 or IE Edge directly either.
This has nothing to do with ASP.NET Core. Why don't you load the PDF with HttpClient and serve it through a controller. Could also have the benefit that you can cache it if this is frequently requested. Or better use the AWS SDK.
I have the same problem since the begining of 2017/08. The difference is I cannot open the url directly on IE11 and Edge eigther. The F12 network tab also shows both Protocal and Result/Description as Pending. No problem on Chrome, firefox and safari.
Several PCs in our company started having this problem from the same time.
Here is a sample url
(please open this by IE11 on Windows10).

SSL HTTPS Padlock Visible In IE, Firefox, Safari, but Not In Chrome

I have a webpage (php form using yii framework) secured by ssl that shows an SSL padlock with a yellow alert in Google Chrome. I have not been able to identify the problem and am stumped. It seems to be related to my page and is specific to Google Chrome (other browsers work fine).
Troubleshooting so far:
Eliminated Cache as the Cause
Completely cleared my Google Chrome cache to ensure that previously loaded components were not causing the problem.
Tested the page on a separate machine to confirm that the alert is visible on a different system not related to my machine. Alert on page was generated on separate system.
Scoped the Problem to an Element on My Page
Setup a simple page under the same domain, successfully generated the padlock.
Tested failing page at https://www.whynopadlock.com/check.php and the script indicates that all components are called securely. No alerts generated.
Scoped the Problem To Google Chrome
Tested in Internet Explorer - No alerts
Tested in Safari - No Alerts
Tested in Firefox - No Alerts
Does anybody know of a page element that will cause an alert (broken padlock) in Google Chrome, but not in Internet Explorer, Safari, or Firefox?

offline web application doesn't work in firefox

I use cache.manifest (with correct content-type and expire=-1 http-header) to cache a very very simple page for offline use. (this page)
The page works correctly with chrome browser, but FF 29 doesn't display it when I am offline.
I also use this code but I couldn't find the problem.