Closed Bug 972391 Opened 11 years ago Closed 8 years ago

Marionette can't take a screenshot of the System frame

Categories

(Remote Protocol :: Marionette, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zcampbell, Unassigned)

Details

(Keywords: pi-marionette-server, Whiteboard: [screenshot][affects=b2g])

Attachments

(1 file)

Attached file test_case_1.py
Marionette has stopped being able to take screenshots of the system frame. Not sure of the regression range but possibly related to: https://bugzilla.mozilla.org/show_bug.cgi?id=874868 Command line test case, or test case to run using gaiatest and html-output. $ python Python 2.7.4 (default, Sep 26 2013, 03:20:26) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from marionette import Marionette >>> m = Marionette() >>> m.start_session() {u'rotatable': True, u'takesElementScreenshot': True, u'takesScreenshot': True, u'appBuildId': u'20140212040203', u'cssSelectorsEnabled': True, u'javascriptEnabled': True, u'XULappId': u'{3c2e2abc-06d4-11e1-ac3b-374f68613e61}', u'secureSsl': False, u'platform': u'ANDROID', u'browserName': u'B2G', u'version': u'30.0a1', u'device': u'msm7627a', u'b2g': True, u'nativeEvents': False, u'platformVersion': u'30.0a1', u'platformName': u'ANDROID', u'handlesAlerts': False} >>> m.switch_to_frame() True >>> m.screenshot() u'' >>> m.switch_to_frame(m.find_element('css selector', 'div.homescreen iframe')) True >>> m.screenshot() u'iVBORw0KGgoAAAANSUhEUgAAAUAAAAHMCAYAAACk4nEJAAAgAElEQVR4nOzdd1QU19/H8bEhgghi772ixhYboGIBe6/YNbFFjZqoMVETE2MDRbGjFBsoVlQQpEiVKlV6R3pZipX6fv5AiAjGBvrL43jO6wDD7N7ZL3c/e+fe2VXg9+qI/hv27dsnEokqkfCln9QiMQBFoi9FDMD/kC/dWUSi/2+EL30AIpFI9KWIASgSib5aYgCKRKKvlhiAIpHoqyUGoEgk+mqJASgSib5aYgCKRKKvlhiAIpHoqyUGoEgk+mqJASgSib5aYgCKRKKvlhiAIpHof8b+/fs5c+YMV65c4datW9y6dYsrV65w5swZ9u/fX+ntiQEoEom+uL1793Lu3Dns7e1xdXWtkL29PefOnWPv3r2V1q4YgCKR6IvS0tLi9u3bbw2+N92+fRstLa1KaVsMQJFI9MXs3buXO3fulBvpmZqaYmhoiKGhIaampuVGhnfu3KmU9is1APX19Tl69OgXLeixY8fQ1dX9LG0dPXr0s7X1OWlpaXHy5ElOnjxZJfMuIlGJs2fPlgm2K1euVDi609LS4sqVK2X2PXfu3Ce3/1EBqK2tzdGjR9HW1i7ddujQITIyMggMDPxixdTW1kYikXD16tV37quvr09ISAgGBgZV2tantvO56enpERMTw+PHj0lISCA+Ph59ff0vflyi/3/2799fZmT3Ps/b10PQwcHhk1+gPyoAjY2NkUgkHD9+vHSbjo4O6enpmJubV3nhTE1NOXv2bLntp06dQiKRvFfYnD59moCAgI9+cr9vW5/azucWFBSEv79/acc6e/ZsmRc6kaiy6OnplTntfZ8w09LSKhOaenp6n3QMHxWAt2/fJiMjo8xQ1dzcnMjIyEqbnPw3cXFxmJqaltt+6dIlJBIJhw4dqvJj+JxtfS4HDx5EIpFw7dq1L34sov//Ll++XObU931v9/oo8PLly590DB8VgPfv3ycuLq7MNn9//3KjMi0trTKjh+PHj5dLbG1tbc6cOfNec2na2tqlIy9DQ0O0tbXL3L+5uTlJSUmlPx89epQzZ868dU7hzZHNm9uOHTv21ttbWFiQmJhY+rOur
This shouldnt be related to bug 874868 since its just getting the sizes from the document. I suspect that someone has changed some security model somewhere.
Whiteboard: [screenshot]
Whiteboard: [screenshot] → [screenshot][affects=webqa]
This is still valid but probably effectively a dupe or resolved by resolution of bug 883294.
Whiteboard: [screenshot][affects=webqa] → [screenshot][affects=b2g]
Closing out B2G related bugs. If these still happen and are valuable, please reopen with details again and how this affects Desktop/Fennec
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: