Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 65ae8f7a2d0ac2f644fb495b441364f09ea822f5
https://github.com/WebKit/WebKit/commit/65ae8f7a2d0ac2f644fb495b441364f09ea822f5
Author: Yusuke Suzuki <[email protected]>
Date: 2025-03-03 (Mon, 03 Mar 2025)
Changed paths:
M Source/JavaScriptCore/interpreter/Interpreter.cpp
M Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp
M Source/JavaScriptCore/runtime/LiteralParser.cpp
M Source/JavaScriptCore/runtime/LiteralParser.h
Log Message:
-----------
[JSC] Use parseRecursively for eval preprocess
https://bugs.webkit.org/show_bug.cgi?id=288947
rdar://145983863
Reviewed by Keith Miller.
This patch accepts parseRecursively for SloppyJSON parsing mode too.
* Source/JavaScriptCore/interpreter/Interpreter.cpp:
(JSC::eval):
* Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/LiteralParser.cpp:
(JSC::requires):
(JSC::reviverMode>::parse):
(JSC::reviverMode>::tryJSONPParse): Deleted.
(JSC::reviverMode>::parseRecursivelyEntry): Deleted.
(JSC::reviverMode>::parseRecursively): Deleted.
* Source/JavaScriptCore/runtime/LiteralParser.h:
(JSC::LiteralParser::requires):
(JSC::LiteralParser::tryLiteralParse): Deleted.
(JSC::LiteralParser::tryLiteralParsePrimitiveValue): Deleted.
Canonical link: https://commits.webkit.org/291509@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes