Open Bug 1492819 Opened 6 years ago Updated 2 years ago

Prefix same-origin errors with "Same-Origin Policy: " when logging to the console

Categories

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

enhancement

Tracking

()

People

(Reporter: ckerschb, Unassigned)

References

Details

(Whiteboard: [domsecurity-backlog1])

For CSP, CORS and other we prefix the error with the name of the policy that actually caused the error to occur. I guess we should do the same for the same-origin policy.

We would have to update caps.properties and replace "Security Error:" with "Same-Origin Policy:" here and elsewhere:
https://searchfox.org/mozilla-central/source/dom/locales/en-US/chrome/security/caps.properties#4-6
Depends on: 1490874
See Also: → 1490874
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.