Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate some test failures in FileAPI tests. #11764

Merged
merged 1 commit into from Jun 17, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

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

@@ -2,28 +2,37 @@
type: testharness
[Passing non-objects, Dates and RegExps for blobParts should throw a TypeError.]
expected: FAIL
bug: https://github.com/servo/rust-mozjs/issues/269

[ArrayBuffer elements of the blobParts array should be supported.]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Passing typed arrays as elements of the blobParts array should work.]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Passing a Float64Array as element of the blobParts array should work.]
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).]
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
bug: https://github.com/servo/servo/issues/7457

[Array with two buffers]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Array with two bufferviews]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Array with mixed types]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

@@ -2,100 +2,61 @@
type: testharness
[Slicing test: slice (5,0).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (5,1).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (5,2).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (5,3).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (6,0).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (6,1).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (6,2).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (7,0).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (7,1).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (7,2).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (7,3).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (8,0).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (8,1).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (8,2).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Slicing test: slice (8,3).]
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
[Invalid contentType ("te xt/plain")]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

@@ -2,13 +2,17 @@
type: testharness
[ArrayBuffer fileBits]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Typed array fileBits]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Various fileBits]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

[Using special character in fileName]
expected: FAIL
bug: https://github.com/w3c/FileAPI/issues/41

@@ -2,13 +2,17 @@
type: testharness
[On getting, the length attribute must return the number of nodes represented by the collection.]
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]
expected: FAIL
bug: https://github.com/servo/servo/issues/11763

[New nodes have no value]
expected: FAIL
bug: https://github.com/servo/servo/issues/11763

[Setting a length equal to existing length changes nothing]
expected: FAIL
bug: https://github.com/servo/servo/issues/11763

@@ -330,7 +330,17 @@
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() {
var channel = new MessageChannel();
channel.port2.onmessage = this.step_func(function(e) {
@@ -342,16 +352,6 @@
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() {
var blob = new Blob(['foo']);
return new Blob([blob, blob]);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.