From fdaa8ef765c4e1a7d82219d5e836811ffb0ee97b Mon Sep 17 00:00:00 2001 From: Nicolas Gryman Date: Sun, 27 Aug 2023 16:29:51 +0200 Subject: [PATCH] replace DOMString with USVString Co-authored-by: daxpedda --- crates/web-sys/webidls/enabled/CSSStyleSheet.webidl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/web-sys/webidls/enabled/CSSStyleSheet.webidl b/crates/web-sys/webidls/enabled/CSSStyleSheet.webidl index 15188239d74..4f8754f1af3 100644 --- a/crates/web-sys/webidls/enabled/CSSStyleSheet.webidl +++ b/crates/web-sys/webidls/enabled/CSSStyleSheet.webidl @@ -27,7 +27,7 @@ interface CSSStyleSheet : StyleSheet { [Throws, NeedsSubjectPrincipal] undefined deleteRule(unsigned long index); [NewObject] - Promise replace(DOMString text); + Promise replace(USVString text); [Throws] - undefined replaceSync(DOMString text); + undefined replaceSync(USVString text); };