Open Bug 1927594 Opened 28 days ago Updated 6 days ago

CORP headers error is hard to understand and reuses a policy message

Categories

(Core :: Networking, defect, P2)

defect
Points:
2

Tracking

()

Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- fix-optional
firefox132 --- wontfix
firefox133 --- fix-optional
firefox134 --- fix-optional

People

(Reporter: mkaply, Assigned: sekim)

References

(Blocks 1 open bug, Regression)

Details

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

Attachments

(2 files)

Attached image image.png

I encountered a CORP error today and this is what I got (see attachment):


Blocked Page

An error occurred during a connection to www.google.com.


It was only by inspecting the page and looking at network errors that I saw:

NS_ERROR_DOM_COOP_FAILED

There are two problems here.

  1. This should not be reusing the enterprise policy blocked page message.
  2. The message should provide more information about what is actually going on.

:valentin, since you are the author of the regressor, bug 1730494, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(valentin.gosu)

Set release status flags based on info from the regressing bug 1730494

Hi Sean,
Would you have time to take this? It would be similar to bug 1890028.
We need a different error when COOP and COEP failures here and to make changes to aboutNetError.mjs and the ftl to explain the error.

Flags: needinfo?(valentin.gosu) → needinfo?(sekim)
Severity: -- → S3
Points: --- → 2
Priority: -- → P2
Whiteboard: [necko-triaged][necko-priority-next]
Assignee: nobody → sekim
Flags: needinfo?(sekim)
Blocks: necko-error

Hello Valentin,

Is there a way to test NS_ERROR_DOM_COOP_FAILED? I don't see any existing tests covering this.

Flags: needinfo?(valentin.gosu)

I think this is tested by ./mach test testing/web-platform/tests/html/cross-origin-opener-policy/coop-coep-sandbox.https.html

Flags: needinfo?(valentin.gosu)
Attachment #9435518 - Attachment description: Bug 1927594 - Introduce better CORP headers aboutNetError error messages r=#necko → Bug 1927594 - Introduce better CORP headers aboutNetError error messages r=flod,#necko
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: