Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBump js to get fix from servo/rust-mozjs#237 #9606
Conversation
|
| test(function() { | ||
| var t = new TestBinding; | ||
| assert_throws(new TypeError, function () { t.passInterfaceSequence([new Blob,, new Blob]) }); | ||
| }, "Sequences with holes are correctly handled"); |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Problem solved, ready to review. |
|
At the very least, we should document the contract of the various functions as to how they handle non-objects. |
|
Sorry, I forgot this earlier. Please also add the following test; r=me with that. test(function() {
Object.defineProperty(Array.prototype, 1, { get: function() { throw 7; } });
var test_error = { name: "test" };
var t = new TestBinding;
assert_throws(test_error, function() {
t.passSequence([1,, 3]);
};
assert_throws(test_error, function() {
t.passStringSequence(["camembert",, "comté"]);
};
assert_throws(test_error, function() {
t.passInterfaceSequence([new Blob,, new Blob]);
};
}, "Sequences with holes and a getter on the prototype are correctly handled"); |
|
@bors-servo r=Ms2ger |
|
|
Bump js to get fix from servo/rust-mozjs#237 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9606) <!-- Reviewable:end -->
|
|
|
@bors-servo retry #9619 |
|
|
|
|
|
@bors-servo: retry |
|
|
|
|
nox commentedFeb 11, 2016