DescriptionFix a memory leak in the app banner prompt layout tests.
Calling prompt() in a closure after the userChoice promise appears to
create a circular reference and a memory leak. Lifting the event variable
to global scope prevents another leak.
BUG=504675
R=mlamouri@chromium.org
Patch Set 1 #Patch Set 2 : Removing ScriptPromise as a member of BeforeInstallPromptEvent #Patch Set 3 : #Patch Set 4 : Rebase #Patch Set 5 : Rebase again #
Messages
Total messages: 21 (3 generated)
|