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

www.instagram.com - A blank page is displayed after refreshing the home page

Open agi90 opened this issue 6 years ago • 7 comments

URL: https://www.instagram.com/

Browser / Version: Firefox Mobile 79.0 Operating System: Android Tested Another Browser: Yes Chrome

Problem type: Site is not usable Description: Page not loading correctly Steps to Reproduce: Open instagram on Fenix nightly, refresh, page is white. Tested on phone and on desktop with UA override (and screen size emulator)

View the screenshot Screenshot
Browser Configuration
  • gfx.webrender.all: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • buildID: 20200617093637
  • channel: nightly
  • hasTouchScreen: true

From webcompat.com with ❤️

agi90 avatar Jun 22 '20 17:06 agi90

Forgot to mention, this works correctly on Firefox Beta, so it's something we introduced recently :/

agi90 avatar Jun 22 '20 18:06 agi90

Thanks for the report, @agi90.

I was indeed able to reproduce the issue. A blank page is displayed after I refresh the home page.

Tested with: Browser / Version: Firefox Preview Nightly 200622 (🦎 79.0a1-20200617093637), Chrome Mobile 83.0.4103.106 Operating System: OnePlus6 (Android 10) - 1080 x 2280 pixels (~402 ppi pixel density)

This is the web page displayed in Firefox Preview Nightly after refreshing the home page:

image

And this is the web page displayed in Chrome:

image

Moving the issue to needsdiagnosis.

The issue is also reproducible in Firefox Nightly (2020-06-22).

cipriansv avatar Jun 23 '20 08:06 cipriansv

hmm interesting because I get in the console.

Loading failed for the <script> with source “https://www.instagram.com/static/bundles/es6/Consumer.js/381f28b80421.js”.

but in the network panel this script is loaded.

<script type="text/javascript" 
  src="/static/bundles/es6/Consumer.js/381f28b80421.js" 
  crossorigin="anonymous" charset="utf-8" 
  async=""></script>
<div id="react-root"></div>

is fully empty.

when the page is reloaded. this is called.

e.getRootElement = function () {
const t = document.getElementById('react-root');
return t || i(d[0]) (0),
t
},

but later on something is not completed. The code is quite minimized so difficult to read and there is no obvious error message.

karlcow avatar Jun 25 '20 03:06 karlcow

Probably a mozregression could help here.

karlcow avatar Jun 25 '20 04:06 karlcow

Another interesting detail. Changing the UA to be chrome makes it work. So it could be a combination of something which has been changed in firefox WITH a specific code path on instagram.

karlcow avatar Jun 25 '20 04:06 karlcow

ok I may have an idea. :) after running a bit mozregression I have seen that issue https://bugzilla.mozilla.org/show_bug.cgi?id=1646776 which has been fixed by @emilio already so I updated my nightly to today and indeed it doesn't reproduce.

Basically https://bugzilla.mozilla.org/show_bug.cgi?id=1599160 broke instagram on reload. :)

karlcow avatar Jun 25 '20 04:06 karlcow

Close as duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1646776

karlcow avatar Jun 25 '20 04:06 karlcow