summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/crash/file_bug1233613.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/test/crash/file_bug1233613.html')
-rw-r--r--dom/canvas/test/crash/file_bug1233613.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/dom/canvas/test/crash/file_bug1233613.html b/dom/canvas/test/crash/file_bug1233613.html
new file mode 100644
index 000000000..d949c3b21
--- /dev/null
+++ b/dom/canvas/test/crash/file_bug1233613.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<iframe style="display:none" srcdoc="
+
+<html>
+<head>
+<script type='text/javascript'>
+function boom() {
+ var gl = canvas.getContext('experimental-webgl');
+ video.srcObject = canvas.captureStream(0);
+}
+</script>
+</head>
+<body onload='boom();'>
+ <video id='video' width='256' height='256'></video>
+ <canvas id='canvas' width='256' height='256'></canvas>
+</body>
+</html>
+
+"></iframe>