Title: [232026] trunk/LayoutTests
- Revision
- 232026
- Author
- [email protected]
- Date
- 2018-05-21 14:28:16 -0700 (Mon, 21 May 2018)
Log Message
Improve NowPlaying "title"
https://bugs.webkit.org/show_bug.cgi?id=185680
<rdar://problem/40296700>
Unreviewed test fix.
* http/tests/media/now-playing-info-expected.txt:
* http/tests/media/now-playing-info.html: Don't test .elapsedTime before seeking because
the time value can take a while to "settle" when a file has just loaded.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (232025 => 232026)
--- trunk/LayoutTests/ChangeLog 2018-05-21 20:57:51 UTC (rev 232025)
+++ trunk/LayoutTests/ChangeLog 2018-05-21 21:28:16 UTC (rev 232026)
@@ -1,3 +1,15 @@
+2018-05-21 Eric Carlson <[email protected]>
+
+ Improve NowPlaying "title"
+ https://bugs.webkit.org/show_bug.cgi?id=185680
+ <rdar://problem/40296700>
+
+ Unreviewed test fix.
+
+ * http/tests/media/now-playing-info-expected.txt:
+ * http/tests/media/now-playing-info.html: Don't test .elapsedTime before seeking because
+ the time value can take a while to "settle" when a file has just loaded.
+
2018-05-21 Jer Noble <[email protected]>
Complete fix for enabling modern EME by default
Modified: trunk/LayoutTests/http/tests/media/now-playing-info-expected.txt (232025 => 232026)
--- trunk/LayoutTests/http/tests/media/now-playing-info-expected.txt 2018-05-21 20:57:51 UTC (rev 232025)
+++ trunk/LayoutTests/http/tests/media/now-playing-info-expected.txt 2018-05-21 21:28:16 UTC (rev 232026)
@@ -17,7 +17,6 @@
EXPECTED (nowPlayingState.registeredAsNowPlayingApplication == 'true') OK
EXPECTED (nowPlayingState.title == 'Page Title') OK
EXPECTED (nowPlayingState.duration > '0') OK
-EXPECTED (nowPlayingState.elapsedTime >= '0') OK
* Set video title, it should be used.
RUN(video.title = "Video Title")
Modified: trunk/LayoutTests/http/tests/media/now-playing-info.html (232025 => 232026)
--- trunk/LayoutTests/http/tests/media/now-playing-info.html 2018-05-21 20:57:51 UTC (rev 232025)
+++ trunk/LayoutTests/http/tests/media/now-playing-info.html 2018-05-21 21:28:16 UTC (rev 232026)
@@ -47,7 +47,6 @@
testExpected('nowPlayingState.registeredAsNowPlayingApplication', true);
testExpected('nowPlayingState.title', 'Page Title');
testExpected('nowPlayingState.duration', '0', '>');
- testExpected('nowPlayingState.elapsedTime', '0', '>=');
previousNowPlayingState = nowPlayingState;
@@ -64,8 +63,6 @@
// because the values will be different from run to run.
if (nowPlayingState.uniqueIdentifier != previousNowPlayingState.uniqueIdentifier)
testExpected('nowPlayingState.uniqueIdentifier', previousNowPlayingState.uniqueIdentifier);
- if (nowPlayingState.elapsedTime != previousNowPlayingState.elapsedTime)
- testExpected('nowPlayingState.elapsedTime', previousNowPlayingState.elapsedTime);
previousNowPlayingState = nowPlayingState;
consoleWrite('<br>* Clear video and page titles, page domain should be used.');
@@ -79,8 +76,6 @@
testExpected('nowPlayingState.duration', '0', '>');
if (nowPlayingState.uniqueIdentifier != previousNowPlayingState.uniqueIdentifier)
testExpected('nowPlayingState.uniqueIdentifier', previousNowPlayingState.uniqueIdentifier);
- if (nowPlayingState.elapsedTime != previousNowPlayingState.elapsedTime)
- testExpected('nowPlayingState.elapsedTime', previousNowPlayingState.elapsedTime);
previousNowPlayingState = nowPlayingState;
consoleWrite('<br>* Change currentTime, state should be updated.');
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes