Bug 1331899 - Capture the full viewport for reftest screenshots, r=gsnedders
authorJames Graham <james@hoppipolla.co.uk>
Thu, 12 Jan 2017 19:03:29 +0000
changeset 377415 e3eb95a2fa40d6ff908041ef9a4e395363279299
parent 377414 e019af713fb2688e3b9614716111c3bd89320881
child 377416 2f984d729523af6bdcbfd4d1b624658b7e6cbd0a
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgsnedders
bugs1331899
milestone53.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 1331899 - Capture the full viewport for reftest screenshots, r=gsnedders MozReview-Commit-ID: H3k1ckIWBCD
testing/web-platform/harness/wptrunner/executors/executormarionette.py
--- a/testing/web-platform/harness/wptrunner/executors/executormarionette.py
+++ b/testing/web-platform/harness/wptrunner/executors/executormarionette.py
@@ -505,17 +505,17 @@ class MarionetteRefTestExecutor(RefTestE
                              test_url,
                              timeout).run()
 
     def _screenshot(self, marionette, url, timeout):
         marionette.navigate(url)
 
         marionette.execute_async_script(self.wait_script)
 
-        screenshot = marionette.screenshot()
+        screenshot = marionette.screenshot(full=False)
         # strip off the data:img/png, part of the url
         if screenshot.startswith("data:image/png;base64,"):
             screenshot = screenshot.split(",", 1)[1]
 
         return screenshot
 
 
 class WdspecRun(object):