-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Uzlopak <5059100+Uzlopak@users.noreply.github.com>
- Loading branch information
1 parent
608d5f6
commit 782f06b
Showing
15 changed files
with
377 additions
and
51 deletions.
There are no files selected for viewing
15 changes: 0 additions & 15 deletions
15
test/fixtures/wpt/interfaces/command-and-commandfor.tentative.idl
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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,66 @@ | ||
// GENERATED CONTENT - DO NOT EDIT | ||
// Content was automatically extracted by Reffy into webref | ||
// (https://github.com/w3c/webref) | ||
// Source: Privacy-Preserving Attribution: Level 1 (https://w3c.github.io/ppa/) | ||
|
||
partial interface Navigator { | ||
[SecureContext, SameObject] readonly attribute PrivateAttribution privateAttribution; | ||
}; | ||
|
||
enum PrivateAttributionProtocol { "dap-12-histogram", "tee-00" }; | ||
|
||
dictionary PrivateAttributionAggregationService { | ||
required DOMString url; | ||
required DOMString protocol; | ||
}; | ||
|
||
[SecureContext, Exposed=Window] | ||
interface PrivateAttributionAggregationServices { | ||
readonly setlike<PrivateAttributionAggregationService>; | ||
}; | ||
|
||
[SecureContext, Exposed=Window] | ||
interface PrivateAttribution { | ||
readonly attribute PrivateAttributionAggregationServices aggregationServices; | ||
}; | ||
|
||
dictionary PrivateAttributionImpressionOptions { | ||
required unsigned long histogramIndex; | ||
unsigned long filterData = 0; | ||
required DOMString conversionSite; | ||
unsigned long lifetimeDays = 30; | ||
}; | ||
|
||
[SecureContext, Exposed=Window] | ||
partial interface PrivateAttribution { | ||
undefined saveImpression(PrivateAttributionImpressionOptions options); | ||
}; | ||
|
||
dictionary PrivateAttributionConversionOptions { | ||
required DOMString aggregationService; | ||
double epsilon = 1.0; | ||
|
||
required unsigned long histogramSize; | ||
|
||
PrivateAttributionLogic logic = "last-touch"; | ||
unsigned long value = 1; | ||
unsigned long maxValue = 1; | ||
|
||
unsigned long lookbackDays; | ||
unsigned long filterData; | ||
sequence<DOMString> impressionSites = []; | ||
sequence<DOMString> intermediarySites = []; | ||
}; | ||
|
||
dictionary PrivateAttributionConversionResult { | ||
required Uint8Array report; | ||
}; | ||
|
||
[SecureContext, Exposed=Window] | ||
partial interface PrivateAttribution { | ||
Promise<PrivateAttributionConversionResult> measureConversion(PrivateAttributionConversionOptions options); | ||
}; | ||
|
||
enum PrivateAttributionLogic { | ||
"last-touch", | ||
}; |
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
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 |
---|---|---|
@@ -1,17 +1,61 @@ | ||
// https://wicg.github.io/sanitizer-api/ | ||
|
||
[ | ||
Exposed=Window, | ||
SecureContext | ||
] interface Sanitizer { | ||
constructor(optional SanitizerConfig sanitizerConfig = {}); | ||
DocumentFragment sanitize((DocumentFragment or Document) input); | ||
enum SanitizerPresets { "default" }; | ||
dictionary SetHTMLOptions { | ||
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = "default"; | ||
}; | ||
dictionary SetHTMLUnsafeOptions { | ||
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {}; | ||
}; | ||
|
||
[Exposed=Window] | ||
interface Sanitizer { | ||
constructor(optional (SanitizerConfig or SanitizerPresets) configuration = "default"); | ||
|
||
// Query configuration: | ||
SanitizerConfig get(); | ||
|
||
// Modify a Sanitizer’s lists and fields: | ||
undefined allowElement(SanitizerElementWithAttributes element); | ||
undefined removeElement(SanitizerElement element); | ||
undefined replaceElementWithChildren(SanitizerElement element); | ||
undefined allowAttribute(SanitizerAttribute attribute); | ||
undefined removeAttribute(SanitizerAttribute attribute); | ||
undefined setComments(boolean allow); | ||
undefined setDataAttributes(boolean allow); | ||
|
||
// Remove markup that executes script. May modify multiple lists: | ||
undefined removeUnsafe(); | ||
}; | ||
|
||
dictionary SanitizerElementNamespace { | ||
required DOMString name; | ||
DOMString? _namespace = "http://www.w3.org/1999/xhtml"; | ||
}; | ||
|
||
// Used by "elements" | ||
dictionary SanitizerElementNamespaceWithAttributes : SanitizerElementNamespace { | ||
sequence<SanitizerAttribute> attributes; | ||
sequence<SanitizerAttribute> removeAttributes; | ||
}; | ||
|
||
typedef (DOMString or SanitizerElementNamespace) SanitizerElement; | ||
typedef (DOMString or SanitizerElementNamespaceWithAttributes) SanitizerElementWithAttributes; | ||
|
||
dictionary SanitizerAttributeNamespace { | ||
required DOMString name; | ||
DOMString? _namespace = null; | ||
}; | ||
typedef (DOMString or SanitizerAttributeNamespace) SanitizerAttribute; | ||
|
||
dictionary SanitizerConfig { | ||
sequence<DOMString> allowElements; | ||
sequence<DOMString> blockElements; | ||
sequence<DOMString> dropElements; | ||
sequence<DOMString> allowAttributes; | ||
sequence<DOMString> dropAttributes; | ||
sequence<SanitizerElementWithAttributes> elements; | ||
sequence<SanitizerElement> removeElements; | ||
sequence<SanitizerElement> replaceWithChildrenElements; | ||
|
||
sequence<SanitizerAttribute> attributes; | ||
sequence<SanitizerAttribute> removeAttributes; | ||
|
||
boolean comments; | ||
boolean dataAttributes; | ||
}; |
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
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
Oops, something went wrong.