Relanding(r111754): HTMLPluginElement is not destroyed on reload or navigation if...
[WebKit-https.git] / Source / WebCore / testing / Internals.h
index f432b8603bcef1dd1f6be8a6f698b2ae69cc2ba5..75ed7e26e99d9f8a301229c80ffb7ee05de94de1 100644 (file)
@@ -146,6 +146,11 @@ public:
 
     void setBatteryStatus(Document*, const String& eventType, bool charging, double chargingTime, double dischargingTime, double level, ExceptionCode&);
 
+#if ENABLE(INSPECTOR)
+    unsigned numberOfLiveNodes() const;
+    unsigned numberOfLiveDocuments() const;
+#endif
+
 private:
     explicit Internals(Document*);
     DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, ExceptionCode&);