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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/associatedFormControls-leak-nodes.html

Issue 2572383002: Remove fast/forms/associatedFormControls-leak-nodes.html. (Closed)
Patch Set: Created 4 years 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/forms/associatedFormControls-leak-nodes-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/forms/associatedFormControls-leak-nodes.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/associatedFormControls-leak-nodes.html b/third_party/WebKit/LayoutTests/fast/forms/associatedFormControls-leak-nodes.html
deleted file mode 100644
index d1eed4504ef6bd8aa7e1731d7d8dbb8edb458560..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/associatedFormControls-leak-nodes.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<iframe id="frame"></iframe>
-
-<script src="../../resources/js-test.js"></script>
-<script>
-if (!window.internals) {
- debug("This test only runs on \"content_shell --run-layout-test\", as it requires existence of window.internals.");
-} else {
- testRunner.waitUntilDone();
- window.jsTestIsAsync = true;
- var documentsBefore;
- var documentsAfter;
- // FIXME(keishi): Calling asyncGC twice to fix flakiness, crbug.com/674194
- asyncGC(function() {
- asyncGC(function() {
- documentsBefore = window.internals.numberOfLiveDocuments();
-
- var frame = document.getElementById('frame');
- frame.contentDocument.body.innerHTML = '<form></form>';
- document.body.removeChild(frame);
- frame = null;
-
- // FIXME(keishi): crbug.com/674194
- asyncGC(function() {
- asyncGC(function() {
- documentsAfter = window.internals.numberOfLiveDocuments();
-
- // -1 is from removing frame itself.
- shouldBe('documentsBefore - 1', 'documentsAfter');
- finishJSTest();
- });
- });
- });
- });
-}
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/associatedFormControls-leak-nodes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698