Closed Bug 776402 Opened 12 years ago Closed 12 years ago

Update usage of GetCodebasePrincipal to reflect changes to API

Categories

(Thunderbird :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 17.0

People

(Reporter: mconley, Assigned: mconley)

References

Details

Bug 774585 changed the way that GetCodebasePrincipal works (see https://bugzilla.mozilla.org/show_bug.cgi?id=774585#c0).

Thunderbird uses GetCodebasePrincipal in 3 locations:

/mail/components/newmailaccount/content/accountProvisioner.js
    line 46 -- var principal = ssm.getCodebasePrincipal(uri);

/mail/components/aboutRedirector.js
    line 54 -- let principal = secMan.getCodebasePrincipal(aURI);

/mail/test/mozmill/newmailaccount/test-newmailaccount.js
    line 1205 -- let principal = ssm.getCodebasePrincipal(uri);

These need to be updated to fix Account Provisioner and our About Redirector.

Cc'ing some SeaMonkey people, because I think suite is affected too.
(Note that this is part of what's causing all of our current Mozmill oranges on comm-central)
Landed fix with r=bustage-fix in comm-central as https://hg.mozilla.org/comm-central/rev/e3a1e30473f1

Again, you SeaMonkey folks might want to do something similar in suite.
Assignee: nobody → mconley
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 17.0
No longer blocks: 774585
Depends on: 774585
You need to log in before you can comment on or make changes to this bug.