-// Test passing blob parts in sequences.
-shouldBeTrue("new File({length: 0}, 'world.txt') instanceof window.File");
-shouldBe("new File({length: 0}, 'world.txt').size", "0");
-shouldBe("new File({length: 1, 0: 'string'}, 'world.txt').size", "6");
-shouldBe("new File({length: 2, 0: new Uint8Array(100), 1: new Int16Array(100)}, 'world.txt').size", "300");
-shouldBe("new File({length: 1, 0: 'string'}, 'world.txt', {type: 'text/html'}).type", "'text/html'");
-shouldThrow("new File({length: 0}, 'world.txt', {endings:'illegal'})", "'TypeError: Failed to construct \\'File\\': The \\'endings\\' property must be either \\'transparent\\' or \\'native\\'.'");
-
-// Test passing blog parts in a sequence-like object that throws on property access.
-var throwingSequence = {length: 4, 0: 'hello', 3: 'world'};
-Object.defineProperty(throwingSequence, "1", {
- get: function() { throw new Error("Misbehaving property"); },
- enumerable: true, configurable: true
-});
-Object.defineProperty(throwingSequence, "2", {
- get: function() { throw new Error("This should not be thrown"); },
- enumerable: true, configurable: true
-});
-shouldThrow("new File(throwingSequence, 'world.txt')", "'Error: Misbehaving property'");
+// Test passing file parts in (deprecated and unsupported) objects with indexed properties.
+shouldThrow("new File({length: 0}, 'world.txt')", "'TypeError: Failed to construct \\'File\\': The 1st argument provided is either null, or an invalid Array object.'");
+shouldThrow("new File({length: 1, 0: 'string'}, 'world.txt')", "'TypeError: Failed to construct \\'File\\': The 1st argument provided is either null, or an invalid Array object.'");