Bug 74214

Summary: [chromium] Add worldId parameter to allowScriptExtension()
Product: WebKit Reporter: James Kozianski <koz>
Component: New BugsAssignee: James Kozianski <koz>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, fishd, japhet, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch for landing none

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.