DescriptionBatteryManager: release promise resolver once resolved.
Do not retain the Promise resolver any longer than necessary.
This prevents a reported document leak for detached frame uses of
navigator.getBattery().
R=haraken
BUG=385384
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182921
Patch Set 1 #Patch Set 2 : Clear fresh resolved-resolver also #
Messages
Total messages: 15 (3 generated)
|