Closed
Bug 1369835
Opened 9 years ago
Closed 9 years ago
Port bug 1369323 |Let's remove nsScriptSecurityManager::GetNoAppCodebasePrincipal| to TB
Categories
(Thunderbird :: General, enhancement)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 55.0
People
(Reporter: jorgk-bmo, Assigned: jorgk-bmo)
References
Details
Attachments
(1 file)
|
3.12 KB,
patch
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1369323 +++
This method is just used by some ffos related addons.
===
Well, unfortunately this method is used in TB:
https://dxr.mozilla.org/comm-central/search?q=getNoAppCodebasePrincipal&redirect=false
and removing it now causes errors seen on treeherder here:
https://archive.mozilla.org/pub/thunderbird/tinderbox-builds/comm-central-macosx64/1496329232/comm-central_yosemite_r7_test-mozmill-bm133-tests1-macosx-build22.txt.gz
JavaScript error: chrome://messenger/content/newmailaccount/accountProvisioner.js, line 42: TypeError: Services.scriptSecurityManager.getNoAppCodebasePrincipal is not a function
Let's hope that the replacement
- principal: Services.scriptSecurityManager.getNoAppCodebasePrincipal(targetURI)
+ principal: Services.scriptSecurityManager.createCodebasePrincipal(targetURI, {}),
will just work ;-)
| Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → jorgk
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 55.0
You need to log in
before you can comment on or make changes to this bug.
Description
•