From d6e763f0db4998acc4687aaf869a804091b61821 Mon Sep 17 00:00:00 2001 From: Kam Date: Wed, 13 May 2026 00:21:40 +0300 Subject: [PATCH] refactor(core): remove deprecated UNSAFE_IFRAME_ATTRS alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `UNSAFE_IFRAME_ATTRS` in the `RuntimeErrorCode` enum is a `@deprecated` alias of `UNSAFE_ATTRIBUTE_BINDING` (same value -910) with no usages anywhere. Drop it along with the paired `tslint:disable-next-line:no-duplicate-enum-values` suppression. `RuntimeErrorCode` is re-exported as `ɵRuntimeErrorCode`, so the enum's value set is not a stability commitment. --- goldens/public-api/core/errors.api.md | 2 -- packages/core/src/errors.ts | 5 ----- 2 files changed, 7 deletions(-) diff --git a/goldens/public-api/core/errors.api.md b/goldens/public-api/core/errors.api.md index 52f13d4b19b6..ae6718eb300a 100644 --- a/goldens/public-api/core/errors.api.md +++ b/goldens/public-api/core/errors.api.md @@ -191,8 +191,6 @@ export const enum RuntimeErrorCode { UNKNOWN_ELEMENT = 304, // (undocumented) UNSAFE_ATTRIBUTE_BINDING = -910, - // @deprecated (undocumented) - UNSAFE_IFRAME_ATTRS = -910, // (undocumented) UNSAFE_VALUE_IN_RESOURCE_URL = 904, // (undocumented) diff --git a/packages/core/src/errors.ts b/packages/core/src/errors.ts index 90e263e4c557..2da3d6edfaa5 100644 --- a/packages/core/src/errors.ts +++ b/packages/core/src/errors.ts @@ -120,11 +120,6 @@ export const enum RuntimeErrorCode { MISSING_ZONEJS = 908, UNEXPECTED_ZONE_STATE = 909, UNSAFE_ATTRIBUTE_BINDING = -910, - /** - * @deprecated use `UNSAFE_ATTRIBUTE_BINDING` instead. - */ - // tslint:disable-next-line:no-duplicate-enum-values - UNSAFE_IFRAME_ATTRS = -910, VIEW_ALREADY_DESTROYED = 911, COMPONENT_ID_COLLISION = -912, IMAGE_PERFORMANCE_WARNING = -913,