Bug 172527 - fast/mediacapturefromelement/CanvasCaptureMediaStream-request-frame-events.html times out
Summary: fast/mediacapturefromelement/CanvasCaptureMediaStream-request-frame-events.ht...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 169719 (view as bug list)
Depends on: 172523
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-23 15:26 PDT by Chris Dumez
Modified: 2017-05-23 16:47 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2017-05-23 15:26:32 PDT
fast/mediacapturefromelement/CanvasCaptureMediaStream-request-frame-events.html times out:

FAIL: Timed out waiting for notifyDone to be called
Exercises the requestFrame() call on captureStream(0).

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS Got a stream from canvas.
PASS stream.getVideoTracks().length is 1
PASS track.readyState is "live"
PASS Plugged stream to video tag.
PASS Video play callback succeeded.
PASS Drawing to canvas.
PASS Calling requestFrame().
Comment 1 Chris Dumez 2017-05-23 15:28:38 PDT
*** Bug 169719 has been marked as a duplicate of this bug. ***
Comment 2 youenn fablet 2017-05-23 16:47:53 PDT
Test might be broken because of requestFrame only doing a frame when the next redrawing happens, which in this test never happens since the drawing in canvas is done just before the call.

Current WebKit implementation is now basically taking requestFrame as some kind of manual timer. Would need to look at the spec again to check whether this is aligned with the spec or not.