summaryrefslogtreecommitdiffstats
path: root/dom/media/webcodecs/crashtests/1881079.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/webcodecs/crashtests/1881079.html')
-rw-r--r--dom/media/webcodecs/crashtests/1881079.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/dom/media/webcodecs/crashtests/1881079.html b/dom/media/webcodecs/crashtests/1881079.html
new file mode 100644
index 0000000000..15fd26ff74
--- /dev/null
+++ b/dom/media/webcodecs/crashtests/1881079.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<script>
+document.addEventListener("DOMContentLoaded", async () => {
+ const encoder = new VideoEncoder({
+ 'output': (e) => {},
+ 'error': (e) => {},
+ })
+ encoder.configure({
+ 'codec': '󠋚᩿',
+ 'width': 2147483648,
+ 'height': 60,
+ })
+ encoder.reset()
+ encoder.configure({
+ 'codec': '󠋚᩿',
+ 'width': 4294967295,
+ 'height': 29,
+ })
+ const decoder = new VideoDecoder({
+ 'output': (e) => {},
+ 'error': (e) => {},
+ })
+ decoder.configure({
+ 'codec': '󠋚᩿',
+ 'width': 2147483648,
+ 'height': 60,
+ })
+ decoder.reset()
+ decoder.configure({
+ 'codec': '󠋚᩿',
+ 'width': 4294967295,
+ 'height': 29,
+ })
+})
+</script>