web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

www.flipkart.com - page doesn't load in Firefox for Android

Open webcompat-bot opened this issue 8 years ago • 17 comments

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 ❤️

webcompat-bot avatar Jul 05 '18 08:07 webcompat-bot

I can reproduce this on LG G5, Android 7.0 and Nightly 63, Beta 62 and Release 61.

screen capture 1

When the page is opened from Bookmarks: image

When the page is opened directly: image

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

karlcow avatar Jul 05 '18 13:07 karlcow

hum, I don't have got an Android device yet. But I can test as soon as I have

magsout avatar Jul 13 '18 21:07 magsout

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?

karlcow avatar Sep 25 '18 06:09 karlcow

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.

adamopenweb avatar Sep 27 '18 23:09 adamopenweb

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?

karlcow avatar Oct 19 '18 07:10 karlcow

Reaching out by Twitter and email.

adamopenweb avatar Oct 25 '18 02:10 adamopenweb

@abhinavrastogi Please take a look

naqvitalha avatar Oct 25 '18 03:10 naqvitalha

@twistedfork88

naqvitalha avatar Oct 25 '18 03:10 naqvitalha

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 avatar Oct 25 '18 08:10 abhinavrastogi

@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

karlcow avatar Oct 25 '18 08:10 karlcow

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.

twistedfork88 avatar Oct 25 '18 10:10 twistedfork88

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).

wisniewskit avatar Dec 10 '18 19:12 wisniewskit

The site seems to be working again. I wonder if flipkart fixed anything.

karlcow avatar Jan 29 '19 05:01 karlcow

@karlcow No we have not yet released the fix but are in process.

aasifrasul avatar Jan 30 '19 11:01 aasifrasul

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.

aasifrasul avatar Feb 02 '19 03:02 aasifrasul

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!

adamopenweb avatar Feb 08 '19 18:02 adamopenweb