Closed
Bug 1318426
(url-oxidation)
Opened 8 years ago
Closed 7 years ago
Metabug for rust-url oxidation
Categories
(Core :: Networking, defect, P3)
Core
Networking
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: manishearth, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-backlog])
The code for rust-url oxidation lands in bug 1151899, however it is disabled by default. This bug tracks all the work we need to do before enabling it.
Updated•8 years ago
|
Whiteboard: [necko-backlog]
Reporter | ||
Comment 1•8 years ago
|
||
At some point after bug 1151899 lands I'll update the vendored rust-url so that we get the IDNA fixes, and file bugs for any remaining mismatches then.
Reporter | ||
Comment 2•8 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=906714 will be useful for finding other bugs/mismatches; we should ensure that rust-url is not prone to any of those.
Reporter | ||
Comment 3•8 years ago
|
||
As pointed out in https://bugzilla.mozilla.org/show_bug.cgi?id=1324193#c6 , we have a bunch of Gecko bugs causing mismatches.
In particular, we have bug 945240, bug 1324243, bug 1324251, bug 1324244, bug 1324246, bug 1324247
On top of that, rust-url makes a whole bunch of the WPT url tests pass, at https://treeherder.mozilla.org/#/jobs?repo=try&revision=9b09455e1f766fc9f215057f0a1012c3119892ca&selectedJob=32931347 . Some of this is related to the bugs filed above, some isn't.
Should fixing these block shipping rust url side-by-side with telemetry? I'm afraid that we'll have an overabundance of mismatches due to Gecko not being spec-compliant. On the other hand, I'm afraid that this will become an endless rabbit hole of Gecko fixes. Probably not. I'm not sure how spec-compliant the current parser is.
Thoughts?
Flags: needinfo?(valentin.gosu)
Flags: needinfo?(mcmanus)
Comment 4•8 years ago
|
||
(In reply to Manish Goregaokar [:manishearth] from comment #3)
> Should fixing these block shipping rust url side-by-side with telemetry? I'm
> afraid that we'll have an overabundance of mismatches due to Gecko not being
> spec-compliant. On the other hand, I'm afraid that this will become an
> endless rabbit hole of Gecko fixes. Probably not. I'm not sure how
> spec-compliant the current parser is.
>
spec-compliant is not especially interesting. web-compliant is. And yes, that's a lot more annoying.
To the extent that rust and gecko diverge they need to be brought together in a web compatible way. That might be the gecko way which we know 'works'. It might be the chrome way which also 'works'.
This is not something to lose users over - urls have always been a messy space.
While the rust results are not being used, except for data gathering via telemetry, I don't have requirements for how consistent this needs to be.
Flags: needinfo?(mcmanus)
Comment 5•8 years ago
|
||
Manish, have you looked at url/ on WPT? That is in line with the standard and would allow for somewhat easy comparison across a range of issues. I'll also point out that Safari is shipping an implementation that is fairly close to the standard in their Technology Preview.
Reporter | ||
Comment 6•8 years ago
|
||
We have; I think most of those mismatches have been fixed. The remaining mismatches are all Gecko-side bugs as mentioning in comment 3.
Comment 7•8 years ago
|
||
Has there been a full code audit to ensure that RustURL matches all of the Gecko API intricacies? I'm asking because I found bug 1340695 during a code audit.
Reporter | ||
Comment 8•8 years ago
|
||
No, such an audit has not happened yet.
Comment 9•8 years ago
|
||
What is the relationship to bug 1228115?
Updated•8 years ago
|
Comment 10•8 years ago
|
||
(In reply to Anne (:annevk) from comment #9)
> What is the relationship to bug 1228115?
nsIURI and its related APIs are currently exposed to add-ons, and, add-ons can inject themselves into our URI parsing machinery, for example, by taking over the parsing of a foobar: scheme. Since the add-on code in the said machinery is written in JS, and JS in this environment (XPConnect) can only run on the main thread, it prevents us from doing things like parsing URIs inside Gecko off the main thread. rust-url is affected in that it implements nsIURI, but with Gecko 57 where we won't support XPCOM extensions any more, these restrictions will not exist any more.
Comment 11•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 12•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Updated•7 years ago
|
Flags: needinfo?(valentin.gosu)
Reporter | ||
Comment 13•7 years ago
|
||
Folks decided against this in bug 1415206
Reporter | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Comment 14•7 years ago
|
||
(In reply to Manish Goregaokar [:manishearth] from comment #13)
> Folks decided against this in bug 1415206
Just as a side note, rust-url is still used in MozURL.
You need to log in
before you can comment on or make changes to this bug.
Description
•