mirror of
https://github.com/servo/servo.git
synced 2025-07-11 17:33:47 +01:00
27 lines
961 B
Text
27 lines
961 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: Feature Policy (https://w3c.github.io/webappsec-feature-policy/)
|
|
|
|
[NoInterfaceObject]
|
|
interface FeaturePolicy {
|
|
boolean allowsFeature(DOMString feature, optional DOMString origin);
|
|
sequence<DOMString> features();
|
|
sequence<DOMString> allowedFeatures();
|
|
sequence<DOMString> getAllowlistForFeature(DOMString feature);
|
|
};
|
|
|
|
partial interface Document {
|
|
[SameObject] readonly attribute FeaturePolicy featurePolicy;
|
|
};
|
|
|
|
partial interface HTMLIFrameElement {
|
|
[SameObject] readonly attribute FeaturePolicy featurePolicy;
|
|
};
|
|
interface FeaturePolicyViolationReportBody : ReportBody {
|
|
readonly attribute DOMString featureId;
|
|
readonly attribute DOMString? sourceFile;
|
|
readonly attribute long? lineNumber;
|
|
readonly attribute long? columnNumber;
|
|
readonly attribute DOMString disposition;
|
|
};
|