Commit 8c4c10af authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Bug 31010 - Don't use addTrustedTab on mobile

parent 605decfd
......@@ -1861,9 +1861,10 @@ function showSecurityPreferencesPanel(chromeWindow) {
if (settingsTab === null) {
// Open up the settings panel in a new tab.
tabBrowser.addTrustedTab(SECURITY_PREFERENCES_URI, {
tabBrowser.addTab(SECURITY_PREFERENCES_URI, {
"selected": true,
"parentId": tabBrowser.selectedTab.id,
triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal(),
});
} else {
// Activate an existing settings panel tab.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment