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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/script-module-with-export-leak.html

Issue 2903813002: [ES6 modules] Fix context leak. ModuleScript should use TraceWrapperV8Reference to hold onto v8::Mo… (Closed)
Patch Set: testfix 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/fast/dom/script-module-with-export-leak-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/script-module-with-export-leak.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/script-module-with-export-leak.html b/third_party/WebKit/LayoutTests/fast/dom/script-module-with-export-leak.html
new file mode 100644
index 0000000000000000000000000000000000000000..484e1a857357d0c552dde54fe63343552bdda583
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/script-module-with-export-leak.html
@@ -0,0 +1,9 @@
+<!doctype HTML>
+<script type="module">
+export var foo = 42;
+</script>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<p>This test shouldn't leak any document when run w/ --enable-leak-detection</p>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/script-module-with-export-leak-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698