Skip to content

refactor(core): remove deprecated UNSAFE_IFRAME_ATTRS alias#68706

Open
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:refactor-core-remove-unsafe-iframe-attrs-alias
Open

refactor(core): remove deprecated UNSAFE_IFRAME_ATTRS alias#68706
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:refactor-core-remove-unsafe-iframe-attrs-alias

Conversation

@erkamyaman
Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

packages/core/src/errors.ts declares UNSAFE_IFRAME_ATTRS = -910 in the RuntimeErrorCode enum as a @deprecated alias of UNSAFE_ATTRIBUTE_BINDING (same numeric value). It has no usages anywhere in the repo and carries a tslint:disable-next-line:no-duplicate-enum-values suppression to silence the duplicate-value warning.

What is the new behavior?

The alias and its paired tslint suppression are removed. UNSAFE_ATTRIBUTE_BINDING stays.

Does this PR introduce a breaking change?

  • Yes
  • No

`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.
@pullapprove pullapprove Bot requested a review from kirjs May 12, 2026 22:03
@angular-robot angular-robot Bot added the area: core Issues related to the framework runtime label May 12, 2026
@ngbot ngbot Bot added this to the Backlog milestone May 12, 2026
@JeanMeche JeanMeche requested review from alan-agius4 and removed request for kirjs May 12, 2026 23:09
@pullapprove pullapprove Bot requested a review from kirjs May 12, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues related to the framework runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant