Implement dummy getOwnPropertyNames and enumerate traps.

This commit is contained in:
Ms2ger 2014-12-24 16:55:38 +01:00
parent 57c520d8cf
commit 919f2217f0
12 changed files with 55 additions and 15 deletions

View file

@ -1,3 +1,8 @@
[Document-getElementsByTagName.html]
type: testharness
expected: CRASH
[Shouldn\'t be able to set unsigned properties on a HTMLCollection (strict mode)]
expected: FAIL
[hasOwnProperty, getOwnPropertyDescriptor, getOwnPropertyNames]
expected: FAIL

View file

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

View file

@ -1,3 +1,8 @@
[Element-getElementsByTagName.html]
type: testharness
expected: CRASH
[Shouldn\'t be able to set unsigned properties on a HTMLCollection (strict mode)]
expected: FAIL
[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,3 +1,8 @@
[dataset-enumeration.html]
type: testharness
expected: CRASH
[A dataset should be enumeratable.]
expected: FAIL
[Only attributes who qualify as dataset properties should be enumeratable in the dataset.]
expected: FAIL

View file

@ -1,3 +1,5 @@
[dataset-get.html]
type: testharness
expected: CRASH
[Getting element.dataset[\'toString\'\] should return the value of element.getAttribute(\'data-to-string\')\']
expected: FAIL