Bug 1926286 - Make attrNs/elementNs parameters of getAttributeType/getPropertyType nullable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D226485
This commit is contained in:
@@ -55,11 +55,11 @@ interface TrustedTypePolicyFactory {
|
||||
DOMString? getAttributeType(
|
||||
DOMString tagName,
|
||||
DOMString attribute,
|
||||
optional DOMString elementNs = "",
|
||||
optional DOMString attrNs = "");
|
||||
optional DOMString? elementNs = "",
|
||||
optional DOMString? attrNs = "");
|
||||
DOMString? getPropertyType(
|
||||
DOMString tagName,
|
||||
DOMString property,
|
||||
optional DOMString elementNs = "");
|
||||
optional DOMString? elementNs = "");
|
||||
readonly attribute TrustedTypePolicy? defaultPolicy;
|
||||
};
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
[TrustedTypePolicyFactory-getAttributeType-namespace.html]
|
||||
[0: getAttributeType with full namespace info.]
|
||||
expected: FAIL
|
||||
|
||||
[1: getAttributeType with full namespace info.]
|
||||
expected: FAIL
|
||||
|
||||
[2: getAttributeType with full namespace info.]
|
||||
expected: FAIL
|
||||
@@ -1,3 +0,0 @@
|
||||
[TrustedTypePolicyFactory-getPropertyType.tentative.html]
|
||||
[getPropertyType/getAttributeType with explicit null elementNs/attrNs]
|
||||
expected: FAIL
|
||||
Reference in New Issue
Block a user