fix existing test expectations and add new tests for HTMLOptionsCollection

This commit is contained in:
Alexandrov Sergey 2016-09-22 21:12:15 +03:00
parent cf284cc035
commit 2173545cdb
8 changed files with 128 additions and 149 deletions

View file

@ -1,29 +0,0 @@
[common-HTMLOptionsCollection-namedItem.html]
type: testharness
[if only one item has a *name* or id value matching the parameter, return that object and stop]
expected: FAIL
[if only one item has a name or *id* value matching the parameter, return that object and stop]
expected: FAIL
[if no item has a name or id value matching the parameter, return null and stop]
expected: FAIL
[return an HTMLOptionsCollection in correct order for repeated 'id' value]
expected: FAIL
[return an HTMLOptionsCollection in correct order for repeated 'name' value]
expected: FAIL
[return an HTMLOptionsCollection in correct order for repeated mixed value]
expected: FAIL
[if multiple items have a name or *id* value matching the parameter, return the first object and stop]
expected: FAIL
[if multiple items have a *name* or id value matching the parameter, return the first object and stop]
expected: FAIL
[if multiple items have a *name* or *id* value matching the parameter, return the first object and stop]
expected: FAIL

View file

@ -1,14 +0,0 @@
[select-named-getter.html]
type: testharness
[Option with id]
expected: FAIL
[Option with name]
expected: FAIL
[Option with name and id]
expected: FAIL
[Empty string name]
expected: FAIL

View file

@ -1,8 +0,0 @@
[select-remove.html]
type: testharness
[select.remove(n) should work]
expected: FAIL
[select.options.remove(n) should work]
expected: FAIL