Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
morgan
Tor Browser
Commits
3dfbe055
Commit
3dfbe055
authored
3 years ago
by
Matthew Finkel
Committed by
Richard Pospesel
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug 40253: Explicitly allow NoScript in Private Browsing mode.
parent
dd4534a9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
toolkit/components/extensions/Extension.jsm
+9
-0
9 additions, 0 deletions
toolkit/components/extensions/Extension.jsm
with
9 additions
and
0 deletions
toolkit/components/extensions/Extension.jsm
+
9
−
0
View file @
3dfbe055
...
...
@@ -2644,6 +2644,15 @@ class Extension extends ExtensionData {
this.permissions.add(PRIVATE_ALLOWED_PERMISSION);
}
// Bug 40253: Explicitly allow NoScript in Private Browsing mode.
if (this.id === "{73a6fe31-595d-460b-a920-fcc0f8843232}") {
ExtensionPermissions.add(this.id, {
permissions: [PRIVATE_ALLOWED_PERMISSION],
origins: [],
});
this.permissions.add(PRIVATE_ALLOWED_PERMISSION);
}
// We only want to update the SVG_CONTEXT_PROPERTIES_PERMISSION during install and
// upgrade/downgrade startups.
if (INSTALL_AND_UPDATE_STARTUP_REASONS.has(this.startupReason)) {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment