WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
242810
[JSC] String serialization of functions doesn't match Blink / Gecko
https://bugs.webkit.org/show_bug.cgi?id=242810
Summary
[JSC] String serialization of functions doesn't match Blink / Gecko
Chris Dumez
Reported
2022-07-15 10:42:47 PDT
[JSC] String serialization of functions doesn't match Blink / Gecko:
https://jsbin.com/zomehipuho/edit?html,output
f = function(){ } "" + f is "function(){ }" in Gecko and Blink "" + f is "function (){ }" in WebKit Gecko and Blink uses the format exactly as provided when constructing the function. WebKit enforces a space between function and (), even if the original input didn't have one. This is causing the following WPT test to fail: imported/w3c/web-platform-tests/webstorage/storage_string_conversion.window.html
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-07-22 10:43:15 PDT
<
rdar://problem/97445158
>
Colin Vidal
Comment 2
2023-06-06 12:20:11 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/14704
EWS
Comment 3
2023-06-18 11:01:23 PDT
Committed
265284@main
(55ae3a1d4de3): <
https://commits.webkit.org/265284@main
> Reviewed commits have been landed. Closing PR #14704 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug