WebWarningCode
The diagnostic codes of the DOM runtime: UNSAFE_URL_BLOCKED (a URL attribute that would run script was not written), INVALID_ATTRIBUTE_NAME (a name that cannot appear in markup) and DUPLICATE_CLASS_ATTRIBUTE (one element carries class and className, so the parser drops one).
The diagnostic codes of the DOM runtime: UNSAFE_URL_BLOCKED (a URL attribute that would run
script was not written), INVALID_ATTRIBUTE_NAME (a name that cannot appear in markup) and
DUPLICATE_CLASS_ATTRIBUTE (one element carries class and className, so the parser drops one).
Import#
ts
import type { WebWarningCode } from "@shadow-js/web/extend";
Signature#
ts
type WebWarningCode =
| "UNSAFE_URL_BLOCKED"
| "INVALID_ATTRIBUTE_NAME"
| "DUPLICATE_CLASS_ATTRIBUTE"