Home
last modified time | relevance | path

Searched refs:MakeTypeError (Results 1 – 25 of 29) sorted by relevance

12

/external/v8/src/js/
Dweak-collection.js19 var MakeTypeError;
25 MakeTypeError = from.MakeTypeError;
33 throw MakeTypeError(kConstructorNotFunction, "WeakMap");
41 throw MakeTypeError(kPropertyNotFunction, adder, 'set', this);
45 throw MakeTypeError(kIteratorValueNotAnObject, nextItem);
55 throw MakeTypeError(kIncompatibleMethodReceiver,
67 throw MakeTypeError(kIncompatibleMethodReceiver,
70 if (!IS_RECEIVER(key)) throw MakeTypeError(kInvalidWeakMapKey);
77 throw MakeTypeError(kIncompatibleMethodReceiver,
89 throw MakeTypeError(kIncompatibleMethodReceiver,
[all …]
Dtypedarray.js41 var MakeTypeError;
91 MakeTypeError = from.MakeTypeError;
111 throw MakeTypeError(kIncompatibleMethodReceiver,
121 if (!%_IsTypedArray(newTypedArray)) throw MakeTypeError(kNotTypedArray);
126 throw MakeTypeError(kTypedArrayTooShort);
262 throw MakeTypeError(kConstructorNotFunction, "NAME")
269 throw MakeTypeError(kIncompatibleMethodReceiver, "NAME.length", this);
318 throw MakeTypeError(kIncompatibleMethodReceiver,
325 throw MakeTypeError(kIncompatibleMethodReceiver,
334 throw MakeTypeError(kIncompatibleMethodReceiver,
[all …]
Dcollection.js18 var MakeTypeError;
26 MakeTypeError = from.MakeTypeError;
129 throw MakeTypeError(kConstructorNotFunction, "Set");
137 throw MakeTypeError(kPropertyNotFunction, adder, 'add', this);
149 throw MakeTypeError(kIncompatibleMethodReceiver, 'Set.prototype.add', this);
189 throw MakeTypeError(kIncompatibleMethodReceiver, 'Set.prototype.has', this);
201 throw MakeTypeError(kIncompatibleMethodReceiver,
224 throw MakeTypeError(kIncompatibleMethodReceiver,
234 throw MakeTypeError(kIncompatibleMethodReceiver,
243 throw MakeTypeError(kIncompatibleMethodReceiver,
[all …]
Dcollection-iterator.js17 var MakeTypeError;
23 MakeTypeError = from.MakeTypeError;
35 throw MakeTypeError(kIncompatibleMethodReceiver,
60 throw MakeTypeError(kIncompatibleMethodReceiver,
69 throw MakeTypeError(kIncompatibleMethodReceiver,
103 throw MakeTypeError(kIncompatibleMethodReceiver,
129 throw MakeTypeError(kIncompatibleMethodReceiver,
138 throw MakeTypeError(kIncompatibleMethodReceiver,
147 throw MakeTypeError(kIncompatibleMethodReceiver,
Darraybuffer.js15 var MakeTypeError;
21 MakeTypeError = from.MakeTypeError;
31 throw MakeTypeError(kIncompatibleMethodReceiver,
40 throw MakeTypeError(kIncompatibleMethodReceiver,
70 throw MakeTypeError(kIncompatibleMethodReceiver,
75 throw MakeTypeError(kArrayBufferSpeciesThis);
78 throw MakeTypeError(kArrayBufferTooShort);
Dv8natives.js20 var MakeTypeError;
33 MakeTypeError = from.MakeTypeError;
169 throw MakeTypeError(kObjectGetterExpectingFunction);
194 throw MakeTypeError(kObjectSetterExpectingFunction);
268 if (!IS_RECEIVER(obj)) throw MakeTypeError(kPropertyDescObject, obj);
291 throw MakeTypeError(kObjectGetterCallable, get);
299 throw MakeTypeError(kObjectSetterCallable, set);
305 throw MakeTypeError(kValueAndAccessor, obj);
454 throw MakeTypeError(kIllegalInvocation);
458 throw MakeTypeError(kIllegalInvocation);
[all …]
Dobject-observe.js18 var MakeTypeError;
22 MakeTypeError = from.MakeTypeError;
323 if (!IS_RECEIVER(arg)) throw MakeTypeError(kObserveInvalidAccept);
380 throw MakeTypeError(kObserveNonObject, "observe", "observe");
382 throw MakeTypeError(kObserveGlobalProxy, "observe");
384 throw MakeTypeError(kObserveAccessChecked, "observe");
386 throw MakeTypeError(kObserveNonFunction, "observe");
388 throw MakeTypeError(kObserveCallbackFrozen);
405 throw MakeTypeError(kObserveNonObject, "unobserve", "unobserve");
407 throw MakeTypeError(kObserveGlobalProxy, "unobserve");
[all …]
Dgenerator.js17 var MakeTypeError;
21 MakeTypeError = from.MakeTypeError;
31 throw MakeTypeError(kIncompatibleMethodReceiver,
50 throw MakeTypeError(kGeneratorRunning);
57 throw MakeTypeError(kIncompatibleMethodReceiver,
75 throw MakeTypeError(kGeneratorRunning);
Dsymbol.js20 var MakeTypeError;
26 MakeTypeError = from.MakeTypeError;
34 throw MakeTypeError(kIncompatibleMethodReceiver,
43 throw MakeTypeError(kIncompatibleMethodReceiver,
52 throw MakeTypeError(kIncompatibleMethodReceiver,
72 if (!IS_SYMBOL(symbol)) throw MakeTypeError(kSymbolKeyFor, symbol);
Dharmony-regexp.js16 var MakeTypeError;
20 MakeTypeError = from.MakeTypeError;
29 throw MakeTypeError(
50 throw MakeTypeError(kRegExpNonRegExp, "RegExp.prototype.sticky");
Dproxy.js15 var MakeTypeError;
18 MakeTypeError = from.MakeTypeError;
39 throw MakeTypeError(kProxyEnumerateNonObject);
48 throw MakeTypeError(kProxyEnumerateNonString);
Dharmony-sharedarraybuffer.js12 var MakeTypeError;
15 MakeTypeError = from.MakeTypeError;
22 throw MakeTypeError(kIncompatibleMethodReceiver,
Dregexp.js18 var MakeTypeError;
28 MakeTypeError = from.MakeTypeError;
106 throw MakeTypeError(kIncompatibleMethodReceiver,
111 if (!IS_UNDEFINED(flags)) throw MakeTypeError(kRegExpFlags);
170 throw MakeTypeError(kIncompatibleMethodReceiver,
217 throw MakeTypeError(kIncompatibleMethodReceiver,
286 throw MakeTypeError(kIncompatibleMethodReceiver,
303 throw MakeTypeError(kIncompatibleMethodReceiver,
373 throw MakeTypeError(kIncompatibleMethodReceiver,
389 throw MakeTypeError(kIncompatibleMethodReceiver,
[all …]
Dharmony-unicode-regexps.js16 var MakeTypeError;
19 MakeTypeError = from.MakeTypeError;
32 throw MakeTypeError(kRegExpNonRegExp, "RegExp.prototype.unicode");
Dharmony-reflect.js15 var MakeTypeError;
20 MakeTypeError = from.MakeTypeError;
27 throw MakeTypeError(kCalledOnNonObject, "Reflect.enumerate")
Dpromise.js15 var MakeTypeError;
30 MakeTypeError = from.MakeTypeError;
66 if (IS_UNDEFINED(new.target)) throw MakeTypeError(kNotAPromise, this);
68 throw MakeTypeError(kResolverNotAFunction, resolver);
170 return PromiseReject(promise, MakeTypeError(kPromiseCyclic, x));
237 throw MakeTypeError(kPromiseExecutorAlreadyInvoked);
257 throw MakeTypeError(kCalledOnNonObject, PromiseRejected);
278 throw MakeTypeError(kNotAPromise, this);
328 throw MakeTypeError(kCalledOnNonObject, PromiseCast);
339 throw MakeTypeError(kCalledOnNonObject, "Promise.all");
[all …]
Dspread.js12 var MakeTypeError;
15 MakeTypeError = from.MakeTypeError;
38 throw MakeTypeError(kNotIterable, collection);
Di18n.js32 var MakeTypeError;
55 MakeTypeError = from.MakeTypeError;
207 throw MakeTypeError(kMethodCalledOnWrongObject, methodName);
216 throw MakeTypeError(kOrdinaryFunctionCalledAsConstructor);
223 throw MakeTypeError(kOrdinaryFunctionCalledAsConstructor);
230 throw MakeTypeError(kOrdinaryFunctionCalledAsConstructor);
731 throw MakeTypeError(kLanguageID);
899 throw MakeTypeError(kReinitializeIntl, "Collator");
1024 throw MakeTypeError(kOrdinaryFunctionCalledAsConstructor);
1028 throw MakeTypeError(kResolvedOptionsCalledOnNonObject, "Collator");
[all …]
Druntime.js24 var MakeTypeError;
29 MakeTypeError = from.MakeTypeError;
146 throw MakeTypeError(kConstructorNotReceiver);
155 throw MakeTypeError(kSpeciesNotConstructor);
Dstring-iterator.js17 var MakeTypeError;
25 MakeTypeError = from.MakeTypeError;
51 throw MakeTypeError(kIncompatibleMethodReceiver,
Darray-iterator.js23 var MakeTypeError;
28 MakeTypeError = from.MakeTypeError;
66 throw MakeTypeError(kIncompatibleMethodReceiver,
Dharmony-simd.js15 var MakeTypeError;
19 MakeTypeError = from.MakeTypeError;
67 throw MakeTypeError(kIncompatibleMethodReceiver,
81 throw MakeTypeError(kIncompatibleMethodReceiver,
95 throw MakeTypeError(kIncompatibleMethodReceiver,
437 throw MakeTypeError(kNotConstructor, "Float32x4");
446 throw MakeTypeError(kNotConstructor, "Int32x4");
455 throw MakeTypeError(kNotConstructor, "Uint32x4");
464 throw MakeTypeError(kNotConstructor, "Bool32x4");
472 throw MakeTypeError(kNotConstructor, "Int16x8");
[all …]
Dharmony-atomics.js15 var MakeTypeError;
20 MakeTypeError = from.MakeTypeError;
29 throw MakeTypeError(kNotIntegerSharedTypedArray, ia);
36 throw MakeTypeError(kNotInt32SharedTypedArray, ia);
Djson.js18 var MakeTypeError;
25 MakeTypeError = from.MakeTypeError;
79 if (!%PushIfAbsent(stack, value)) throw MakeTypeError(kCircularStructure);
108 if (!%PushIfAbsent(stack, value)) throw MakeTypeError(kCircularStructure);
Darray.js22 var MakeTypeError;
39 MakeTypeError = from.MakeTypeError;
74 if (!result) throw MakeTypeError(kStrictCannotAssign, i);
556 throw MakeTypeError(kPushPastSafeLength, m, n);
695 if (%object_is_sealed(array)) throw MakeTypeError(kArrayFunctionsOnSealed);
893 throw MakeTypeError(kArrayFunctionsOnSealed);
895 throw MakeTypeError(kArrayFunctionsOnFrozen);
1252 if (!IS_CALLABLE(f)) throw MakeTypeError(kCalledNonCallable, f);
1259 if (!IS_CALLABLE(f)) throw MakeTypeError(kCalledNonCallable, f);
1283 if (!IS_CALLABLE(f)) throw MakeTypeError(kCalledNonCallable, f);
[all …]

12