<?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>253749</bug_id>
          
          <creation_ts>2023-03-10 19:05:39 -0800</creation_ts>
          <short_desc>github.com is broken</short_desc>
          <delta_ts>2023-03-11 10:35:56 -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>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>211979</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kdwk">kdwkleung</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>xry111</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1940569</commentid>
    <comment_count>0</comment_count>
    <who name="Kdwk">kdwkleung</who>
    <bug_when>2023-03-10 19:05:39 -0800</bug_when>
    <thetext>Navigating to github.com on Epiphany Tech Preview results in a white page.

Epiphany Tech Preview 44.rc-19-ga80fcd0ab+, WebKitGTK 2.39.91</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940609</commentid>
    <comment_count>1</comment_count>
    <who name="Xi Ruoyao">xry111</who>
    <bug_when>2023-03-11 06:17:43 -0800</bug_when>
    <thetext>I&apos;ve reported https://github.com/orgs/community/discussions/49755.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940610</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-03-11 06:40:25 -0800</bug_when>
    <thetext>Time for a mandatory break from WebKit development. :P Cannot view that discussion or any pull requests.

Interestingly, it does work if I use Epiphany 43 with WebKitGTK 2.38 for whatever reason, so I can see the problem is we&apos;re missing navigator.clipboard.read.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940611</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-03-11 06:51:51 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #2)
&gt; Interestingly, it does work if I use Epiphany 43 with WebKitGTK 2.38 for
&gt; whatever reason

Ah no, I just got unlucky. It&apos;s broken in both versions but sometimes the page content displays anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940612</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-03-11 06:59:51 -0800</bug_when>
    <thetext>This is the missing API:

# FIXME: This is on by default in WebKit2 PLATFORM(COCOA). Perhaps we should consider turning it on for WebKitLegacy as well.
AsyncClipboardAPIEnabled:
  type: bool
  status: mature
  humanReadableName: &quot;Async clipboard API&quot;
  humanReadableDescription: &quot;Enable the async clipboard API&quot;
  defaultValue:
    WebKitLegacy:
      default: false
    WebKit:
      &quot;PLATFORM(COCOA)&quot; : true
      default: false
    WebCore:
      default: false

I&apos;m surprised this sort of breakage does not happen more often since we&apos;re not very good at keeping up with new web APIs.

It looks like the implementation in Source/WebCore/Modules/async-clipboard is entirely cross-platform (build on top of our existing clipboard platform abstractions) and the only platform-specific bits are the image reader, so... maybe we can just turn it on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940613</commentid>
    <comment_count>5</comment_count>
    <who name="Xi Ruoyao">xry111</who>
    <bug_when>2023-03-11 07:03:03 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #4)
&gt; This is the missing API:
&gt; 
&gt; # FIXME: This is on by default in WebKit2 PLATFORM(COCOA). Perhaps we should
&gt; consider turning it on for WebKitLegacy as well.
&gt; AsyncClipboardAPIEnabled:
&gt;   type: bool
&gt;   status: mature
&gt;   humanReadableName: &quot;Async clipboard API&quot;
&gt;   humanReadableDescription: &quot;Enable the async clipboard API&quot;
&gt;   defaultValue:
&gt;     WebKitLegacy:
&gt;       default: false
&gt;     WebKit:
&gt;       &quot;PLATFORM(COCOA)&quot; : true
&gt;       default: false
&gt;     WebCore:
&gt;       default: false
&gt; 
&gt; I&apos;m surprised this sort of breakage does not happen more often since we&apos;re
&gt; not very good at keeping up with new web APIs.
&gt; 
&gt; It looks like the implementation in Source/WebCore/Modules/async-clipboard
&gt; is entirely cross-platform (build on top of our existing clipboard platform
&gt; abstractions) and the only platform-specific bits are the image reader,
&gt; so... maybe we can just turn it on.

Even if we don&apos;t turn it on, I think GitHub developers should not make a dead loop in the JavaScript code...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940627</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-03-11 10:35:56 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 211979 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>