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

Issue 2031393003: WebAudio: record whether user gesture was available and provided. (Closed)

Created:
4 years, 6 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 6 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, haraken, hongchan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebAudio: record whether user gesture was available and provided. We are looking into a more consistent audio playback on mobile and want to see whether implementing Safari iOS behaviour in Chrome Android would break websites. BUG=616807 Committed: https://crrev.com/9eeee90e6f8d52fce0b3645f933796abc13fe891 Cr-Commit-Position: refs/heads/master@{#398061}

Patch Set 1 #

Total comments: 20

Patch Set 2 : review comments #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -2 lines) Patch
M third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp View 1 8 chunks +49 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp View 1 1 chunk +2 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioContext.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.cpp View 1 2 chunks +2 lines, -1 line 2 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031393003/1
4 years, 6 months ago (2016-06-03 17:02:43 UTC) #2
mlamouri (slow - plz ping)
isherman@, PTAL at histograms usage. rtoy@, PTAL at webaudio/ changes.
4 years, 6 months ago (2016-06-03 17:03:49 UTC) #4
Raymond Toy
https://codereview.chromium.org/2031393003/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp (right): https://codereview.chromium.org/2031393003/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp#newcode118 third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp:118: m_userGestureRequired = true; You initialized m_userGestureRequired to true in ...
4 years, 6 months ago (2016-06-03 17:57:52 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/240951)
4 years, 6 months ago (2016-06-03 18:25:55 UTC) #7
Ilya Sherman
histograms lgtm % nits: https://codereview.chromium.org/2031393003/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2031393003/diff/1/tools/metrics/histograms/histograms.xml#newcode60315 tools/metrics/histograms/histograms.xml:60315: + Records whether WebAudio had ...
4 years, 6 months ago (2016-06-03 21:28:06 UTC) #8
mlamouri (slow - plz ping)
Comments applied. PTAL. https://codereview.chromium.org/2031393003/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp (right): https://codereview.chromium.org/2031393003/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp#newcode118 third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp:118: m_userGestureRequired = true; On 2016/06/03 at ...
4 years, 6 months ago (2016-06-05 14:44:58 UTC) #9
Raymond Toy
Mostly just a few nits. I guess you want to make webaudio behave like it ...
4 years, 6 months ago (2016-06-06 15:10:08 UTC) #10
mlamouri (slow - plz ping)
Quick reply to answer your main question: we want to measure what would happen if ...
4 years, 6 months ago (2016-06-06 15:14:46 UTC) #11
Raymond Toy
On 2016/06/06 at 15:14:46, mlamouri wrote: > Quick reply to answer your main question: we ...
4 years, 6 months ago (2016-06-06 15:19:50 UTC) #12
Raymond Toy
lgtm with a few nits.
4 years, 6 months ago (2016-06-06 15:20:23 UTC) #13
mlamouri (slow - plz ping)
https://codereview.chromium.org/2031393003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp File third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp (right): https://codereview.chromium.org/2031393003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp#newcode444 third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.cpp:444: context()->recordUserGestureState(); On 2016/06/06 at 15:10:08, Raymond Toy wrote: > ...
4 years, 6 months ago (2016-06-06 16:14:13 UTC) #14
mlamouri (slow - plz ping)
Landing as rtoy@ agreed offline to land this with checks matching Safari iOS.
4 years, 6 months ago (2016-06-06 16:24:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2031393003/20001
4 years, 6 months ago (2016-06-06 16:24:35 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-06 18:03:57 UTC) #19
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 18:07:25 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9eeee90e6f8d52fce0b3645f933796abc13fe891
Cr-Commit-Position: refs/heads/master@{#398061}

Powered by Google App Engine
This is Rietveld 408576698