tor-browser

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

aria-notify-helpers.js (357B)


      1 // Helper for ariaNotify manual tests.
      2 function tryCallAriaNotify(element, message, options = {}) {
      3  if (element.ariaNotify) {
      4    element.ariaNotify(message, options);
      5    return 'ariaNotify called' + ` with message: "${message}" and options: ${JSON.stringify(options)}`;
      6  } else {
      7    return 'the ariaNotify API is not supported in this browser';
      8  }
      9 }