Closed Bug 1703464 Opened 4 years ago Closed 4 years ago

CORP check should be bypassed when the LoadingPrincipal is a SystemPrincipal

Categories

(Core :: DOM: Networking, defect, P3)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: tt, Assigned: tt)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [necko-triaged])

Attachments

(1 file)

STR:

  1. Ensure dom.security.secFetch.enabled is false (Nightly is true by default)
  2. Open https://translate.google.com/
  3. Click "Add Search Engine" from the page actions menu in the location bar.

Actual Result:

  • Download Error and the status code is NS_ERROR_DOM_CORP_FAILED.

Expected Result:

  • The search engine is successfully added.

The CORP check is here and it seems that the check assume the loading principal cannot be a system principal.

Component: Search → DOM: Networking
Product: Firefox → Core
Attachment #9214007 - Attachment description: WIP: Bug 1703464 - Bypass the CORP check when the loading principal is a system principal; → Bug 1703464 - Bypass the CORP check when the loading principal is a system principal;
Severity: -- → S2
Priority: -- → P3
Whiteboard: [necko-triaged]
Pushed by shes050117@gmail.com: https://hg.mozilla.org/integration/autoland/rev/41655bc31215 Bypass the CORP check when the loading principal is a system principal; r=necko-reviewers,dragana
Regressed by: corp
Has Regression Range: --- → yes
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

For reference: this caused bug 1698755, so maybe this is worth backporting to 78 branch.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: