Last Comment Bug 776402 - Update usage of GetCodebasePrincipal to reflect changes to API
: Update usage of GetCodebasePrincipal to reflect changes to API
Status: RESOLVED FIXED
:
Product: Thunderbird
Classification: Client Software
Component: General (show other bugs)
: Trunk
: x86 All
: -- normal (vote)
: Thunderbird 17.0
Assigned To: Mike Conley (:mconley) - (needinfo me!)
:
:
Mentors:
Depends on: 774585
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-22 15:09 PDT by Mike Conley (:mconley) - (needinfo me!)
Modified: 2012-08-20 09:23 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Mike Conley (:mconley) - (needinfo me!) 2012-07-22 15:09:15 PDT
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.
Comment 1 Mike Conley (:mconley) - (needinfo me!) 2012-07-22 15:14:35 PDT
(Note that this is part of what's causing all of our current Mozmill oranges on comm-central)
Comment 2 Mike Conley (:mconley) - (needinfo me!) 2012-07-23 07:25:35 PDT
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.

Note You need to log in before you can comment on or make changes to this bug.