mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
97197786b3
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)
1014 B
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)