Index: third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html |
diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html |
index 3c0aa98b7a2d6bfbb12ccef6142839119696118c..c6f89424746776c5abedb61030ddea9a2d741750 100644 |
--- a/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html |
+++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html |
@@ -1,4 +1,4 @@ |
-<p>HTMLVideoElement.webkitEnterFullScreen() in an iframe requires the allowfullscreen attribute</p> |
+<p>HTMLVideoElement.webkitEnterFullScreen() in a same-origin iframe does not require the allowfullscreen attribute</p> |
<script src="full-screen-test.js"></script> |
<script src="../media/media-file.js"></script> |
<script> |
@@ -9,7 +9,7 @@ function canplaythrough() { |
runWithKeyDown(function() { |
video.webkitEnterFullScreen(); |
}); |
- waitForEventAndEnd(frame.contentDocument, "webkitfullscreenerror"); |
+ waitForEventAndEnd(frame.contentDocument, "webkitfullscreenchange"); |
} |
function runTest() { |