Status: Unconfirmed
Owner: ----
Labels: Cr-Blink Pri-2 Via-Wizard Type-Bug OS-Windows
New issue 578812 by
mlose...@gmail.com: Load event for iframe with
javascript src raised twice
https://code.google.com/p/chromium/issues/detail?id=578812
UserAgent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101
Firefox/43.0
Steps to reproduce the problem:
Open in chrome the page with the following markup:
<html>
<head>
</head>
<body>
<script>
var iframe = document.createElement('iframe');
iframe.id = 'iframe_with_javascript_protocol';
iframe.src = 'javascript:"<html><body>test</body></html>"';
iframe.addEventListener('load', function() {
console.log('load event');
});
document.body.appendChild(iframe);
</script>
</body>
</html>
If the load event is raised, the 'load event' message is added to
the 'Console' browser tab.
What is the expected behavior?
I expect that load event is raised 1 time.
What went wrong?
In Chrome it is raised 2 times, in IE11 - 1 time, in FF - 1 time.
Did this work before? No
Chrome version: 47.0.2526.111 Channel: stable
OS Version: 8.1
Flash Version: Shockwave Flash 20.0 r0
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings