Skip to content

Commit d6e763f

Browse files
committed
refactor(core): remove deprecated UNSAFE_IFRAME_ATTRS alias
`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.
1 parent e0593ec commit d6e763f

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

goldens/public-api/core/errors.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ export const enum RuntimeErrorCode {
191191
UNKNOWN_ELEMENT = 304,
192192
// (undocumented)
193193
UNSAFE_ATTRIBUTE_BINDING = -910,
194-
// @deprecated (undocumented)
195-
UNSAFE_IFRAME_ATTRS = -910,
196194
// (undocumented)
197195
UNSAFE_VALUE_IN_RESOURCE_URL = 904,
198196
// (undocumented)

packages/core/src/errors.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,6 @@ export const enum RuntimeErrorCode {
120120
MISSING_ZONEJS = 908,
121121
UNEXPECTED_ZONE_STATE = 909,
122122
UNSAFE_ATTRIBUTE_BINDING = -910,
123-
/**
124-
* @deprecated use `UNSAFE_ATTRIBUTE_BINDING` instead.
125-
*/
126-
// tslint:disable-next-line:no-duplicate-enum-values
127-
UNSAFE_IFRAME_ATTRS = -910,
128123
VIEW_ALREADY_DESTROYED = 911,
129124
COMPONENT_ID_COLLISION = -912,
130125
IMAGE_PERFORMANCE_WARNING = -913,

0 commit comments

Comments
 (0)