DescriptionLeakDetector: Terminate all WebEmbeddedWorkerImpl before counting
Before this patch, the document held by ServiceWorker registered by
the LayoutTests were detected as leaks. The service worker is designed to live
longer than registerer document. The service worker implementation,
|WebEmbeddedWorkerImpl| carries a |WebFrame| to hold a resource loader.
The frame has its associating document, and it confused WebLeakDetector.
This patch work arounds the issue by terminating all |WebEmbeddedWorkerImpl|
instances before counting number of documents.
BUG=396493
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178996
Patch Set 1 #
Total comments: 6
Patch Set 2 : rename set #
Total comments: 1
Patch Set 3 : comment #
Total comments: 1
Patch Set 4 : wrap #
Messages
Total messages: 14 (0 generated)
|