RESOLVED FIXED 259713
JSON.parse error in cloudflare check page
https://bugs.webkit.org/show_bug.cgi?id=259713
Summary JSON.parse error in cloudflare check page
two
Reported 2023-08-01 16:12:46 PDT
on websites that use cloudflare for "protection", the "checking security" page doesn't complete ``` [Error] SyntaxError: JSON Parse error: Invalid escape character ' 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't happen when the js debugger is on
Attachments
Michael Catanzaro
Comment 1 2023-08-01 16:32:27 PDT
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).
Michael Catanzaro
Comment 2 2023-08-01 16:42:37 PDT
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't occur for me), so if it's not fixed in 2.40.5 it might be bisectable.
Radar WebKit Bug Importer
Comment 3 2023-08-08 16:13:16 PDT
Michael Catanzaro
Comment 4 2023-08-10 12:08:59 PDT
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.
two
Comment 5 2023-08-22 13:58:31 PDT
it was on many sites including gitlab.com/users/sign_in, but i can't reproduce this any more
Note You need to log in before you can comment on or make changes to this bug.