Enable IPC API for web (#138054)

* wip: ipc api

* wip: send message ports upfront

* address both inside and outside iframe

* fix build

* relay MessagePort to worker

* address api discussion feedback

* check for proposed api

* fix layer breakage

Co-authored-by: Alex Dima <alexdima@microsoft.com>
This commit is contained in:
João Moreno
2022-01-05 10:11:12 +00:00
committed by GitHub
parent 898073bcdb
commit 5e630c145f
11 changed files with 97 additions and 20 deletions
+3 -1
View File
@@ -52,7 +52,9 @@ const CORE_TYPES = [
'trimEnd',
'trimLeft',
'trimRight',
'queueMicrotask'
'queueMicrotask',
'MessageChannel',
'MessagePort'
];
// Types that are defined in a common layer but are known to be only
// available in native environments should not be allowed in browser