[Webkit-unassigned] [Bug 222528] New: <button onclick='window.confirm("A& B" C' D")'>E</button> cannot be parsed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 28 05:00:00 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222528
Bug ID: 222528
Summary: <button
onclick='window.confirm("A&B"C'D")'>E</b
utton> cannot be parsed
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dpa-webkit at aegee.org
The file https://mail.aegee.org/t-quoting.html contains:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head><body>
<button onclick='window.confirm("A&B"C'D")'>E</button>
<button onclick="window.confirm('F&G"H'I')">J</button>
</body></html>
I do not know how this will be rendered here, but both actions contain quoted window.confirm which contains ampersand followed by apos and quot .
For both buttons the system says SyntaxError: Unexpected identifier 'C'. Expected ')' to end an argument list.
I use WebKitGtk 2.30.5.
The same happens in Firefox, reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1695491 and in Chromium reported at https://bugs.chromium.org/p/chromium/issues/detail?id=1183132 .
--
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/20210228/16a447d1/attachment-0001.htm>
More information about the webkit-unassigned
mailing list