|
@@ -10,6 +10,7 @@ public partial class GlobalObject
|
|
|
private static readonly Key propertyAggregateError = "AggregateError";
|
|
|
private static readonly Key propertyArray = "Array";
|
|
|
private static readonly Key propertyArrayBuffer = "ArrayBuffer";
|
|
|
+ private static readonly Key propertyAsyncDisposableStack = "AsyncDisposableStack";
|
|
|
private static readonly Key propertyAtomics = "Atomics";
|
|
|
private static readonly Key propertyBigInt = "BigInt";
|
|
|
private static readonly Key propertyBigInt64Array = "BigInt64Array";
|
|
@@ -17,6 +18,7 @@ public partial class GlobalObject
|
|
|
private static readonly Key propertyBoolean = "Boolean";
|
|
|
private static readonly Key propertyDataView = "DataView";
|
|
|
private static readonly Key propertyDate = "Date";
|
|
|
+ private static readonly Key propertyDisposableStack = "DisposableStack";
|
|
|
private static readonly Key propertyError = "Error";
|
|
|
private static readonly Key propertyEvalError = "EvalError";
|
|
|
private static readonly Key propertyFinalizationRegistry = "FinalizationRegistry";
|
|
@@ -46,6 +48,7 @@ public partial class GlobalObject
|
|
|
private static readonly Key propertyString = "String";
|
|
|
private static readonly Key propertySymbol = "Symbol";
|
|
|
private static readonly Key propertySyntaxError = "SyntaxError";
|
|
|
+ private static readonly Key propertySuppressedError = "SuppressedError";
|
|
|
private static readonly Key propertyTypeError = "TypeError";
|
|
|
private static readonly Key propertyTypedArray = "TypedArray";
|
|
|
private static readonly Key propertyURIError = "URIError";
|
|
@@ -82,10 +85,11 @@ public partial class GlobalObject
|
|
|
const PropertyFlag LengthFlags = PropertyFlag.Configurable;
|
|
|
const PropertyFlag PropertyFlags = PropertyFlag.Configurable | PropertyFlag.Writable;
|
|
|
|
|
|
- var properties = new StringDictionarySlim<PropertyDescriptor>(65);
|
|
|
+ var properties = new StringDictionarySlim<PropertyDescriptor>(70);
|
|
|
properties.AddDangerous(propertyAggregateError, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.AggregateError, PropertyFlags));
|
|
|
properties.AddDangerous(propertyArray, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.Array, PropertyFlags));
|
|
|
properties.AddDangerous(propertyArrayBuffer, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.ArrayBuffer, PropertyFlags));
|
|
|
+ properties.AddDangerous(propertyAsyncDisposableStack, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.AsyncDisposableStack, PropertyFlags));
|
|
|
properties.AddDangerous(propertyAtomics, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.Atomics, PropertyFlags));
|
|
|
properties.AddDangerous(propertyBigInt, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.BigInt, PropertyFlags));
|
|
|
properties.AddDangerous(propertyBigInt64Array, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.BigInt64Array, PropertyFlags));
|
|
@@ -93,6 +97,7 @@ public partial class GlobalObject
|
|
|
properties.AddDangerous(propertyBoolean, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.Boolean, PropertyFlags));
|
|
|
properties.AddDangerous(propertyDataView, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.DataView, PropertyFlags));
|
|
|
properties.AddDangerous(propertyDate, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.Date, PropertyFlags));
|
|
|
+ properties.AddDangerous(propertyDisposableStack, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.DisposableStack, PropertyFlags));
|
|
|
properties.AddDangerous(propertyError, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.Error, PropertyFlags));
|
|
|
properties.AddDangerous(propertyEvalError, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.EvalError, PropertyFlags));
|
|
|
properties.AddDangerous(propertyFinalizationRegistry, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.FinalizationRegistry, PropertyFlags));
|
|
@@ -122,6 +127,7 @@ public partial class GlobalObject
|
|
|
properties.AddDangerous(propertyString, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.String, PropertyFlags));
|
|
|
properties.AddDangerous(propertySymbol, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.Symbol, PropertyFlags));
|
|
|
properties.AddDangerous(propertySyntaxError, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.SyntaxError, PropertyFlags));
|
|
|
+ properties.AddDangerous(propertySuppressedError, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.SuppressedError, PropertyFlags));
|
|
|
properties.AddDangerous(propertyTypeError, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.TypeError, PropertyFlags));
|
|
|
properties.AddDangerous(propertyTypedArray, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.TypedArray, PropertyFlags));
|
|
|
properties.AddDangerous(propertyURIError, new LazyPropertyDescriptor<GlobalObject>(this, static global => global._realm.Intrinsics.UriError, PropertyFlags));
|