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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp

Issue 2573773002: Sync requestFullscreen() and exitFullscreen() algorithms with the spec (Closed)
Patch Set: address feedback Created 4 years 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: third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
index 11b878bfb59e0588b298ff473dbd5005b492a8af..e0ccfd71cbf7a66354d7ac2b426b81fe3b84892c 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
@@ -170,13 +170,13 @@ class MediaControlsOrientationLockDelegateTest : public ::testing::Test {
Fullscreen::requestFullscreen(video());
Fullscreen::from(document()).didEnterFullscreen();
- testing::runPendingTasks();
+ document().serviceScriptedAnimations(WTF::monotonicallyIncreasingTime());
}
void simulateExitFullscreen() {
Fullscreen::exitFullscreen(document());
Fullscreen::from(document()).didExitFullscreen();
- testing::runPendingTasks();
+ document().serviceScriptedAnimations(WTF::monotonicallyIncreasingTime());
}
void simulateOrientationLock() {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698