4 function updateTitle() {
5 document.title = document.getElementById('img').naturalHeight;
9 <!-- TODO(mnaganov): Remove setInterval once img.onload fix is landed in WebKit (crbug.com/146554). -->
10 <body onload="updateTitle(); setInterval('updateTitle()', 500)">
11 <img id="img" onload="updateTitle()" src="chrome.png" />