| Index: third_party/WebKit/LayoutTests/media/crash-in-media-moved-to-newdocument.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/crash-in-media-moved-to-newdocument.html b/third_party/WebKit/LayoutTests/media/crash-in-media-moved-to-newdocument.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1624749ba41e1639179e805fe8ba0d869b6c91bf
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/media/crash-in-media-moved-to-newdocument.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<iframe width=400 height=300></iframe>
|
| +<script>
|
| +async_test((t) => {
|
| + var video = document.createElement('video');
|
| + video.src = 'nosuchurl';
|
| + video.play().then(t.unreached_func()
|
| + ).catch(t.step_func_done(function() {
|
| + assert_true(video.paused);
|
| + }));
|
| + window.frames[0].document.body.appendChild(video);
|
| +}, "Test for crbug/676004: Crash in blink::beforeCallEnteredCallback()");
|
| +</script>
|
|
|