RESOLVED FIXED 51385
Move V8 to common implementation of window.open
https://bugs.webkit.org/show_bug.cgi?id=51385
Summary Move V8 to common implementation of window.open
Adam Barth
Reported 2010-12-21 00:58:09 PST
Move V8 to common implementation of window.open
Attachments
Patch (11.43 KB, patch)
2010-12-21 01:00 PST, Adam Barth
no flags
Adam Barth
Comment 1 2010-12-21 01:00:44 PST
anton muhin
Comment 2 2010-12-21 05:29:48 PST
Comment on attachment 77091 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=77091&action=review > WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp:519 > + EXCEPTION_BLOCK(String, urlString, toWebCoreStringWithNullOrUndefinedCheck(args[0])); I am not sure EXCEPTION_BLOCK does what it promises in the case of string conversion: if memory serves, our functions do eat thrown exceptions. If it's indeed the case, I would recommend using STRING_TO_V8PARAMETER_EXCEPTION_BLOCK. Adam, maybe you can give it a quick informal try just in Inspector?
anton muhin
Comment 3 2010-12-21 05:30:05 PST
And overall LGTM (In reply to comment #2) > (From update of attachment 77091 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=77091&action=review > > > WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp:519 > > + EXCEPTION_BLOCK(String, urlString, toWebCoreStringWithNullOrUndefinedCheck(args[0])); > > I am not sure EXCEPTION_BLOCK does what it promises in the case of string conversion: if memory serves, our functions do eat thrown exceptions. If it's indeed the case, I would recommend using STRING_TO_V8PARAMETER_EXCEPTION_BLOCK. > > Adam, maybe you can give it a quick informal try just in Inspector?
Adam Barth
Comment 4 2010-12-21 15:16:02 PST
> Adam, maybe you can give it a quick informal try just in Inspector? Will do.
Darin Adler
Comment 5 2010-12-21 15:18:43 PST
Comment on attachment 77091 [details] Patch Looks good to me.
WebKit Commit Bot
Comment 6 2010-12-21 19:10:20 PST
Comment on attachment 77091 [details] Patch Clearing flags on attachment: 77091 Committed r74449: <http://trac.webkit.org/changeset/74449>
WebKit Commit Bot
Comment 7 2010-12-21 19:10:27 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.