[Webkit-unassigned] [Bug 93525] webkitfullscreenchange not fired properly in iframe
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 8 14:25:03 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93525
--- Comment #1 from Bill Budge <bbudge at gmail.com> 2012-08-08 14:25:28 PST ---
Here's a test script that exposes the problem.
<script>
function log(x) {
document.getElementById("console").innerText += x + "\n";
}
document.onwebkitfullscreenchange = function() {
log("fullscreenchange");
}
onload = function() {
log("load");
}
if (location.search.substring(1) != "child") {
document.write('<iframe webkitallowfullscreen src="test_initiated_by_subframe.html?child"></iframe>');
document.write("<br>PARENT");
} else {
document.write("<br>CHILD");
}
</script>
<br>
<button onclick="document.documentElement.webkitRequestFullScreen()">enter fullscreen</button>
<button onclick="document.webkitCancelFullScreen()">exit fullscreen</button>
<pre id="console"></pre>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list