Skip to content

docs: add NG0904 error reference page for UNSAFE_VALUE_IN_RESOURCE_URL - #71105

Open
MeAkib wants to merge 1 commit into
angular:mainfrom
MeAkib:docs/ng0904-error-page
Open

MeAkib wants to merge 1 commit into
angular:mainfrom
MeAkib:docs/ng0904-error-page

Conversation

@MeAkib

@MeAkib MeAkib commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Adds a reference page for NG0904, thrown when a plain string is bound to a resource URL attribute (such as <iframe src>) without being marked trusted via bypassSecurityTrustResourceUrl. The error code is made negative so the error message links to the new page.

Fixes #71092

@pullapprove
pullapprove Bot requested a review from kirjs September 30, 2026 18:49
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Sep 30, 2026
@ngbot ngbot Bot added this to the Backlog milestone Sep 30, 2026
Comment thread adev/src/content/reference/errors/NG0904.md Outdated
Comment thread adev/src/content/reference/errors/NG0904.md Outdated
Comment thread adev/src/content/reference/errors/NG0904.md
Comment thread adev/src/content/reference/errors/NG0904.md Outdated
Comment thread adev/src/content/reference/errors/NG0904.md Outdated
Adds a reference page for `NG0904`, thrown when a plain string is bound to
a resource URL attribute (such as `<iframe src>`) without being marked
trusted via `bypassSecurityTrustResourceUrl`. The error code is made
negative so the error message links to the new page.

Fixes angular#71092
@MeAkib
MeAkib force-pushed the docs/ng0904-error-page branch from bb65195 to 7b25bba Compare October 1, 2026 03:41
@MeAkib

MeAkib commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

@SkyZeroZx @erkamyaman Thanks for the review! I’ve applied all.

@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Oct 2, 2026
@JeanMeche
JeanMeche removed the request for review from kirjs October 2, 2026 00:17
@pullapprove
pullapprove Bot requested review from crisbeto and kirjs October 2, 2026 00:17

@JeanMeche JeanMeche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed-for: public-api

@JeanMeche
JeanMeche removed request for crisbeto and kirjs October 2, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: docs Related to the documentation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the NG0904 error

4 participants