Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b5181bb58e
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (32 sloc) 1.095 kB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test Case for Issue #2914</title>
</head>
<body>
<h1>Issue #2914</h1>
<p>This test-case is intended for <a href="http://code.google.com/p/fbug/issues/detail?id=2914">Issue #2914</a>
- <span class="h3">parent.window.console.error() called from an IFRAME fails to log anything</span>.
<br/>
<i>Jan Odvarko, odvarko@gmail.com</i>
</p>
<ol>
<li>Open Firebug and enable the Console panel.</li>
<li>Reload this page</li>
<li>You should see two logs in the Console panel (the error log is coming from an iframe).<br/>
<code>parent log</code><br/>
<code style="color:red">iframe error</code>
</li>
<li>If you expand <code>iframe error</code> log, you should see following stack trace:<br/>
<code>logError()</code><br/>
<code>issue2914-innerFrame.html()</code><br/>
</li>
</ol>
<script type="text/javascript">
window.console.log("parent log");
</script>
<iframe src="issue2914-innerFrame.html" height="30"></iframe>
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.