RESOLVED WONTFIX 110243
[V8] ToNumber conversions in toIntXX() functions need try-catch block
https://bugs.webkit.org/show_bug.cgi?id=110243
Summary [V8] ToNumber conversions in toIntXX() functions need try-catch block
Joshua Bell
Reported 2013-02-19 11:33:36 PST
CodeGeneratorV8.pm relies on e.g. toInt32 for coercing arguments to WebIDL long types in JSValueToNative. toInt32 calls value->ToNumber(), which may throw but in general this call is not wrapped in a v8::tryCatch block. e.g.: someObj.someLongMethod( { valueOf: function() { throw "boom"; } } );
Attachments
Note You need to log in before you can comment on or make changes to this bug.