Bug 74214 - [chromium] Add worldId parameter to allowScriptExtension()
Summary: [chromium] Add worldId parameter to allowScriptExtension()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: James Kozianski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 14:15 PST by James Kozianski
Modified: 2011-12-18 16:38 PST (History)
4 users (show)

See Also:


Attachments
Patch (9.56 KB, patch)
2011-12-09 14:23 PST, James Kozianski
no flags Details | Formatted Diff | Diff
Patch (9.67 KB, patch)
2011-12-15 22:12 PST, James Kozianski
no flags Details | Formatted Diff | Diff
Patch for landing (9.63 KB, patch)
2011-12-18 14:33 PST, James Kozianski
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Kozianski 2011-12-09 14:15:10 PST
[chromium] Add worldId parameter to allowScriptExtension()
Comment 1 James Kozianski 2011-12-09 14:23:08 PST
Created attachment 118640 [details]
Patch
Comment 2 WebKit Review Bot 2011-12-09 14:25:48 PST
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Comment 3 James Kozianski 2011-12-09 14:29:37 PST
The chromium side of this patch is here: http://codereview.chromium.org/8872053/
Comment 4 Darin Fisher (:fishd, Google) 2011-12-09 16:53:41 PST
Comment on attachment 118640 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=118640&action=review

> Source/WebKit/chromium/public/WebPermissionClient.h:77
> +    virtual bool allowScriptExtension(WebFrame*, const WebString& extensionName, int extensionGroup, int worldId) { return true; }

usually we make the default implementation of the new method call the old method.
that helps us keep the system working while we transition chrome over to impl
the new method.
Comment 5 James Kozianski 2011-12-15 22:12:53 PST
Created attachment 119568 [details]
Patch
Comment 6 James Kozianski 2011-12-15 22:17:19 PST
(In reply to comment #4)
> (From update of attachment 118640 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=118640&action=review
> 
> > Source/WebKit/chromium/public/WebPermissionClient.h:77
> > +    virtual bool allowScriptExtension(WebFrame*, const WebString& extensionName, int extensionGroup, int worldId) { return true; }
> 
> usually we make the default implementation of the new method call the old method.
> that helps us keep the system working while we transition chrome over to impl
> the new method.

Cool, done.
Comment 7 WebKit Review Bot 2011-12-16 05:07:52 PST
Comment on attachment 119568 [details]
Patch

Rejecting attachment 119568 [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:
webkit-commit-queue/Source/WebKit/chromium/webkit --revision 114686 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'
47>At revision 114686.

________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'

________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'
Updating webkit projects from gyp files...

Full output: http://queues.webkit.org/results/10914668
Comment 8 James Kozianski 2011-12-18 14:33:01 PST
Created attachment 119781 [details]
Patch for landing
Comment 9 WebKit Review Bot 2011-12-18 16:38:11 PST
Comment on attachment 119781 [details]
Patch for landing

Clearing flags on attachment: 119781

Committed r103195: <http://trac.webkit.org/changeset/103195>
Comment 10 WebKit Review Bot 2011-12-18 16:38:15 PST
All reviewed patches have been landed.  Closing bug.