Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: LayoutTests/fullscreen/full-screen-restrictions.html

Issue 336313015: Remove the webkitallowfullscreen content attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix quirks mode test Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()});
});

Powered by Google App Engine
This is Rietveld 408576698