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

Issue 6805003: Add a test for checking that refreshing a page does load the same WebUI page. (Closed)

Created:
9 years, 8 months ago by David Tseng
Modified:
9 years, 5 months ago
CC:
chromium-reviews, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add a test for checking that refreshing a page does load the same WebUI page. BUG=57485 TEST=this one. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=82950

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -11 lines) Patch
M chrome/browser/ui/webui/settings_browsertest.cc View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M chrome/test/data/webui/settings.js View 1 2 3 4 5 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/test/data/webui/test_api.js View 1 2 3 4 2 chunks +5 lines, -6 lines 0 comments Download
M content/browser/webui/web_ui_browsertest.cc View 1 2 3 4 5 6 1 chunk +7 lines, -3 lines 0 comments Download
M content/browser/webui/web_ui_test_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
David Tseng
Sending this out to see if it applies to the referenced bug. • I know ...
9 years, 8 months ago (2011-04-06 04:42:35 UTC) #1
Evan Stade
http://codereview.chromium.org/6805003/diff/13/chrome/browser/ui/webui/settings_browsertest.cc File chrome/browser/ui/webui/settings_browsertest.cc (right): http://codereview.chromium.org/6805003/diff/13/chrome/browser/ui/webui/settings_browsertest.cc#newcode69 chrome/browser/ui/webui/settings_browsertest.cc:69: virtual void SetUpInProcessBrowserTestFixture() { it seems this is called ...
9 years, 8 months ago (2011-04-07 19:29:34 UTC) #2
David Tseng
http://codereview.chromium.org/6805003/diff/13/chrome/browser/ui/webui/settings_browsertest.cc#newcode101 > chrome/browser/ui/webui/settings_browsertest.cc:101: > ASSERT_TRUE(RunJavascriptFunction("openUnderTheHood")); > these should all be one javascript test > > ...
9 years, 8 months ago (2011-04-07 21:46:07 UTC) #3
Evan Stade
http://codereview.chromium.org/6805003/diff/13/chrome/test/data/webui/settings.js File chrome/test/data/webui/settings.js (right): http://codereview.chromium.org/6805003/diff/13/chrome/test/data/webui/settings.js#newcode17 chrome/test/data/webui/settings.js:17: } can you also add a test to make ...
9 years, 8 months ago (2011-04-08 17:17:45 UTC) #4
David Tseng
PTAL; wasn't sure how to get the claimed "document.location" from class OptionsPage. Otherwise, changed it ...
9 years, 8 months ago (2011-04-19 17:16:55 UTC) #5
arv (Not doing code reviews)
http://codereview.chromium.org/6805003/diff/13001/chrome/test/data/webui/settings_util.js File chrome/test/data/webui/settings_util.js (right): http://codereview.chromium.org/6805003/diff/13001/chrome/test/data/webui/settings_util.js#newcode6 chrome/test/data/webui/settings_util.js:6: function refreshPage() { Can this be put in the ...
9 years, 8 months ago (2011-04-19 18:08:22 UTC) #6
Evan Stade
On 2011/04/19 17:16:55, David Tseng wrote: > PTAL; wasn't sure how to get the claimed ...
9 years, 8 months ago (2011-04-19 18:08:33 UTC) #7
David Tseng
Also, refined the assertEquals() check; it now checks equality first with non-strict (!=) and then ...
9 years, 8 months ago (2011-04-19 19:05:36 UTC) #8
arv (Not doing code reviews)
On Tue, Apr 19, 2011 at 12:05, <dtseng@chromium.org> wrote: > Also, refined the assertEquals() check; ...
9 years, 8 months ago (2011-04-19 19:09:01 UTC) #9
David Tseng
It's necessary as this is a regression test: BUG=57485 wherein we want to ensure that ...
9 years, 8 months ago (2011-04-19 19:16:03 UTC) #10
David Tseng
The scope might be larger than appropriate for the framework, but I'm trying to simulate ...
9 years, 8 months ago (2011-04-19 19:20:57 UTC) #11
David Tseng
ping. I'd like to at least get the changes to the framework in (if not ...
9 years, 8 months ago (2011-04-19 23:51:48 UTC) #12
arv (Not doing code reviews)
9 years, 8 months ago (2011-04-25 18:39:24 UTC) #13
LGTM

Powered by Google App Engine
This is Rietveld 408576698