Index: LayoutTests/fullscreen/full-screen-restrictions.html |
diff --git a/LayoutTests/fullscreen/full-screen-restrictions.html b/LayoutTests/fullscreen/full-screen-restrictions.html |
index 4ad844030b722690099a15d66af19424453d2c25..e86e0fd5fa7eba36454fc25879b2b7cfc71fac4d 100644 |
--- a/LayoutTests/fullscreen/full-screen-restrictions.html |
+++ b/LayoutTests/fullscreen/full-screen-restrictions.html |
@@ -1,3 +1,4 @@ |
+<!DOCTYPE html> |
<body onload="runTest();"> |
<div>This tests the restrictions to entering full screen mode laid out in section 4.1 of the W3C |
<a href="http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html">Full Screen API</a></div> |
@@ -31,7 +32,7 @@ |
waitForEventOnce(document, 'webkitfullscreenchange', function() { |
waitForEventOnce(document, 'webkitfullscreenerror', function() { |
waitForEventOnce(document, 'webkitfullscreenchange', step4); |
- document.webkitExitFullscreen(); |
+ document.webkitExitFullscreen(); |
}); |
runWithKeyDown(function(){div2.webkitRequestFullscreen()}); |
}); |
@@ -41,13 +42,13 @@ |
var step4 = function() { |
consoleWrite('"A descendant browsing context\'s document has a non-empty fullscreen element stack."'); |
var iframe = document.documentElement.appendChild(document.createElement('iframe')); |
- iframe.setAttribute('webkitallowfullscreen', 'true'); |
+ iframe.setAttribute('allowfullscreen', 'true'); |
var div = iframe.contentDocument.documentElement.appendChild(iframe.contentDocument.createElement('div')); |
var div2 = document.documentElement.appendChild(document.createElement('div')); |
waitForEventOnce(iframe.contentDocument, 'webkitfullscreenchange', function() { |
waitForEventOnce(document, 'webkitfullscreenerror', function(){ |
waitForEventOnce(iframe.contentDocument, 'webkitfullscreenchange', step5); |
- iframe.contentDocument.webkitExitFullscreen(); |
+ iframe.contentDocument.webkitExitFullscreen(); |
}); |
runWithKeyDown(function(){div2.webkitRequestFullscreen()}); |
}); |