Changes between Version 1 and Version 2 of Abandoned documents
- Timestamp:
- Aug 17, 2018, 2:59:14 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Abandoned documents
v1 v2 1 1 = What is an abandoned document? = 2 2 3 Abandoned documents are effectively leaked: they are Document objects which have never been destroyed, and persist after loading about:blank and clearing caches. This is probably because there's some object that is holding a reference to the Document object, possibly in the GC heap, or via a retain cycle (often involving Nodes in the document).3 Abandoned documents are effectively leaked: they are Document objects which have never been destroyed, and persist after loading about:blank, running a garbage collection and clearing caches. This is probably because there's some object that is holding a reference to the Document object, possibly in the GC heap, or via a retain cycle (often involving Nodes in the document). 4 4 5 5 All documents are referenced by Document::allDocumentsMap(), so they are not leaked in the sense that the 'leaks' tool doesn't show them.