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

Issue 1629543002: [Reland] Fix org.chromium.chrome.browser.GeolocationTest (Closed)

Created:
4 years, 11 months ago by pkotwicz
Modified:
4 years, 11 months ago
Reviewers:
Ted C
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Reland] Fix org.chromium.chrome.browser.GeolocationTest The geolocation tests did not work because: - They referred to incorrect test pages. Correct test pages: https://chrome-internal-review.googlesource.com/#/c/27084/3/test/data/android/geolocation/geolocation_on_load.html https://chrome-internal-review.googlesource.com/#/c/27084/3/test/data/android/geolocation/geolocation_watch_on_load.html - A race condition was causing LocationProviderAdapter.newLocationAvailable() to be often called prior to LocationProviderFactory.LocationProvider.start(). In addition to fixing the above problems, this CL makes org.chromium.chrome.browser.GeolocationTest more similar to - org.chromium.android_webview.test.GeolocationTest - org.chromium.content.browser.ContentViewLocationTest In particular, all of the tests now: - Use the same test page - Use MockLocationProvider BUG=141518 Test=Less flakiness Committed: https://crrev.com/54d1c1e5d856c74aa0394cbf0fd1f30e63708702 Cr-Commit-Position: refs/heads/master@{#371257}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -104 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java View 1 5 chunks +46 lines, -97 lines 0 comments Download
M content/test/data/android/geolocation.html View 1 chunk +17 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
pkotwicz
tedchoc@ can you please take a look? Patch set #1 has the CL as it ...
4 years, 11 months ago (2016-01-22 22:39:47 UTC) #2
Ted C
lgtm
4 years, 11 months ago (2016-01-22 23:37:02 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1629543002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1629543002/20001
4 years, 11 months ago (2016-01-25 15:58:02 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-25 17:39:27 UTC) #6
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 17:40:40 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/54d1c1e5d856c74aa0394cbf0fd1f30e63708702
Cr-Commit-Position: refs/heads/master@{#371257}

Powered by Google App Engine
This is Rietveld 408576698