DescriptionAdding tests for the prompt() method on the beforeinstallprompt event
The prompt() method may only be called a single time following a
preventDefault() on the beforeinstallprompt event. Other cases result in
the method returning a rejected promise. These tests verify that prompt()
correctly allows the event to continue, whilst correctly returning a
rejected promise in other circumstances.
BUG=490545
R=mlamouri@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197847
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressing reviewer comments and testing prompt() call outside handler #
Total comments: 4
Patch Set 3 : Addressing reviewer comments and adding additional test #Messages
Total messages: 9 (2 generated)
|