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

Side by Side Diff: LayoutTests/fast/domurl/url-query-set.html

Issue 141003005: Old CL related to URL query (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/domurl/url-query-serialize.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <meta charset="utf-8">
3 <link rel="help" href="http://url.spec.whatwg.org/#dom-urlquery-set">
4 <script src="../../resources/testharness.js"></script>
5 <script src="../../resources/testharnessreport.js"></script>
6 <script>
7
8 test(function() {
9 var q = new URLQuery('a=b&c=d');
10 q.set('a', 'B');
11 assert_equals(q + '', 'a=B&c=d');
12
13 q = new URLQuery('a=b&c=d&a=e');
14 q.set('a', 'B');
15 assert_equals(q + '', 'a=B&c=d')
16
17 q.set('e', 'f');
18 assert_equals(q + '', 'a=B&c=d&e=f')
19 }, 'Set basics');
20
21 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/domurl/url-query-serialize.html ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698