1# Copyright (c) 2024 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 14sendable inherit from sendable succeed. 15sendable inherit from non-sendable failed. err: TypeError: Class not derived from a sendable object, code: undefined 16sendable change proto failed. err: TypeError: Cannot set proto with sendable object, code: undefined 17non-sendable inherit from non-sendable succeed. 18non-sendable inherit from sendable failed. err: TypeError: The subclass of sendable class must be a sendable class, code: undefined 19sendable contain sendable succeed. 20sendable contain non-sendable failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined 21sendable contain static non-sendable failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined 22sendable contain undefined succeed. 23sendable contain lexenv succeed. 24sendable with concurrent decorator succeed. 25sendable add property failed. err: TypeError: Cannot add property in prevent extensions, code: undefined 26sendable change property failed. err: TypeError: Cannot set sendable property with mismatched type, code: undefined 27sendable delete property failed. err: TypeError: Cannot delete property, code: undefined 28sendable can not change attr. err: TypeError: shared obj does not support changing or deleting attributes 29