Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: qunit/tests/url.js

Issue 5919468974768128: Issue 2062 - Preserve trailing question mark when converting URL into string (Closed)
Patch Set: Created Feb. 27, 2015, 8:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/url.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: qunit/tests/url.js
===================================================================
--- a/qunit/tests/url.js
+++ b/qunit/tests/url.js
@@ -81,8 +81,9 @@
testPreservedURL("http://example.com/foo", "includes path");
testPreservedURL("http://example.com/?foo=bar", "includes query");
testPreservedURL("http://example.com:8080/", "includes port");
+ testPreservedURL("http://example.com/?", "with empty query string");
testNormalizedURL("http://example.com/#top","http://example.com/", "stripped hash");
- testNormalizedURL("http://user:password@example.com/","http://example.com/", "stripped auth credentials");
Sebastian Noack 2015/02/27 20:06:29 The behavior regarding credentials changed. For si
+ testNormalizedURL("http://example.com/#top?", "http://example.com/", "stripped hash with trailing question mark");
testNormalizedURL("http://xn--f-1gaa.com/","http://f\u00f6\u00f6.com/", "decoded punycode");
testPreservedURL("about:blank", "about:blank");
testPreservedURL("data:text/plain,foo", "data: URL");
« no previous file with comments | « lib/url.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld