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

Unified Diff: LayoutTests/fast/files/file-reader-abort-gc.html

Issue 389193002: Fix condition of FileReader::hasPendingActivity (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add layout tests Created 6 years, 5 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 | LayoutTests/fast/files/file-reader-abort-gc-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/files/file-reader-abort-gc.html
diff --git a/LayoutTests/fast/files/file-reader-abort-gc.html b/LayoutTests/fast/files/file-reader-abort-gc.html
new file mode 100644
index 0000000000000000000000000000000000000000..bebdaec60731181ceca432923af3936bce3fc859
--- /dev/null
+++ b/LayoutTests/fast/files/file-reader-abort-gc.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<script>
+var reader = new FileReader();
+gc();
+reader.readAsText(new Blob());
+reader.abort();
+</script>
+<p>TEST PASS if it didn't crash.</p>
« no previous file with comments | « no previous file | LayoutTests/fast/files/file-reader-abort-gc-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698