mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 10:14:31 -05:00
Fix layer check errors
This commit is contained in:
@@ -85,6 +85,9 @@ const CORE_TYPES = [
|
||||
'SubtleCrypto',
|
||||
'JsonWebKey',
|
||||
'MessageEvent',
|
||||
// node web types
|
||||
'ReadableStreamDefaultReader',
|
||||
'DOMException',
|
||||
];
|
||||
// Types that are defined in a common layer but are known to be only
|
||||
// available in native environments should not be allowed in browser
|
||||
|
||||
@@ -84,6 +84,10 @@ const CORE_TYPES = [
|
||||
'SubtleCrypto',
|
||||
'JsonWebKey',
|
||||
'MessageEvent',
|
||||
|
||||
// node web types
|
||||
'ReadableStreamDefaultReader',
|
||||
'DOMException',
|
||||
];
|
||||
|
||||
// Types that are defined in a common layer but are known to be only
|
||||
|
||||
Reference in New Issue
Block a user