Closed Bug 1496578 Opened 7 years ago Closed 5 years ago

convert nsDefaultURIFixup to js and rename it to make it clear it's the only one

Categories

(Core :: DOM: Navigation, enhancement, P2)

enhancement
Points:
5

Tracking

()

RESOLVED FIXED
mozilla77
Iteration:
77.1 - Apr 6 - Apr 19
Tracking Status
firefox77 --- fixed

People

(Reporter: nika, Assigned: mak)

References

Details

Attachments

(1 file)

The only implementation of `nsIURIFixup` currently is `nsDefaultURIFixup`. It would make sense to rename `nsDefaultURIFixup` to `nsURIFixup` and mark `nsIURIFixup` as builtinclass to formalize that, as the current name misleadingly implies there are multiple implementations of the interface.
(In reply to :Nika Layzell from comment #0) > The only implementation of `nsIURIFixup` currently is `nsDefaultURIFixup`. > It would make sense to rename `nsDefaultURIFixup` to `nsURIFixup` and mark > `nsIURIFixup` as builtinclass to formalize that, as the current name > misleadingly implies there are multiple implementations of the interface. I'm fine with a rename. However, I think we should eventually move the implementation here to JS, and stop docshell from doing fixup on its own. `builtinclass` in the IDL goes in the other direction. I guess we can remove it again if we ever get around to moving this to JS...
Priority: -- → P3
Component: Address Bar → Document Navigation
Product: Firefox → Core
Summary: Rename nsDefaultURIFixup to make it clear it's the only one → convert nsDefaultURIFixup to js and rename it to make it clear it's the only one
Depends on: 1621328

I don't know where I'll end up, but I'm progressing with the conversion.

Assignee: nobody → mak
Status: NEW → ASSIGNED
Iteration: --- → 76.1 - Mar 9 - Mar 22
Blocks: 1080682
Points: --- → 5
Attachment #9132883 - Attachment description: Bug 1496578 - convert nsDefaultURIFixup to js and rename it → * Bug 1496578 - convert nsDefaultURIFixup to js and rename it
Depends on: 1622887
Attachment #9132883 - Attachment description: * Bug 1496578 - convert nsDefaultURIFixup to js and rename it → Bug 1496578 - convert nsDefaultURIFixup to js and rename it.
Blocks: 1623383
Blocks: 1598616
Priority: P3 → P2
Attachment #9132883 - Attachment description: Bug 1496578 - convert nsDefaultURIFixup to js and rename it. → Bug 1496578 - convert nsDefaultURIFixup to URIFixup.jsm.
Iteration: 76.1 - Mar 9 - Mar 22 → 76.2 - Mar 23 - Apr 5
Blocks: 1626016
Iteration: 76.2 - Mar 23 - Apr 5 → 77.2 - Apr 20 - May 3
Iteration: 77.2 - Apr 20 - May 3 → 77.1 - Apr 6 - Apr 19
Blocks: 1628079
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/b86e8f2cc5db convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/b2f426661f29 convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Regressions: 1628906
Flags: needinfo?(mak)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: