14514f5e3Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
24514f5e3Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
34514f5e3Sopenharmony_ci# you may not use this file except in compliance with the License.
44514f5e3Sopenharmony_ci# You may obtain a copy of the License at
54514f5e3Sopenharmony_ci#
64514f5e3Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
74514f5e3Sopenharmony_ci#
84514f5e3Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
94514f5e3Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
104514f5e3Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
114514f5e3Sopenharmony_ci# See the License for the specific language governing permissions and
124514f5e3Sopenharmony_ci# limitations under the License.
134514f5e3Sopenharmony_ci
144514f5e3Sopenharmony_cisendable inherit from sendable succeed.
154514f5e3Sopenharmony_cisendable inherit from non-sendable failed. err: TypeError: Class not derived from a sendable object, code: undefined
164514f5e3Sopenharmony_cisendable change proto failed. err: TypeError: Cannot set proto with sendable object, code: undefined
174514f5e3Sopenharmony_cinon-sendable inherit from non-sendable succeed.
184514f5e3Sopenharmony_cinon-sendable inherit from sendable failed. err: TypeError: The subclass of sendable class must be a sendable class, code: undefined
194514f5e3Sopenharmony_cisendable contain sendable succeed.
204514f5e3Sopenharmony_cisendable contain non-sendable failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined
214514f5e3Sopenharmony_cisendable contain static non-sendable failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined
224514f5e3Sopenharmony_cisendable contain undefined succeed.
234514f5e3Sopenharmony_cisendable contain lexenv succeed.
244514f5e3Sopenharmony_cisendable with concurrent decorator succeed.
254514f5e3Sopenharmony_cisendable add property failed. err: TypeError: Cannot add property in prevent extensions, code: undefined
264514f5e3Sopenharmony_cisendable change property failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined
274514f5e3Sopenharmony_cisendable delete property failed. err: TypeError: Cannot delete property, code: undefined
284514f5e3Sopenharmony_cisendable can not change attr. err: TypeError: shared obj does not support changing or deleting attributes
29