content/media/test/crashtests/894104.html
author Boris Zbarsky <bzbarsky@mit.edu>
Mon, 10 Mar 2014 17:38:14 -0400
changeset 191079 dabf18234b5c539da24445a5054f3d30c583bb71
parent 163571 fd0ad8462ba78ddbe6e915404cdceb8f79d1db8a
permissions -rw-r--r--
Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>

function boom()
{
  var frame = document.getElementById("f");
  var frameWin = frame.contentWindow;
  frameWin.VTTCue;
  document.body.removeChild(frame);
  new frameWin.VTTCue(0, 1, "Bug 894104").getCueAsHTML();
}

</script>
</head>

<body onload="boom();"><iframe id="f" src="data:text/html,1"></iframe></body>
</html>