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

Do not pollute the global namespace #1401

Closed
arantius opened this issue Aug 19, 2011 · 1 comment
Closed

Do not pollute the global namespace #1401

arantius opened this issue Aug 19, 2011 · 1 comment
Milestone

Comments

@arantius
Copy link
Collaborator

Mozilla review of 0.9.9 said:

This version didn't pass full review because of the following issues ... you need to correct them to get full approval. Thanks.

  1. Your add-on creates the following non-namespaced variables in the global namespace, which could cause compatibility problems with other add-ons:
FileUtils NetUtil SCRIPT_ADDON_TYPE ScriptAddonFactoryByScript ScriptAddonReplaceScript
@arantius arantius reopened this Aug 19, 2011
@arantius
Copy link
Collaborator Author

Typed wrong ticket in the commit =( This is still open, #1400 was closed.

arantius pushed a commit to arantius/greasemonkey that referenced this issue Aug 22, 2011
Primary goal: reduce global-namespace pollution.
Also revamp GM_apiLeakCheck() to deal with the new paths involved.

Refs greasemonkey#1156 greasemonkey#1401
arantius pushed a commit to arantius/greasemonkey that referenced this issue Aug 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant