Chromium Code Reviews| 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. |
|
chcunningham
2017/01/04 00:11:54
This comment is dangling.
mlamouri (slow - plz ping)
2017/01/10 14:29:30
It's not though I agree it's unclear: the internal
|
| + // 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. |
|
chcunningham
2017/01/04 00:11:54
I don't follow this comment.
mlamouri (slow - plz ping)
2017/01/10 14:29:30
As above.
|
| simulateExitFullscreen(); |
| + // Set up the WebMediaPlayer instance. |
| + video().setSrc("http://example.com"); |
| + testing::runPendingTasks(); |
| + |
| simulateVideoNetworkState(HTMLMediaElement::kNetworkIdle); |
| simulateVideoReadyState(HTMLMediaElement::kHaveMetadata); |
| testing::runPendingTasks(); |