Annotate some test failures in FileAPI tests.

This commit is contained in:
Ms2ger 2016-06-16 20:13:35 +01:00
parent d620ab71c4
commit bac22f1b57
6 changed files with 45 additions and 66 deletions

View file

@ -2,4 +2,5 @@
type: testharness type: testharness
[Revoking blob URL used with XMLHttpRequest] [Revoking blob URL used with XMLHttpRequest]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10539

View file

@ -2,28 +2,37 @@
type: testharness type: testharness
[Passing non-objects, Dates and RegExps for blobParts should throw a TypeError.] [Passing non-objects, Dates and RegExps for blobParts should throw a TypeError.]
expected: FAIL expected: FAIL
bug: https://github.com/servo/rust-mozjs/issues/269
[ArrayBuffer elements of the blobParts array should be supported.] [ArrayBuffer elements of the blobParts array should be supported.]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Passing typed arrays as elements of the blobParts array should work.] [Passing typed arrays as elements of the blobParts array should work.]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Passing a Float64Array as element of the blobParts array should work.] [Passing a Float64Array as element of the blobParts array should work.]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Passing an platform object that supports indexed properties as the blobParts array should work (select).] [Passing an platform object that supports indexed properties as the blobParts array should work (select).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/11763
[Passing a platform array object as the blobParts array should work (MessagePort[\]).] [Passing a FrozenArray as the blobParts array should work (FrozenArray<MessagePort>).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/7457
[Array with two buffers] [Array with two buffers]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Array with two bufferviews] [Array with two bufferviews]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Array with mixed types] [Array with mixed types]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911

View file

@ -2,100 +2,61 @@
type: testharness type: testharness
[Slicing test: slice (5,0).] [Slicing test: slice (5,0).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (5,1).] [Slicing test: slice (5,1).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (5,2).] [Slicing test: slice (5,2).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (5,3).] [Slicing test: slice (5,3).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (6,0).] [Slicing test: slice (6,0).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (6,1).] [Slicing test: slice (6,1).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (6,2).] [Slicing test: slice (6,2).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (7,0).] [Slicing test: slice (7,0).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (7,1).] [Slicing test: slice (7,1).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (7,2).] [Slicing test: slice (7,2).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (7,3).] [Slicing test: slice (7,3).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (8,0).] [Slicing test: slice (8,0).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (8,1).] [Slicing test: slice (8,1).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (8,2).] [Slicing test: slice (8,2).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (8,3).] [Slicing test: slice (8,3).]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Invalid contentType ("te(xt/plain")]
expected: FAIL
[Invalid contentType ("te)xt/plain")]
expected: FAIL
[Invalid contentType ("te<xt/plain")]
expected: FAIL
[Invalid contentType ("te>xt/plain")]
expected: FAIL
[Invalid contentType ("te@xt/plain")]
expected: FAIL
[Invalid contentType ("te,xt/plain")]
expected: FAIL
[Invalid contentType ("te;xt/plain")]
expected: FAIL
[Invalid contentType ("te:xt/plain")]
expected: FAIL
[Invalid contentType ("te\\\\xt/plain")]
expected: FAIL
[Invalid contentType ("te\\"xt/plain")]
expected: FAIL
[Invalid contentType ("te/xt/plain")]
expected: FAIL
[Invalid contentType ("te[xt/plain")]
expected: FAIL
[Invalid contentType ("te\]xt/plain")]
expected: FAIL
[Invalid contentType ("te?xt/plain")]
expected: FAIL
[Invalid contentType ("te=xt/plain")]
expected: FAIL
[Invalid contentType ("te{xt/plain")]
expected: FAIL
[Invalid contentType ("te}xt/plain")]
expected: FAIL
[Invalid contentType ("te xt/plain")]
expected: FAIL

View file

@ -2,13 +2,17 @@
type: testharness type: testharness
[ArrayBuffer fileBits] [ArrayBuffer fileBits]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Typed array fileBits] [Typed array fileBits]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Various fileBits] [Various fileBits]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Using special character in fileName] [Using special character in fileName]
expected: FAIL expected: FAIL
bug: https://github.com/w3c/FileAPI/issues/41

View file

@ -2,13 +2,17 @@
type: testharness type: testharness
[On getting, the length attribute must return the number of nodes represented by the collection.] [On getting, the length attribute must return the number of nodes represented by the collection.]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/11763
[Changing the length adds new nodes; The number of new nodes = new length minus old length] [Changing the length adds new nodes; The number of new nodes = new length minus old length]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/11763
[New nodes have no value] [New nodes have no value]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/11763
[Setting a length equal to existing length changes nothing] [Setting a length equal to existing length changes nothing]
expected: FAIL expected: FAIL
bug: https://github.com/servo/servo/issues/11763

View file

@ -330,7 +330,17 @@ test_blob(function() {
desc: "Passing an platform object that supports indexed properties as the blobParts array should work (select)." desc: "Passing an platform object that supports indexed properties as the blobParts array should work (select)."
}); });
var t_ports = async_test("Passing a platform array object as the blobParts array should work (MessagePort[])."); test_blob(function() {
var elm = document.createElement("div");
elm.setAttribute("foo", "bar");
return new Blob(elm.attributes);
}, {
expected: "[object Attr]",
type: "",
desc: "Passing an platform object that supports indexed properties as the blobParts array should work (attributes)."
});
var t_ports = async_test("Passing a FrozenArray as the blobParts array should work (FrozenArray<MessagePort>).");
t_ports.step(function() { t_ports.step(function() {
var channel = new MessageChannel(); var channel = new MessageChannel();
channel.port2.onmessage = this.step_func(function(e) { channel.port2.onmessage = this.step_func(function(e) {
@ -342,16 +352,6 @@ t_ports.step(function() {
channel.port1.postMessage('', [channel2.port1]); channel.port1.postMessage('', [channel2.port1]);
}); });
test_blob(function() {
var elm = document.createElement("div");
elm.setAttribute("foo", "bar");
return new Blob(elm.attributes);
}, {
expected: "[object Attr]",
type: "",
desc: "Passing a platform array object as the blobParts array should work (Attr[])."
});
test_blob(function() { test_blob(function() {
var blob = new Blob(['foo']); var blob = new Blob(['foo']);
return new Blob([blob, blob]); return new Blob([blob, blob]);