diff options
Diffstat (limited to 'tests')
7 files changed, 3 insertions, 77 deletions
diff --git a/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini b/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini index a604b0e3718..4bc468b1b14 100644 --- a/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini +++ b/tests/wpt/metadata-css/cssom-1_dev/html/interfaces.htm.ini @@ -1,8 +1,5 @@ [interfaces.htm] type: testharness - [Document interface: attribute styleSheets] - expected: FAIL - [Document interface: attribute selectedStyleSheetSet] expected: FAIL @@ -18,9 +15,6 @@ [Document interface: operation enableStyleSheetsForSet(DOMString)] expected: FAIL - [Document interface: document must inherit property "styleSheets" with the proper type (0)] - expected: FAIL - [Document interface: document must inherit property "selectedStyleSheetSet" with the proper type (1)] expected: FAIL @@ -39,9 +33,6 @@ [Document interface: calling enableStyleSheetsForSet(DOMString) on document with too few arguments must throw TypeError] expected: FAIL - [Document interface: new Document() must inherit property "styleSheets" with the proper type (0)] - expected: FAIL - [Document interface: new Document() must inherit property "selectedStyleSheetSet" with the proper type (1)] expected: FAIL @@ -114,33 +105,15 @@ [MediaList interface: operation deleteMedium(DOMString)] expected: FAIL - [StyleSheet interface: existence and properties of interface object] - expected: FAIL - - [StyleSheet interface object length] - expected: FAIL - - [StyleSheet interface: existence and properties of interface prototype object] - expected: FAIL - - [StyleSheet interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - [StyleSheet interface: attribute type] expected: FAIL - [StyleSheet interface: attribute href] - expected: FAIL - [StyleSheet interface: attribute ownerNode] expected: FAIL [StyleSheet interface: attribute parentStyleSheet] expected: FAIL - [StyleSheet interface: attribute title] - expected: FAIL - [StyleSheet interface: attribute media] expected: FAIL @@ -216,39 +189,9 @@ [StyleSheet interface: style_element.sheet must inherit property "disabled" with the proper type (6)] expected: FAIL - [StyleSheetList interface: existence and properties of interface object] - expected: FAIL - - [StyleSheetList interface object length] - expected: FAIL - [StyleSheetList interface: existence and properties of interface prototype object] expected: FAIL - [StyleSheetList interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - - [StyleSheetList interface: operation item(unsigned long)] - expected: FAIL - - [StyleSheetList interface: attribute length] - expected: FAIL - - [StyleSheetList must be primary interface of document.styleSheets] - expected: FAIL - - [Stringification of document.styleSheets] - expected: FAIL - - [StyleSheetList interface: document.styleSheets must inherit property "item" with the proper type (0)] - expected: FAIL - - [StyleSheetList interface: calling item(unsigned long) on document.styleSheets with too few arguments must throw TypeError] - expected: FAIL - - [StyleSheetList interface: document.styleSheets must inherit property "length" with the proper type (1)] - expected: FAIL - [CSSRuleList interface: existence and properties of interface object] expected: FAIL diff --git a/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-doc-ext-load-count.htm.ini b/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-doc-ext-load-count.htm.ini index 3df04e1bafe..b92ad6f3deb 100644 --- a/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-doc-ext-load-count.htm.ini +++ b/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-doc-ext-load-count.htm.ini @@ -1,11 +1,4 @@ [ttwf-cssom-doc-ext-load-count.htm] type: testharness - [stylesheet.css should be loaded and styleSheets.length === 1] - expected: FAIL - [stylesheet.css should be unloaded and styleSheets.length === 0] expected: FAIL - - [stylesheet-1.css should be loaded and styleSheets.length === 1] - expected: FAIL - diff --git a/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-doc-ext-load-tree-order.htm.ini b/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-doc-ext-load-tree-order.htm.ini index 287e9353c75..f290cfd6613 100644 --- a/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-doc-ext-load-tree-order.htm.ini +++ b/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-doc-ext-load-tree-order.htm.ini @@ -1,8 +1,5 @@ [ttwf-cssom-doc-ext-load-tree-order.htm] type: testharness - [styleSheets.length must be 5] - expected: FAIL - [styleSheets item 0 title must be aaa] expected: FAIL diff --git a/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-document-extension.htm.ini b/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-document-extension.htm.ini index d4c8ee42f9c..bad97814ac1 100644 --- a/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-document-extension.htm.ini +++ b/tests/wpt/metadata-css/cssom-1_dev/html/ttwf-cssom-document-extension.htm.ini @@ -1,5 +1,3 @@ [ttwf-cssom-document-extension.htm] type: testharness - [CSSOM - Extensions to the Document Interface: StyleSheetList length is 0 when no sheets loaded] - expected: FAIL diff --git a/tests/wpt/metadata/XMLHttpRequest/responsexml-document-properties.htm.ini b/tests/wpt/metadata/XMLHttpRequest/responsexml-document-properties.htm.ini index 743902575c9..63c07868cf8 100644 --- a/tests/wpt/metadata/XMLHttpRequest/responsexml-document-properties.htm.ini +++ b/tests/wpt/metadata/XMLHttpRequest/responsexml-document-properties.htm.ini @@ -35,7 +35,3 @@ [lastModified set according to HTTP header] expected: FAIL - - [styleSheets] - expected: FAIL - diff --git a/tests/wpt/metadata/html/dom/interfaces.html.ini b/tests/wpt/metadata/html/dom/interfaces.html.ini index 3f6344d9026..6cfa26bbc2e 100644 --- a/tests/wpt/metadata/html/dom/interfaces.html.ini +++ b/tests/wpt/metadata/html/dom/interfaces.html.ini @@ -8069,7 +8069,7 @@ [Document interface: iframe.contentDocument must inherit property "createTreeWalker" with the proper type (27)] expected: FAIL - + [Document interface: iframe.contentDocument must inherit property "styleSheets" with the proper type (28)] expected: FAIL @@ -8448,9 +8448,6 @@ [Document interface: iframe.contentDocument must inherit property "onwaiting" with the proper type (156)] expected: FAIL - [Document interface: document.implementation.createDocument(null, "", null) must inherit property "styleSheets" with the proper type (28)] - expected: FAIL - [Document interface: document.implementation.createDocument(null, "", null) must inherit property "selectedStyleSheetSet" with the proper type (29)] expected: FAIL diff --git a/tests/wpt/mozilla/tests/mozilla/interfaces.html b/tests/wpt/mozilla/tests/mozilla/interfaces.html index eaa0bdadcd1..ececea5e35e 100644 --- a/tests/wpt/mozilla/tests/mozilla/interfaces.html +++ b/tests/wpt/mozilla/tests/mozilla/interfaces.html @@ -208,6 +208,8 @@ var interfaceNamesInGlobalScope = [ "Screen", "Storage", "StorageEvent", + "StyleSheet", + "StyleSheetList", "TestBinding", // XXX "TestBindingProxy", // XXX "Text", |