| Index: content/test/data/fullscreen_frame.html
|
| diff --git a/content/test/data/fullscreen_frame.html b/content/test/data/fullscreen_frame.html
|
| deleted file mode 100644
|
| index 38688dc0d17bc98043a9a9338220b52ac5e30ca1..0000000000000000000000000000000000000000
|
| --- a/content/test/data/fullscreen_frame.html
|
| +++ /dev/null
|
| @@ -1,48 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<script>
|
| -
|
| -var expectedWidth, expectedHeight;
|
| -
|
| -function onResize() {
|
| - if (window.innerWidth == expectedWidth && window.innerHeight == expectedHeight) {
|
| - domAutomationController.setAutomationId(0);
|
| - domAutomationController.send("resize");
|
| - removeResizeListener();
|
| - }
|
| -}
|
| -
|
| -function addResizeListener(width, height) {
|
| - expectedWidth = width;
|
| - expectedHeight = height;
|
| - window.addEventListener('resize', onResize);
|
| -}
|
| -
|
| -function removeResizeListener() {
|
| - window.removeEventListener('resize', onResize);
|
| -}
|
| -
|
| -function activateFullscreen() {
|
| - document.getElementById("fullscreen-div").webkitRequestFullscreen();
|
| -}
|
| -
|
| -function exitFullscreen() {
|
| - document.webkitExitFullscreen();
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -<body>
|
| -
|
| -<div>This page contains a div that will go fullscreen</div>
|
| -
|
| -<div id="fullscreen-div" style="border: 1px solid black;">
|
| - This div will go fullscreen
|
| -</div>
|
| -
|
| -<iframe id="child-0" srcdoc="This should not go fullscreen"></iframe>
|
| -
|
| -</body>
|
| -</html>
|
| -
|
|
|