Closed Bug 1683429 Opened 4 years ago Closed 2 years ago

Match SecurityPolicyViolationEvent fields with the spec

Categories

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

task

Tracking

()

RESOLVED INVALID

People

(Reporter: saschanaz, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [domsecurity-backlog1])

https://searchfox.org/mozilla-central/rev/58e955b8005b4845c42e874a6b9aa5b223ef0d82/dom/webidl/SecurityPolicyViolationEvent.webidl

The field names does not match with the spec:

  • documentURI is now a legacy alias of documentURL
  • blockedURI is of blockedURL
  • lineNumber is of lineno
  • columnNumber is of colno

SecurityPolicyViolationEventInit members should also match with the spec.

Blocks: csp-w3c-3
Severity: -- → S4
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]

The spec has now reverted to what we currently implement, because no browser followed the previous spec change.

https://github.com/w3c/webappsec-csp/pull/499

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.