Changeset 246015 in webkit
- Timestamp:
- Jun 1, 2019, 1:19:18 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)
-
inspector/canvas/resources/recording-utilities.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r246004 r246015 1 2019-06-01 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: Canvas: in tests don't manually stop recording if a frame count is specified 4 https://bugs.webkit.org/show_bug.cgi?id=198457 5 <rdar://problem/48248697> 6 7 Reviewed by Joseph Pecoraro. 8 9 If a `frameCount` is specified, the recording will stop by itself, so if we hit the 10 `LastFrame`, there's no need to manually stop the recording at that point. Otherwise, 11 stopping it early may cause the recording to think that the last frame is incomplete. 12 13 * inspector/canvas/resources/recording-utilities.js: 14 * inspector/canvas/recording-webgl-snapshots.html: 15 * inspector/canvas/recording-webgl2-snapshots.html: 16 1 17 2019-05-31 Wenson Hsieh <wenson_hsieh@apple.com> 2 18 -
trunk/LayoutTests/inspector/canvas/recording-webgl-snapshots.html
r245821 r246015 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, { checkForContentChange: true});103 startRecording(WI.Canvas.ContextType.WebGL, resolve, reject, {frameCount: 1, checkForContentChange: true}); 104 104 }, 105 105 timeout: -1, -
trunk/LayoutTests/inspector/canvas/recording-webgl2-snapshots.html
r245821 r246015 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, { checkForContentChange: true});105 startRecording(WI.Canvas.ContextType.WebGL2, resolve, reject, {frameCount: 1, checkForContentChange: true}); 106 106 }, 107 107 timeout: -1, -
trunk/LayoutTests/inspector/canvas/resources/recording-utilities.js
r244552 r246015 108 108 lastFrame = true; 109 109 110 if (canvas.recordingActive) 111 CanvasAgent.stopRecording(canvas.identifier).catch(reject); 112 else { 110 if (canvas.recordingActive) { 111 if (!frameCount) 112 CanvasAgent.stopRecording(canvas.identifier).catch(reject); 113 } else { 113 114 InspectorTest.evaluateInPage(`cancelActions()`) 114 115 .then(() => {
Note:
See TracChangeset
for help on using the changeset viewer.