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

Issue 6249003: Add option for url_fetch_test to wait for a JS expression... (Closed)

Created:
9 years, 11 months ago by sjg
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add option for url_fetch_test to wait for a JS expression This option extends url_fetch_test to support waiting for a JavaScript expression to evaluate to true. This is used in the Chrome OS desktopui_GmailLatency test. The browser goes to the test URL and then runs the test to completion. Contributed by sjg@chromium.org BUG=chromiumos-10869 TEST=test on my workstation on Ubuntu, x86-mario, qemu using a web page which sets a JS value after a period. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71408

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 5

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -10 lines) Patch
M chrome/test/url_fetch_test/url_fetch_test.cc View 1 2 3 3 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
sjg
Will, I have created an official change for Chrome here - my concern was only ...
9 years, 11 months ago (2011-01-13 18:48:03 UTC) #1
tfarina
http://codereview.chromium.org/6249003/diff/3001/chrome/test/url_fetch_test/url_fetch_test.cc File chrome/test/url_fetch_test/url_fetch_test.cc (right): http://codereview.chromium.org/6249003/diff/3001/chrome/test/url_fetch_test/url_fetch_test.cc#newcode1 chrome/test/url_fetch_test/url_fetch_test.cc:1: // Copyright (c) 2010 The Chromium Authors. All rights ...
9 years, 11 months ago (2011-01-13 18:57:50 UTC) #2
sjg
Udpated as per comments from tfarina, thanks.
9 years, 11 months ago (2011-01-13 20:46:56 UTC) #3
asargent_no_longer_on_chrome
lgtm
9 years, 11 months ago (2011-01-13 21:03:59 UTC) #4
sjg
On 2011/01/13 21:03:59, Antony Sargent wrote: > lgtm Thanks, as I am not a committer ...
9 years, 11 months ago (2011-01-13 22:11:03 UTC) #5
tfarina
On 2011/01/13 22:11:03, sjg wrote: > On 2011/01/13 21:03:59, Antony Sargent wrote: > > lgtm ...
9 years, 11 months ago (2011-01-13 22:44:55 UTC) #6
sjg1
Thank you On Thu, Jan 13, 2011 at 2:44 PM, <tfarina@chromium.org> wrote: > On 2011/01/13 ...
9 years, 11 months ago (2011-01-13 22:54:19 UTC) #7
tfarina
On 2011/01/13 22:54:19, sjg_google.com wrote: > Thank you > I'll be landing it here: http://codereview.chromium.org/6288003/ ...
9 years, 11 months ago (2011-01-13 22:56:15 UTC) #8
tfarina
On 2011/01/13 22:56:15, tfarina wrote: > On 2011/01/13 22:54:19, http://sjg_google.com wrote: > > Thank you ...
9 years, 11 months ago (2011-01-14 02:18:38 UTC) #9
sjg
Thanks very much with your help with this! On Thu, Jan 13, 2011 at 6:18 ...
9 years, 11 months ago (2011-01-14 02:55:14 UTC) #10
sjg
Thanks very much with your help with this! On Thu, Jan 13, 2011 at 6:18 ...
9 years, 11 months ago (2011-01-14 02:56:42 UTC) #11
willchan no longer on Chromium
http://codereview.chromium.org/6249003/diff/8001/chrome/test/url_fetch_test/url_fetch_test.cc File chrome/test/url_fetch_test/url_fetch_test.cc (right): http://codereview.chromium.org/6249003/diff/8001/chrome/test/url_fetch_test/url_fetch_test.cc#newcode75 chrome/test/url_fetch_test/url_fetch_test.cc:75: wait_js_frame_xpath, We're trying to limit the amount of wstring ...
9 years, 11 months ago (2011-01-14 18:20:29 UTC) #12
sjg
This change just deals with Will's request to reduce use of std::wstring. I have re-opened ...
9 years, 11 months ago (2011-01-20 20:41:17 UTC) #13
tfarina
On 2011/01/20 20:41:17, sjg wrote: > This change just deals with Will's request to reduce ...
9 years, 11 months ago (2011-01-21 00:40:36 UTC) #14
sjg
9 years, 11 months ago (2011-01-21 16:59:18 UTC) #15
On 2011/01/21 00:40:36, tfarina wrote:
> On 2011/01/20 20:41:17, sjg wrote:
> > This change just deals with Will's request to reduce use of std::wstring. I
> have
> > re-opened this issue until it is resolved.
> >
> No, don't do that. Instead of reopening a issue that was already landed.
Please
> create a new one. Using an existing one will causes some confusion in the
> history.
> 
> > Hopefully it is still OK to use std::string
> Probably will be OK, but open a new issue for this change.

Closed in favor of:

http://codereview.chromium.org/6243010

Powered by Google App Engine
This is Rietveld 408576698