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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/atob/base64.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 <!-- Originally developed by Aryeh Gregor, funded by Google. Copyright belongs 2 <!-- Originally developed by Aryeh Gregor, funded by Google. Copyright belongs
3 to Google. --> 3 to Google. -->
4 <title>atob()/btoa() tests</title> 4 <title>atob()/btoa() tests</title>
5 <meta charset=utf-8> 5 <meta charset=utf-8>
6 <div id=log></div> 6 <div id=log></div>
7 <script src=../../../../../resources/testharness.js></script> 7 <script src=../../../../../resources/testharness.js></script>
8 <script src=../../../../../resources/testharnessreport.js></script> 8 <script src=../../../../../resources/testharnessreport.js></script>
9 <script> 9 <script>
10 /** 10 /**
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 function(elem) { 297 function(elem) {
298 if (myatob(elem) === null) { 298 if (myatob(elem) === null) {
299 return ["atob(" + format_value(elem) + ") must raise InvalidCharacte rError", elem]; 299 return ["atob(" + format_value(elem) + ") must raise InvalidCharacte rError", elem];
300 } 300 }
301 return ["atob(" + format_value(elem) + ") == " + format_value(myatob(ele m)), elem]; 301 return ["atob(" + format_value(elem) + ") == " + format_value(myatob(ele m)), elem];
302 } 302 }
303 ); 303 );
304 304
305 generate_tests(testAtob, tests); 305 generate_tests(testAtob, tests);
306 </script> 306 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698