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

Issue 27037002: Get rid of custom bindings for AudioContext's constructor (Closed)

Created:
7 years, 2 months ago by Inactive
Modified:
7 years, 2 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin, Inactive
Visibility:
Public.

Description

Get rid of custom bindings for AudioContext's constructor Get rid of custom bindings for AudioContext's constructor by leveraging existing generator functionality and adding a new factory method to AudioContext that constructs an OfflineAudioContext. R=haraken, kbr@chromium.org TEST=webaudio/audionode.html BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159613

Patch Set 1 #

Total comments: 5

Patch Set 2 : Throw exception when max number of hardware contexts is reached #

Total comments: 2

Patch Set 3 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -86 lines) Patch
A LayoutTests/webaudio/audiocontext-max-contexts.html View 1 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/webaudio/audiocontext-max-contexts-expected.txt View 1 1 chunk +10 lines, -0 lines 0 comments Download
M LayoutTests/webaudio/audionode.html View 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/webaudio/audionode-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/bindings.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D Source/bindings/v8/custom/V8AudioContextCustom.cpp View 1 chunk +0 lines, -77 lines 0 comments Download
M Source/modules/webaudio/AudioContext.h View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/webaudio/AudioContext.cpp View 1 2 2 chunks +16 lines, -4 lines 0 comments Download
M Source/modules/webaudio/AudioContext.idl View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Inactive
7 years, 2 months ago (2013-10-11 15:20:14 UTC) #1
haraken
LGTM. Please wait for kbr's review. https://codereview.chromium.org/27037002/diff/1/Source/bindings/v8/custom/V8AudioContextCustom.cpp File Source/bindings/v8/custom/V8AudioContextCustom.cpp (left): https://codereview.chromium.org/27037002/diff/1/Source/bindings/v8/custom/V8AudioContextCustom.cpp#oldcode50 Source/bindings/v8/custom/V8AudioContextCustom.cpp:50: if (!audioContext.get()) { ...
7 years, 2 months ago (2013-10-11 15:39:30 UTC) #2
Inactive
https://codereview.chromium.org/27037002/diff/1/Source/bindings/v8/custom/V8AudioContextCustom.cpp File Source/bindings/v8/custom/V8AudioContextCustom.cpp (left): https://codereview.chromium.org/27037002/diff/1/Source/bindings/v8/custom/V8AudioContextCustom.cpp#oldcode50 Source/bindings/v8/custom/V8AudioContextCustom.cpp:50: if (!audioContext.get()) { On 2013/10/11 15:39:30, haraken wrote: > ...
7 years, 2 months ago (2013-10-11 16:07:05 UTC) #3
Inactive
https://codereview.chromium.org/27037002/diff/1/Source/bindings/v8/custom/V8AudioContextCustom.cpp File Source/bindings/v8/custom/V8AudioContextCustom.cpp (left): https://codereview.chromium.org/27037002/diff/1/Source/bindings/v8/custom/V8AudioContextCustom.cpp#oldcode50 Source/bindings/v8/custom/V8AudioContextCustom.cpp:50: if (!audioContext.get()) { On 2013/10/11 15:39:30, haraken wrote: > ...
7 years, 2 months ago (2013-10-11 16:22:47 UTC) #4
Ken Russell (switch to Gerrit)
The code changes LGTM but please get a review from rtoy@ as well. I have ...
7 years, 2 months ago (2013-10-11 19:19:00 UTC) #5
Inactive
https://codereview.chromium.org/27037002/diff/7001/LayoutTests/webaudio/audiocontext-max-contexts.html File LayoutTests/webaudio/audiocontext-max-contexts.html (right): https://codereview.chromium.org/27037002/diff/7001/LayoutTests/webaudio/audiocontext-max-contexts.html#newcode19 LayoutTests/webaudio/audiocontext-max-contexts.html:19: shouldThrow("reachHardwareContextsLimit()"); On 2013/10/11 19:19:01, Ken Russell wrote: > Is ...
7 years, 2 months ago (2013-10-11 19:29:49 UTC) #6
Ken Russell (switch to Gerrit)
On 2013/10/11 19:29:49, Chris Dumez wrote: > https://codereview.chromium.org/27037002/diff/7001/LayoutTests/webaudio/audiocontext-max-contexts.html > File LayoutTests/webaudio/audiocontext-max-contexts.html (right): > > https://codereview.chromium.org/27037002/diff/7001/LayoutTests/webaudio/audiocontext-max-contexts.html#newcode19 ...
7 years, 2 months ago (2013-10-11 19:36:26 UTC) #7
Inactive
rtoy@, could you please take a look as well?
7 years, 2 months ago (2013-10-14 13:20:15 UTC) #8
Raymond Toy (Google)
On 2013/10/14 13:20:15, Chris Dumez wrote: > rtoy@, could you please take a look as ...
7 years, 2 months ago (2013-10-14 16:55:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27037002/7001
7 years, 2 months ago (2013-10-14 17:22:30 UTC) #10
commit-bot: I haz the power
Failed to apply patch for Source/bindings/bindings.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-14 17:22:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/27037002/19001
7 years, 2 months ago (2013-10-14 20:03:24 UTC) #12
commit-bot: I haz the power
7 years, 2 months ago (2013-10-14 23:27:51 UTC) #13
Message was sent while issue was closed.
Change committed as 159613

Powered by Google App Engine
This is Rietveld 408576698