Open Bug 1574321 Opened 5 years ago Updated 2 years ago

Add an async readbackWindow function to replace drawWindow(USE_WIDGET_LAYERS).

Categories

(Core :: Web Painting, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: mattwoodrow, Unassigned)

References

(Blocks 1 open bug)

Details

The existing drawWindow API is synchronous and tries to cover too many different use cases (drawing custom views of documents, as well as reading back windows).

We have the newly added drawSnapshot API on WindowGlobalParent, which just covers the custom drawing use case, is fission compatible, and is async.

We should add a new readbackWindow function (parent process only) that is async, and only supports the readback case.

I'd like to deprecate drawWindow eventually, with all of its uses replaced by better APIs.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.