@@ -8645,6 +8645,42 @@ exports.install = (globalObject, globalNames) => {
8645
8645
return esValue[implSymbol].numOrStrOrURLOrNullConsumer(...args);
8646
8646
}
8647
8647
8648
+ numOrObjConsumer(a) {
8649
+ const esValue = this !== null && this !== undefined ? this : globalObject;
8650
+ if (!exports.is(esValue)) {
8651
+ throw new globalObject.TypeError(
8652
+ "'numOrObjConsumer' called on an object that is not a valid instance of TypedefsAndUnions."
8653
+ );
8654
+ }
8655
+
8656
+ if (arguments.length < 1) {
8657
+ throw new globalObject.TypeError(
8658
+ \`Failed to execute 'numOrObjConsumer' on 'TypedefsAndUnions': 1 argument required, but only \${arguments.length} present.\`
8659
+ );
8660
+ }
8661
+ const args = [];
8662
+ {
8663
+ let curArg = arguments[0];
8664
+ if (utils.isObject(curArg)) {
8665
+ if (curArg[utils.implSymbol]) {
8666
+ curArg = utils.implForWrapper(curArg);
8667
+ }
8668
+ } else if (typeof curArg === "number") {
8669
+ curArg = conversions["double"](curArg, {
8670
+ context: "Failed to execute 'numOrObjConsumer' on 'TypedefsAndUnions': parameter 1",
8671
+ globals: globalObject
8672
+ });
8673
+ } else {
8674
+ curArg = conversions["double"](curArg, {
8675
+ context: "Failed to execute 'numOrObjConsumer' on 'TypedefsAndUnions': parameter 1",
8676
+ globals: globalObject
8677
+ });
8678
+ }
8679
+ args.push(curArg);
8680
+ }
8681
+ return esValue[implSymbol].numOrObjConsumer(...args);
8682
+ }
8683
+
8648
8684
urlMapInnerConsumer(a) {
8649
8685
const esValue = this !== null && this !== undefined ? this : globalObject;
8650
8686
if (!exports.is(esValue)) {
@@ -9080,6 +9116,7 @@ exports.install = (globalObject, globalNames) => {
9080
9116
numOrEnumConsumer: { enumerable: true },
9081
9117
numOrStrOrNullConsumer: { enumerable: true },
9082
9118
numOrStrOrURLOrNullConsumer: { enumerable: true },
9119
+ numOrObjConsumer: { enumerable: true },
9083
9120
urlMapInnerConsumer: { enumerable: true },
9084
9121
urlMapConsumer: { enumerable: true },
9085
9122
bufferSourceOrURLConsumer: { enumerable: true },
@@ -20379,6 +20416,42 @@ exports.install = (globalObject, globalNames) => {
20379
20416
return esValue[implSymbol].numOrStrOrURLOrNullConsumer(...args);
20380
20417
}
20381
20418
20419
+ numOrObjConsumer(a) {
20420
+ const esValue = this !== null && this !== undefined ? this : globalObject;
20421
+ if (!exports.is(esValue)) {
20422
+ throw new globalObject.TypeError(
20423
+ "'numOrObjConsumer' called on an object that is not a valid instance of TypedefsAndUnions."
20424
+ );
20425
+ }
20426
+
20427
+ if (arguments.length < 1) {
20428
+ throw new globalObject.TypeError(
20429
+ \`Failed to execute 'numOrObjConsumer' on 'TypedefsAndUnions': 1 argument required, but only \${arguments.length} present.\`
20430
+ );
20431
+ }
20432
+ const args = [];
20433
+ {
20434
+ let curArg = arguments[0];
20435
+ if (utils.isObject(curArg)) {
20436
+ if (curArg[utils.implSymbol]) {
20437
+ curArg = utils.implForWrapper(curArg);
20438
+ }
20439
+ } else if (typeof curArg === "number") {
20440
+ curArg = conversions["double"](curArg, {
20441
+ context: "Failed to execute 'numOrObjConsumer' on 'TypedefsAndUnions': parameter 1",
20442
+ globals: globalObject
20443
+ });
20444
+ } else {
20445
+ curArg = conversions["double"](curArg, {
20446
+ context: "Failed to execute 'numOrObjConsumer' on 'TypedefsAndUnions': parameter 1",
20447
+ globals: globalObject
20448
+ });
20449
+ }
20450
+ args.push(curArg);
20451
+ }
20452
+ return esValue[implSymbol].numOrObjConsumer(...args);
20453
+ }
20454
+
20382
20455
urlMapInnerConsumer(a) {
20383
20456
const esValue = this !== null && this !== undefined ? this : globalObject;
20384
20457
if (!exports.is(esValue)) {
@@ -20814,6 +20887,7 @@ exports.install = (globalObject, globalNames) => {
20814
20887
numOrEnumConsumer: { enumerable: true },
20815
20888
numOrStrOrNullConsumer: { enumerable: true },
20816
20889
numOrStrOrURLOrNullConsumer: { enumerable: true },
20890
+ numOrObjConsumer: { enumerable: true },
20817
20891
urlMapInnerConsumer: { enumerable: true },
20818
20892
urlMapConsumer: { enumerable: true },
20819
20893
bufferSourceOrURLConsumer: { enumerable: true },
0 commit comments