Closed Bug 1529763 Opened 7 years ago Closed 7 years ago

Port Bug 1529252: Remove the 2 from the various version to create a channel within nsIIOService.idl

Categories

(Thunderbird :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 67.0

People

(Reporter: jorgk-bmo, Assigned: jorgk-bmo)

Details

Attachments

(2 files)

As far as I can see, it's mostly NewChannelFromURI2 which loses the "2":

https://hg.mozilla.org/mozilla-central/rev/fd1d0afce253

One occurrence in C++ code, so that gives bustage, and many more in JS code.

Patch coming.

I changed the trickery in gdataRequest.jsm, I think we can drop compatibility with Lightning 4.2 and older. Besides, it would still work since passing more parameters shouldn't hurt.

Assignee: nobody → jorgk
Status: NEW → ASSIGNED
Attachment #9045791 - Flags: review?(geoff)

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/810588b5151e
Port bug 1529252: s/NewChannelFromURI2/NewChannelFromURI/. rs=bustage-fix

Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 67.0
Comment on attachment 9045791 [details] [diff] [review] 1529763-NewChannelFromURI2.patch Review of attachment 9045791 [details] [diff] [review]: ----------------------------------------------------------------- Nothing too complicated here. :) ::: mail/test/resources/mozmill/mozmill/extension/content/stdlib/securable-module.jsm @@ +307,3 @@ > null, > Services.scriptSecurityManager.getSystemPrincipal(), > null, Please fix this awful indent. ::: suite/mailnews/components/addrbook/content/abCommon.js @@ +716,3 @@ > null, > Services.scriptSecurityManager.getSystemPrincipal(), > null, And this one.
Attachment #9045791 - Flags: review?(geoff) → review+

Actually, no. One is MozMill and one is suite/. And the "awful" indent came in handy since I didn't have to change it ;-)

Attachment #9045870 - Flags: review?(geoff)
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/9c16e1ffb7fe Port bug 1529252: s/Services.io.newChannel2/Services.io.newChannel/. rs=bustage-fix
Attachment #9045870 - Flags: review?(geoff) → review+
Type: enhancement → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: