Intent to Experiment: https://groups.google.com/a/chromium.org/forum/?utm_medium=email&utm_source=footer#!msg/blink-dev/oeBf3websgM/Smi7gQxjAQAJ Instruction: https://chromium.googlesource.com/chromium/src/+/master/docs/origin_trials_integration.md
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea commit 9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea Author: Hongchan Choi <hongchan@chromium.org> Date: Tue Dec 05 00:53:35 2017 Integrate Origin Trial Framework for AudioWorklet with Metric This patch adds 3 use counters for AudioWorket: - AudioWorkletAddModule - AudioWorkletGlobalScopeRegisterProcessor - AudioWorkletNodeConstructor Note that AudioWorklet.addModule() method is inherited from Worklet class, so we cannot install the tracker via WebIDL. Instead, this CL uses AudioWorklet::NeedsToCreateGlobalScope() check as a counter trigger, which is invoked when Worklet.addModule() gets called. Bug: 785044 Change-Id: I7023b90b538a66003dcba3805592d692b1461eff Reviewed-on: https://chromium-review.googlesource.com/770139 Reviewed-by: Raymond Toy <rtoy@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#521559} [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/Source/modules/webaudio/AudioParamMap.idl [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/Source/modules/webaudio/AudioWorklet.idl [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/Source/modules/webaudio/AudioWorkletNode.idl [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/Source/modules/webaudio/AudioWorkletProcessor.idl [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/Source/platform/runtime_enabled_features.json5 [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/third_party/WebKit/public/platform/web_feature.mojom [modify] https://crrev.com/9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea/tools/metrics/histograms/enums.xml
This change requires https://chromium-review.googlesource.com/779862.
Please add affected OSs.
Approving merge to M64 Chrome OS.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/91cd846f771139ea9ff278d2f65e4fccd3d29042 commit 91cd846f771139ea9ff278d2f65e4fccd3d29042 Author: Hongchan Choi <hongchan@chromium.org> Date: Wed Dec 06 19:32:19 2017 Integrate Origin Trial Framework for AudioWorklet with Metric This patch adds 3 use counters for AudioWorket: - AudioWorkletAddModule - AudioWorkletGlobalScopeRegisterProcessor - AudioWorkletNodeConstructor Note that AudioWorklet.addModule() method is inherited from Worklet class, so we cannot install the tracker via WebIDL. Instead, this CL uses AudioWorklet::NeedsToCreateGlobalScope() check as a counter trigger, which is invoked when Worklet.addModule() gets called. TBR=hongchan@chromium.org (cherry picked from commit 9aabc4a91cb1c14a4b1cd1dc65903ec18487e2ea) Bug: 785044 Change-Id: I7023b90b538a66003dcba3805592d692b1461eff Reviewed-on: https://chromium-review.googlesource.com/770139 Reviewed-by: Raymond Toy <rtoy@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Hongchan Choi <hongchan@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#521559} Reviewed-on: https://chromium-review.googlesource.com/810892 Reviewed-by: Mark Pearson <mpearson@chromium.org> Cr-Commit-Position: refs/branch-heads/3282@{#64} Cr-Branched-From: 5fdc0fab22ce7efd32532ee989b223fa12f8171e-refs/heads/master@{#520840} [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/Source/modules/webaudio/AudioParamMap.idl [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/Source/modules/webaudio/AudioWorklet.idl [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/Source/modules/webaudio/AudioWorkletNode.idl [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/Source/modules/webaudio/AudioWorkletProcessor.idl [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/Source/platform/runtime_enabled_features.json5 [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/third_party/WebKit/public/platform/web_feature.mojom [modify] https://crrev.com/91cd846f771139ea9ff278d2f65e4fccd3d29042/tools/metrics/histograms/enums.xml
Comment 1 by bugdroid1@chromium.org
, Dec 5 2017