[Webkit-unassigned] [Bug 193513] New: [JSC] ToThis omission in DFGByteCodeParser is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 16 15:38:25 PST 2019


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

            Bug ID: 193513
           Summary: [JSC] ToThis omission in DFGByteCodeParser is wrong
           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: yusukesuzuki at slowstart.org

It assumes that `ToThis(ToThis(value)) === ToThis(value)`. But it is wrong since the semantics of ToThis in strict mode and ToThis in sloppy mode is different.
If `ToThisFromSloppyMode(ToThisFromStrictMode(value))` is converted to `ToThisFromStrictMode(value)`, we have a bad time!

-- 
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/20190116/300b4e03/attachment.html>


More information about the webkit-unassigned mailing list