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 193347
Bug 186888
Incorrect scoping in module script
https://bugs.webkit.org/show_bug.cgi?id=186888
Summary
Incorrect scoping in module script
Jake Archibald
Reported
2018-06-21 04:34:22 PDT
http://jsbin.com/buxogoz/edit?html,console
<script> const foo = 'bar'; </script> <script> console.log(foo); </script> <script type="module"> console.log(foo); </script> "bar" should be logged twice, but Safari throws on the second log as it can't find "foo".
Attachments
Add attachment
proposed patch, testcase, etc.
Fabian
Comment 1
2020-02-25 01:42:05 PST
Any updates on this bug?
Yusuke Suzuki
Comment 2
2020-04-29 16:17:29 PDT
Fixed in
bug 193347
*** This bug has been marked as a duplicate of
bug 193347
***
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