Bug 62385

Summary: [GTK] [Qt] Eliminate duplicate TestNetscapePlugin implementation
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: WebKitGTKAssignee: Martin Robinson <mrobinson>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, andersca, aroben, dglazkov, gustavo, kling, noel.gordon, ossy, sam, tonikitoo, webkit.review.bot
Priority: P3 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch
none
Try to fix the cr-linux build
none
Archive of layout-test-results from ec2-cr-linux-02
none
Patch fixing Qt issues
none
Archive of layout-test-results from ec2-cr-linux-01
none
Patch also removing unecessary cr-linux result
none
Archive of layout-test-results from ec2-cr-linux-02
none
Patch which just updates the cr-linux expected results instead of removing them none

Martin Robinson
Reported 2011-06-09 10:53:22 PDT
GTK+ and Qt use Tools/DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp, which is almost identical to Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp. Having two implementation of the same file makes it difficult to keep them in sync.
Attachments
Patch (24.59 KB, patch)
2011-06-09 11:10 PDT, Martin Robinson
no flags
Try to fix the cr-linux build (24.73 KB, patch)
2011-06-09 11:26 PDT, Martin Robinson
no flags
Archive of layout-test-results from ec2-cr-linux-02 (1.23 MB, application/zip)
2011-06-09 11:42 PDT, WebKit Review Bot
no flags
Patch fixing Qt issues (25.64 KB, patch)
2011-06-10 11:50 PDT, Martin Robinson
no flags
Archive of layout-test-results from ec2-cr-linux-01 (1.38 MB, application/zip)
2011-06-10 12:55 PDT, WebKit Review Bot
no flags
Patch also removing unecessary cr-linux result (27.35 KB, patch)
2011-06-10 15:29 PDT, Martin Robinson
no flags
Archive of layout-test-results from ec2-cr-linux-02 (1.42 MB, application/zip)
2011-06-10 15:49 PDT, WebKit Review Bot
no flags
Patch which just updates the cr-linux expected results instead of removing them (27.43 KB, patch)
2011-06-10 15:56 PDT, Martin Robinson
no flags
Martin Robinson
Comment 1 2011-06-09 11:10:21 PDT
WebKit Review Bot
Comment 2 2011-06-09 11:15:36 PDT
Comment on attachment 96606 [details] Patch Attachment 96606 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8811944
Martin Robinson
Comment 3 2011-06-09 11:26:48 PDT
Created attachment 96608 [details] Try to fix the cr-linux build
WebKit Review Bot
Comment 4 2011-06-09 11:42:16 PDT
Comment on attachment 96608 [details] Try to fix the cr-linux build Attachment 96608 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8788945 New failing tests: plugins/mouse-events.html
WebKit Review Bot
Comment 5 2011-06-09 11:42:21 PDT
Created attachment 96612 [details] Archive of layout-test-results from ec2-cr-linux-02 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-02 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Andreas Kling
Comment 6 2011-06-09 11:45:47 PDT
Comment on attachment 96608 [details] Try to fix the cr-linux build View in context: https://bugs.webkit.org/attachment.cgi?id=96608&action=review Great idea! r=me > Tools/DumpRenderTree/TestNetscapePlugIn/main.cpp:-671 > - if (obj->eventLogging) > - pluginLog(instance, "adjustCursorEvent"); This will break plugins/mouse-events.html on chromium-linux. You can simply remove the chromium-specific expectation for this test.
Martin Robinson
Comment 7 2011-06-09 12:31:02 PDT
Csaba Osztrogonác
Comment 8 2011-06-09 19:01:02 PDT
It was rolled out by r88471, because it broke all plugin tests on Qt. Guys, you should have run layout tests before landing!
Martin Robinson
Comment 9 2011-06-09 19:22:29 PDT
(In reply to comment #8) > It was rolled out by r88471, because it broke all plugin tests on Qt. > Guys, you should have run layout tests before landing! I did run the layout tests, but on GTK+. They passed there. I don't see any obvious reason why they would not pass on Qt as well. I'll investigate further, but I'll need to build for Qt so it will take a littl while.
Csaba Osztrogonác
Comment 10 2011-06-09 19:26:09 PDT
(In reply to comment #9) > (In reply to comment #8) > > It was rolled out by r88471, because it broke all plugin tests on Qt. > > Guys, you should have run layout tests before landing! > > I did run the layout tests, but on GTK+. They passed there. I don't see any obvious reason why they would not pass on Qt as well. I'll investigate further, but I'll need to build for Qt so it will take a littl while. OK, but the Qt reviewer should have done it. :-S And should do it next time ...
Andreas Kling
Comment 11 2011-06-10 00:53:25 PDT
(In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > It was rolled out by r88471, because it broke all plugin tests on Qt. > > > Guys, you should have run layout tests before landing! > > > > I did run the layout tests, but on GTK+. They passed there. I don't see any obvious reason why they would not pass on Qt as well. I'll investigate further, but I'll need to build for Qt so it will take a littl while. > > OK, but the Qt reviewer should have done it. :-S And should do it next time ... Given the nature of this bug, I assumed the tests had already been run on GTK+ and Qt. In retrospect, I should have asked about it. Anyways, that doesn't matter now. But please relax already- occasional bot breakage is not the end of the world- roll out the change and move on. There is no need to get passive-aggressive every time someone causes a test failure. @Martin: If you need testing your patch on Qt, feel free to poke us on #webkit (or better yet #qtwebkit ;) and we'll hook you up.
Antonio Gomes
Comment 12 2011-06-10 11:05:19 PDT
> But please relax already- occasional bot breakage is not the end of the world- roll out the change and move on. There is no need to get passive-aggressive every time someone causes a test failure. I make Kling's words mine!
Martin Robinson
Comment 13 2011-06-10 11:50:15 PDT
Created attachment 96768 [details] Patch fixing Qt issues
Martin Robinson
Comment 14 2011-06-10 11:51:52 PDT
(In reply to comment #13) > Created an attachment (id=96768) [details] > Patch fixing Qt issues I've uploaded a new patch fixing the issues with Qt. I verified that all plugin tests pass in both release and debug buildes. I've made the following changes to the previous patch: - Added the XP_UNIX define for Qt Linux builds. - main.cpp no longer forces the plugin into windowless mode unconditionally. It worries me that this did not cause issues on GTK+, but things are looking good now for Qt.
WebKit Review Bot
Comment 15 2011-06-10 12:54:56 PDT
Comment on attachment 96768 [details] Patch fixing Qt issues Attachment 96768 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8831022 New failing tests: plugins/mouse-events.html
WebKit Review Bot
Comment 16 2011-06-10 12:55:02 PDT
Created attachment 96773 [details] Archive of layout-test-results from ec2-cr-linux-01 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-01 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Martin Robinson
Comment 17 2011-06-10 15:29:49 PDT
Created attachment 96805 [details] Patch also removing unecessary cr-linux result
Martin Robinson
Comment 18 2011-06-10 15:30:19 PDT
I forgot to remove the now unecessary cr-linux expectation! I've removed it and re-uploaded the patch.
WebKit Review Bot
Comment 19 2011-06-10 15:48:58 PDT
Comment on attachment 96805 [details] Patch also removing unecessary cr-linux result Attachment 96805 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8830149 New failing tests: plugins/mouse-events.html
WebKit Review Bot
Comment 20 2011-06-10 15:49:05 PDT
Created attachment 96812 [details] Archive of layout-test-results from ec2-cr-linux-02 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-02 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Martin Robinson
Comment 21 2011-06-10 15:53:22 PDT
Hrm. The cr-linux test is still failing. Could it be that this test just needs a rebaseline?
Adam Barth
Comment 22 2011-06-10 15:54:18 PDT
(In reply to comment #21) > Hrm. The cr-linux test is still failing. Could it be that this test just needs a rebaseline? The results are in the zip that the bot attached. If they're correct, you can add them to your patch.
Martin Robinson
Comment 23 2011-06-10 15:56:42 PDT
Created attachment 96813 [details] Patch which just updates the cr-linux expected results instead of removing them
Martin Robinson
Comment 24 2011-06-10 15:57:25 PDT
(In reply to comment #22) > (In reply to comment #21) > > Hrm. The cr-linux test is still failing. Could it be that this test just needs a rebaseline? > > The results are in the zip that the bot attached. If they're correct, you can add them to your patch. Thanks, Adam. I've attached a new patch with the updated results.
Eric Seidel (no email)
Comment 25 2011-06-13 15:08:48 PDT
Comment on attachment 96813 [details] Patch which just updates the cr-linux expected results instead of removing them Sounds good to me.
WebKit Review Bot
Comment 26 2011-06-13 15:25:45 PDT
Comment on attachment 96813 [details] Patch which just updates the cr-linux expected results instead of removing them Clearing flags on attachment: 96813 Committed r88712: <http://trac.webkit.org/changeset/88712>
WebKit Review Bot
Comment 27 2011-06-13 15:25:59 PDT
All reviewed patches have been landed. Closing bug.
noel gordon
Comment 28 2011-06-22 19:45:45 PDT
*** Bug 61783 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.