Bug 95254 - Remove unused methods from Chromium WebKit API
Summary: Remove unused methods from Chromium WebKit API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-28 15:09 PDT by Nasko Oskov
Modified: 2012-09-27 17:04 PDT (History)
7 users (show)

See Also:


Attachments
Patch (4.33 KB, patch)
2012-08-28 15:53 PDT, Nasko Oskov
no flags Details | Formatted Diff | Diff
Patch (4.71 KB, patch)
2012-08-30 15:55 PDT, Nasko Oskov
no flags Details | Formatted Diff | Diff
Patch (4.37 KB, patch)
2012-08-30 16:36 PDT, Nasko Oskov
no flags Details | Formatted Diff | Diff
Patch (8.02 KB, patch)
2012-09-14 15:51 PDT, Nasko Oskov
no flags Details | Formatted Diff | Diff
Patch (10.00 KB, patch)
2012-09-27 16:26 PDT, Nasko Oskov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nasko Oskov 2012-08-28 15:09:47 PDT
As part of https://bugs.webkit.org/show_bug.cgi?id=93127, I have introduced two new methods in the Chromium WebKit API. I'm removing the usage of the old one from the Chrome side and the old versions need to be removed from WebKit as well.
Comment 1 Nasko Oskov 2012-08-28 15:53:02 PDT
Created attachment 161075 [details]
Patch
Comment 2 WebKit Review Bot 2012-08-28 15:55:16 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment 3 Adam Barth 2012-08-28 16:00:23 PDT
Comment on attachment 161075 [details]
Patch

I assume you checked that all the implementations of willCheckAndDispatchMessageEvent now accept the extra argument.
Comment 4 Nasko Oskov 2012-08-28 16:24:41 PDT
(In reply to comment #3)
> (From update of attachment 161075 [details])
> I assume you checked that all the implementations of willCheckAndDispatchMessageEvent now accept the extra argument.

The only one I found was the RenderVIewImpl one, which I've already migrated to the new version. In addition, a full build of Chromium completed without any errors.
Comment 5 WebKit Review Bot 2012-08-28 16:26:53 PDT
Comment on attachment 161075 [details]
Patch

Attachment 161075 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13660483
Comment 6 Adam Barth 2012-08-28 16:27:48 PDT
You might need to update http://trac.webkit.org/browser/trunk/Source/WebKit/chromium/DEPS
Comment 7 Peter Beverloo (cr-android ews) 2012-08-28 16:44:47 PDT
Comment on attachment 161075 [details]
Patch

Attachment 161075 [details] did not pass cr-android-ews (chromium-android):
Output: http://queues.webkit.org/results/13653529
Comment 8 Nasko Oskov 2012-08-28 21:48:14 PDT
(In reply to comment #7)
> (From update of attachment 161075 [details])
> Attachment 161075 [details] did not pass cr-android-ews (chromium-android):
> Output: http://queues.webkit.org/results/13653529

This is expected for the time being. This change depends on a Chromium change currently in review: https://chromiumcodereview.appspot.com/10879105/. Once it is committed, this patch will be sent to the CQ and should succeed.
Comment 9 Nasko Oskov 2012-08-30 15:55:21 PDT
Created attachment 161575 [details]
Patch
Comment 10 Nasko Oskov 2012-08-30 16:36:58 PDT
Created attachment 161583 [details]
Patch
Comment 11 WebKit Review Bot 2012-08-30 17:42:50 PDT
Comment on attachment 161583 [details]
Patch

Attachment 161583 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13695902
Comment 12 Peter Beverloo (cr-android ews) 2012-08-30 18:44:46 PDT
Comment on attachment 161583 [details]
Patch

Attachment 161583 [details] did not pass cr-android-ews (chromium-android):
Output: http://queues.webkit.org/results/13680948
Comment 13 Adam Barth 2012-08-31 08:51:42 PDT
Comment on attachment 161583 [details]
Patch

Did the DEPS roll land?  Let's find out.
Comment 14 WebKit Review Bot 2012-08-31 08:59:33 PDT
Comment on attachment 161583 [details]
Patch

Rejecting attachment 161583 [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:
target/glue/Source/WebKit/chromium/webkit/glue/webpreferences.o
  CXX(target) out/Release/obj.target/glue/Source/WebKit/chromium/webkit/glue/websocketstreamhandle_impl.o
cc1plus: warnings being treated as errors
At global scope:
cc1plus: error: unrecognized command line option "-Wno-narrowing"
cc1plus: error: unrecognized command line option "-Wno-narrowing"
make: *** [out/Release/obj.target/glue/Source/WebKit/chromium/webkit/glue/webkit_glue.o] Error 1
make: *** Waiting for unfinished jobs....

Full output: http://queues.webkit.org/results/13725189
Comment 15 Nasko Oskov 2012-08-31 09:03:24 PDT
No, the DEPS didn't roll out. The bug for rolling is https://bugs.webkit.org/show_bug.cgi?id=95511.
Comment 16 Nasko Oskov 2012-08-31 14:27:08 PDT
And the DEPS are now rolled with http://trac.webkit.org/changeset/127305. Can you cq+ again?
Comment 17 WebKit Review Bot 2012-08-31 15:02:01 PDT
Comment on attachment 161583 [details]
Patch

Rejecting attachment 161583 [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:
WebFrame' has no member named 'name'
Tools/DumpRenderTree/chromium/TestShell.cpp: In function 'void dumpFrameScrollPosition(WebKit::WebFrame*, bool)':
Tools/DumpRenderTree/chromium/TestShell.cpp:450: error: 'class WebKit::WebFrame' has no member named 'name'
  CXX(target) out/Release/obj.target/DumpRenderTree/Tools/DumpRenderTree/chromium/TestShellPosix.o
make: *** [out/Release/obj.target/DumpRenderTree/Tools/DumpRenderTree/chromium/TestShell.o] Error 1
make: *** Waiting for unfinished jobs....

Full output: http://queues.webkit.org/results/13714391
Comment 18 Nasko Oskov 2012-09-14 15:51:20 PDT
Created attachment 164242 [details]
Patch
Comment 19 WebKit Review Bot 2012-09-14 17:03:49 PDT
Comment on attachment 164242 [details]
Patch

Attachment 164242 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13851692

New failing tests:
platform/chromium/fast/events/intercept-postmessage.html
Comment 20 Adam Barth 2012-09-14 17:10:12 PDT
That looks like it could be a real bug...  Perhaps DumpRenderTree is still using the API?
Comment 21 WebKit Review Bot 2012-09-14 18:05:41 PDT
Comment on attachment 164242 [details]
Patch

Attachment 164242 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13851709

New failing tests:
platform/chromium/fast/events/intercept-postmessage.html
Comment 22 Nasko Oskov 2012-09-27 16:26:16 PDT
Created attachment 166091 [details]
Patch
Comment 23 Nasko Oskov 2012-09-27 16:29:03 PDT
I had missed updating willCheckAndDispatchMessageEvent in WebViewHost for DumpRenderTree. It compiled fine, but didn't resolve to the right method call. Updated and the test passes.
Comment 24 WebKit Review Bot 2012-09-27 17:04:48 PDT
Comment on attachment 166091 [details]
Patch

Clearing flags on attachment: 166091

Committed r129821: <http://trac.webkit.org/changeset/129821>
Comment 25 WebKit Review Bot 2012-09-27 17:04:54 PDT
All reviewed patches have been landed.  Closing bug.