Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: third_party/WebKit/LayoutTests/media/crash-in-media-moved-to-newdocument.html

Issue 2594353003: Crash in blink::beforeCallEnteredCallback() (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 test(() => {
7 var media = document.createElement('video');
8 media.src = 'nosuchurl';
9
10 var promise = media.play();
11 if (promise != undefined) {
mlamouri (slow - plz ping) 2016/12/23 12:00:26 I don't think you need this, it will return a prom
Anton Obzhirov 2017/01/09 15:35:54 ok
12 promise.then(() => {
13 }).catch((error) => {
14 });
mlamouri (slow - plz ping) 2016/12/23 12:00:26 Can you make this an async_test and add unreach on
Anton Obzhirov 2017/01/09 15:35:54 Will do.
15 }
16 window.frames[0].document.body.appendChild(media);
17 }, "Test for crbug/676004: Crash in blink::beforeCallEnteredCallback()");
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698