• Home
  • Raw
  • Download

Lines Matching full:exception

40     // 1. If NewTarget is undefined, throw a TypeError exception.  in SharedArrayBufferConstructor()
42 THROW_TYPE_ERROR_AND_RETURN(thread, "newtarget is undefined", JSTaggedValue::Exception()); in SharedArrayBufferConstructor()
113 THROW_RANGE_ERROR_AND_RETURN(thread, "Out of range", JSTaggedValue::Exception()); in AllocateSharedArrayBuffer()
142 // 2. If Type(O) is not Object, throw a TypeError exception. in GetByteLength()
144 … THROW_TYPE_ERROR_AND_RETURN(thread, "this value is not an object", JSTaggedValue::Exception()); in GetByteLength()
146 // 3. If O does not have an [[ArrayBufferData]] internal slot, throw a TypeError exception. in GetByteLength()
148 THROW_TYPE_ERROR_AND_RETURN(thread, "don't have internal slot", JSTaggedValue::Exception()); in GetByteLength()
168 // 2. If Type(O) is not Object, throw a TypeError exception. in Slice()
170 … THROW_TYPE_ERROR_AND_RETURN(thread, "this value is not an object", JSTaggedValue::Exception()); in Slice()
173 // 3. If O does not have an [[ArrayBufferData]] internal slot, throw a TypeError exception. in Slice()
175 THROW_TYPE_ERROR_AND_RETURN(thread, "don't have internal slot", JSTaggedValue::Exception()); in Slice()
177 // 4. If IsSharedArrayBuffer(O) is false, throw a TypeError exception. in Slice()
179 …OW_TYPE_ERROR_AND_RETURN(thread, "this value not IsSharedArrayBuffer", JSTaggedValue::Exception()); in Slice()
228 // 17. If new does not have an [[ArrayBufferData]] internal slot, throw a TypeError exception. in Slice()
230 …W_TYPE_ERROR_AND_RETURN(thread, "don't have bufferdata internal slot", JSTaggedValue::Exception()); in Slice()
232 // 18. If IsSharedArrayBuffer(new) is false, throw a TypeError exception. in Slice()
234 …PE_ERROR_AND_RETURN(thread, "new arrayBuffer not IsSharedArrayBuffer", JSTaggedValue::Exception()); in Slice()
236 // 19. If SameValue(new, O) is true, throw a TypeError exception. in Slice()
238 …_ERROR_AND_RETURN(thread, "value of new arraybuffer and this is same", JSTaggedValue::Exception()); in Slice()
241 …f the value of new’s [[ArrayBufferByteLength]] internal slot < newLen, throw a TypeError exception. in Slice()
244 …RROR_AND_RETURN(thread, "new array buffer length smaller than newlen", JSTaggedValue::Exception()); in Slice()