Commit Graph

6 Commits

Author SHA1 Message Date
Masatoshi Kimura
8ed4a80a4e Bug 1322874 - Get rid of nsIURI.originCharset. r=valentin.gosu
nsIURI.originCharset had two use cases:
 1) Dealing with the spec-incompliant feature of escapes in the hash
    (reference) part of the URL.
 2) For UI display of non-UTF-8 URLs.

For hash part handling, we use the document charset instead. For pretty
display of query strings on legacy-encoded pages, we no longer care to them
(see bug 817374 comment 18).

Also, the URL Standard has no concept of "origin charset". This patch
removes nsIURI.originCharset for reducing complexity and spec compliance.

MozReview-Commit-ID: 3tHd0VCWSqF

--HG--
extra : rebase_source : b2caa01f75e5dd26078a7679fd7caa319a65af14
2017-08-02 20:43:30 +09:00
Masatoshi Kimura
0c6dc2ea73 Bug 1323683 - Fold nsIURIWithQuery into nsIURI. r=valentin.gosu
MozReview-Commit-ID: BFfgr42sNyx

--HG--
extra : rebase_source : a28d6a3c96f0c86dd7269147f130b3195b1f1faf
2016-12-28 20:40:21 +09:00
Valentin Gosu
6a82cdf759 Bug 1151899 - Add code to run both URL parsers at the same time; r=bagder,ted,valentin
MozReview-Commit-ID: Jd2RgPmdPrn

--HG--
extra : rebase_source : 674b910e813d271046b7dae7b10a55dfdafef1fc
2016-11-08 00:42:36 +01:00
Valentin Gosu
2ecccba5c7 Bug 1151899 - Add RustURL which implements nsIURI,nsIURL,nsIStandardURL,etc; r=bagder
MozReview-Commit-ID: 2rVu4t66cfD

--HG--
extra : rebase_source : 742c3bceb3fb4c259915f52ba98b368349ba9991
2016-11-08 00:42:27 +01:00
Sebastian Hengst
72c68b6881 Backed out changeset f87f327d7ef2 (bug 1151899) 2016-11-17 20:22:34 +01:00
Valentin Gosu
340e8eb8fe Bug 1151899 - Add RustURL which implements nsIURI,nsIURL,nsIStandardURL,etc; r=bagder
MozReview-Commit-ID: 2rVu4t66cfD

--HG--
extra : rebase_source : fc9e9ee9c4021b61f53c4beb447b3e13b27714ba
2016-11-08 00:42:27 +01:00