blob: 1624749ba41e1639179e805fe8ba0d869b6c91bf [file] [log] [blame]
<!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>