RESOLVED FIXED 106548
[chromium] move webpermissionclient related methods to TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=106548
Summary [chromium] move webpermissionclient related methods to TestRunner library
Dan Carney
Reported 2013-01-10 03:52:18 PST
[chromium] move webpermissionclient related methods to TestRunner library
Attachments
Patch (43.85 KB, patch)
2013-01-10 03:52 PST, Dan Carney
no flags
Patch (42.36 KB, patch)
2013-01-10 08:13 PST, Dan Carney
no flags
Patch (42.29 KB, patch)
2013-01-10 08:36 PST, Dan Carney
no flags
Dan Carney
Comment 1 2013-01-10 03:52:58 PST
WebKit Review Bot
Comment 2 2013-01-10 03:56:30 PST
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.
jochen
Comment 3 2013-01-10 05:01:11 PST
Comment on attachment 182108 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=182108&action=review > Tools/DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:81 > + // the location of the layout test in the file system. no need to put the comment here > Tools/DumpRenderTree/chromium/TestRunner/public/WebTestRunner.h:65 > + virtual WebKit::WebPermissionClient* webPermissions() { return 0; } should be const > Tools/DumpRenderTree/chromium/TestRunner/src/WebPermissions.cpp:35 > +#include "WebTestRunner.h" not needed? > Tools/DumpRenderTree/chromium/TestRunner/src/WebPermissions.cpp:42 > + : m_delegate(delegate) just initialize this to 0 instead of passing 0 as parameter > Tools/DumpRenderTree/chromium/TestRunner/src/WebPermissions.h:39 > +class WebTestRunner; not needed? > Tools/DumpRenderTree/chromium/TestRunner/src/WebPermissions.h:69 > + remove empty line here > Tools/DumpRenderTree/chromium/TestRunner/src/WebPermissions.h:82 > +} and add one here after the } > Tools/DumpRenderTree/chromium/WebViewHost.cpp:1085 > + return normalizeLayoutTestURLInternal(url); instead of copying the code, can you do m_shell->normalizeLayoutTestURL(urL)?
Dan Carney
Comment 4 2013-01-10 08:13:50 PST
jochen
Comment 5 2013-01-10 08:23:18 PST
Comment on attachment 182143 [details] Patch very nice! View in context: https://bugs.webkit.org/attachment.cgi?id=182143&action=review > Tools/ChangeLog:65 > + (normalizeLayoutTestURLInternal): please update the changelog > Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:86 > + , m_webPermissions(adoptPtr(new WebPermissions())) nit no () required after WebPermissions
Dan Carney
Comment 6 2013-01-10 08:36:39 PST
WebKit Review Bot
Comment 7 2013-01-10 09:16:14 PST
Comment on attachment 182148 [details] Patch Rejecting attachment 182148 [details] from commit-queue. New failing tests: inspector-protocol/debugger-terminate-dedicated-worker-while-paused.html Full output: http://queues.webkit.org/results/15766891
WebKit Review Bot
Comment 8 2013-01-10 13:04:16 PST
Comment on attachment 182148 [details] Patch Clearing flags on attachment: 182148 Committed r139355: <http://trac.webkit.org/changeset/139355>
WebKit Review Bot
Comment 9 2013-01-10 13:04:22 PST
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.