[Webkit-unassigned] [Bug 221548] comment blocks cause incorrect reporting of column numbers in stack traces

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 19:00:05 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=221548

Andrew Swan <aswan at figma.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aswan at figma.com

--- Comment #2 from Andrew Swan <aswan at figma.com> ---
In addition to the original report, this also happens with multi-line strings:

window.onload = () => {
    let s = `
multi
line
string
`;console.log('something unrelated');const e = new Error("new error");console.log(e.stack);console.log('something unrelated');
}

This is creating problems for us as we use source maps to translate the locations of javascript errors, but the incorrect column numbers are causing this translation to break.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220318/e7ba9209/attachment.htm>


More information about the webkit-unassigned mailing list