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

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

Issue 2581533002: MSE: Fix logic bugs with high precision duration (Closed)
Patch Set: Feedback 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
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e0ccfd71cbf7a66354d7ac2b426b81fe3b84892c..6a80ef90e209c41bb07198e5001ca80322e2d81b 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegateTest.cpp
@@ -341,6 +341,10 @@ TEST_F(MediaControlsOrientationLockDelegateTest,
simulateEnterFullscreen();
// State set to PendingMetadata.
+ // Set up the WebMediaPlayer instance.
+ video().setSrc("http://example.com");
+ testing::runPendingTasks();
+
simulateVideoNetworkState(HTMLMediaElement::kNetworkIdle);
simulateVideoReadyState(HTMLMediaElement::kHaveMetadata);
testing::runPendingTasks();
@@ -356,6 +360,10 @@ TEST_F(MediaControlsOrientationLockDelegateTest, ReceivedMetadataLater) {
// State set to PendingMetadata.
simulateExitFullscreen();
+ // Set up the WebMediaPlayer instance.
+ video().setSrc("http://example.com");
+ testing::runPendingTasks();
+
simulateVideoNetworkState(HTMLMediaElement::kNetworkIdle);
simulateVideoReadyState(HTMLMediaElement::kHaveMetadata);
testing::runPendingTasks();
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698