Changeset 245821 in webkit
- Timestamp:
- May 28, 2019, 12:10:23 PM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
inspector/canvas/recording-webgl-snapshots.html (modified) (1 diff)
-
inspector/canvas/recording-webgl2-snapshots.html (modified) (1 diff)
-
platform/mac/TestExpectations (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r245820 r245821 1 2019-05-28 Devin Rousso <drousso@apple.com> 2 3 REGRESSION (r244182): inspector/canvas/recording-webgl-snapshots.html became flaky on WK1 4 https://bugs.webkit.org/show_bug.cgi?id=196875 5 <rdar://problem/49873252> 6 7 Reviewed by Said Abou-Hallawa. 8 9 Remove the `frameLimit` configuration on these tests, as they're short enough that when 10 running in debug, the timing between the `InspectorCanvasAgent` automatically stopping the 11 recording and the test page's `LastFrame` event (which will manually stop the recording) is 12 too close and can result in a race condition. 13 14 Instead, just wait for the test page to say "done" (`LastFrame`) before stopping the 15 recording, ensuring that the full "flow" of the recording is under the control of the test. 16 17 This isn't an issue when using Web Inspector "normally" (e.g. not in a test), because the 18 frontend UI will "ignore" these types of errors, not to mention it would be much harder for 19 a person to get the timing just right to even encounter this situation. 20 21 * inspector/canvas/recording-webgl-snapshots.html: 22 * inspector/canvas/recording-webgl2-snapshots.html: 23 * platform/mac/TestExpectations: 24 1 25 2019-05-28 Antoine Quint <graouts@apple.com> 2 26 -
trunk/LayoutTests/inspector/canvas/recording-webgl-snapshots.html
r243953 r245821 101 101 description: "Check that the snapshot taken after each visual action is different.", 102 102 test(resolve, reject) { 103 startRecording(WI.Canvas.ContextType.WebGL, resolve, reject, { frameCount: 1,checkForContentChange: true});103 startRecording(WI.Canvas.ContextType.WebGL, resolve, reject, {checkForContentChange: true}); 104 104 }, 105 105 timeout: -1, -
trunk/LayoutTests/inspector/canvas/recording-webgl2-snapshots.html
r244908 r245821 103 103 description: "Check that the snapshot taken after each visual action is different.", 104 104 test(resolve, reject) { 105 startRecording(WI.Canvas.ContextType.WebGL2, resolve, reject, { frameCount: 1,checkForContentChange: true});105 startRecording(WI.Canvas.ContextType.WebGL2, resolve, reject, {checkForContentChange: true}); 106 106 }, 107 107 timeout: -1, -
trunk/LayoutTests/platform/mac/TestExpectations
r245820 r245821 1812 1812 webkit.org/b/196517 imported/w3c/web-platform-tests/mst-content-hint/MediaStreamTrack-contentHint.html [ Skip ] 1813 1813 1814 webkit.org/b/196875 inspector/canvas/recording-webgl-snapshots.html [ Pass Failure ]1815 1816 1814 webkit.org/b/177663 media/W3C/video/events/event_progress_manual.html [ Pass Failure ] 1817 1815
Note:
See TracChangeset
for help on using the changeset viewer.