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

Unified Diff: LayoutTests/resources/leak-check.js

Issue 1202263005: Adding Internals.numberOfLiveAXObjects to test for leaking AXObjects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
Index: LayoutTests/resources/leak-check.js
diff --git a/LayoutTests/resources/leak-check.js b/LayoutTests/resources/leak-check.js
index 6c39679488df381260c298e2e60386ba840c2b45..414ee650563e86691fe4f96c68f54dd2ad9d30fa 100644
--- a/LayoutTests/resources/leak-check.js
+++ b/LayoutTests/resources/leak-check.js
@@ -3,7 +3,10 @@
function getCounterValues(callback) {
testRunner.resetTestHelperControllers();
asyncGC(function() {
- var ret = {'numberOfLiveDocuments': window.internals.numberOfLiveDocuments()};
+ var ret = {
+ 'numberOfLiveDocuments': window.internals.numberOfLiveDocuments(),
+ 'numberOfLiveAXObjects': window.internals.numberOfLiveAXObjects()
+ };
var refCountedInstances = JSON.parse(window.internals.dumpRefCountedInstanceCounts());
for (typename in refCountedInstances)
« no previous file with comments | « LayoutTests/accessibility/AccessibilityScrollbar-leak-expected.txt ('k') | Source/modules/accessibility/AXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698