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

Unified Diff: third_party/WebKit/Source/modules/webaudio/PannerNode.idl

Issue 2512793003: Throw RangeError for invalid refDistance/maxDistance (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/PannerNode.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webaudio/PannerNode.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/PannerNode.idl b/third_party/WebKit/Source/modules/webaudio/PannerNode.idl
index fdd0387713a8aaf1368d4cde6b59b765989ac577..00f3ae1b6e2d78514b3db0460da429ca6a11ed09 100644
--- a/third_party/WebKit/Source/modules/webaudio/PannerNode.idl
+++ b/third_party/WebKit/Source/modules/webaudio/PannerNode.idl
@@ -58,8 +58,8 @@ enum DistanceModelType {
// Distance model
attribute DistanceModelType distanceModel;
- attribute double refDistance;
- attribute double maxDistance;
+ [RaisesException=Setter] attribute double refDistance;
+ [RaisesException=Setter] attribute double maxDistance;
attribute double rolloffFactor;
// Directional sound cone
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/PannerNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698