New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 729902 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

The resolver function of BeforeInstallPromptEvent.userChoice() is not called after GC.

Project Member Reported by horo@chromium.org, Jun 6 2017

Issue description

According to the  issue 517398 , currently the ScriptPromiseProperty doesn't holds
the strong resolver references. So the resolver function could be GCed while
waiting for the response from the server. The holder of the ScriptPromiseProperty
must be kept alive until the promise is resolved.

There is a tests for this bug https://codereview.chromium.org/2919233002/.

I found this bug while inspecting the  issue 728013 . I think 
BeforeInstallPromptEvent must implement ScriptWrappable::HasPendingActivity()
like https://codereview.chromium.org/2922863002.
 
Status: Started (was: Assigned)
Status: Fixed (was: Started)

Sign in to add a comment