xpra icon
Bug tracker and wiki

Opened 6 months ago

Last modified 3 months ago

#1788 assigned task

2.4 html5 updates

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.4
Component: html5 Version: 2.2.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Follow up from #1670.

The changelog: log/xpra/trunk/src/html5

Lots of goodies in the latest chrome builds: Chrome 66 Beta: CSS Typed Object Model, Async Clipboard API, AudioWorklet:

(from The ImageBitmap rendering context for canvas) - not sure about zerocopy since this populates a canvas but worth a look

  • Unblocking Clipboard Access: The new asynchronous clipboard API provides a promise-based means of reading from and writing to the clipboard. and As with many new APIs, navigator.clipboard is only supported for pages served over HTTPS. To help prevent abuse, clipboard access is only allowed when a page is the active tab. Pages in active tabs can write to the clipboard without requesting permission, but reading from the clipboard always requires permission.
  • AudioWorklet: The AudioWorklet? object provides a new synchronous JavaScript? execution context which allows developers to programmatically control audio without additional latency and higher stability in the output audio. - looks like exactly what we need (see #1775)

Change History (3)

comment:1 Changed 5 months ago by Antoine Martin

Description: modified (diff)
Milestone: 3.02.4
Status: newassigned
Summary: xpra 3.0 html5 updatesxpra 2.4 html5 updates

comment:2 Changed 5 months ago by Antoine Martin

Summary: xpra 2.4 html5 updates2.4 html5 updates

See also #1847: html5 native notifications api

Last edited 4 months ago by Antoine Martin (previous) (diff)

comment:3 Changed 3 months ago by Antoine Martin

We should also implement the same code as r19727: skip sending keyboard and mouse if the server doesn't handle those, see ticket:1838#comment:8.

Note: See TracTickets for help on using tickets.