Bug 846200 - Fix permission granting in reporting.py module; r=davehunt
authorKyle Machulis <kyle@nonpolynomial.com>
Fri, 29 Aug 2014 00:40:08 -0700
changeset 224091 ab60d3c61f55ecfdf29c430c740abbabb98e9e1c
parent 224090 3ecbe14009fbe0fbabc7a7f6cf0b41eeafe3f494
child 224092 50e7ed7a5a9f2811768820a54845a55317ff1840
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavehunt
bugs846200
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 846200 - Fix permission granting in reporting.py module; r=davehunt
testing/marionette/client/marionette/runner/mixins/reporting.py
--- a/testing/marionette/client/marionette/runner/mixins/reporting.py
+++ b/testing/marionette/client/marionette/runner/mixins/reporting.py
@@ -248,16 +248,17 @@ class HTMLReportingTestResultMixin(objec
         try:
             # TODO make screenshot consistant size by using full viewport
             # Bug 883294 - Add ability to take full viewport screenshots
             debug['screenshot'] = self.marionette.screenshot()
             debug['source'] = self.marionette.page_source
             self.marionette.switch_to_frame()
             debug['settings'] = json.dumps(self.marionette.execute_async_script("""
 SpecialPowers.addPermission('settings-read', true, document);
+SpecialPowers.addPermission('settings-api-read', true, document);
 var req = window.navigator.mozSettings.createLock().get('*');
 req.onsuccess = function() {
   marionetteScriptFinished(req.result);
 }""", special_powers=True), sort_keys=True, indent=4, separators=(',', ': '))
         except:
             pass
         return debug