Revision 84097c6b8f84bc0d00c208bf7893cd0e10d654d5 authored by John Rummell on 03 September 2018, 12:14:05 UTC, committed by Geoffrey Sneddon on 03 September 2018, 12:14:05 UTC
This test generates a license that expires 1s from the current time, calls
update() with it, and then waits for 5s before calling play(). However,
Chrome caches a few frames in advance of play() being called. Depending on
the time granularity, the CDM may see a valid license and decode part of
the media file.

This change delays calling update() for 2s to ensure that the license has
expired, and ensures that the browser can't cache frames to use when play()
is called.
1 parent e4118eb
Raw File
syntax-008.xml
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
  <link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
  <link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
  <link rel="match" href="reftest/ref-lime-2.xml"/>
  <title>CSS Namespaces Test Suite: escapes in prefix</title>
  <style>
   @namespace \72x url("test");
   t { background:red }
   r\78|t { background:lime }
  </style>
  <style>
   @namespace \032  url("test"); /* two spaces, see CSS 2.1, 4.1.3 */
   t2 { background:red }
   \32|t2 { background:lime }
  </style>
 </head>
 <body>
  <p><t xmlns="test">This sentence should have a green background.</t></p>
  <p><t2 xmlns="test">This sentence should have a green background.</t2></p>
 </body>
</html>
back to top