Open Bug 1555292 Opened 5 years ago Updated 3 years ago

Refactor CSPToCSPInfo to only return an object if the initialization succeeded

Categories

(Core :: DOM: Security, task, P3)

task

Tracking

()

People

(Reporter: ckerschb, Unassigned)

References

Details

(Whiteboard: [domsecurity-backlog1])

Attachments

(1 file)

Instead of having an outgoing argument for CSPtoCSPInfo [1] which might be only halfway initialized if the function returns half way, we should actually return a CSPInfo which is either not initialized or fully initialized.

[1] https://hg.mozilla.org/mozilla-central/rev/ddf4012a7652#l60.99

This is basically a follow up for Bug 1553742.

Assignee: nobody → jkt
Status: NEW → ASSIGNED
Type: defect → task
Depends on: 1553742
Priority: -- → P2
Whiteboard: [domsecurity-active]

The bug assignee didn't login in Bugzilla in the last 7 months.
:ckerschb, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: jonathan → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(ckerschb)
Severity: normal → S4
Flags: needinfo?(ckerschb)
Priority: P2 → P3
Whiteboard: [domsecurity-active] → [domsecurity-backlog1]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: