Description
We use the parser in a security library to detect code injections. A bug bounty hunter found a bypass using HTML-like comments, which are supported by Node.js (V8), but cannot be parsed by OXC.
If Annex B is not implemented intentionally, please close this issue.
Expected Behavior
OXC should parse the following code:
<!-- Test -->
console.log("Hello, world!");
<!-- Test
console.log("Hello, world!");
Links
Description
We use the parser in a security library to detect code injections. A bug bounty hunter found a bypass using HTML-like comments, which are supported by Node.js (V8), but cannot be parsed by OXC.
If Annex B is not implemented intentionally, please close this issue.
Expected Behavior
OXC should parse the following code:
Links