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

Unified Diff: tools/telemetry/telemetry/core/backends/chrome/inspector_memory_unittest.py

Issue 380533003: Flush form cache when next document is loaded to avoid Document leak. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaseline 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 | « components/autofill/content/renderer/autofill_agent.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/backends/chrome/inspector_memory_unittest.py
diff --git a/tools/telemetry/telemetry/core/backends/chrome/inspector_memory_unittest.py b/tools/telemetry/telemetry/core/backends/chrome/inspector_memory_unittest.py
index 4177795489425d113aaaa27a61cf40eddbb75ade..710db05b1732157e3c4c7a9fa899ed028208e265 100644
--- a/tools/telemetry/telemetry/core/backends/chrome/inspector_memory_unittest.py
+++ b/tools/telemetry/telemetry/core/backends/chrome/inspector_memory_unittest.py
@@ -17,6 +17,6 @@ class InspectorMemoryTest(tab_test_case.TabTestCase):
self.Navigate('dom_counter_sample.html')
counts = self._tab.dom_stats
- self.assertEqual(counts['document_count'], 2)
- self.assertEqual(counts['node_count'], 18)
+ self.assertEqual(counts['document_count'], 1)
+ self.assertEqual(counts['node_count'], 14)
self.assertEqual(counts['event_listener_count'], 2)
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698