OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../resources/testharness.js"></script> | |
3 <script src="../resources/testharnessreport.js"></script> | |
4 <iframe width=400 height=300></iframe> | |
5 <script> | |
6 async_test((t) => { | |
7 var video = document.createElement('video'); | |
8 video.src = 'nosuchurl'; | |
9 video.play().then(t.unreached_func() | |
10 ).catch(t.done(function() { | |
foolip
2017/01/18 10:46:43
This should be t.step_func_done, t.done() will end
| |
11 assert_true(video.paused); | |
12 })); | |
13 window.frames[0].document.body.appendChild(video); | |
14 }, "Test for crbug/676004: Crash in blink::beforeCallEnteredCallback()"); | |
15 </script> | |
OLD | NEW |