-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Private fields and methods support #913
Private fields and methods support #913
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks promising!
Hi @fabiosantoscode I just wanted to know when you can review this pr. Feel free to let me know what I can do to push this forward or anything that I can do to make the review easier. Thank you! |
Hey there! I totally missed your updates. This is looking pretty good, and it even has support for private optional properties. I think it's good to merge! |
Amazing, thank you! No problem, github notifications can be a bit overwhelming sometimes! |
https://chromium-review.googlesource.com/c/chromium/src/+/4218203 WebUI: Roll Terser to v5.16.2 The existing version of Terser is 2 years old (5.3.3) and does not support features like static initialization blocks. No size changes were observed in the Print Preview and Settings .rollup.js files. polymer_bundled.min.js was observed to slightly decrease in size (~30 bytes) when regenerated with reproduce.sh. Bug: 1412524 Change-Id: I0f5d58ac18f3a50cfedc095b278445122d33c5c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4218203 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/main@{#1100754} --- The reason we need this is because `terser` that chromium used is too old and it doesn’t support [Private fields and methods](terser/terser#913) so that is why we will see [this](https://bravesoftware.slack.com/archives/C7VLGSR55/p1675990758314239) on Android release build due to `_strip_resource_files = is_android && is_official_build` in `//tools/grit/grit_rule.gni`
https://chromium-review.googlesource.com/c/chromium/src/+/4218203 WebUI: Roll Terser to v5.16.2 The existing version of Terser is 2 years old (5.3.3) and does not support features like static initialization blocks. No size changes were observed in the Print Preview and Settings .rollup.js files. polymer_bundled.min.js was observed to slightly decrease in size (~30 bytes) when regenerated with reproduce.sh. Bug: 1412524 Change-Id: I0f5d58ac18f3a50cfedc095b278445122d33c5c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4218203 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/main@{#1100754} --- The reason we need this is because `terser` that chromium used is too old and it doesn’t support [Private fields and methods](terser/terser#913) so that is why we will see [this](https://bravesoftware.slack.com/archives/C7VLGSR55/p1675990758314239) on Android release build due to `_strip_resource_files = is_android && is_official_build` in `//tools/grit/grit_rule.gni`
https://chromium-review.googlesource.com/c/chromium/src/+/4218203 WebUI: Roll Terser to v5.16.2 The existing version of Terser is 2 years old (5.3.3) and does not support features like static initialization blocks. No size changes were observed in the Print Preview and Settings .rollup.js files. polymer_bundled.min.js was observed to slightly decrease in size (~30 bytes) when regenerated with reproduce.sh. Bug: 1412524 Change-Id: I0f5d58ac18f3a50cfedc095b278445122d33c5c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4218203 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/main@{#1100754} In addition, we need https://chromium-review.googlesource.com/c/chromium/src/+/4160349 and https://chromium-review.googlesource.com/c/chromium/src/+/4214416, otherwise we won't have a matching node_modules.tar.gz.sha1 --- The reason we need this is because `terser` that chromium used is too old and it doesn’t support [Private fields and methods](terser/terser#913) so that is why we will see [this](https://bravesoftware.slack.com/archives/C7VLGSR55/p1675990758314239) on Android release build due to `_strip_resource_files = is_android && is_official_build` in `//tools/grit/grit_rule.gni`
https://chromium-review.googlesource.com/c/chromium/src/+/4218203 WebUI: Roll Terser to v5.16.2 The existing version of Terser is 2 years old (5.3.3) and does not support features like static initialization blocks. No size changes were observed in the Print Preview and Settings .rollup.js files. polymer_bundled.min.js was observed to slightly decrease in size (~30 bytes) when regenerated with reproduce.sh. Bug: 1412524 Change-Id: I0f5d58ac18f3a50cfedc095b278445122d33c5c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4218203 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/main@{#1100754} In addition, we need https://chromium-review.googlesource.com/c/chromium/src/+/4160349 and https://chromium-review.googlesource.com/c/chromium/src/+/4214416, otherwise we won't have a matching node_modules.tar.gz.sha1 --- The reason we need this is because `terser` that chromium used is too old and it doesn’t support [Private fields and methods](terser/terser#913) so that is why we will see [this](https://bravesoftware.slack.com/archives/C7VLGSR55/p1675990758314239) on Android release build due to `_strip_resource_files = is_android && is_official_build` in `//tools/grit/grit_rule.gni`
…ooglesource.com/c/chromium/src/+/4218203) in a less invasive way by pointing it to brave local terser. Otherwise we will have to also cherry-pick https://chromium-review.googlesource.com/c/chromium/src/+/4160349 and https://chromium-review.googlesource.com/c/chromium/src/+/4214416 otherwise we won't have a matching node_modules.tar.gz.sha1 --- The reason we need this is because `terser` that chromium used is too old and it doesn’t support [Private fields and methods](terser/terser#913) so that is why we will see [this](https://bravesoftware.slack.com/archives/C7VLGSR55/p1675990758314239) on Android release build due to `_strip_resource_files = is_android && is_official_build` in `//tools/grit/grit_rule.gni`
* Revert "Revert "On demand loading wallet-standard" (#17131)" This reverts commit 1e3bae9. * Cherry-pick [WebUI: Roll Terser to v5.16.2](https://chromium-review.googlesource.com/c/chromium/src/+/4218203) in a less invasive way by pointing it to brave local terser. Otherwise we will have to also cherry-pick https://chromium-review.googlesource.com/c/chromium/src/+/4160349 and https://chromium-review.googlesource.com/c/chromium/src/+/4214416 otherwise we won't have a matching node_modules.tar.gz.sha1 --- The reason we need this is because `terser` that chromium used is too old and it doesn’t support [Private fields and methods](terser/terser#913) so that is why we will see [this](https://bravesoftware.slack.com/archives/C7VLGSR55/p1675990758314239) on Android release build due to `_strip_resource_files = is_android && is_official_build` in `//tools/grit/grit_rule.gni`
This PR fixes #702.