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

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

Issue 2594353003: Crash in blink::beforeCallEnteredCallback() (Closed)
Patch Set: Crash in blink::beforeCallEnteredCallback() Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698