auto merge of #4467 : servo/servo/dataset, r=Ms2ger

This commit is contained in:
bors-servo 2014-12-25 02:27:43 -07:00
commit 0e6304dcf7
33 changed files with 206 additions and 218 deletions

View file

@ -1,3 +1,5 @@
[Element-children.html]
type: testharness
expected: CRASH
[HTMLCollection edge cases 1]
expected: FAIL

View file

@ -5,3 +5,4 @@
[hasOwnProperty, getOwnPropertyDescriptor, getOwnPropertyNames]
expected: FAIL

View file

@ -1,3 +1,11 @@
[document.forms.html]
type: testharness
expected: CRASH
[document.forms]
expected: FAIL
[document.forms iteration]
expected: FAIL
[document.forms getOwnPropertyNames]
expected: FAIL

View file

@ -1,17 +0,0 @@
[document.images.html]
type: testharness
[img with id]
expected: FAIL
[img with name]
expected: FAIL
[img with id and name]
expected: FAIL
[Two img elements with the same id]
expected: FAIL
[Two img elements with the same name]
expected: FAIL

View file

@ -1,5 +0,0 @@
[custom-attrs.html]
type: testharness
[Setting an Element\'s dataset property should not interfere with namespaced attributes with same name]
expected: FAIL

View file

@ -1,8 +0,0 @@
[data_unicode_attr.html]
type: testharness
[dataset - SBCS]
expected: FAIL
[dataset - UNICODE]
expected: FAIL

View file

@ -12,9 +12,6 @@
[Deleting element.dataset[\'Foo\'\] should also remove an attribute with name \'data--foo\' should it exist.]
expected: FAIL
[Deleting element.dataset[\'-foo\'\] should also remove an attribute with name \'data--foo\' should it exist.]
expected: FAIL
[Deleting element.dataset[\'-Foo\'\] should also remove an attribute with name \'data---foo\' should it exist.]
expected: FAIL
@ -24,6 +21,3 @@
[Deleting element.dataset[\'\xc3\xa0\'\] should also remove an attribute with name \'data-\xc3\xa0\' should it exist.]
expected: FAIL
[Deleting element.dataset[\'foo\'\] should not throw if even if the element does now have an attribute with the name data-foo.]
expected: FAIL

View file

@ -1,32 +1,5 @@
[dataset-get.html]
type: testharness
[Getting element.dataset[\'foo\'\] should return the value of element.getAttribute(\'data-foo\')\']
expected: FAIL
[Getting element.dataset[\'fooBar\'\] should return the value of element.getAttribute(\'data-foo-bar\')\']
expected: FAIL
[Getting element.dataset[\'-\'\] should return the value of element.getAttribute(\'data--\')\']
expected: FAIL
[Getting element.dataset[\'Foo\'\] should return the value of element.getAttribute(\'data--foo\')\']
expected: FAIL
[Getting element.dataset[\'-Foo\'\] should return the value of element.getAttribute(\'data---foo\')\']
expected: FAIL
[Getting element.dataset[\'foo\'\] should return the value of element.getAttribute(\'data-Foo\')\']
expected: FAIL
[Getting element.dataset[\'\'\] should return the value of element.getAttribute(\'data-\')\']
expected: FAIL
[Getting element.dataset[\'\xc3\xa0\'\] should return the value of element.getAttribute(\'data-\xc3\xa0\')\']
expected: FAIL
[Getting element.dataset[\'toString\'\] should return the value of element.getAttribute(\'data-to-string\')\']
expected: FAIL
[Tests that an attribute named dataFoo does not make an entry in the dataset DOMStringMap.]
expected: FAIL

View file

@ -1,8 +0,0 @@
[dataset-prototype.html]
type: testharness
[An elements dataset property is an instance of a DOMStringMap]
expected: FAIL
[Properties on Object.prototype should shine through.]
expected: FAIL

View file

@ -1,32 +1,5 @@
[dataset-set.html]
type: testharness
[Setting element.dataset[\'foo\'\] should also change the value of element.getAttribute(\'data-foo\')\']
expected: FAIL
[Setting element.dataset[\'fooBar\'\] should also change the value of element.getAttribute(\'data-foo-bar\')\']
expected: FAIL
[Setting element.dataset[\'-\'\] should also change the value of element.getAttribute(\'data--\')\']
expected: FAIL
[Setting element.dataset[\'Foo\'\] should also change the value of element.getAttribute(\'data--foo\')\']
expected: FAIL
[Setting element.dataset[\'-Foo\'\] should also change the value of element.getAttribute(\'data---foo\')\']
expected: FAIL
[Setting element.dataset[\'\'\] should also change the value of element.getAttribute(\'data-\')\']
expected: FAIL
[Setting element.dataset[\'\xc3\xa0\'\] should also change the value of element.getAttribute(\'data-\xc3\xa0\')\']
expected: FAIL
[Setting element.dataset[\'-foo\'\] should throw a SYNTAX_ERR\']
expected: FAIL
[Setting element.dataset[\'foo \'\] should throw an INVALID_CHARACTER_ERR\']
expected: FAIL
[Setting element.dataset[\'foo\xef\xa4\x80\'\] should throw an INVALID_CHARACTER_ERR\']
expected: FAIL

View file

@ -1,14 +0,0 @@
[dataset.html]
type: testharness
[Should return \'undefined\' before setting an attribute]
expected: FAIL
[Should return \'value\' if that\'s the value]
expected: FAIL
[Should return the empty string if that\'s the value]
expected: FAIL
[Should return \'undefined\' after removing an attribute]
expected: FAIL

View file

@ -921,12 +921,6 @@
[DOMStringMap interface object length]
expected: FAIL
[DOMStringMap must be primary interface of document.head.dataset]
expected: FAIL
[Stringification of document.head.dataset]
expected: FAIL
[DOMElementMap interface: existence and properties of interface object]
expected: FAIL
@ -954,9 +948,6 @@
[HTMLElement interface: attribute dir]
expected: FAIL
[HTMLElement interface: attribute dataset]
expected: FAIL
[HTMLElement interface: attribute itemScope]
expected: FAIL
@ -1215,9 +1206,6 @@
[HTMLElement interface: document.createElement("noscript") must inherit property "dir" with the proper type (3)]
expected: FAIL
[HTMLElement interface: document.createElement("noscript") must inherit property "dataset" with the proper type (4)]
expected: FAIL
[HTMLElement interface: document.createElement("noscript") must inherit property "itemScope" with the proper type (5)]
expected: FAIL

View file

@ -1,3 +1,35 @@
[basic.html]
type: testharness
expected: TIMEOUT
[<img src="/images/green-256x256.png" data-expect="256">]
expected: FAIL
[<img srcset="/images/green-256x256.png 1x" data-expect="256">]
expected: FAIL
[<img srcset="/images/green-256x256.png 1.6x" data-expect="160">]
expected: FAIL
[<img srcset="/images/green-256x256.png 2x" data-expect="128">]
expected: FAIL
[<img srcset="/images/green-256x256.png 10000x" data-expect="0">]
expected: FAIL
[<img srcset="/images/green-256x256.png 9e99999999999999999999999x" data-expect="0">]
expected: FAIL
[<img srcset="/images/green-256x256.png 256w" sizes="256px" data-expect="256">]
expected: FAIL
[<img srcset="/images/green-256x256.png 512w" sizes="256px" data-expect="128">]
expected: FAIL
[<img srcset="/images/green-256x256.png 256w" sizes="512px" data-expect="512">]
expected: FAIL
[<img srcset="/images/green-256x256.png 256w" sizes="1px" data-expect="1">]
expected: FAIL
[<img srcset="/images/green-256x256.png 256w" sizes="0px" data-expect="0">]
expected: FAIL

View file

@ -2,11 +2,11 @@
type: testharness
expected: TIMEOUT
[The submit event must be fired when click a button in submit status]
expected: NOTRUN
expected: TIMEOUT
[The reset event must be fired when click a button in reset status]
expected: NOTRUN
expected: TIMEOUT
[The show event must be fired when click a button in menu status]
expected: NOTRUN
expected: TIMEOUT

View file

@ -9,3 +9,6 @@
[The controls must root at the fieldset element]
expected: FAIL
[The form attribute must return the fieldset\'s form owner]
expected: FAIL

View file

@ -5,3 +5,4 @@
[sanitization algorithm strips line breaks]
expected: FAIL

View file

@ -8,3 +8,4 @@
[reset button resets controls associated with a form using the form attribute]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_clear_js.html]
type: testharness
[Web Storage]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_getitem_js.html]
type: testharness
[array access should be correct]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_length_js.html]
type: testharness
[Web Storage]
expected: FAIL

View file

@ -1,17 +1,8 @@
[storage_session_setitem_js.html]
type: testharness
[Web Storage 2]
expected: FAIL
[Web Storage 3]
expected: FAIL
[Web Storage 4]
expected: FAIL
[Web Storage 5]
expected: FAIL
[Web Storage 6]
expected: FAIL
@ -27,15 +18,3 @@
[Web Storage 10]
expected: FAIL
[Web Storage 11]
expected: FAIL
[Web Storage 12]
expected: FAIL
[Web Storage 13]
expected: FAIL
[Web Storage 14]
expected: FAIL