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

Side by Side Diff: LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-searchParams-expected.txt

Issue 143313002: Implement URLSearchParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 4 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 Test handling of the searchParams attribute of the URL in HTMLAnchorElement.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Inspect single name-value via searchParams
7 PASS a.searchParams.has('key') is true
8 PASS a.searchParams.get('key') is "value"
9 PASS a.href is "https://www.mydomain.com/path/?key=value"
10 Add name-value pair using searchParams
11 PASS a.searchParams.has('k e y') is true
12 PASS a.searchParams.get('k e y') is "value"
13 PASS a.search is "?k+e+y=value"
14 PASS a.href is "https://www.mydomain.com/path/?k+e+y=value"
15 Update name-value pair using searchParams
16 PASS a.searchParams.has('key') is true
17 PASS a.searchParams.get('key') is "newvalue"
18 PASS a.search is "?key=newvalue"
19 PASS a.href is "https://www.mydomain.com/path/?key=newvalue"
20 Remove name-value pair using searchParams
21 PASS a.searchParams.has('key') is false
22 PASS a.search is ""
23 PASS a.href is "https://www.mydomain.com/path/?"
24 Have searchParams reflect removed name-value pairs
25 PASS searchParams.has('key') is true
26 PASS searchParams.has('key') is false
27 PASS a.href is "https://www.mydomain.com/path/?"
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698