<?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>259713</bug_id>
          
          <creation_ts>2023-08-01 16:12:46 -0700</creation_ts>
          <short_desc>JSON.parse error in cloudflare check page</short_desc>
          <delta_ts>2023-09-11 16:33:06 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>two</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1969150</commentid>
    <comment_count>0</comment_count>
    <who name="">two</who>
    <bug_when>2023-08-01 16:12:46 -0700</bug_when>
    <thetext>on websites that use cloudflare for &quot;protection&quot;, the &quot;checking security&quot; page doesn&apos;t complete

```
[Error] SyntaxError: JSON Parse error: Invalid escape character &apos;
	parse (v1:1:157907)
	gR (v1:1:157907)
	aQnCf (v1:1:149338)
	gV (v1:1:149374)
	gQ (v1:1:137483)
	h4 (v1:1:124536)
	fD (v1:1:121510)
	BBcuN (v1:1:141832)
	(anonymous function) (v1:1:142405)
	(anonymous function) (v1:1:142161)
```

this only happens in Epiphany stable, not nightly

on matrix people said it doesn&apos;t happen when the js debugger is on</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969154</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-08-01 16:32:27 -0700</bug_when>
    <thetext>Please, always provide WebKitGTK version when reporting a bug. You mentioned on Matrix this was with WebKitGTK 2.40.4, which is 260527.381@webkitglib/2.40 (86182cd30e2b8c7ab3414e0c883a333033868a12).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969155</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-08-01 16:42:37 -0700</bug_when>
    <thetext>We think this is a bug with the DFG JIT tier because a user reports on Matrix that the problem goes away when using JSC_useDFGJIT=0. There are two DFG fixes in WebKitGTK 2.40.5, from bug #256865 and bug #257285. It makes sense to test that before asking JSC developers to investigate further.

Also, the problem reportedly does not occur in Tech Preview (at least, it certainly doesn&apos;t occur for me), so if it&apos;s not fixed in 2.40.5 it might be bisectable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970186</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-08 16:13:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/113592447&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970547</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-08-10 12:08:59 -0700</bug_when>
    <thetext>Any chance this was indeed fixed by WebKitGTK 2.40.5?

Can you provide an example website where the problem can be reproduced? I want to see if it is bisectable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1972710</commentid>
    <comment_count>5</comment_count>
    <who name="">two</who>
    <bug_when>2023-08-22 13:58:31 -0700</bug_when>
    <thetext>it was on many sites including gitlab.com/users/sign_in, but i can&apos;t reproduce this any more</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>