summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/favicons/file_favicon_change.html
blob: 035549c5aaf037592ced7a0cd2787302c82c8fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html><head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <link rel="icon" href="file_bug970276_favicon1.ico" type="image/ico" id="i">
</head>
<body>
  <script>
  window.addEventListener("PleaseChangeFavicon", function() {
    var ico = document.getElementById("i");
    ico.setAttribute("href", "moz.png");
  });
  </script>
</body></html>