auto merge of #2556 : Ms2ger/servo/update-wpt, r=metajack

This commit is contained in:
bors-servo 2014-06-03 12:04:15 -04:00
commit 052a0ffdf0
35 changed files with 16915 additions and 294 deletions

View file

@ -1,14 +1,8 @@
[exceptions.html] [exceptions.html]
type: testharness type: testharness
[Object.getPrototypeOf(exception) === DOMException.prototype] [exception.hasOwnProperty("message")]
expected: FAIL expected: FAIL
[exception.name === "HierarchyRequestError"] [Object.getOwnPropertyDescriptor(exception, "message")]
expected: FAIL
[Object.prototype.toString.call(exception) === "[object DOMException\]"]
expected: FAIL
[exception.code === DOMException.HIERARCHY_REQUEST_ERR]
expected: FAIL expected: FAIL

View file

@ -1,5 +0,0 @@
[Event-constructors.html]
type: testharness
[Event constructors 12]
expected: FAIL

View file

@ -1,8 +0,0 @@
[ProgressEvent.html]
type: testharness
[Default event values.]
expected: FAIL
[document.createEvent() should not work with ProgressEvent.]
expected: FAIL

View file

@ -1,8 +1,5 @@
[interface-objects.html] [interface-objects.html]
type: testharness type: testharness
[Should be able to delete CustomEvent.]
expected: FAIL
[Should be able to delete NodeIterator.] [Should be able to delete NodeIterator.]
expected: FAIL expected: FAIL

View file

@ -1,8 +0,0 @@
[CharacterData-deleteData.html]
type: testharness
[CharacterData.deleteData 1]
expected: FAIL
[CharacterData.deleteData 3]
expected: FAIL

View file

@ -1,8 +0,0 @@
[CharacterData-insertData.html]
type: testharness
[CharacterData.insertData 1]
expected: FAIL
[CharacterData.insertData 3]
expected: FAIL

View file

@ -1,38 +0,0 @@
[CharacterData-remove.html]
type: testharness
[text should support remove()]
expected: FAIL
[remove() should work if text doesn\'t have a parent]
expected: FAIL
[remove() should work if text does have a parent]
expected: FAIL
[remove() should work if text does have a parent and siblings]
expected: FAIL
[comment should support remove()]
expected: FAIL
[remove() should work if comment doesn\'t have a parent]
expected: FAIL
[remove() should work if comment does have a parent]
expected: FAIL
[remove() should work if comment does have a parent and siblings]
expected: FAIL
[PI should support remove()]
expected: FAIL
[remove() should work if PI doesn\'t have a parent]
expected: FAIL
[remove() should work if PI does have a parent]
expected: FAIL
[remove() should work if PI does have a parent and siblings]
expected: FAIL

View file

@ -1,8 +0,0 @@
[CharacterData-replaceData.html]
type: testharness
[CharacterData.replaceData 1]
expected: FAIL
[CharacterData.replaceData 3]
expected: FAIL

View file

@ -1,5 +1,6 @@
[DOMImplementation-createDocument.html] [DOMImplementation-createDocument.html]
type: testharness type: testharness
expected: TIMEOUT
[DOMImplementation.createDocument(namespace, qualifiedName, doctype)] [DOMImplementation.createDocument(namespace, qualifiedName, doctype)]
expected: TIMEOUT expected: TIMEOUT

View file

@ -3,30 +3,15 @@
[createDocumentType("foo", "", "") should work] [createDocumentType("foo", "", "") should work]
expected: FAIL expected: FAIL
[createDocumentType("1foo", "", "") should throw INVALID_CHARACTER_ERR]
expected: FAIL
[createDocumentType("foo1", "", "") should work] [createDocumentType("foo1", "", "") should work]
expected: FAIL expected: FAIL
[createDocumentType("f1oo", "", "") should work] [createDocumentType("f1oo", "", "") should work]
expected: FAIL expected: FAIL
[createDocumentType("@foo", "", "") should throw INVALID_CHARACTER_ERR]
expected: FAIL
[createDocumentType("foo@", "", "") should throw INVALID_CHARACTER_ERR]
expected: FAIL
[createDocumentType("f@oo", "", "") should throw INVALID_CHARACTER_ERR]
expected: FAIL
[createDocumentType("f:oo", "", "") should work] [createDocumentType("f:oo", "", "") should work]
expected: FAIL expected: FAIL
[createDocumentType(":foo", "", "") should throw NAMESPACE_ERR]
expected: FAIL
[createDocumentType("foo:", "", "") should throw NAMESPACE_ERR] [createDocumentType("foo:", "", "") should throw NAMESPACE_ERR]
expected: FAIL expected: FAIL

View file

@ -1,5 +0,0 @@
[Document-adoptNode.html]
type: testharness
[Adopting a Document should throw.]
expected: FAIL

View file

@ -1,5 +1,6 @@
[Document-characterSet-normalization.html] [Document-characterSet-normalization.html]
type: testharness type: testharness
expected: TIMEOUT
[Name "utf-8" has label "unicode-1-1-utf-8"] [Name "utf-8" has label "unicode-1-1-utf-8"]
expected: NOTRUN expected: NOTRUN

View file

@ -1,5 +1,6 @@
[contenttype_bmp.html] [contenttype_bmp.html]
type: testharness type: testharness
expected: TIMEOUT
[BMP document.contentType === \'image/bmp\'] [BMP document.contentType === \'image/bmp\']
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[contenttype_css.html] [contenttype_css.html]
type: testharness type: testharness
expected: TIMEOUT
[CSS document.contentType === \'text/css\'] [CSS document.contentType === \'text/css\']
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[contenttype_gif.html] [contenttype_gif.html]
type: testharness type: testharness
expected: TIMEOUT
[GIF document.contentType === \'image/gif\'] [GIF document.contentType === \'image/gif\']
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[contenttype_html.html] [contenttype_html.html]
type: testharness type: testharness
expected: TIMEOUT
[HTM document.contentType === \'text/html\'] [HTM document.contentType === \'text/html\']
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[contenttype_jpg.html] [contenttype_jpg.html]
type: testharness type: testharness
expected: TIMEOUT
[JPG document.contentType === \'image/jpeg\'] [JPG document.contentType === \'image/jpeg\']
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[contenttype_mimeheader_01.html] [contenttype_mimeheader_01.html]
type: testharness type: testharness
expected: TIMEOUT
[Custom document.contentType === \'text/xml\' when explicitly set to this value] [Custom document.contentType === \'text/xml\' when explicitly set to this value]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[contenttype_mimeheader_03.html] [contenttype_mimeheader_03.html]
type: testharness type: testharness
expected: TIMEOUT
[Custom document.contentType === \'text/html\' when no Content-Type header is provided in HTTP response] [Custom document.contentType === \'text/html\' when no Content-Type header is provided in HTTP response]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[contenttype_png.html] [contenttype_png.html]
type: testharness type: testharness
expected: TIMEOUT
[PNG document.contentType === \'image/png\'] [PNG document.contentType === \'image/png\']
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[contenttype_txt.html] [contenttype_txt.html]
type: testharness type: testharness
expected: TIMEOUT
[TXT document.contentType === \'text/plain\'] [TXT document.contentType === \'text/plain\']
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,41 +1,2 @@
[Document-createElement.html] [Document-createElement.html]
type: testharness type: testharness
[createElement("")]
expected: FAIL
[createElement("1foo")]
expected: FAIL
[createElement("\xcc\x80foo")]
expected: FAIL
[createElement("}foo")]
expected: FAIL
[createElement("f}oo")]
expected: FAIL
[createElement("foo}")]
expected: FAIL
[createElement("\xef\xbf\xbffoo")]
expected: FAIL
[createElement("f\xef\xbf\xbfoo")]
expected: FAIL
[createElement("foo\xef\xbf\xbf")]
expected: FAIL
[createElement("<foo")]
expected: FAIL
[createElement("foo>")]
expected: FAIL
[createElement("<foo>")]
expected: FAIL
[createElement("f<oo")]
expected: FAIL

View file

@ -1,65 +1,11 @@
[Document-createElementNS.html] [Document-createElementNS.html]
type: testharness type: testharness
[Invalid Name: ]
expected: FAIL
[Invalid Name: 1foo]
expected: FAIL
[Invalid Name: \xcc\x80foo]
expected: FAIL
[Invalid Name: }foo]
expected: FAIL
[Invalid Name: f}oo]
expected: FAIL
[Invalid Name: foo}]
expected: FAIL
[Invalid Name: \xef\xbf\xbffoo]
expected: FAIL
[Invalid Name: f\xef\xbf\xbfoo]
expected: FAIL
[Invalid Name: foo\xef\xbf\xbf]
expected: FAIL
[Invalid Name: <foo]
expected: FAIL
[Invalid Name: foo>]
expected: FAIL
[Invalid Name: <foo>]
expected: FAIL
[Invalid Name: f<oo]
expected: FAIL
[Invalid namespace and QName :foo]
expected: FAIL
[Invalid namespace and QName foo:]
expected: FAIL
[Invalid namespace and QName foo:foo]
expected: FAIL
[Invalid namespace http://oops/ and QName xml:foo]
expected: FAIL
[Invalid namespace http://oops/ and QName xmlns] [Invalid namespace http://oops/ and QName xmlns]
expected: FAIL expected: FAIL
[Invalid namespace http://oops/ and QName xmlns:foo] [Invalid namespace http://oops/ and QName xmlns:foo]
expected: FAIL expected: FAIL
[Invalid namespace http://www.w3.org/2000/xmlns/ and QName xml:foo]
expected: FAIL
[Invalid namespace http://www.w3.org/2000/xmlns/ and QName foo:xmlns] [Invalid namespace http://www.w3.org/2000/xmlns/ and QName foo:xmlns]
expected: FAIL expected: FAIL

View file

@ -1,20 +1,11 @@
[Document-createEvent.html] [Document-createEvent.html]
type: testharness type: testharness
[CustomEvent should be an alias for CustomEvent.]
expected: FAIL
[createEvent(\'CustomEvent\') should be initialized correctly.] [createEvent(\'CustomEvent\') should be initialized correctly.]
expected: FAIL expected: FAIL
[customevent should be an alias for CustomEvent.]
expected: FAIL
[createEvent(\'customevent\') should be initialized correctly.] [createEvent(\'customevent\') should be initialized correctly.]
expected: FAIL expected: FAIL
[CUSTOMEVENT should be an alias for CustomEvent.]
expected: FAIL
[createEvent(\'CUSTOMEVENT\') should be initialized correctly.] [createEvent(\'CUSTOMEVENT\') should be initialized correctly.]
expected: FAIL expected: FAIL
@ -81,6 +72,3 @@
[createEvent(\'UIEVENTS\') should be initialized correctly.] [createEvent(\'UIEVENTS\') should be initialized correctly.]
expected: FAIL expected: FAIL
[Should throw NOT_SUPPORTED_ERR for unrecognized arguments]
expected: FAIL

View file

@ -1,26 +0,0 @@
[Document-createProcessingInstruction.html]
type: testharness
[Should throw an INVALID_CHARACTER_ERR for target "A" and data "?>".]
expected: FAIL
[Should throw an INVALID_CHARACTER_ERR for target "\xc2\xb7A" and data "x".]
expected: FAIL
[Should throw an INVALID_CHARACTER_ERR for target "\xc3\x97A" and data "x".]
expected: FAIL
[Should throw an INVALID_CHARACTER_ERR for target "A\xc3\x97" and data "x".]
expected: FAIL
[Should throw an INVALID_CHARACTER_ERR for target "\\\\A" and data "x".]
expected: FAIL
[Should throw an INVALID_CHARACTER_ERR for target "\\f" and data "x".]
expected: FAIL
[Should throw an INVALID_CHARACTER_ERR for target 0 and data "x".]
expected: FAIL
[Should throw an INVALID_CHARACTER_ERR for target "0" and data "x".]
expected: FAIL

View file

@ -1,14 +0,0 @@
[DocumentType-remove.html]
type: testharness
[doctype should support remove()]
expected: FAIL
[remove() should work if doctype doesn\'t have a parent]
expected: FAIL
[remove() should work if doctype does have a parent]
expected: FAIL
[remove() should work if doctype does have a parent and siblings]
expected: FAIL

View file

@ -1,5 +1,6 @@
[Element-childElementCount-dynamic-remove.html] [Element-childElementCount-dynamic-remove.html]
type: testharness type: testharness
expected: TIMEOUT
[Dynamic Removal of Elements] [Dynamic Removal of Elements]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[Element-firstElementChild-namespace.xhtml]
type: testharness
expected: TIMEOUT

View file

@ -1,14 +0,0 @@
[Element-remove.html]
type: testharness
[element should support remove()]
expected: FAIL
[remove() should work if element doesn\'t have a parent]
expected: FAIL
[remove() should work if element does have a parent]
expected: FAIL
[remove() should work if element does have a parent and siblings]
expected: FAIL

View file

@ -1,3 +1,23 @@
[Node-lookupPrefix.xhtml] [Node-lookupPrefix.xhtml]
type: testharness type: testharness
expected: TIMEOUT [Node.lookupPrefix]
expected: FAIL
[Node.lookupPrefix 5]
expected: FAIL
[Node.lookupPrefix 6]
expected: FAIL
[Node.lookupPrefix 7]
expected: FAIL
[Node.lookupPrefix 8]
expected: FAIL
[Node.lookupPrefix 9]
expected: FAIL
[Node.lookupPrefix 10]
expected: FAIL

View file

@ -1,5 +1,6 @@
[Node-replaceChild.html] [Node-replaceChild.html]
type: testharness type: testharness
expected: TIMEOUT
[Passing null to replaceChild should throw a TypeError.] [Passing null to replaceChild should throw a TypeError.]
expected: TIMEOUT expected: TIMEOUT

View file

@ -1,8 +1,5 @@
[attributes.html] [attributes.html]
type: testharness type: testharness
[When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown. (setAttribute)]
expected: FAIL
[setAttribute should lowercase its name argument (upper case attribute)] [setAttribute should lowercase its name argument (upper case attribute)]
expected: FAIL expected: FAIL
@ -12,27 +9,9 @@
[setAttribute should set the attribute with the given qualified name] [setAttribute should set the attribute with the given qualified name]
expected: FAIL expected: FAIL
[When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown. (setAttributeNS)]
expected: FAIL
[When qualifiedName does not match the QName production, an NAMESPACE_ERR exception is to be thrown.] [When qualifiedName does not match the QName production, an NAMESPACE_ERR exception is to be thrown.]
expected: FAIL expected: FAIL
[A namespace is required to use a prefix.]
expected: FAIL
[The xml prefix should not be allowed for arbitrary namespaces]
expected: FAIL
[The xmlns prefix should not be allowed for arbitrary namespaces]
expected: FAIL
[The xmlns qualified name should not be allowed for arbitrary namespaces]
expected: FAIL
[The XMLNS namespace should require xmlns as prefix or qualified name]
expected: FAIL
[First set attribute is returned by getAttribute] [First set attribute is returned by getAttribute]
expected: FAIL expected: FAIL

View file

@ -1,3 +0,0 @@
[getElementsByClassName-30.htm]
type: testharness
expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[getElementsByClassName-31.htm] [getElementsByClassName-31.htm]
type: testharness type: testharness
expected: TIMEOUT
[getElementsByClassName across documents] [getElementsByClassName across documents]
expected: TIMEOUT expected: TIMEOUT

File diff suppressed because it is too large Load diff