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

Issue 2705653005: Fix WebVR getDevices promise not resolving when VR Services are not compatible. (Closed)

Created:
3 years, 10 months ago by amp
Modified:
3 years, 10 months ago
Reviewers:
mthiesse, bajones
CC:
chromium-reviews, feature-vr-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix WebVR getDevices promise not resolving when VR Services are not compatible. Adds a check for initialization before GvrDeviceProvider adds a device. Adding a device without the library in place (succesful initialization) makes the promise hang waiting for a device connected event which never happens. BUG=693298 Review-Url: https://codereview.chromium.org/2705653005 Cr-Commit-Position: refs/heads/master@{#451847} Committed: https://chromium.googlesource.com/chromium/src/+/dd47ba396451348cc15ecbc53255cb618e457414

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M device/vr/android/gvr/gvr_device_provider.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 22 (12 generated)
amp
I'm not sure if this is the best way to do this, but it resolves ...
3 years, 10 months ago (2017-02-17 22:29:34 UTC) #2
bajones
On 2017/02/17 22:29:34, amp wrote: > I'm not sure if this is the best way ...
3 years, 10 months ago (2017-02-17 22:59:47 UTC) #3
amp
On 2017/02/17 22:59:47, bajones wrote: > On 2017/02/17 22:29:34, amp wrote: > > I'm not ...
3 years, 10 months ago (2017-02-17 23:08:41 UTC) #4
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/2705653005/1
3 years, 10 months ago (2017-02-17 23:51:28 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-18 01:39:23 UTC) #11
mthiesse
LGTM, thanks!
3 years, 10 months ago (2017-02-18 21:14:49 UTC) #12
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/2705653005/20001
3 years, 10 months ago (2017-02-21 18:50:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-21 20:54:19 UTC) #17
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/2705653005/20001
3 years, 10 months ago (2017-02-21 20:56:11 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 22:11:05 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/dd47ba396451348cc15ecbc53255...

Powered by Google App Engine
This is Rietveld 408576698