DescriptionExpose APIs for detecting boxed primitives, native errors and Math.
While implementing structured clone I found that I need support
for detecting and creating objects using the builtin Number, String
and Boolean constructors; this CL adds this support. I also need
to be able to detect entities of "native object type (e.g., Error)",
hence the new IsNativeError() calls.
(ref: http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#safe-passing-of-structured-data)
Patch by Luke Zarko.
Committed: http://code.google.com/p/v8/source/detail?r=8653
Patch Set 1 #
Total comments: 8
Patch Set 2 : Respond to comments. #Patch Set 3 : Fix overlong line. #Patch Set 4 : Get rid of unclear 'box' comments/strings. #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|