Index: third_party/WebKit/LayoutTests/imported/wpt/FileAPI/blob/Blob-constructor.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/FileAPI/blob/Blob-constructor.html b/third_party/WebKit/LayoutTests/imported/wpt/FileAPI/blob/Blob-constructor.html |
index 9c2b0a138c9f5ca9714513d62afc6d044530bcc9..d8375c2a6e803e1660bf0808f9351c3cb228bfd1 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/FileAPI/blob/Blob-constructor.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/FileAPI/blob/Blob-constructor.html |
@@ -330,7 +330,17 @@ test_blob(function() { |
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) { |
@@ -343,16 +353,6 @@ t_ports.step(function() { |
}); |
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]); |
}, { |