Skip to content
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/Methods #66

Open
Thorin-Oakenpants opened this issue May 5, 2021 · 1 comment
Open

Private Fields/Methods #66

Thorin-Oakenpants opened this issue May 5, 2021 · 1 comment
Assignees

Comments

@Thorin-Oakenpants
Copy link
Contributor

Thorin-Oakenpants commented May 5, 2021

blurp: Hey, how do Private Fields and Private Methods work regards extensions vs scripts

i.e can an extension hide itself better, can script code protect itself from being manipulated?


someone else said: Hmmm...I don't think this would hide the extension's activity but it could protect classes from manipulation and hide internal fields/methods that do not appear native. I'm interested in trying this out.

@Thorin-Oakenpants
Copy link
Contributor Author

I wrote a test for this quite a few versions ago as a version check for some aspect of it, but then found out it's all behind a pref(s): haven't got it anymore, shouldn't be hard to whip one up and use a global var isPrivate (or something)

But I guess we need to do a live test on something to see what it can protect. Your assignments are stacking up bro :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants