tor-browser

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

identity.js (384B)


      1 // |reftest| skip-if(!xulRuntime.shell) -- needs drainJobQueue
      2 
      3 var BUGNUMBER = 1185106;
      4 var summary = "Named async function expression should get wrapped function for the name inside it";
      5 
      6 print(BUGNUMBER + ": " + summary);
      7 
      8 var expr = async function foo() {
      9  return foo;
     10 };
     11 assertEventuallyEq(expr(), expr);
     12 
     13 if (typeof reportCompare === "function")
     14    reportCompare(true, true);