W3C home > Mailing lists > Public > public-html-testsuite@w3.org > October 2012

Opera testsuite for <track> and WebVTT

From: Simon Pieters <simonp@opera.com>
Date: Mon, 15 Oct 2012 17:38:20 +0200
Cc: "public-texttracks@w3.org" <public-texttracks@w3.org>
To: "public-html-testsuite@w3.org" <public-html-testsuite@w3.org>
Message-ID: <op.wl78d6p6idj3kv@simons-macbook-pro.local>

I've pushed the following tests:


This tests the <track> element, the surrounding DOM API, CORS for <track>,  
parsing of WebVTT, parsing of WebVTT cue data, and WebVTT cue rendering.  
The rendering tests are reftests (except the adhoc folder which is  
manual), the rest are testharness.js tests. The tests do not perfectly  
reflect the latest changes to the specs. Not all tests are expected to  
pass in Opera. Some tests check that a feature is not supported (e.g.  
vertical), but that should be fixed.

The parser tests have expected result as JSON in the cue data, and a  
separate JSON file with expected number of cues per file or error if the  
file is expected to fail to load.

The parser cue data tests are generated from html5lib-style dat files.  
Expected tree is the "WebVTT cue text DOM construction rules" (the  
cue.getCueAsHTML() document fragment).

Simon Pieters
Opera Software
Received on Monday, 15 October 2012 15:38:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:14:31 UTC