tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

manifest-incubations.idl (644B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Manifest Incubations (https://wicg.github.io/manifest-incubations/)
      5 
      6 [Exposed=Window]
      7 interface BeforeInstallPromptEvent : Event {
      8  constructor(DOMString type, optional EventInit eventInitDict = {});
      9  Promise<PromptResponseObject> prompt();
     10 };
     11 
     12 dictionary PromptResponseObject {
     13  AppBannerPromptOutcome userChoice;
     14 };
     15 
     16 enum AppBannerPromptOutcome {
     17  "accepted",
     18  "dismissed"
     19 };
     20 
     21 partial interface Window {
     22  attribute EventHandler onappinstalled;
     23  attribute EventHandler onbeforeinstallprompt;
     24 };