DescriptionMake CallSite constructor inaccessible from JS
This type is not supposed to be constructable by users. Internally, we
use CallSiteUtils::Construct to create CallSite objects; and we simply
map a thrower builtin as the public CallSite constructor.
R=yangguo@chromium.org
BUG=
Committed: https://crrev.com/8135caef32492b900f9d1d25276038d224b72ae1
Cr-Commit-Position: refs/heads/master@{#38234}
Patch Set 1 #Patch Set 2 : Add tests #Patch Set 3 : Remove builtin CallSite constructor #Patch Set 4 : Fix Error.prepareStackTrace test #
Total comments: 2
Patch Set 5 : Revert "CHECK invalid arguments to CallSite constructor" #
Messages
Total messages: 19 (13 generated)
|