Status: Available
Owner: [email protected]
Labels: Type-Bug Pri-2 Area-Compat-Web Area-WebKit

New issue 32633 by [email protected]: Should not dispatch onload event after changing hash on about:blank
http://code.google.com/p/chromium/issues/detail?id=32633

The following webpage never finishes loading:
https://ci.model.highpointins.com/prc/PRC/index.jsp?PLF_Code=HIPT

It gets caught in an infinite loop where it keeps refetching the favicon. The
problem is the page has a race where if one subframe (tmr3) finishes
loading before another (tmr2), then it will end up changing the 'hash' on
"about:blank". In Chrome this results in a new dispatch of onload(), in
other browsers it does NOT.

Here is a simplified reduction:

<script>
  function displayPrivacy() {
    alert(trm2.location);
    trm2.location.hash = 'Privacy';
  }
</script>
<iframe name=trm2 id=trm2 onload="displayPrivacy()"
src="about:blank"></iframe>


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to