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

Issue 2311233002: Warn about Web Audio without user gesture on Android no longer allowed on cross origin iframes. (Closed)

Created:
4 years, 3 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 3 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, haraken, hongchan, Raymond Toy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Warn about Web Audio without user gesture on Android no longer allowed on cross origin iframes. This is a CL to send to M54 to warn users of Web Audio in cross origin iframes. Note that because of how Web Audio work this warning (and the use counter) are larger than reality: every `new AudioContext` in a cross origin iframe will warn if not inside an event handler even if they are not meant to be used yet. Intent to Intervene: https://groups.google.com/a/chromium.org/d/msg/blink-dev/51WbTwn0M_Y/VZuwn8-VAAAJ BUG=617090 Committed: https://crrev.com/8e94d8acbaf7ffca80e06429422fe8cbd311f781 Cr-Commit-Position: refs/heads/master@{#418201}

Patch Set 1 #

Total comments: 5

Patch Set 2 : apply foolip comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp View 2 chunks +8 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (17 generated)
mlamouri (slow - plz ping)
rtoy@, PTAL. It's the CL to start warning the users WRT to the intervention.
4 years, 3 months ago (2016-09-06 13:07:11 UTC) #2
Raymond Toy
https://codereview.chromium.org/2311233002/diff/1/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp (right): https://codereview.chromium.org/2311233002/diff/1/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp#newcode558 third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp:558: DCHECK(m_userGestureRequired); Don't quite understand why m_userGestureRequired has to be ...
4 years, 3 months ago (2016-09-06 15:32:32 UTC) #5
mlamouri (slow - plz ping)
https://codereview.chromium.org/2311233002/diff/1/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp (right): https://codereview.chromium.org/2311233002/diff/1/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp#newcode558 third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp:558: DCHECK(m_userGestureRequired); On 2016/09/06 at 15:32:32, Raymond Toy wrote: > ...
4 years, 3 months ago (2016-09-06 15:43:00 UTC) #6
Raymond Toy
https://codereview.chromium.org/2311233002/diff/1/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp (right): https://codereview.chromium.org/2311233002/diff/1/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp#newcode558 third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp:558: DCHECK(m_userGestureRequired); On 2016/09/06 15:43:00, mlamouri (slow) wrote: > On ...
4 years, 3 months ago (2016-09-06 15:44:56 UTC) #7
mlamouri (slow - plz ping)
+isherman@ for tools/metrics/ +foolip@ for Blink.
4 years, 3 months ago (2016-09-07 13:02:24 UTC) #9
Ilya Sherman
histograms.xml lgtm
4 years, 3 months ago (2016-09-07 18:06:26 UTC) #15
foolip
Deprecating and committing to removal without knowing the usage is a bit scary, do we ...
4 years, 3 months ago (2016-09-08 12:58:53 UTC) #17
mlamouri (slow - plz ping)
On 2016/09/08 at 12:58:53, foolip wrote: > Deprecating and committing to removal without knowing the ...
4 years, 3 months ago (2016-09-08 13:04:22 UTC) #18
foolip
On 2016/09/08 13:04:22, mlamouri wrote: > On 2016/09/08 at 12:58:53, foolip wrote: > > Deprecating ...
4 years, 3 months ago (2016-09-08 13:09:04 UTC) #19
mlamouri (slow - plz ping)
On 2016/09/08 at 13:09:04, foolip wrote: > On 2016/09/08 13:04:22, mlamouri wrote: > > On ...
4 years, 3 months ago (2016-09-08 13:13:49 UTC) #20
mlamouri (slow - plz ping)
On 2016/09/08 at 13:13:49, mlamouri wrote: > On 2016/09/08 at 13:09:04, foolip wrote: > > ...
4 years, 3 months ago (2016-09-08 13:26:32 UTC) #21
mlamouri (slow - plz ping)
foolip@, PTAL https://codereview.chromium.org/2311233002/diff/1/third_party/WebKit/Source/core/frame/Deprecation.cpp File third_party/WebKit/Source/core/frame/Deprecation.cpp (right): https://codereview.chromium.org/2311233002/diff/1/third_party/WebKit/Source/core/frame/Deprecation.cpp#newcode385 third_party/WebKit/Source/core/frame/Deprecation.cpp:385: return willBeRemoved("Web Audio autoplay (without user gesture) ...
4 years, 3 months ago (2016-09-12 17:07:12 UTC) #22
foolip
On 2016/09/08 13:26:32, mlamouri wrote: > On 2016/09/08 at 13:13:49, mlamouri wrote: > > On ...
4 years, 3 months ago (2016-09-13 08:25:47 UTC) #27
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/2311233002/20001
4 years, 3 months ago (2016-09-13 08:56:29 UTC) #30
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-13 09:04:15 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 09:05:00 UTC) #33
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8e94d8acbaf7ffca80e06429422fe8cbd311f781
Cr-Commit-Position: refs/heads/master@{#418201}

Powered by Google App Engine
This is Rietveld 408576698