Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Issue 11565036: [content shell] use WebTestRunner::WebPreferences for layout tests (Closed)

Created:
8 years ago by jochen (gone - plz use gerrit)
Modified:
8 years ago
Reviewers:
jam, marja
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org
Visibility:
Public.

Description

[content shell] use WebTestRunner::WebPreferences for layout tests Also, implement two further TestDelegate methods BUG=111316 TEST=xssAuditor tests still work R=marja@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173402

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -41 lines) Patch
M content/shell/shell_content_browser_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_messages.h View 1 chunk +4 lines, -4 lines 0 comments Download
M content/shell/shell_webpreferences.h View 1 chunk +4 lines, -10 lines 1 comment Download
M content/shell/shell_webpreferences.cc View 1 chunk +8 lines, -17 lines 0 comments Download
M content/shell/webkit_test_controller.h View 1 3 chunks +6 lines, -3 lines 0 comments Download
M content/shell/webkit_test_controller.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M content/shell/webkit_test_runner.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/webkit_test_runner.cc View 4 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jochen (gone - plz use gerrit)
8 years ago (2012-12-14 15:10:41 UTC) #1
marja
lgtm, also did you mean "to" -> "two" in your CL description, or what's wrong ...
8 years ago (2012-12-14 17:51:13 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/11565036/1
8 years ago (2012-12-14 21:17:19 UTC) #3
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-14 21:47:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/11565036/12001
8 years ago (2012-12-16 21:37:14 UTC) #5
commit-bot: I haz the power
Change committed as 173402
8 years ago (2012-12-17 00:16:38 UTC) #6
jam
https://chromiumcodereview.appspot.com/11565036/diff/12001/content/shell/shell_webpreferences.h File content/shell/shell_webpreferences.h (right): https://chromiumcodereview.appspot.com/11565036/diff/12001/content/shell/shell_webpreferences.h#newcode16 content/shell/shell_webpreferences.h:16: struct ShellWebPreferences : public WebTestRunner::WebPreferences { just saw this ...
8 years ago (2012-12-17 16:30:33 UTC) #7
jochen (gone - plz use gerrit)
On 2012/12/17 16:30:33, John Abd-El-Malek wrote: > https://chromiumcodereview.appspot.com/11565036/diff/12001/content/shell/shell_webpreferences.h > File content/shell/shell_webpreferences.h (right): > > https://chromiumcodereview.appspot.com/11565036/diff/12001/content/shell/shell_webpreferences.h#newcode16 ...
8 years ago (2012-12-17 16:40:44 UTC) #8
jam
8 years ago (2012-12-17 17:22:59 UTC) #9
Message was sent while issue was closed.
On 2012/12/17 16:40:44, jochen wrote:
> On 2012/12/17 16:30:33, John Abd-El-Malek wrote:
> >
>
https://chromiumcodereview.appspot.com/11565036/diff/12001/content/shell/shel...
> > File content/shell/shell_webpreferences.h (right):
> > 
> >
>
https://chromiumcodereview.appspot.com/11565036/diff/12001/content/shell/shel...
> > content/shell/shell_webpreferences.h:16: struct ShellWebPreferences : public
> > WebTestRunner::WebPreferences {
> > just saw this when looking through your other change. so now this test
runner
> > struct is used for content shell when not running layout tests? do we really
> > want that?
> 
> The ShellWebPreferences are only used between WebKitTestRunner and
> WebKitTestController, both of which are not present when not running layout
> tests

oh, I see. should it be named differently to reflect that it's only used for
layout tests?

Powered by Google App Engine
This is Rietveld 408576698