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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/fetch/api/headers/headers-structure.html

Issue 2778753002: Import //fetch from Web Platform Tests. (Closed)
Patch Set: Baselines. Created 3 years, 8 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
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Headers basic</title>
6 <meta name="help" href="https://fetch.spec.whatwg.org/#headers">
7 <meta name="help" href="https://heycam.github.io/webidl/#idl-iterable">
8 <meta name="author" title="Canon Research France" href="https://www.crf.cano n.fr">
9 <script src="/resources/testharness.js"></script>
10 <script src="/resources/testharnessreport.js"></script>
11 </head>
12 <body>
13 <script>
14 var headers = new Headers();
15 var methods = ["append",
16 "delete",
17 "get",
18 "has",
19 "set",
20 //Headers is iterable
21 "entries",
22 "keys",
23 "values"
24 ];
25 for (var idx in methods)
26 test(function() {
27 assert_true(methods[idx] in headers, "headers has " + methods[idx] + " method");
28 }, "Headers has " + methods[idx] + " method");
29 </script>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698