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

Issue 99333010: Working around the page load problem on Linux, re-enable tests. (Closed)

Created:
7 years ago by phoglund_chromium
Modified:
7 years ago
CC:
chromium-reviews, fischman+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org
Visibility:
Public.

Description

Working around the page load problem on Linux. After experimenting on the bots, this admittedly silly workaround seems to work without any negative side effects. This patch makes the main browser test and the video quality test use the same helper to load pages, and then makes that helper load the page twice on Linux. I tried that on the bot and it manages to load the js correctly 100% of the time if I do that. BUG=281268 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240170

Patch Set 1 #

Patch Set 2 : Cleaned up a bit #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -54 lines) Patch
M chrome/browser/media/chrome_webrtc_browsertest.cc View 1 2 3 6 chunks +8 lines, -21 lines 0 comments Download
M chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc View 1 2 3 4 chunks +7 lines, -21 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.cc View 1 2 3 3 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
phoglund_chromium
7 years ago (2013-12-05 14:39:17 UTC) #1
Ami GONE FROM CHROMIUM
drive-by https://codereview.chromium.org/99333010/diff/40001/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/99333010/diff/40001/chrome/browser/media/webrtc_browsertest_base.cc#newcode116 chrome/browser/media/webrtc_browsertest_base.cc:116: ui_test_utils::NavigateToURL(browser(), url); Shot in the dark: is it ...
7 years ago (2013-12-05 19:35:24 UTC) #2
phoglund_chromium
On 2013/12/05 19:35:24, Ami Fischman wrote: > drive-by > > https://codereview.chromium.org/99333010/diff/40001/chrome/browser/media/webrtc_browsertest_base.cc > File chrome/browser/media/webrtc_browsertest_base.cc (right): ...
7 years ago (2013-12-06 13:21:42 UTC) #3
phoglund_chromium
Adding the modal dialog thing forces the javascript to load, but then the test gets ...
7 years ago (2013-12-06 14:30:53 UTC) #4
phoglund_chromium
Also see the bug for more descriptions of what I've tried to debug this.
7 years ago (2013-12-06 14:34:19 UTC) #5
phoglund_chromium
On 2013/12/06 14:34:19, phoglund wrote: > Also see the bug for more descriptions of what ...
7 years ago (2013-12-06 14:45:06 UTC) #6
phoglund_chromium
On 2013/12/06 14:45:06, phoglund wrote: > On 2013/12/06 14:34:19, phoglund wrote: > > Also see ...
7 years ago (2013-12-06 14:45:35 UTC) #7
phoglund_chromium
> So yeah, I'd say let's go with this workaround so that I can regain ...
7 years ago (2013-12-09 12:21:03 UTC) #8
tommi (sloooow) - chröme
https://codereview.chromium.org/99333010/diff/40001/chrome/browser/media/webrtc_browsertest_base.cc File chrome/browser/media/webrtc_browsertest_base.cc (right): https://codereview.chromium.org/99333010/diff/40001/chrome/browser/media/webrtc_browsertest_base.cc#newcode116 chrome/browser/media/webrtc_browsertest_base.cc:116: ui_test_utils::NavigateToURL(browser(), url); Is it possible to hook up to ...
7 years ago (2013-12-09 15:30:52 UTC) #9
phoglund_chromium
On 2013/12/09 15:30:52, tommi wrote: > https://codereview.chromium.org/99333010/diff/40001/chrome/browser/media/webrtc_browsertest_base.cc > File chrome/browser/media/webrtc_browsertest_base.cc (right): > > https://codereview.chromium.org/99333010/diff/40001/chrome/browser/media/webrtc_browsertest_base.cc#newcode116 > ...
7 years ago (2013-12-09 16:22:15 UTC) #10
phoglund_chromium
All right, this is interesting. I tried doing this on the bot: void WebRtcTestBase::GetUserMedia(content::WebContents* tab_contents, ...
7 years ago (2013-12-10 14:59:11 UTC) #11
phoglund_chromium
> So it seems some task on the main test thread is being starved out. ...
7 years ago (2013-12-10 15:24:37 UTC) #12
Ami GONE FROM CHROMIUM
On Tue, Dec 10, 2013 at 6:59 AM, <phoglund@chromium.org> wrote: > So it seems some ...
7 years ago (2013-12-10 17:42:58 UTC) #13
tommi (sloooow) - chröme
OK, in that case, can you try this: 1. in your onload handler in the ...
7 years ago (2013-12-10 20:21:58 UTC) #14
phoglund_chromium
Doesn't work unfortunately: it just hangs waiting for the title.
7 years ago (2013-12-11 14:17:49 UTC) #15
tommi (sloooow) - chröme
ok, as discussed offline it looks like it will take some time to get to ...
7 years ago (2013-12-11 16:41:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phoglund@chromium.org/99333010/40001
7 years ago (2013-12-11 17:21:10 UTC) #17
commit-bot: I haz the power
Failed to apply patch for chrome/browser/media/chrome_webrtc_video_quality_browsertest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-11 17:21:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phoglund@chromium.org/99333010/60001
7 years ago (2013-12-11 17:57:25 UTC) #19
commit-bot: I haz the power
7 years ago (2013-12-11 20:33:58 UTC) #20
Message was sent while issue was closed.
Change committed as 240170

Powered by Google App Engine
This is Rietveld 408576698