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

Issue 4166006: moved commonly used private functions to it's own utility file. (Closed)

Created:
10 years, 1 month ago by dyu1
Modified:
9 years, 7 months ago
CC:
chromium-reviews, anantha, AmolKher
Visibility:
Public.

Description

Placed private functions in it's own commonly used utils file. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64315

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -23 lines) Patch
M chrome/test/functional/find_in_page.py View 1 2 3 2 chunks +13 lines, -23 lines 0 comments Download
A chrome/test/functional/test_utils.py View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
dyu1
added WaitUntil function to fix bug 60953 for Find_In_Page.py
10 years, 1 month ago (2010-10-28 19:50:03 UTC) #1
Nirnimesh
Please enable the test in PYAUTO_TESTS http://codereview.chromium.org/4166006/diff/1/2 File chrome/test/functional/find_in_page.py (right): http://codereview.chromium.org/4166006/diff/1/2#newcode83 chrome/test/functional/find_in_page.py:83: # wait until ...
10 years, 1 month ago (2010-10-28 20:26:57 UTC) #2
dyu1
Made the suggested changes and deleted the line in PYAUTO_TESTS where the test was disabled. ...
10 years, 1 month ago (2010-10-28 21:10:43 UTC) #3
Nirnimesh
http://codereview.chromium.org/4166006/diff/5001/6002 File chrome/test/functional/find_in_page.py (right): http://codereview.chromium.org/4166006/diff/5001/6002#newcode91 chrome/test/functional/find_in_page.py:91: # wait for downloads page to load please repeat ...
10 years, 1 month ago (2010-10-28 21:20:02 UTC) #4
dyu1
done http://codereview.chromium.org/4166006/diff/5001/6002 File chrome/test/functional/find_in_page.py (right): http://codereview.chromium.org/4166006/diff/5001/6002#newcode91 chrome/test/functional/find_in_page.py:91: # wait for downloads page to load On ...
10 years, 1 month ago (2010-10-28 21:23:59 UTC) #5
Nirnimesh
LGTM. I'll commit this.
10 years, 1 month ago (2010-10-28 21:26:47 UTC) #6
dyu1
DownloadTestFile and RemoveTestFile functions are used in other tests as well, so moved them into ...
10 years, 1 month ago (2010-10-29 00:51:48 UTC) #7
Nirnimesh
On 2010/10/29 00:51:48, dyu1 wrote: > DownloadTestFile and RemoveTestFile functions are used in other tests ...
10 years, 1 month ago (2010-10-29 00:54:47 UTC) #8
Paweł Hajdan Jr.
No, please, noooooooooo! We can wait for the DOMUI pages to fully load, and we ...
10 years, 1 month ago (2010-10-29 10:25:35 UTC) #9
Nirnimesh
On 2010/10/29 10:25:35, Paweł Hajdan Jr. wrote: > No, please, noooooooooo! > > We can ...
10 years, 1 month ago (2010-10-29 15:42:04 UTC) #10
Paweł Hajdan Jr.
10 years, 1 month ago (2010-10-29 15:47:43 UTC) #11
On Fri, Oct 29, 2010 at 17:42, <nirnimesh@chromium.org> wrote:

> On 2010/10/29 10:25:35, Paweł Hajdan Jr. wrote:
>
>> No, please, noooooooooo!
>>
>
>  We can wait for the DOMUI pages to fully load, and we should.
>>
>
> How?
> To be clear, the page commits but the content loads asynchronously, I
> think.


Yes, but the code should be quite clean, so we can wait for the asynchronous
load as well. We can even do it transparently, similar to how we wait for
browser commands to complete. We can recognize a DOMUI page and instead of
waiting for just the page load to finish, also wait for the "full load".

Powered by Google App Engine
This is Rietveld 408576698