RESOLVED FIXED 95254
Remove unused methods from Chromium WebKit API
https://bugs.webkit.org/show_bug.cgi?id=95254
Summary Remove unused methods from Chromium WebKit API
Nasko Oskov
Reported 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.
Attachments
Patch (4.33 KB, patch)
2012-08-28 15:53 PDT, Nasko Oskov
no flags
Patch (4.71 KB, patch)
2012-08-30 15:55 PDT, Nasko Oskov
no flags
Patch (4.37 KB, patch)
2012-08-30 16:36 PDT, Nasko Oskov
no flags
Patch (8.02 KB, patch)
2012-09-14 15:51 PDT, Nasko Oskov
no flags
Patch (10.00 KB, patch)
2012-09-27 16:26 PDT, Nasko Oskov
no flags
Nasko Oskov
Comment 1 2012-08-28 15:53:02 PDT
WebKit Review Bot
Comment 2 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.
Adam Barth
Comment 3 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.
Nasko Oskov
Comment 4 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.
WebKit Review Bot
Comment 5 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
Adam Barth
Comment 6 2012-08-28 16:27:48 PDT
Peter Beverloo (cr-android ews)
Comment 7 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
Nasko Oskov
Comment 8 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.
Nasko Oskov
Comment 9 2012-08-30 15:55:21 PDT
Nasko Oskov
Comment 10 2012-08-30 16:36:58 PDT
WebKit Review Bot
Comment 11 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
Peter Beverloo (cr-android ews)
Comment 12 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
Adam Barth
Comment 13 2012-08-31 08:51:42 PDT
Comment on attachment 161583 [details] Patch Did the DEPS roll land? Let's find out.
WebKit Review Bot
Comment 14 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
Nasko Oskov
Comment 15 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.
Nasko Oskov
Comment 16 2012-08-31 14:27:08 PDT
And the DEPS are now rolled with http://trac.webkit.org/changeset/127305. Can you cq+ again?
WebKit Review Bot
Comment 17 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
Nasko Oskov
Comment 18 2012-09-14 15:51:20 PDT
WebKit Review Bot
Comment 19 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
Adam Barth
Comment 20 2012-09-14 17:10:12 PDT
That looks like it could be a real bug... Perhaps DumpRenderTree is still using the API?
WebKit Review Bot
Comment 21 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
Nasko Oskov
Comment 22 2012-09-27 16:26:16 PDT
Nasko Oskov
Comment 23 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.
WebKit Review Bot
Comment 24 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>
WebKit Review Bot
Comment 25 2012-09-27 17:04:54 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.