tor-browser

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

template-contentmethod-title.html (503B)


      1 <!DOCTYPE HTML>
      2 <meta charset="utf-8" />
      3 <title contentname="title">HTML partial updates - update title</title>
      4 <link rel=help href="https://github.com/WICG/declarative-partial-updates">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <body>
      8 <div id="target"></div>
      9 <template contentmethod="replace">
     10    <title contentname="title">New title</title>
     11 </template>
     12 <script>
     13 test(() => {
     14    assert_equals(document.title, "New title");
     15 });
     16 </script>