Index: LayoutTests/fullscreen/full-screen-twice-newapi.html |
diff --git a/LayoutTests/fullscreen/full-screen-twice-newapi.html b/LayoutTests/fullscreen/full-screen-twice-newapi.html |
index 9a027fe4838a81bfd737ce21a1aad66258133858..11837289ec6f3afcd6740af28366c844e2317571 100644 |
--- a/LayoutTests/fullscreen/full-screen-twice-newapi.html |
+++ b/LayoutTests/fullscreen/full-screen-twice-newapi.html |
@@ -6,24 +6,12 @@ |
var documentEnteredFullScreen = function() { |
testExpected("document.webkitCurrentFullScreenElement", document.documentElement); |
- runWithKeyDown(function(){document.documentElement.webkitRequestFullscreen()}); |
- waitForEvent(document, 'webkitfullscreenerror', documentDidNotReenterFullScreen, false, true); |
- }; |
- |
- var documentDidNotReenterFullScreen = function() { |
- testExpected("document.webkitCurrentFullScreenElement", document.documentElement); |
runWithKeyDown(function(){span.webkitRequestFullscreen()}); |
waitForEvent(document, 'webkitfullscreenchange', spanEnteredFullScreen, false, true); |
}; |
var spanEnteredFullScreen = function() { |
testExpected("document.webkitCurrentFullScreenElement", span); |
- runWithKeyDown(function(){span.webkitRequestFullscreen()}); |
- waitForEvent(document, 'webkitfullscreenerror', spanDidNotReenterFullScreen, false, true); |
- }; |
- |
- var spanDidNotReenterFullScreen = function() { |
- testExpected("document.webkitCurrentFullScreenElement", span); |
waitForEvent(document, 'webkitfullscreenchange', spanExited, false, true); |
document.webkitExitFullscreen(); |
}; |