tor-browser

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

common.js (1030B)


      1 (function (window) {
      2  // Cast ID of the main custom receiver application linked with the test suite
      3  // That application ID, maintained by W3C team, points at:
      4  // https://[W3C test server]/presentation-api/controlling-ua/support/presentation.html
      5  //
      6  // NB: this mechanism should be improved later on as tests should not depend
      7  // on something that directly or indirectly maps to a resource on the W3C test
      8  // server.
      9  var castAppId = '915D2A2C';
     10  var castUrl = 'cast:' + castAppId;
     11 
     12  window.presentationUrls = [
     13    'support/presentation.html',
     14    castUrl
     15  ];
     16 
     17  // Both a controlling side and a receiving one must share the same Stash ID to
     18  // transmit data from one to the other. On the other hand, due to polling mechanism
     19  // which cleans up a stash, stashes in both controller-to-receiver direction
     20  // and one for receiver-to-controller are necessary.
     21  window.stashIds = {
     22    toController: '9bf08fea-a71a-42f9-b3c4-fa19499e4d12',
     23    toReceiver: 'f1fdfd10-b606-4748-a644-0a8e9df3bdd6'
     24  }
     25 })(window);