Remove nsIIPCSerializableURI
Categories
(Core :: Networking, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
It has no reason to exist any more (all nsIURI implementations also implement it) and I'm tired of seeing its overhead in profiles.
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
A friendly heads up to Jorg K :) Since TB is not multiprocess, this should be easily solved on the C-C side with empty impls.
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Thanks for the heads-up. We've just added nsIIPCSerializableURI to our URLs in Dec. 2018:
https://hg.mozilla.org/comm-central/rev/b382906f387f
So by the looks of it we just remove the include and change to the void functions to a "void method".
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Jorg K (GMT+1) from comment #3)
Thanks for the heads-up. We've just added nsIIPCSerializableURI to our URLs in Dec. 2018:
https://hg.mozilla.org/comm-central/rev/b382906f387f
So by the looks of it we just remove the include and change to the void functions to a "void method".
Yes, that should be it. In case somewhere you have classes derived from another class which in turn derives from nsIURI, and your doubly-derived class overrides Serialize(), you may also need to manually add an override declaration like I did here for example: https://hg.mozilla.org/integration/autoland/rev/d815471fff91#l4.38.
Comment 6•6 years ago
|
||
bugherder |
Description
•