Changeset 112535 in webkit
- Timestamp:
- Mar 29, 2012, 8:54:45 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112533 r112535 1 2012-03-29 Sanghyun Park <sh919.park@samsung.com> 2 3 Fix the error type in JSAudioBufferSourceNodeCustom to pass layout test. 4 https://bugs.webkit.org/show_bug.cgi?id=81639 5 6 Reviewed by Eric Carlson. 7 8 Test : LayoutTest/webaudio/audiobuffersource-channels.html 9 10 * bindings/js/JSAudioBufferSourceNodeCustom.cpp: 11 1 12 2012-03-29 Vsevolod Vlasov <vsevik@chromium.org> 2 13 -
trunk/Source/WebCore/bindings/js/JSAudioBufferSourceNodeCustom.cpp
r95901 r112535 1 1 /* 2 2 * Copyright (C) 2010, Google Inc. All rights reserved. 3 * Copyright (C) 2012 Samsung Electronics 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 43 44 AudioBuffer* buffer = toAudioBuffer(value); 44 45 if (!buffer) { 45 throwError(exec, create SyntaxError(exec, "Value is not of type AudioBuffer"));46 throwError(exec, createTypeError(exec, "Value is not of type AudioBuffer")); 46 47 return; 47 48 } 48 49 49 50 if (!imp->setBuffer(buffer)) 50 throwError(exec, create SyntaxError(exec, "AudioBuffer unsupported number of channels"));51 throwError(exec, createTypeError(exec, "AudioBuffer unsupported number of channels")); 51 52 } 52 53
Note:
See TracChangeset
for help on using the changeset viewer.