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

Side by Side Diff: LayoutTests/media/track/track-cue-empty-crash-expected.txt

Issue 22304002: Crash when calling getCueAsHTML() on a TextTrackCue with empty text (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests that having an empty cue does not crash when calling getCueAsHTML().
2
3 ** The getCueAsHTML() method should return a document fragment **
4 EXPECTED (fragment != 'null') OK
5
6 ** The document fragment should have one child, an empty Text node **
7 EXPECTED (fragment.childNodes.length == '1') OK
8 EXPECTED (fragment.childNodes[0].constructor.name == 'Text') OK
9 EXPECTED (fragment.childNodes[0].length == '0') OK
10
11 No crash. PASS.
12
13 END OF TEST
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698