Changeset 267151 in webkit
- Timestamp:
- Sep 16, 2020 10:06:49 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r267147 r267151 1 2020-09-16 Chris Dumez <cdumez@apple.com> 2 3 OfflineAudioContext should support up to 32 channels 4 https://bugs.webkit.org/show_bug.cgi?id=216587 5 6 Reviewed by Darin Adler. 7 8 Update test that is now passing. 9 10 * webaudio/dom-exceptions-expected.txt: 11 1 12 2020-09-16 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/LayoutTests/webaudio/dom-exceptions-expected.txt
r267147 r267151 134 134 PASS < [biquad] All assertions passed. (total 4 assertions) 135 135 PASS > [offline-audio-context] supports 32 channels 136 FAIL X new OfflineAudioContext(32, 100, context.sampleRate) incorrectly threw SyntaxError: "Number of channels is not in range". assert_true: expected true got false 137 FAIL < [offline-audio-context] 1 out of 1 assertions were failed. assert_true: expected true got false 136 PASS new OfflineAudioContext(32, 100, context.sampleRate) did not throw an exception. 137 PASS < [offline-audio-context] All assertions passed. (total 1 assertions) 138 138 PASS > [invalid-offline-audio-context-parameters] errors for invalid channel counts 139 139 PASS new OfflineAudioContext(0, 100, context.sampleRate) threw SyntaxError: "Number of channels is not in range". … … 261 261 PASS source.noteOff is equal to undefined. 262 262 PASS < [misc] All assertions passed. (total 4 assertions) 263 FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 24 tasks were failed. assert_true: expected true got false 263 PASS # AUDIT TASK RUNNER FINISHED: 24 tasks ran successfully. 264 264 -
trunk/Source/WebCore/ChangeLog
r267148 r267151 1 2020-09-16 Chris Dumez <cdumez@apple.com> 2 3 OfflineAudioContext should support up to 32 channels 4 https://bugs.webkit.org/show_bug.cgi?id=216587 5 6 Reviewed by Darin Adler. 7 8 OfflineAudioContext should support up to 32 channels. It previously had 9 an artificial limit of 10. 10 11 No new tests, updated existing test. 12 13 * Modules/webaudio/OfflineAudioContext.cpp: 14 (WebCore::OfflineAudioContext::create): 15 1 16 2020-09-16 Brent Fulgham <bfulgham@apple.com> 2 17 -
trunk/Source/WebCore/Modules/webaudio/OfflineAudioContext.cpp
r267147 r267151 49 49 if (!is<Document>(context)) 50 50 return Exception { NotSupportedError }; 51 if (!numberOfChannels || numberOfChannels > 10)51 if (!numberOfChannels || numberOfChannels > maxNumberOfChannels()) 52 52 return Exception { SyntaxError, "Number of channels is not in range"_s }; 53 53 if (!length)
Note: See TracChangeset
for help on using the changeset viewer.