<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>229923</bug_id>
          
          <creation_ts>2021-09-05 10:32:39 -0700</creation_ts>
          <short_desc>[GTK] Desktop version of imgur.com displays a gray screen and a few JavaScript errors</short_desc>
          <delta_ts>2022-01-15 03:59:13 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laurin Neff">laurin+webkit-bugzilla</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alicem</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>kevin_neal</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pedropaulosuzuki1</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1790551</commentid>
    <comment_count>0</comment_count>
    <who name="Laurin Neff">laurin+webkit-bugzilla</who>
    <bug_when>2021-09-05 10:32:39 -0700</bug_when>
    <thetext>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 &apos;navigator.credentials.get&apos;) — 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 &apos;this.measure.children&apos;)
	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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792339</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Neal">kevin_neal</who>
    <bug_when>2021-09-10 08:15:19 -0700</bug_when>
    <thetext>Thank you for filing. I could not reproduce the display issue using the latest desktop version of Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792361</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-10 09:07:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/82974887&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829780</commentid>
    <comment_count>3</comment_count>
    <who name="Pedro Paulo">pedropaulosuzuki1</who>
    <bug_when>2022-01-11 05:32:43 -0800</bug_when>
    <thetext>Confirmed on GNOME Web 41.3 / WebkitGTK 2.34.3.

Imgur uses a web structure like this:

```html
&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt; &lt;!-- stuff here --&gt; &lt;/head&gt;
  &lt;body&gt;
    &lt;div id=&quot;root&quot;&gt; &lt;!-- all important stuff here --&gt; &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;
```

Everything is just appended to the &quot;root&quot; 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&apos;t test yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829788</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-01-11 06:41:27 -0800</bug_when>
    <thetext>*** Bug 234721 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>