Sep 3, 2008

A Google Chrome's tab is on a process.

I tried this on a tab.

<html>
<body>
<button onclick="alert('not freese');">check</button>
<button onclick="for (var i = 0; ; i++) { };">freeze</button>
</body>
</html>


The tab froze.
But other tabs didn't freeze.


Then I tried this.

<html>
<body>
<button onclick="alert('not freese');">check</button>
<button onclick="for (var i = 0; ; i++) { alert(i); };">freeze</button>
</body>
</html>


Google Chrome can stop this script.
IE, Firefox and Safari can't stop this.