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

Issue 543203003: Fix the geofencing test to not break if the promises resolve asynchronously. (Closed)

Created:
6 years, 3 months ago by Marijn Kruisselbrink
Modified:
6 years, 3 months ago
Reviewers:
Peter Beverloo, jsbell
CC:
blink-reviews, asanka
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Fix the geofencing test to not break if the promises resolve asynchronously. Also add a similar test to make sure the API exists/rejects in service workers. BUG=383125 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181855

Patch Set 1 #

Total comments: 6

Patch Set 2 : cleaner code #

Total comments: 7

Patch Set 3 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -29 lines) Patch
M LayoutTests/geofencing/geofencing-not-implemented.html View 1 2 1 chunk +33 lines, -17 lines 0 comments Download
D LayoutTests/geofencing/geofencing-not-implemented-expected.txt View 1 1 chunk +0 lines, -12 lines 0 comments Download
A LayoutTests/http/tests/geofencing/resources/worker.js View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/geofencing/service-worker.html View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Marijn Kruisselbrink
This depends on https://codereview.chromium.org/464073002/ (at least the service worker test part does). I'm not actually ...
6 years, 3 months ago (2014-09-05 21:37:57 UTC) #2
Marijn Kruisselbrink
ping?
6 years, 3 months ago (2014-09-10 22:36:50 UTC) #4
Peter Beverloo
lgtm % comments If more of your tests start following this paradigm then it may ...
6 years, 3 months ago (2014-09-11 16:32:21 UTC) #5
Marijn Kruisselbrink
On 2014/09/11 16:32:21, Peter Beverloo wrote: > If more of your tests start following this ...
6 years, 3 months ago (2014-09-11 19:11:06 UTC) #6
Marijn Kruisselbrink
+asanka, to make sure that what I'm doing with worker-test-harness.js and promiss_test all looks okay
6 years, 3 months ago (2014-09-11 19:12:06 UTC) #8
asanka
On 2014/09/11 19:12:06, Marijn Kruisselbrink wrote: > +asanka, to make sure that what I'm doing ...
6 years, 3 months ago (2014-09-11 19:47:56 UTC) #10
jsbell
Overall lgtm. Agree with peter that we should plan to move the SW helpers to ...
6 years, 3 months ago (2014-09-11 21:13:35 UTC) #11
Marijn Kruisselbrink
https://codereview.chromium.org/543203003/diff/40001/LayoutTests/geofencing/geofencing-not-implemented.html File LayoutTests/geofencing/geofencing-not-implemented.html (right): https://codereview.chromium.org/543203003/diff/40001/LayoutTests/geofencing/geofencing-not-implemented.html#newcode1 LayoutTests/geofencing/geofencing-not-implemented.html:1: <!DOCTYPE html> On 2014/09/11 21:13:35, jsbell wrote: > Nit: ...
6 years, 3 months ago (2014-09-11 21:54:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/543203003/80001
6 years, 3 months ago (2014-09-11 21:56:02 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 22:59:35 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as 181855

Powered by Google App Engine
This is Rietveld 408576698