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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/FileAPI/blob/Blob-slice.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 slice</title> 3 <title>Blob slice</title>
4 <link rel=help href="https://w3c.github.io/FileAPI/#slice-method-algo"> 4 <link rel=help href="https://w3c.github.io/FileAPI/#slice-method-algo">
5 <link rel=author title="Saurabh Anand" href="mailto:saurabhanandiit@gmail.com"> 5 <link rel=author title="Saurabh Anand" href="mailto:saurabhanandiit@gmail.com">
6 <script src="../../../../resources/testharness.js"></script> 6 <script src="../../../../resources/testharness.js"></script>
7 <script src="../../../../resources/testharnessreport.js"></script> 7 <script src="../../../../resources/testharnessreport.js"></script>
8 <script src="../support/Blob.js"></script> 8 <script src="../support/Blob.js"></script>
9 <div id="log"></div> 9 <div id="log"></div>
10 <script> 10 <script>
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 test_blob(function() { 205 test_blob(function() {
206 var blob = new Blob(["PASS"]); 206 var blob = new Blob(["PASS"]);
207 return blob.slice(0, 4, type); 207 return blob.slice(0, 4, type);
208 }, { 208 }, {
209 expected: "PASS", 209 expected: "PASS",
210 type: type.toLowerCase(), 210 type: type.toLowerCase(),
211 desc: "Valid contentType (" + format_value(type) + ")" 211 desc: "Valid contentType (" + format_value(type) + ")"
212 }); 212 });
213 }); 213 });
214 </script> 214 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698