tor-browser

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

expect-title-meta.js (312B)


      1 if (!self.GLOBAL || self.GLOBAL.isWindow()) {
      2  test(() => {
      3    assert_equals(document.title, "foo");
      4  }, '<title> exists');
      5 
      6  test(() => {
      7    assert_equals(document.querySelectorAll("meta[name=timeout][content=long]").length, 1);
      8  }, '<meta name=timeout> exists');
      9 }
     10 
     11 scripts.push('expect-title-meta.js');