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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/dom/script-module-load-incomplete-no-crash.html

Issue 2886593002: [ES6 modules] ModuleTreeLinker::Instantiate shouldn't proceed on invalid context (Closed)
Patch Set: hasvalidcontxt Created 3 years, 7 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/LayoutTests/http/tests/dom/script-module-load-incomplete-no-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/dom/script-module-load-incomplete-no-crash.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/dom/script-module-load-incomplete-no-crash.html b/third_party/WebKit/LayoutTests/http/tests/dom/script-module-load-incomplete-no-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..135a0ce1e06834f17263d6e6b4a8d7619aa33538
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/dom/script-module-load-incomplete-no-crash.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>Module script graph fetch in flight when document is destroyed shouldn't crash.</title>
+<script>
+// This test expects the testrunner terminates the test without waiting for onload.
+
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<script type="module">
+import { notfound } from "./404.js";
+import { slow } from "./../../resources/slow-script.pl?delay=1000";
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/dom/script-module-load-incomplete-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698