-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From ef9a45200d4ece1a7f8a29e855755742ed051d58 Mon Sep 17 00:00:00 2001 | ||
From: Francois Daoust <[email protected]> | ||
Date: Wed, 7 Jul 2021 10:33:58 +0200 | ||
Subject: [PATCH] Rollback switch to attribute for config | ||
|
||
https://github.com/WICG/sanitizer-api/issues/107 | ||
--- | ||
ed/idl/sanitizer-api.idl | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/ed/idl/sanitizer-api.idl b/ed/idl/sanitizer-api.idl | ||
index cd6387517..75a7a6a28 100644 | ||
--- a/ed/idl/sanitizer-api.idl | ||
+++ b/ed/idl/sanitizer-api.idl | ||
@@ -12,8 +12,8 @@ | ||
DocumentFragment sanitize(SanitizerInput input); | ||
DOMString sanitizeToString(SanitizerInput input); | ||
|
||
- readonly attribute SanitizerConfig config; | ||
- static readonly attribute SanitizerConfig defaultConfig; | ||
+ SanitizerConfig config(); | ||
+ static SanitizerConfig defaultConfig(); | ||
}; | ||
|
||
typedef (DOMString or DocumentFragment or Document) SanitizerInput; | ||
-- | ||
2.31.1.windows.1 | ||
|