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

Issue 2882633002: [DeviceService] Create end-to-end browsertest for BatteryMonitor (Closed)

Created:
3 years, 7 months ago by leonhsl(Using Gerrit)
Modified:
3 years, 7 months ago
Reviewers:
jam, blundell
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[DeviceService] Create end-to-end browsertest for BatteryMonitor This CL is to confirm that in a real browser environment javascript battery APIs(navigator.getBattery and its event listener) CAN eventually succeed in connecting to Device Service to receive battery status change notifications correctly. BUG=717379 TEST=content_browsertests Review-Url: https://codereview.chromium.org/2882633002 Cr-Commit-Position: refs/heads/master@{#473432} Committed: https://chromium.googlesource.com/chromium/src/+/da7e1a15a2d765da4d26aa6e7855ced0ccecfb24

Patch Set 1 #

Patch Set 2 : Rebase only #

Patch Set 3 : Close binding before destroying response callback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -0 lines) Patch
A content/browser/battery_monitor_browsertest.cc View 1 2 1 chunk +140 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
A content/test/data/battery_monitor/battery_status_event_listener_test.html View 1 chunk +34 lines, -0 lines 0 comments Download
A content/test/data/battery_monitor/battery_status_manual_test.html View 1 chunk +89 lines, -0 lines 0 comments Download
A content/test/data/battery_monitor/battery_status_promise_resolution_test.html View 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
leonhsl(Using Gerrit)
Hi, Colin, PTAL, Thanks. This CL recovers old battery browser tests removed by us due ...
3 years, 7 months ago (2017-05-12 09:00:24 UTC) #2
leonhsl(Using Gerrit)
On 2017/05/12 09:00:24, leonhsl wrote: > Hi, Colin, PTAL, Thanks. This CL recovers old battery ...
3 years, 7 months ago (2017-05-12 09:01:23 UTC) #3
blundell
lgtm with question I assume that this is basically exactly the code that we previously ...
3 years, 7 months ago (2017-05-15 07:37:21 UTC) #4
blundell
(If not, tell me what the other differences are so that I can examine those ...
3 years, 7 months ago (2017-05-15 07:37:49 UTC) #5
leonhsl(Using Gerrit)
On 2017/05/15 07:37:21, blundell wrote: > lgtm with question > > I assume that this ...
3 years, 7 months ago (2017-05-15 07:57:06 UTC) #6
leonhsl(Using Gerrit)
+John for OWNER review, Thanks!
3 years, 7 months ago (2017-05-16 09:53:25 UTC) #8
jam
rs lgtm
3 years, 7 months ago (2017-05-17 01:20:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2882633002/1
3 years, 7 months ago (2017-05-20 09:45:25 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/79157)
3 years, 7 months ago (2017-05-20 09:55:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2882633002/20001
3 years, 7 months ago (2017-05-20 10:19:46 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/372554)
3 years, 7 months ago (2017-05-20 10:58:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2882633002/40001
3 years, 7 months ago (2017-05-20 11:30:30 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-20 12:41:14 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/da7e1a15a2d765da4d26aa6e7855...

Powered by Google App Engine
This is Rietveld 408576698