[Webkit-unassigned] [Bug 182074] New: JSC incorrectly interpreting script as JSON
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 24 16:40:59 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=182074
Bug ID: 182074
Summary: JSC incorrectly interpreting script as JSON
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cdumez at apple.com
CC: mark.lam at apple.com, sbarati at apple.com
I have a test.js file containing:
foo = "root"; bar=5
Then if I launch jsc interpreter:
>>> let foo = null
>>> load("test.js")
5
>>> foo
null // should be "root", not null.
The bug does not reproduce if you don't do "let foo = null" before loading the file. It also does not reproduce if you do "var foo = null" instead.
The bug does not reproduce on Firefox and Chrome.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180125/c6c53f90/attachment.html>
More information about the webkit-unassigned
mailing list