-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Regression: New RegExp format causes blank page #3051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @L3P3! Thanks for opening the issue.
It looks like part of the bug report is missing this line. Can this be reproduced in VS Code? Based on what you linked, if that's truly the issue, then it looks like it was introduced/changed here: microsoft/vscode@5c1ff81#diff-dde3b56145713053f086e5ce1fcea39c4cb171d4555b6ab91256c7cf2b39e9af We suggest raising this upstream.
If that's the case, it may be worth raising this there. |
Thanks for pointing that out. Did not know that vscode aims for backwards-compatiblity and I thought it is just used in modern electron. |
This issue has been marked as 'upstream:vscode'. Please file this upstream: link to open issue" |
Just for the record, if anyone else has this problem, run this command on your server:
With this, automatic snake case transformation is still not working but at least, everything else does. In newer browsers, everything still works as before. Updated for v3.10.0:
|
* Support browsers from before 2020 As reported in #2825, #2826 and #3051, almost everything works in older browsers. This setting here prevented me from updating and I think it is an obvious enhancement to not restrict to browsers from 2020+. There should not be any measurable downsides of this change since es6 and es2020 are pretty similar with only minor differences. * Include lib (polyfills) for <es2020 targets * Assume all modern dom features despite es6 syntax * Add modern dom iterators to es6 environment Co-authored-by: Joe Previte <[email protected]> Co-authored-by: Asher <[email protected]>
OS/Web Information
code-server --version
: 3.9.2 109d2ceSteps to Reproduce
Expected
App opens.
Actual
Blank page.
Screenshot
Notes
Is most probably caused by following lines including quite recent RegExp syntax:
https://github.com/cdr/code-server/blob/f21433a130ab07db569a1ae43a04416e7ec306ba/lib/vscode/src/vs/editor/contrib/linesOperations/linesOperations.ts#L1060
Please either revert these lines (v3.9.0 it worked well) or make them more backwards-compatible (maybe feature check and fallback). Maybe, we can also consider this a bug in closure compiler as it should generate backwards-compatible code out of the box.
The text was updated successfully, but these errors were encountered: