forked from openkylin/kylin-code
fixed layersChecher error.
This commit is contained in:
parent
8a3cd1c3a0
commit
6073f0ec8f
|
@ -55,7 +55,13 @@ const CORE_TYPES = [
|
||||||
'MessageChannel',
|
'MessageChannel',
|
||||||
'MessagePort',
|
'MessagePort',
|
||||||
'URL',
|
'URL',
|
||||||
'URLSearchParams'
|
'URLSearchParams',
|
||||||
|
'ReadonlyArray',
|
||||||
|
'Event',
|
||||||
|
'EventTarget',
|
||||||
|
'BroadcastChannel',
|
||||||
|
'performance',
|
||||||
|
'Blob'
|
||||||
];
|
];
|
||||||
// Types that are defined in a common layer but are known to be only
|
// Types that are defined in a common layer but are known to be only
|
||||||
// available in native environments should not be allowed in browser
|
// available in native environments should not be allowed in browser
|
||||||
|
|
|
@ -56,7 +56,13 @@ const CORE_TYPES = [
|
||||||
'MessageChannel',
|
'MessageChannel',
|
||||||
'MessagePort',
|
'MessagePort',
|
||||||
'URL',
|
'URL',
|
||||||
'URLSearchParams'
|
'URLSearchParams',
|
||||||
|
'ReadonlyArray',
|
||||||
|
'Event',
|
||||||
|
'EventTarget',
|
||||||
|
'BroadcastChannel',
|
||||||
|
'performance',
|
||||||
|
'Blob'
|
||||||
];
|
];
|
||||||
|
|
||||||
// Types that are defined in a common layer but are known to be only
|
// Types that are defined in a common layer but are known to be only
|
||||||
|
|
Loading…
Reference in New Issue