Intent to Deprecate and Remove: PPAPI (Pepper) WebSocket

106 views
Skip to first unread message

Adam Rice

unread,
Jul 26, 2018, 12:26:34 AM7/26/18
to blink-dev, Chromium-dev

# Primary eng emails

ri...@chromium.org, yhi...@chromium.org


# Summary

Remove the pp::WebSocket PPAPI which provides a bridge to the WebSocket protocol to NaCl and PNaCl applications. The web platform WebSocket API will not be deprecated.


# Motivation

The implementation of pp::WebSocket contains a great deal of legacy code. In particular, it is the only WebSocket-related use of legacy IPC. Among pepper APIs it has 0.00% usage, meaning there is no value in updating it to use mojo IPC.


The API is under-tested and no-one is left with the expertise to solve any problems that arise.


The Blink-side WebSocket implementation has been considerably simplified, but this legacy API is blocking further simplification efforts.


# Interoperability and Compatibility Risk

This API is only implemented in Chromium. Removing it will improve interoperability.


It is already deprecated on platforms other than Chromium OS.


Usage of the API is tiny, but non-zero. There may still be some apps which depend on it.


# Alternative implementation suggestion for web developers

It is theoretically possible to emulate it using the pp::Instance::PostMessage() API.


# Usage information from UseCounter

The Pepper.InterfaceUsed UseCounter shows the percentage of processes that have loaded the API over the last 28 days is 0.002%.


# Entry on the feature dashboard

Not applicable (not a web platform API).


# Requesting approval to remove too?

Yes.

Philip Jägenstedt

unread,
Jul 26, 2018, 9:15:24 AM7/26/18
to Adam Rice, blink-dev, Chromium-dev
LGTM1
> --
> You received this message because you are subscribed to the Google Groups "blink-dev" group.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAC_ixdzhnhWce5cT3ywPebmArR-1BLmp5b-2H0S0PyZ7EGVmTA%40mail.gmail.com.

Chris Harrelson

unread,
Jul 26, 2018, 12:23:31 PM7/26/18
to Philip Jägenstedt, Adam Rice, blink-dev, Chromium-dev
LGTM2

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYdpi%3DU3gDc_Lf7E%3Dyx0K1tzQPZR1vp%3DLwpOAL%2BaJ_Ssyg%40mail.gmail.com.

Daniel Bratell

unread,
Jul 26, 2018, 12:25:15 PM7/26/18
to Philip Jägenstedt, Chris Harrelson, Adam Rice, blink-dev, Chromium-dev
LGTM3

/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_uKQBkh8x_NhAAM39xH23Gq7jOJPxv3Qj5h2-_L_ZP3w%40mail.gmail.com.



--
/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
Reply all
Reply to author
Forward
0 new messages