Bug 229923 - [GTK] Desktop version of imgur.com displays a gray screen and a few JavaScript errors
Summary: [GTK] Desktop version of imgur.com displays a gray screen and a few JavaScrip...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 234721 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-05 10:32 PDT by Laurin Neff
Modified: 2022-01-15 03:59 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurin Neff 2021-09-05 10:32:39 PDT
When loading the desktop version of imgur.com, it just displays a gray screen and these messages in the JS console:

[Warning] Cookies are not authorized, we will not send any data. (main.9dd506b8699dc5d74d81.js, line 1)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (px.js.map, line 0)
[Error] TypeError: undefined is not an object (evaluating 'navigator.credentials.get') — main.9dd506b8699dc5d74d81.js:1:280741
	ru (main.9dd506b8699dc5d74d81.js:88:82447)
	(anonymous function) (main.9dd506b8699dc5d74d81.js:88:89311)
	hi (main.9dd506b8699dc5d74d81.js:88:48709)
	cu (main.9dd506b8699dc5d74d81.js:88:83785)
	(anonymous function) (main.9dd506b8699dc5d74d81.js:88:101437)
	(anonymous function)
	(anonymous function) (main.9dd506b8699dc5d74d81.js:9:4082)
	Oc (main.9dd506b8699dc5d74d81.js:88:97938)
	sc (main.9dd506b8699dc5d74d81.js:88:94091)
	sc
	(anonymous function) (main.9dd506b8699dc5d74d81.js:88:45487)
	(anonymous function) (main.9dd506b8699dc5d74d81.js:9:4082)
	Zo (main.9dd506b8699dc5d74d81.js:88:45426)
	Ko (main.9dd506b8699dc5d74d81.js:88:45361)
	ic (main.9dd506b8699dc5d74d81.js:88:90666)
	enqueueSetState (main.9dd506b8699dc5d74d81.js:88:49133)
	(anonymous function) (main.9dd506b8699dc5d74d81.js:80:1555)
	(anonymous function) (main.9dd506b8699dc5d74d81.js:25:42812)
	promiseReactionJob
[Error] TypeError: null is not an object (evaluating 'this.measure.children')
	value (home.16eacb17a80fba52311a.bundle.js:1:58194)
	value
	p (main.9dd506b8699dc5d74d81.js:65:21330)
	g (main.9dd506b8699dc5d74d81.js:65:21549)
	m (main.9dd506b8699dc5d74d81.js:65:21439)

I first noticed this a few days ago. In the past, imgur used to work fine, and one of the devices I tried this on runs an outdated version of WebKit, so I assume it was caused by a recent update to the site, not WebKit. 

I can confirm this issue on these devices/browsers:
- GNOME Web 40.3, WebKitGTK 2.32.3, GTK 3.24.30, Arch Linux
- Nintendo Switch, firmware version 12.1.0, the WebKit version that was used in iOS 9.3
- Firefox 36.0 on iPhone 7, iOS 14.0.1 (Safari works fine for some reason, despite both browsers using WebKit)
Comment 1 Kevin Neal 2021-09-10 08:15:19 PDT
Thank you for filing. I could not reproduce the display issue using the latest desktop version of Safari.
Comment 2 Radar WebKit Bug Importer 2021-09-10 09:07:11 PDT
<rdar://problem/82974887>
Comment 3 Pedro Paulo 2022-01-11 05:32:43 PST
Confirmed on GNOME Web 41.3 / WebkitGTK 2.34.3.

Imgur uses a web structure like this:

```html
<!DOCTYPE html>
<html>
  <head> <!-- stuff here --> </head>
  <body>
    <div id="root"> <!-- all important stuff here --> </div>
  </body>
</html>
```

Everything is just appended to the "root" div, and it seems that on GNOME Web 41.3 nothing gets appended there. So it is probably some issue with the Javascript code on that website, which I didn't test yet.
Comment 4 Michael Catanzaro 2022-01-11 06:41:27 PST
*** Bug 234721 has been marked as a duplicate of this bug. ***