| Index: Source/core/html/MediaController.cpp
|
| diff --git a/Source/core/html/MediaController.cpp b/Source/core/html/MediaController.cpp
|
| index 4493fe584c042be5f094a3d3d555775a1cc83bfc..f593f39070a627d6ffd34e2588cbc1dcac805bf0 100644
|
| --- a/Source/core/html/MediaController.cpp
|
| +++ b/Source/core/html/MediaController.cpp
|
| @@ -261,7 +261,7 @@ void MediaController::setVolume(double level, ExceptionState& exceptionState)
|
| // If the new value is outside the range 0.0 to 1.0 inclusive, then, on setting, an
|
| // IndexSizeError exception must be raised instead.
|
| if (level < 0 || level > 1) {
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToSet("volume", "MediaController", "The value provided (" + String::number(level) + ") is not in the range [0.0, 1.0]."));
|
| + exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::indexOutsideRange("volume", level, 0.0, ExceptionMessages::InclusiveBound, 1.0, ExceptionMessages::InclusiveBound));
|
| return;
|
| }
|
|
|
|
|