Changeset 267413 in webkit
- Timestamp:
- Sep 22, 2020, 9:29:35 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/Modules/webaudio/AudioParamTimeline.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r267406 r267413 1 2020-09-22 Chris Dumez <cdumez@apple.com> 2 3 webaudio/AudioParam/audioparam-setTarget-timeConstant-0.html is crashing 4 https://bugs.webkit.org/show_bug.cgi?id=216824 5 6 Reviewed by Darin Adler. 7 8 Unskip test that is passing and no longer crashing. 9 10 * TestExpectations: 11 1 12 2020-09-22 Lauro Moura <lmoura@igalia.com> 2 13 -
trunk/LayoutTests/TestExpectations
r267384 r267413 335 335 # This WebAudio test is crashing in debug since its import from Blink. 336 336 [ Debug ] webaudio/AudioBufferSource/audiobuffersource-playbackrate.html [ Crash ] 337 [ Debug ] webaudio/AudioParam/audioparam-setTarget-timeConstant-0.html [ Crash ]338 337 339 338 webkit.org/b/176929 imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/ready-states/autoplay-with-slow-text-tracks.html [ Pass Failure ] -
trunk/Source/WebCore/ChangeLog
r267411 r267413 1 2020-09-22 Chris Dumez <cdumez@apple.com> 2 3 webaudio/AudioParam/audioparam-setTarget-timeConstant-0.html is crashing 4 https://bugs.webkit.org/show_bug.cgi?id=216824 5 6 Reviewed by Darin Adler. 7 8 If the time constant pass to AudioParam.setTargetAtTime() is 0, then insert a SetValue event in 9 the timeline instead of a SetTarget one, causing us to instantly jump to the target value. This 10 matches the Blink behavior. 11 12 No new tests, unskipped existing test. 13 14 * Modules/webaudio/AudioParamTimeline.cpp: 15 (WebCore::AudioParamTimeline::setTargetAtTime): 16 1 17 2020-09-22 Brian Burg <bburg@apple.com> 2 18 -
trunk/Source/WebCore/Modules/webaudio/AudioParamTimeline.cpp
r267388 r267413 95 95 { 96 96 auto locker = holdLock(m_eventsMutex); 97 // If timeConstant is 0, we instantly jump to the target value, so insert a SetValueEvent instead of SetTargetEvent. 98 if (!timeConstant) 99 return insertEvent(ParamEvent::createSetValueEvent(target, time)); 97 100 return insertEvent(ParamEvent::createSetTargetEvent(target, time, timeConstant)); 98 101 }
Note:
See TracChangeset
for help on using the changeset viewer.