Closed Bug 1782729 Opened 2 years ago Closed 2 years ago

GeckoViewNavigation.jsm should check for supported principals before applying permissions

Categories

(GeckoView :: Permissions, defect, P1)

All
Android

Tracking

(firefox103 wontfix, firefox104 wontfix, firefox105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
firefox103 --- wontfix
firefox104 --- wontfix
firefox105 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

Details

(Whiteboard: [geckoview:m105])

Attachments

(1 file)

GeckoView sometimes tries to check an unsupported principal’s permissions.

GeckoViewNavigation.jsm should check if (contentPrincipal && Services.perms.isSupportedPrincipal(contentPrincipal)) { to prevent errors when a URL does not have a Site.

Issue is causing the test failures here: https://bugzilla.mozilla.org/show_bug.cgi?id=1782526

Assignee: nobody → ohall
Blocks: 1782526

GeckoViewNavigation.jsm's onLocationChange should check that the principal
to get permissions for is a supported principal.

Severity: -- → S3
Priority: -- → P1
Whiteboard: [geckoview:m105]
Pushed by ohall@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e613c5d1086c
GeckoViewNavigation should check for supported principals r=geckoview-reviewers,permissions-reviewers,pbz,calu
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: