chromium/chrome/test/data/favicon/page_change_touch_icon_via_js.html

<html>
<head>
<link rel="apple-touch-icon" href="icon.png"/>
<link rel="icon" href="icon.png"/>
<script>
window.onload = function() {
  setTimeout(function() {
    link = document.getElementsByTagName("link")[0];
    link.href = "icon2.png";
    document.title = "OK";
  }, 0);
}
</script>
</head>
</html>