Index: LayoutTests/media/track/text-track-cue-exceptions.html |
diff --git a/LayoutTests/media/track/text-track-cue-exceptions.html b/LayoutTests/media/track/text-track-cue-exceptions.html |
index 2fc535bbf910a4a66a89ca6067f1747ce15dd59f..9f687da3ff3cdf5acf15bc3d98379cda35027802 100644 |
--- a/LayoutTests/media/track/text-track-cue-exceptions.html |
+++ b/LayoutTests/media/track/text-track-cue-exceptions.html |
@@ -1,22 +1,17 @@ |
<!DOCTYPE html> |
-<html> |
-<head> |
- <script src="../../resources/js-test.js"></script> |
-</head> |
+<script src="../../resources/js-test.js"></script> |
<body> |
- <script> |
- description("Verify that TextTrackCue exceptions are properly messaged to developers."); |
+<script> |
+description("Verify that TextTrackCue exceptions are properly messaged to developers."); |
- var cue = new VTTCue(0, 0, "Test."); |
+var cue = new VTTCue(0, 0, "Test."); |
- function testInfinityAndNaN(property) { |
- shouldThrow("cue." + property + " = Number.NaN;"); |
- shouldThrow("cue." + property + " = Number.POSITIVE_INFINITY;"); |
- shouldThrow("cue." + property + " = Number.NEGATIVE_INFINITY;"); |
- } |
+function testInfinityAndNaN(property) { |
+ shouldThrow("cue." + property + " = Number.NaN;"); |
+ shouldThrow("cue." + property + " = Number.POSITIVE_INFINITY;"); |
+ shouldThrow("cue." + property + " = Number.NEGATIVE_INFINITY;"); |
+} |
- testInfinityAndNaN("startTime"); |
- testInfinityAndNaN("endTime"); |
- </script> |
-</body> |
-</html> |
+testInfinityAndNaN("startTime"); |
+testInfinityAndNaN("endTime"); |
+</script> |