www.flipkart.com - page doesn't load in Firefox for Android
URL: https://www.flipkart.com/
Browser / Version: Firefox Mobile 63.0 Operating System: Android 8.0.0 Tested Another Browser: Yes
Problem type: Site is not usable Description: bookmarked page doesn't load Steps to Reproduce:
From webcompat.com with ❤️
I can reproduce this on LG G5, Android 7.0 and Nightly 63, Beta 62 and Release 61.

When the page is opened from Bookmarks:

When the page is opened directly:

Spoiler - the console logs the same thing.
hmm I don't think it's related to bookmarks, I can reproduce the issue in a normal context but not always. It seems more a question of timing. This is a react app. Maybe @magsout will know what is happening in there :p
hum, I don't have got an Android device yet. But I can test as soon as I have
14:59:59.390 TypeError: window.webpackManifest is undefined; can't access element at index 37 app.6fdd6c9628a.bundle.js:formatted:70
e.e app.6fdd6c9628a.bundle.js:formatted:70
e.default</t.prototype.getHomePageTrackingInstance app.6fdd6c9628a.bundle.js:formatted:9479
<anonymous> self-hosted:972:17
<anonymous> app.6fdd6c9628a.bundle.js:formatted:1841
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:11472
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:10923
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:7919
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:7092
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:3096
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:8687
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:3991
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:8573
e app.6fdd6c9628a.bundle.js:formatted:25
<anonymous> app.6fdd6c9628a.bundle.js:formatted:103
<anonymous> app.6fdd6c9628a.bundle.js:formatted:16
<anonymous> app.6fdd6c9628a.bundle.js:formatted:12
<anonymous> app.6fdd6c9628a.bundle.js:formatted:1
This message on GitHub seems pretty close. https://github.com/gatsbyjs/gatsby/issues/3582#issuecomment-358760787
@wisniewskit What do you think?
From bug #19198 this link failed most times for me in both FF 62 and 64: https://www.flipkart.com/dreamcreation-back-cover-realme-2/p/itmf89guuntg5emr?pid=ACCF89GUG6HQEMFH
The site is ranked #10 in India, so I'm bumping up the priority and severity.
Some clues in https://bugzilla.mozilla.org/show_bug.cgi?id=1498257#c11 TO note that https://github.com/orgs/Flipkart/people is on github but with 0 people listed.
I wonder if @naqvitalha can help us find the right person with webcompat issues for the flipkart website. And probably it could be good to have a direct sustainable discussion about the issues coming up time to time. @adamopenweb what do you think?
Reaching out by Twitter and email.
@abhinavrastogi Please take a look
@twistedfork88
This seems to be because of a known issue with how Chrome and Firefox differ in handling CSP nonce values for HTTP 304 responses. We (Flipkart) are working on a solution from our side to handle this based on browser-sniffing.
@abhinavrastogi Thanks. Be careful it seems to be a chrome bug and they are right now in the process of fixing it. https://bugs.chromium.org/p/chromium/issues/detail?id=174301
Just to add that we (Flipkart) might just roll out a common solution without UA sniffing. As such it seems chrome ignores the nonce in case of a 304. So should be safe.
It appears that CSP/nonce issues are still causing issues here, but if Flipkart is working on them, then we should wait for further input. (I'm now seeing the page fail to load at all, because the CSP is apparently blocking a script defining t.jsBundles).
The site seems to be working again. I wonder if flipkart fixed anything.
@karlcow No we have not yet released the fix but are in process.
With Chrome 72 we faced the same issue as Chrome now has started to enforce CSP strictly https://developer.chrome.com/extensions/contentSecurityPolicy. Fixed and is live.
Firefox fix will be live next week.
Apologies for reopening. I'm unable to reproduce this issue in Firefox 67 for Android on a Pixel 2.
Thanks for all the help @aasifrasul!