TCPSocket is not available to IWA after the latest Chrome update ???

825 views
Skip to first unread message

Xtralogic

unread,
Jul 12, 2024, 6:25:51 PM7/12/24
to iwa-dev
Hi Google Chrome Team,

After the latest Chrome update (128.0.6585.0 (Official Build) dev (64-bit)), TCPSocket is not available in an IWA.

Steps to reproduce:
1)Enable  #enable-isolated-web-apps and and #enable-isolated-web-app-dev-mode flags in chrome
2)Build the telnet-client example https://github.com/GoogleChromeLabs/telnet-client
3)Install the IWA via Dev Mode Proxy

Try to connect, the following error is reported <<ERROR: TCPSocket is not defined>>

Another observation is that the Permission policy for the app's top frame in DevTool does not show "direct-sockets" permission.

Thanks,
Sergey.


Thanks,
Sergey

Robbie McElrath

unread,
Jul 12, 2024, 6:31:31 PM7/12/24
to Xtralogic, iwa-dev
We recently moved Direct Sockets behind a separate flag so that we can enable the main IWA flag without also turning on Direct Sockets, which will be approved for launch separately. Because of this you'll now need to enable this as well:

chrome://flags/#enable-direct-sockets-web-api

Apologies for not announcing this at the time.

--
You received this message because you are subscribed to the Google Groups "iwa-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iwa-dev+u...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/iwa-dev/4575433e-6c50-4dcc-abb7-a13f9decc423n%40chromium.org.

Xtralogic

unread,
Jul 12, 2024, 6:45:23 PM7/12/24
to iwa-dev, rmce...@google.com, iwa-dev, Xtralogic
Yeah, I have to admit it was a bit scary to not find  TCPSocket or direct-sockets today :-)
Hopefully the Direct Sockets feature will be launched not long after the IWA itself.

Reply all
Reply to author
Forward
0 new messages