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

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

Issue 2654083006: Revert of Sync requestFullscreen() and exitFullscreen() algorithms with the spec (Closed)
Patch Set: add failing test expectations Created 3 years, 11 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: 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 ad490be64e76657f9d37e70c51234d098adf2dd2..cb582741c8c4f154ca8a6ff3f3494cc487000cd3 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
@@ -169,13 +169,13 @@ class MediaControlsOrientationLockDelegateTest : public ::testing::Test {
Fullscreen::requestFullscreen(video());
Fullscreen::from(document()).didEnterFullscreen();
- document().serviceScriptedAnimations(WTF::monotonicallyIncreasingTime());
+ testing::runPendingTasks();
}
void simulateExitFullscreen() {
Fullscreen::exitFullscreen(document());
Fullscreen::from(document()).didExitFullscreen();
- document().serviceScriptedAnimations(WTF::monotonicallyIncreasingTime());
+ testing::runPendingTasks();
}
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