Skip to content

Commit

Permalink
Add a comment to explain the extensions.enabledScopes pref
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-c committed Dec 16, 2015
1 parent ce067ce commit bc5438d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/tests/testSelenium.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ function startBrowser() {
profile.acceptUntrustedCerts();
profile.setPreference('security.turn_off_all_security_so_that_viruses_can_take_over_this_computer', true);
profile.setPreference('extensions.checkCompatibility.nightly', false);
// Only allow installation of third-party addons from the user's profile dir (needed to block the third-party
// installation prompt for the Ubuntu Modifications addon on Ubuntu).
profile.setPreference('extensions.enabledScopes', 1);
//profile.setPreference('dom.push.debug', true);
//profile.setPreference('browser.dom.window.dump.enabled', true);
Expand Down

0 comments on commit bc5438d

Please sign in to comment.