1# Copyright (c) 2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14primitiveic load success 15load ic by name test2 success! 16load Number ic by name success! 17load Number ic by name success1! 18================Test proto SendableTypedArray IC================ 19SendableFloat64Array set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 20SendableFloat32Array set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 21SendableInt32Array set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 22SendableInt16Array set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 23SendableInt8Array set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 24SendableUint32Array set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 25SendableUint16Array set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 26SendableUint8Array set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 27SendableUint8ClampedArray set proto with sendable object failed. err: TypeError: Cannot set proto with sendable object 28================Test proto SendableTypedArray IC success!================ 291 301 31load global ic with accessor success! 321 33change 342 351 36change 37function Number() { [native code] } 38function Number() { [native code] } 39change 402 412 42