The answer kehto gets for the choice the person made. Dismissing the prompt, or naming a choice it did not offer, cancels the request without storing anything, so the applet may ask again.
The summary the host was shown.
What the person chose, or undefined when they dismissed it.
undefined
kehto's approval answer.
answerFor(summary, 'allow-once'); // { effect: 'allow', lifetime: 'once' }answerFor(summary, undefined); // { effect: 'cancel' } Copy
answerFor(summary, 'allow-once'); // { effect: 'allow', lifetime: 'once' }answerFor(summary, undefined); // { effect: 'cancel' }
The answer kehto gets for the choice the person made. Dismissing the prompt, or naming a choice it did not offer, cancels the request without storing anything, so the applet may ask again.