WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 163209
187094
Inconsistent output compared with other JS engines when declare a function in try...catch
https://bugs.webkit.org/show_bug.cgi?id=187094
Summary
Inconsistent output compared with other JS engines when declare a function in...
sunlili
Reported
2018-06-27 06:39:32 PDT
Hello, The following code behaves strangely (inconsistent with other engines). try { f0(); function g(f0){ f0(); }; }catch(g){} g(()=>{print("hi");}); In Safari, output is hi However, in V8 and Firefox, output is TypeError: g is not a function BT group 2018.6.27
Attachments
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2020-12-31 12:38:41 PST
Thanks, this is dupe of 163209 :) *** This bug has been marked as a duplicate of
bug 163209
***
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