Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Andreas Tolfsen 2d255984aa Bug 1213875 - Add ability to not scroll into view element on screen capture; r=whimboo
Implements a `scroll` argument for choosing the scroll into view behaviour
when taking screen captures of elements.

https://w3c.github.io/webdriver/webdriver-spec.html#take-element-screenshot

MozReview-Commit-ID: BOKBrKqQ916

--HG--
extra : rebase_source : 290f9a6a7c64c0f2932128679a84044138d96b6c
2016-12-20 14:30:48 +00:00
Andreas Tolfsen c48ea8d3bb Bug 1213875 - Lint arguments in capture module; r=whimboo
MozReview-Commit-ID: EowxaYVwMxm

--HG--
extra : rebase_source : e99562b1cc84b302b52eb66b6f8fe45649b19d4c
2016-12-20 14:26:58 +00:00
Henrik Skupin 260407fb18 Bug 1243415 - Make use of capture.js in chrome scope. r=automatedtester
The screenshot code in chrome scope is updated to use the generic capture module,
which is already used for content scope. By that change the code which captures
the canvas makes use of devicePixelRatio now. It means the screenshot will be
scaled depending on the screen configuration, eg. on Andoid this mostly 2.

MozReview-Commit-ID: EBKmJEKVXPQ

--HG--
extra : rebase_source : cd399eb3ee012516b218b9d1a5fd26422ebc9be0
2016-12-28 14:13:31 +01:00
Henrik Skupin 03cbd80428 Bug 1243415 - Capture methods should use the window as parameter. r=automatedtester
MozReview-Commit-ID: FfuCSPZtiex

--HG--
extra : rebase_source : fdbba7f7651ec650a5648211544a22480eb0eb3c
2016-12-05 18:27:15 +01:00
Carsten "Tomcat" Book ef7bd543e4 Backed out changeset e6091803e801 (bug 1243415) for wr test bustage 2016-12-16 12:32:47 +01:00
Carsten "Tomcat" Book 1c5c762785 Backed out changeset 1a07b3fcb30b (bug 1243415) 2016-12-16 12:32:23 +01:00
Henrik Skupin 685e8274c6 Bug 1243415 - Make use of capture.js in chrome scope. r=automatedtester
The screenshot code in chrome scope is updated to use the generic capture module,
which is already used for content scope. By that change the code which captures
the canvas makes use of devicePixelRatio now. It means the screenshot will be
scaled depending on the screen configuration, eg. on Andoid this mostly 2.

MozReview-Commit-ID: EBKmJEKVXPQ

--HG--
extra : rebase_source : 3d177eeac4935660f43727a20445a39fe78a2c45
2016-12-09 20:47:21 +01:00
Henrik Skupin df594e4cb3 Bug 1243415 - Capture methods should use the window as parameter. r=automatedtester
MozReview-Commit-ID: FfuCSPZtiex

--HG--
extra : rebase_source : 667966b1f728f2eb7e7b1a6a647c2c402f21a0c0
2016-12-05 18:27:15 +01:00
Thomas Charles acf2f9d4dd Bug 1316975 - Correct function definition style in Marionette components; r=ato
No functional changes.

MozReview-Commit-ID: 25cWAnpRB9H

--HG--
extra : rebase_source : c8b14bf47a476488568f54d3640b51bbeed5b04b
2016-12-04 12:42:52 +01:00
Kim Brown 3d3fc8c2d4 Bug 905650 - Added ability to get the hash of a screenshot; r=ato
MozReview-Commit-ID: 3NL7nkqpG6I

--HG--
extra : rebase_source : 1126849b99aaa622c402d350bc6d67ac192e4b7a
2016-04-17 21:37:14 -04:00
Andreas Tolfsen 30ee512caa Bug 1213797: Refactor screen capture and SVG document support
Errors thrown by takeScreenshot used to be silently ignored.  When the
command started using the new dispatching technique in bug 1202663,
it was surfaced we do not support taking screen captures of SVG documents.

Since this is a requirement for Web Platform Tests, this patch corrects
the wrong assumptions about document body and document element.

This patch also significantly refactors the screen capture code, but
only uses the new implementation in contnent space, since some further
modifications are required to use it in chrome.

r=dburns
r=jgriffin

--HG--
extra : commitid : DdCIEpd5PEJ
extra : rebase_source : 7357010f992d7f995765c685000892cc59d9ec9a
2015-10-13 16:52:26 +01:00