Bug 49062 - Generate the messages sent to the WebProcessProxy
Summary: Generate the messages sent to the WebProcessProxy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 03:31 PDT by Sam Weinig
Modified: 2010-11-05 09:23 PDT (History)
0 users

See Also:


Attachments
Patch (37.28 KB, patch)
2010-11-05 03:43 PDT, Sam Weinig
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2010-11-05 03:31:38 PDT
Generate the messages sent to the WebProcessProxy
Comment 1 Sam Weinig 2010-11-05 03:43:53 PDT
Created attachment 73050 [details]
Patch
Comment 2 Adam Roben (:aroben) 2010-11-05 08:27:34 PDT
Comment on attachment 73050 [details]
Patch

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

> WebKit2/Scripts/webkit2/messages.py:253
> +        'WebCore::PluginData.h',

The ".h" seems wrong.

> WebKit2/UIProcess/WebProcessProxy.cpp:232
> +void WebProcessProxy::didPerformClientRedirect(uint64_t pageID, const String& sourceURLString, const String& destinationURLString, uint64_t frameID)
> +{
> +    m_context->didPerformClientRedirect(webFrame(frameID), sourceURLString, destinationURLString);
> +}

Will the unused pageID variable cause compiler warnings/errors?

Why are we sending along the pageID if we don't need it?

(These questions apply to a few other functions in this file.)
Comment 3 Sam Weinig 2010-11-05 09:16:25 PDT
(In reply to comment #2)
> (From update of attachment 73050 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=73050&action=review
> 
> > WebKit2/Scripts/webkit2/messages.py:253
> > +        'WebCore::PluginData.h',
> 
> The ".h" seems wrong.

Fixed. This would have broken clang and msvc!

> 
> > WebKit2/UIProcess/WebProcessProxy.cpp:232
> > +void WebProcessProxy::didPerformClientRedirect(uint64_t pageID, const String& sourceURLString, const String& destinationURLString, uint64_t frameID)
> > +{
> > +    m_context->didPerformClientRedirect(webFrame(frameID), sourceURLString, destinationURLString);
> > +}
> 
> Will the unused pageID variable cause compiler warnings/errors?
> 
> Why are we sending along the pageID if we don't need it?
> 
> (These questions apply to a few other functions in this file.)

Not sure, but it isn't new. I will talk to Anders/Brady when I get a chance.
Comment 4 Sam Weinig 2010-11-05 09:23:41 PDT
Landed in http://trac.webkit.org/changeset/71423.