Index: LayoutTests/media/video-volume-expected.txt |
diff --git a/LayoutTests/media/video-volume-expected.txt b/LayoutTests/media/video-volume-expected.txt |
index 7602a00475d903ae5bf73c9d02e5779155e30c8e..80856fae941541997a149989144dd251f43d9b5a 100644 |
--- a/LayoutTests/media/video-volume-expected.txt |
+++ b/LayoutTests/media/video-volume-expected.txt |
@@ -7,14 +7,14 @@ RUN(video.volume = Number.MIN_VALUE) |
EXPECTED (video.volume == '5e-324') OK |
RUN(video.volume = 0) |
EXPECTED (video.volume == '0') OK |
-TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (1.5) is outside the range (0, 1).) OK |
-TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (-0.5) is outside the range (0, 1).) OK |
+TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (1.5) is outside the range [0, 1].) OK |
+TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (-0.5) is outside the range [0, 1].) OK |
RUN(video.load()) |
EVENT(canplaythrough) |
EXPECTED (video.volume == '0') OK |
RUN(video.volume = 0.5) |
EXPECTED (video.volume == '0.5') OK |
-TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (1.5) is outside the range (0, 1).) OK |
-TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (-0.5) is outside the range (0, 1).) OK |
+TEST(video.volume = 1.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (1.5) is outside the range [0, 1].) OK |
+TEST(video.volume = -0.5) THROWS(DOMException.INDEX_SIZE_ERR: Failed to set the 'volume' property on 'HTMLMediaElement': The volume provided (-0.5) is outside the range [0, 1].) OK |
END OF TEST |