WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
86922
[Chromium-Android] Run DumpRenderTree as an apk (C++ and gyp part)
https://bugs.webkit.org/show_bug.cgi?id=86922
Summary
[Chromium-Android] Run DumpRenderTree as an apk (C++ and gyp part)
Xianzhu Wang
Reported
2012-05-18 16:36:58 PDT
C++ and gyp part of patch for
bug 86862
.
Attachments
patch
(36.78 KB, patch)
2012-05-18 16:53 PDT
,
Xianzhu Wang
tkent
: review+
tkent
: commit-queue-
Details
Formatted Diff
Diff
patch for landing
(42.49 KB, patch)
2012-05-22 14:15 PDT
,
Xianzhu Wang
no flags
Details
Formatted Diff
Diff
patch for landing
(44.04 KB, patch)
2012-05-22 15:19 PDT
,
Xianzhu Wang
no flags
Details
Formatted Diff
Diff
patch v4
(41.82 KB, patch)
2012-05-22 15:53 PDT
,
Xianzhu Wang
tkent
: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
last patch hopefully
(41.77 KB, patch)
2012-05-22 16:26 PDT
,
Xianzhu Wang
no flags
Details
Formatted Diff
Diff
Yet another last patch (resolved conflicts)
(41.87 KB, patch)
2012-05-22 17:51 PDT
,
Xianzhu Wang
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Xianzhu Wang
Comment 1
2012-05-18 16:53:27 PDT
Created
attachment 142821
[details]
patch
Kent Tamura
Comment 2
2012-05-20 18:28:48 PDT
Comment on
attachment 142821
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=142821&action=review
Looks ok.
> Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:83 > + 'ImageDiff', > + 'TestNetscapePlugIn', > + 'copy_TestNetscapePlugIn',
Why did you move them to here? It looks a unnecessary change.
> Tools/DumpRenderTree/chromium/TestShellAndroid.cpp:45 > +const char optionInFifo[] = "--in-fifo="; > +const char optionOutFifo[] = "--out-fifo=";
should be optionInFIFO and optionOutFIFO.
http://www.webkit.org/coding/coding-style.html#names-basic
> Tools/DumpRenderTree/chromium/TestShellAndroid.cpp:87 > + const char* inFifo = 0; > + const char* outFifo = 0;
should be inFIFO and outFIFO.
Tony Chang
Comment 3
2012-05-21 10:05:22 PDT
Comment on
attachment 142821
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=142821&action=review
> Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:196 > + ['os_posix!=1 or OS=="mac"', { > + 'sources/': [ > + ['exclude', 'Posix\\.cpp$'],
It's confusing to have os_posix include mac but the Posix.cpp file exclude mac, but I'm not sure of a better name for Linux or Android.
> Tools/DumpRenderTree/chromium/TestShellX11.cpp:36 > #if USE(GTK)
Is this file used by aura and gtk? Should we merge TestShellGtk.cpp into this file (it's only like 12 lines of code) and put it behind an #if USE(GTK)?
Xianzhu Wang
Comment 4
2012-05-22 14:15:47 PDT
Created
attachment 143359
[details]
patch for landing
Xianzhu Wang
Comment 5
2012-05-22 14:16:31 PDT
Comment on
attachment 142821
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=142821&action=review
>> Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:83 >> + 'copy_TestNetscapePlugIn', > > Why did you move them to here? It looks a unnecessary change.
These had been there before
http://trac.webkit.org/changeset/95171
. We put the dependencies into the 'else' part of OS=="android" because at some time gyp didn't support excluding from dependencies. Now it is supported so I changed this to 'include all then exclude' style which is clearer and normally used in gyp files.
>> Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:196 >> + ['exclude', 'Posix\\.cpp$'], > > It's confusing to have os_posix include mac but the Posix.cpp file exclude mac, but I'm not sure of a better name for Linux or Android.
In chromium there are also some places using such style (on mac some posix source files are excluded). Actually the code in Posix.cpp file works on Mac. It is excluded just because Mac has a better implementation.
>> Tools/DumpRenderTree/chromium/TestShellAndroid.cpp:45 >> +const char optionOutFifo[] = "--out-fifo="; > > should be optionInFIFO and optionOutFIFO. >
http://www.webkit.org/coding/coding-style.html#names-basic
Done.
>> Tools/DumpRenderTree/chromium/TestShellAndroid.cpp:87 >> + const char* outFifo = 0; > > should be inFIFO and outFIFO.
Done.
>> Tools/DumpRenderTree/chromium/TestShellX11.cpp:36 >> #if USE(GTK) > > Is this file used by aura and gtk? Should we merge TestShellGtk.cpp into this file (it's only like 12 lines of code) and put it behind an #if USE(GTK)?
I think so. Done.
Xianzhu Wang
Comment 6
2012-05-22 15:10:44 PDT
Comment on
attachment 143359
[details]
patch for landing Will soon upload a new patch containing latest downstream changes.
Xianzhu Wang
Comment 7
2012-05-22 15:19:21 PDT
Created
attachment 143375
[details]
patch for landing
Kent Tamura
Comment 8
2012-05-22 15:30:42 PDT
Comment on
attachment 143375
[details]
patch for landing View in context:
https://bugs.webkit.org/attachment.cgi?id=143375&action=review
> Tools/DumpRenderTree/DumpRenderTree.gypi:57 > 'chromium/WebPreferences.h', > + 'chromium/WebThemeControlDRTWin.cpp', > + 'chromium/WebThemeControlDRTWin.h', > + 'chromium/WebThemeEngineDRTMac.mm', > + 'chromium/WebThemeEngineDRTMac.h', > + 'chromium/WebThemeEngineDRTWin.cpp', > + 'chromium/WebThemeEngineDRTWin.h', > 'chromium/WebUserMediaClientMock.cpp',
This patch includes a change which was not in the reviewed patch.
Xianzhu Wang
Comment 9
2012-05-22 15:34:35 PDT
Comment on
attachment 143375
[details]
patch for landing Sorry. I should request another review. Thanks.
Kent Tamura
Comment 10
2012-05-22 15:38:21 PDT
(In reply to
comment #8
)
> (From update of
attachment 143375
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=143375&action=review
> > > Tools/DumpRenderTree/DumpRenderTree.gypi:57 > > 'chromium/WebPreferences.h', > > + 'chromium/WebThemeControlDRTWin.cpp', > > + 'chromium/WebThemeControlDRTWin.h', > > + 'chromium/WebThemeEngineDRTMac.mm', > > + 'chromium/WebThemeEngineDRTMac.h', > > + 'chromium/WebThemeEngineDRTWin.cpp', > > + 'chromium/WebThemeEngineDRTWin.h', > > 'chromium/WebUserMediaClientMock.cpp', > > This patch includes a change which was not in the reviewed patch.
Please change this in another patch. It is unrelated to "Run DumpRenderTree as an apk", and we shouldn't do it in this bug.
Xianzhu Wang
Comment 11
2012-05-22 15:53:51 PDT
Created
attachment 143385
[details]
patch v4 Will file another bug for the conditions in DumpRenderTree.gypi.
WebKit Review Bot
Comment 12
2012-05-22 16:20:34 PDT
Comment on
attachment 143385
[details]
patch v4
Attachment 143385
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/12767058
Xianzhu Wang
Comment 13
2012-05-22 16:26:10 PDT
Created
attachment 143394
[details]
last patch hopefully Will commit-queue+ after passing ews.
Xianzhu Wang
Comment 14
2012-05-22 17:51:17 PDT
Created
attachment 143418
[details]
Yet another last patch (resolved conflicts)
WebKit Review Bot
Comment 15
2012-05-22 21:13:28 PDT
Comment on
attachment 143418
[details]
Yet another last patch (resolved conflicts) Clearing flags on attachment: 143418 Committed
r118115
: <
http://trac.webkit.org/changeset/118115
>
WebKit Review Bot
Comment 16
2012-05-22 21:13:34 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.
Top of Page
Format For Printing
XML
Clone This Bug