WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
Bug 113218
[V8] exceptions are not checked after toInt32 calls in bindings.
https://bugs.webkit.org/show_bug.cgi?id=113218
Summary
[V8] exceptions are not checked after toInt32 calls in bindings.
arno.
Reported
2013-03-25 10:26:02 PDT
Created
attachment 194882
[details]
testcase: selectedIndex will be 2 with v8/javascript; 1 in gecko and -1 in ie Hi, in generated bindings, some values are converted to integers with toInt32. exceptions are not checked afterwards. But exceptions may occur if argument is an object with an valueOf method.
Attachments
testcase: selectedIndex will be 2 with v8/javascript; 1 in gecko and -1 in ie
(945 bytes, text/html)
2013-03-25 10:26 PDT
,
arno.
no flags
Details
patch proposal: fixes the problem in v8 bindings
(4.22 KB, patch)
2013-03-28 12:26 PDT
,
arno.
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
arno.
Comment 1
2013-03-28 12:26:37 PDT
Created
attachment 195619
[details]
patch proposal: fixes the problem in v8 bindings
Kentaro Hara
Comment 2
2013-03-28 12:29:02 PDT
Comment on
attachment 195619
[details]
patch proposal: fixes the problem in v8 bindings great
WebKit Review Bot
Comment 3
2013-03-28 13:06:53 PDT
Comment on
attachment 195619
[details]
patch proposal: fixes the problem in v8 bindings Clearing flags on attachment: 195619 Committed
r147149
: <
http://trac.webkit.org/changeset/147149
>
WebKit Review Bot
Comment 4
2013-03-28 13:06:58 PDT
All reviewed patches have been landed. Closing bug.
Simon Fraser (smfr)
Comment 5
2013-03-28 14:22:42 PDT
This broke binding generation tests on Mac:
http://build.webkit.org/builders/Apple%20Lion%20Release%20WK1%20%28Tests%29/builds/10946/steps/bindings-generation-tests/logs/stdio
Why is Mac code seeing a macro call V8TRYCATCH_VOID ?
arno.
Comment 6
2013-03-28 14:37:15 PDT
(In reply to
comment #5
)
> This broke binding generation tests on Mac: >
http://build.webkit.org/builders/Apple%20Lion%20Release%20WK1%20%28Tests%29/builds/10946/steps/bindings-generation-tests/logs/stdio
> > Why is Mac code seeing a macro call V8TRYCATCH_VOID ?
Oups, I forgot to run run-bindings-tests --reset-results. What's the best way to handle that ? Submit a patch with just test results reseted, or resubmit the commited patch with the results reseted ?
WebKit Review Bot
Comment 7
2013-03-28 14:37:53 PDT
Re-opened since this is blocked by
bug 113538
Kentaro Hara
Comment 8
2013-03-28 15:13:06 PDT
Would you re-upload a patch with binding-tests update?
arno.
Comment 9
2013-03-28 15:14:01 PDT
(In reply to
comment #8
)
> Would you re-upload a patch with binding-tests update?
It's already been fixed in
bug #113538
Kentaro Hara
Comment 10
2013-03-28 15:14:29 PDT
Ah, makes sense. Thanks!
Brian Burg
Comment 11
2014-12-16 00:48:09 PST
Closing some V8-related work items.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug