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