Closed Bug 1881694 Opened 1 year ago Closed 9 months ago

Remove unused method PermissionManager::LegacyTestPermissionFromURI

Categories

(Core :: Permission Manager, task, P3)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: emz, Assigned: tvaleev.browser, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, priv-triaged, Whiteboard: [lang=c++])

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/da49863c3d6f34038d00f5ba701b9a2ad9cbadba/extensions/permissions/PermissionManager.cpp#2352

In Bug 1574469 I updated callers to check permissions by principal. PermissionManager::LegacyTestPermissionFromURI is leftover and can be removed.

Severity: -- → N/A
Type: defect → task
Priority: -- → P3
Keywords: good-first-bug

I think I can take this bug, if it is still available. All I have to do is delete the whole method named PermissionManager::LegacyTestPermissionFromURI() then? Also this is my first contribution so I would need a mentor. Thanks in advance.

Flags: needinfo?(pbz)

Sure! Sorry for the late reply I was out of office. I can mentor you on this bug. Do you already have a local copy of mozilla-central? If not here is how to clone the code and build Firefox: https://firefox-source-docs.mozilla.org/setup/index.html

Assignee: nobody → laxtennis2013
Status: NEW → ASSIGNED
Flags: needinfo?(pbz)

(In reply to Paul Zühlcke [:pbz] from comment #2)

Sure! Sorry for the late reply I was out of office. I can mentor you on this bug. Do you already have a local copy of mozilla-central? If not here is how to clone the code and build Firefox: https://firefox-source-docs.mozilla.org/setup/index.html

All good! I'll get started on this tomorrow. I've been a little busy myself lately. Thank you

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.

Assignee: laxtennis2013 → nobody
Status: ASSIGNED → NEW
Assignee: nobody → tvaleev.browser
Status: NEW → ASSIGNED

Hi. Could you please review?

Flags: needinfo?(pbz)

The review request is already there, no need for needinfo 👍

Flags: needinfo?(pbz)
Attachment #9407810 - Attachment description: Bug 1881694- Remove unused method PermissionManager::LegacyTestPermissionFromURI. r?pbz → Bug 1881694 - Remove unused method PermissionManager::LegacyTestPermissionFromURI. r?pbz
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d93294854bd5 Remove unused method PermissionManager::LegacyTestPermissionFromURI. r=pbz
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Blocks: 1903217
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: