Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/FileAPI/blob/Blob-constructor.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>Blob constructor</title> 3 <title>Blob constructor</title>
4 <link rel=help href="http://dev.w3.org/2006/webapi/FileAPI/#constructorBlob"> 4 <link rel=help href="http://dev.w3.org/2006/webapi/FileAPI/#constructorBlob">
5 <link rel=help href="https://heycam.github.io/webidl/#es-union"> 5 <link rel=help href="https://heycam.github.io/webidl/#es-union">
6 <link rel=help href="https://heycam.github.io/webidl/#es-dictionary"> 6 <link rel=help href="https://heycam.github.io/webidl/#es-dictionary">
7 <link rel=help href="https://heycam.github.io/webidl/#es-sequence"> 7 <link rel=help href="https://heycam.github.io/webidl/#es-sequence">
8 <script src="../../../../resources/testharness.js"></script> 8 <script src="../../../../resources/testharness.js"></script>
9 <script src="../../../../resources/testharnessreport.js"></script> 9 <script src="../../../../resources/testharnessreport.js"></script>
10 <script src="../support/Blob.js"></script> 10 <script src="../support/Blob.js"></script>
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 ]; 486 ];
487 487
488 type_tests.forEach(function(t) { 488 type_tests.forEach(function(t) {
489 test(function() { 489 test(function() {
490 var arr = new Uint8Array([t[0]]).buffer; 490 var arr = new Uint8Array([t[0]]).buffer;
491 var b = new Blob([arr], {type:t[1]}); 491 var b = new Blob([arr], {type:t[1]});
492 assert_equals(b.type, t[2]); 492 assert_equals(b.type, t[2]);
493 }, "Blob with type " + format_value(t[1])); 493 }, "Blob with type " + format_value(t[1]));
494 }); 494 });
495 </script> 495 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698