Bug 1934589: propagate line- and column-numbers to "securitypolicyviolation" events triggered by `javascript:" URL navigations. r=tschuster,smaug
The column number of a violation is not specified [1], [2]. It could for
instance for `v = createViolation` be 0, 1, 4 or 5.
Hence not adding tests for this. In any case, a non-fixed value might be
more helpful than "1" which was used before this patch.
For line numbers, the desired value is more obvious, but unspecfied too
[3]. Here, Chrome's behavior, which is one-based, is matched.
[1] https://www.w3.org/TR/CSP3/#create-violation-for-global
[2] https://github.com/w3c/webappsec-csp/issues/452
[3] https://github.com/w3c/webappsec-csp/issues/442
Differential Revision: https://phabricator.services.mozilla.com/D231114