WebPagePrivate::executeJavaScript() should check the return value of fromUTF8() before executing it to avoid potential crash.
Created attachment 148397 [details] the patch
Created attachment 148398 [details] again
Created attachment 148408 [details] Another try
Comment on attachment 148408 [details] Another try View in context: https://bugs.webkit.org/attachment.cgi?id=148408&action=review LGTM. > Source/WebKit/blackberry/ChangeLog:9 > + before executing the script to avoid potential crash on invalid script source. Probably needs PR mention.
Created attachment 148411 [details] to commit
Comment on attachment 148411 [details] to commit Rejecting attachment 148411 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: ipts/svn-apply', u'--force']" exit_code: 2 cwd: /mnt/git/webkit-commit-queue/ Parsed 2 diffs from patch file(s). patching file Source/WebKit/blackberry/Api/WebPage.cpp Hunk #1 succeeded at 703 (offset 2 lines). patching file Source/WebKit/blackberry/ChangeLog patch: **** malformed patch at line 22: [Blackberry] add a new Api named setAllowNotification Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force']" exit_code: 2 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/12982521
Created attachment 148437 [details] Changelog again!
Comment on attachment 148437 [details] Changelog again! Clearing flags on attachment: 148437 Committed r120774: <http://trac.webkit.org/changeset/120774>