[Webkit-unassigned] [Bug 169839] `const location = "foo"` throws in a worker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 17 23:14:27 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=169839

--- Comment #1 from Chris Dumez <cdumez at apple.com> ---
Created attachment 304864
  --> https://bugs.webkit.org/attachment.cgi?id=304864&action=review
WIP patch

Causes the following layout test to fail:
- js/dom/const.html (But this test also fails in Firefox and Chrome in the same way so the test may be wrong)

Causes the following JSC tests to fail:
ChakraCore.yaml/ChakraCore/test/es6/letconst_global_shadow_builtins_nonconfigurable.js.default
stress/global-lexical-redeclare-variable.js.default

stress/global-lexical-redeclare-variable.js.ftl-eager-no-cjit: Exception: Error: bad assertion
stress/global-lexical-redeclare-variable.js.ftl-eager-no-cjit: assert at global-lexical-redeclare-variable.js:12:24
stress/global-lexical-redeclare-variable.js.ftl-eager-no-cjit: global code at global-lexical-redeclare-variable.js:112:11
stress/global-lexical-redeclare-variable.js.ftl-eager-no-cjit: ERROR: Unexpected exit code: 3
ChakraCore.yaml/ChakraCore/test/es6/letconst_global_shadow_builtins_nonconfigurable.js.default: Expected uncaught exception with name 'ReferenceError' but exception value is not instance of this exception class
ChakraCore.yaml/ChakraCore/test/es6/letconst_global_shadow_builtins_nonconfigurable.js.default: Exception: SyntaxError: Can't create duplicate variable that shadows a global property: 'undefined'
ChakraCore.yaml/ChakraCore/test/es6/letconst_global_shadow_builtins_nonconfigurable.js.default: ERROR: Unexpected exit code: 3

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170318/fb39b45a/attachment.html>


More information about the webkit-unassigned mailing list