[Webkit-unassigned] [Bug 110243] New: [V8] ToNumber conversions in toIntXX() functions need try-catch block
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 19 11:31:13 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=110243
Summary: [V8] ToNumber conversions in toIntXX() functions need
try-catch block
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jsbell at chromium.org
Depends on: 96798,101783
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"; } } );
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list