summaryrefslogtreecommitdiffstats
path: root/dom/animation/test/chrome/file_animate_xrays.html
blob: 2fa15b1764430290ed23a82c1e941051ece4ba12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<script>
Element.prototype.animate = function() {
  throw 'Called animate() as defined in content document';
}
for (let name of ["KeyframeEffect", "Animation"]) {
  this[name] = function() {
    throw `Called overridden ${name} constructor`;
  };
}
</script>
<body>
<div id="target"></div>
</body>
</html>