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

Unified Diff: LayoutTests/media/track/text-track-cue-exceptions.html

Issue 140573002: Split TextTrackCue exceptions test into TextTrackCue+VTTCue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months 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 | « no previous file | LayoutTests/media/track/text-track-cue-exceptions-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37546c0249ef7c34e3e89631e2c3c76ba9f50e43..2fc535bbf910a4a66a89ca6067f1747ce15dd59f 100644
--- a/LayoutTests/media/track/text-track-cue-exceptions.html
+++ b/LayoutTests/media/track/text-track-cue-exceptions.html
@@ -15,23 +15,8 @@
shouldThrow("cue." + property + " = Number.NEGATIVE_INFINITY;");
}
- function testPercentage(property) {
- shouldThrow("cue." + property + " = -1;");
- shouldThrow("cue." + property + " = 101;");
- }
-
testInfinityAndNaN("startTime");
testInfinityAndNaN("endTime");
-
- shouldThrow("cue.vertical = 'Invalid!';");
-
- cue.snapToLines = false;
- testPercentage("line");
-
- testPercentage("position");
- testPercentage("size");
-
- shouldThrow("cue.align = 'Invalid!';");
</script>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/media/track/text-track-cue-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698