Lines Matching full:extensions
7 This module is a simple qa tool that installs extensions and tests whether the
10 Usage: python extensions.py -v
12 Note: This assumes that there is a directory of extensions called
13 'extensions-tool' and that there is a file of newline-separated urls to visit
27 """Access options in extensions page (chrome://extensions-frame)."""
29 _URL = 'chrome://extensions-frame'
86 """Test of extensions."""
101 def _ReturnCrashingExtensions(self, extensions, group_size, top_urls):
102 """Returns the group of extensions that crashes (if any).
104 Install the given extensions in groups of group_size and return the
105 group of extensions that crashes (if any).
108 extensions: A list of extensions to install.
109 group_size: The number of extensions to install at one time.
113 The extensions in the crashing group or None if there is no crash.
116 num_extensions = len(extensions)
121 logging.debug('New group of %d extensions.', group_size)
123 for extension in extensions[curr_extension:group_end]:
131 crashing_extensions = extensions[curr_extension:group_end]
132 logging.debug('Crashing extensions: %s', crashing_extensions)
135 # If the browser has crashed, return the extensions in the failing group.
144 # Uninstall all extensions that aren't installed by default.
152 # None of the extensions crashed.
155 def _GetExtensionInfoById(self, extensions, id):
156 for x in extensions:
162 """Add top extensions; confirm browser stays up when visiting top urls."""
164 extensions_dir = os.path.join(self.DataDir(), 'extensions-tool')
190 """Installs extension at extensions/|crx_file| and checks default status.
195 crx_file: Relative path from self.DataDir()/extensions to .crx extension
202 os.path.join(self.DataDir(), 'extensions', crx_file))
217 key: The key for which the extensions info value is required.
220 The value of extensions info |key| for |ext_id|.
231 The value of extensions settings newAllowFileAccess for |ext_id|.
233 extension_settings = self.GetPrefsInfo().Prefs()['extensions']['settings']
319 extension_settings = self.GetPrefsInfo().Prefs()['extensions']['settings']