Changeset 286165 in webkit
- Timestamp:
- Nov 25, 2021, 4:02:28 AM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
http/tests/media/video-play-waiting.html (modified) (1 diff)
-
platform/glib/TestExpectations (modified) (1 diff)
-
platform/mac/TestExpectations (modified) (1 diff)
-
platform/win/TestExpectations (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r286148 r286165 1 2021-11-25 Enrique Ocaña González <eocanha@igalia.com> 2 3 [GTK] Layout Test http/tests/media/video-play-waiting.html is timing out 4 https://bugs.webkit.org/show_bug.cgi?id=142489 5 6 Reviewed by Philippe Normand. 7 8 The test was failing with a timeout even after properly calling TestRunner.notifyDone() 9 internally because there was still an injectedBundle.topLoadingFrame() in InjectedBundlePage, 10 which means that the web page hadn't completely finished to be downloaded. This was caused 11 by the stalled video download that the test wants to exercise. 12 13 The solution is to set the video src to empty in order to convince TestRunner that the page 14 has finished downloading. 15 16 * http/tests/media/video-play-waiting.html: Set the video src to empty. 17 * platform/mac/TestExpectations: The test now just fails (for reasons unrelated to this fix) on mac instead of timing out. 18 * platform/glib/TestExpectations: Unskipped test. 19 * platform/win/TestExpectations: Unskipped test. 20 1 21 2021-11-24 Ziran Sun <zsun@igalia.com> 2 22 -
trunk/LayoutTests/http/tests/media/video-play-waiting.html
r276024 r286165 10 10 waitForEvent('loadedmetadata'); 11 11 waitForEvent('loadeddata'); 12 waitForEventAndEnd('waiting'); 12 waitForEventAndEnd('waiting', function() { 13 // TestRunner waits for the complete frame download before finishing, so having the video load stalled 14 // prevents TestRunner from finishing. Changing the src will abort the download and let the test finish. 15 video.src = ""; 16 }); 13 17 14 18 waitForEvent('canplay', function () { -
trunk/LayoutTests/platform/glib/TestExpectations
r286131 r286165 2357 2357 webkit.org/b/137698 media/video-controls-drag.html [ Timeout ] 2358 2358 webkit.org/b/141959 http/tests/media/clearkey/clear-key-hls-aes128.html [ Crash Timeout ] 2359 webkit.org/b/142489 http/tests/media/video-play-waiting.html [ Timeout ]2360 2359 webkit.org/b/130971 media/track/track-remove-track.html [ Timeout ] 2361 2360 webkit.org/b/113127 media/track/track-prefer-captions.html [ Timeout ] -
trunk/LayoutTests/platform/mac/TestExpectations
r286107 r286165 746 746 webkit.org/b/136708 media/media-fullscreen-not-in-document.html 747 747 748 webkit.org/b/140639 http/tests/media/video-play-waiting.html [ Pass Timeout ] 749 748 webkit.org/b/140639 http/tests/media/video-play-waiting.html [ Failure ] 750 749 # This test requires generation of progress events during loading 751 750 webkit.org/b/100984 media/progress-events-generated-correctly.html [ Failure ] -
trunk/LayoutTests/platform/win/TestExpectations
r286116 r286165 1098 1098 http/tests/media/hls/video-cookie.html [ Skip ] # Timeout 1099 1099 http/tests/media/video-buffered-range-contains-currentTime.html [ Skip ] # Timeout 1100 http/tests/media/video-play-waiting.html [ Skip ] # Timeout1101 1100 1102 1101 # Extra whitespace in the output
Note:
See TracChangeset
for help on using the changeset viewer.