Files
arturovt 97197786b3 docs: add NG05200 error reference page for SANITIZATION_UNSAFE_SCRIPT
Adds a reference page for `NG05200`, thrown by `DomSanitizer` when a value is bound to a `<script>` element without being marked trusted via `bypassSecurityTrustScript`. Covers why Angular rejects script content outright, how to reproduce the error, the escape hatch, and the XSS caveat.

(cherry picked from commit 806a3ada26)
2026-07-07 09:09:53 -07:00

1014 B

API Report File for "platform-browser_errors"

Do not edit this file. It is a report generated by API Extractor.


// @public
export const enum RuntimeErrorCode {
    // (undocumented)
    ANIMATION_RENDERER_ASYNC_LOADING_FAILURE = 5300,
    // (undocumented)
    BROWSER_MODULE_ALREADY_LOADED = 5100,
    // (undocumented)
    HYDRATION_CONFLICTING_FEATURES = 5001,
    // (undocumented)
    NO_PLUGIN_FOR_EVENT = -5101,
    // (undocumented)
    ROOT_NODE_NOT_FOUND = -5104,
    // (undocumented)
    SANITIZATION_UNEXPECTED_CTX = 5202,
    // (undocumented)
    SANITIZATION_UNSAFE_RESOURCE_URL = -5201,
    // (undocumented)
    SANITIZATION_UNSAFE_SCRIPT = 5200,
    // (undocumented)
    TESTABILITY_NOT_FOUND = 5103,
    // (undocumented)
    UNEXPECTED_SYNTHETIC_PROPERTY = 5105,
    // (undocumented)
    UNSUPPORTED_EVENT_TARGET = -5102,
    // (undocumented)
    UNSUPPORTED_ZONEJS_INSTANCE = -5000
}

// (No @packageDocumentation comment for this package)