James Graham
e41402f389
Bug 1644395 - Marionette support for wpt print reftests, r=marionette-reviewers,hiro,maja_zf
...
Render print reftests to a PDF using the printing machinary, and use
pdf.js from gecko itself to convert the PDF to an image for pixel
comparisons.
For the surrounding reftest machinery, the main change here is that we
convert reftests to work in terms of lists of images rather than a
single image. For normal reftests we only have a single image in the
list; for print reftests we can have several (one per page). This is
implemented in terms of iterators to avoid unnecessary renders when
the test fails on an earlier page.
Differential Revision: https://phabricator.services.mozilla.com/D79081
2020-06-23 10:00:26 +00:00
Narcis Beleuzu
a0c8ce672c
Backed out 4 changesets (bug 1644395) for bc failures on browser_all_files_referenced.js . CLOSED TREE
...
Backed out changeset 582c1dd945ca (bug 1644395)
Backed out changeset 9dbba532a700 (bug 1644395)
Backed out changeset 59e998eb5e59 (bug 1644395)
Backed out changeset 035ddba4a4d9 (bug 1644395)
2020-06-23 00:56:49 +03:00
James Graham
0f3012f362
Bug 1644395 - Marionette support for wpt print reftests, r=marionette-reviewers,hiro,maja_zf
...
Render print reftests to a PDF using the printing machinary, and use
pdf.js from gecko itself to convert the PDF to an image for pixel
comparisons.
For the surrounding reftest machinery, the main change here is that we
convert reftests to work in terms of lists of images rather than a
single image. For normal reftests we only have a single image in the
list; for print reftests we can have several (one per page). This is
implemented in terms of iterators to avoid unnecessary renders when
the test fails on an earlier page.
Differential Revision: https://phabricator.services.mozilla.com/D79081
2020-06-22 13:44:06 +00:00
Gijs Kruitbosch
222e2d1158
Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Henrik Skupin
78376254f1
Bug 1645763 - [marionette] Disable idle-daily notifications to avoid expensive operations. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D79667
2020-06-15 19:02:00 +00:00
Peter Major
79f7ca9e8b
Bug 1606439
- [marionette] Add sameSite cookie support. r=whimboo,marionette-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D62499
2020-06-12 21:11:21 +00:00
Dão Gottwald
7e9799c2c7
Bug 1643606 - Remove remnants of the toolkit.cosmeticAnimations.enabled pref. r=Gijs,remote-protocol-reviewers,marionette-reviewers,extension-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D78462
2020-06-08 16:03:51 +00:00
Bogdan Tara
9967cc1593
Backed out changeset 85e00462788d (bug 1484927) on whimboo's request CLOSED TREE
2020-06-08 19:01:35 +03:00
Henrik Skupin
8e5362bfee
Bug 1519335 - [marionette] Use the BrowsingContext id instead of outerWindowID. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D77282
2020-06-05 06:10:25 +00:00
Henrik Skupin
fc87fca76a
Bug 1519335 - [marionette] Simplify frame handling in listener.js. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D77281
2020-06-05 06:09:27 +00:00
Henrik Skupin
724cd2e454
Bug 1519335 - [marionette] Don't override current container for temporary frames in framescript. r=marionette-reviewers,maja_zf
...
Under certain situations the content implementation for
"WebDriver:SwitchToFrame" will update the global container
state even if it's a temporary frame element only.
That means that the original container is lost in case
the switch to the given frame cannot be completed, and
the container is left behind with an invalid frame.
Differential Revision: https://phabricator.services.mozilla.com/D77280
2020-06-05 06:09:14 +00:00
Henrik Skupin
ff19692031
Bug 1519335 - [marionette] Add unsigned short validity check for id parameter of WebDriver:SwitchToFrame. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D77279
2020-06-05 06:08:59 +00:00
Jonathan Watt
32ee1770fe
Bug 1642328. Marionette's print.printToFile takes a MozBrowser, not an nsIFrameLoader. r=jgraham,marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D77666
2020-06-02 18:42:26 +00:00
Bob Clary
ae77912472
Bug 1641649 - Moar Python 3 support updates for Marionette harness. r=marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D77347
2020-06-04 14:13:01 +00:00
Bogdan Tara
6b3e9fd483
Backed out 4 changesets (bug 1519335) for causing a spike in bug 1641788, per whimboo's request CLOSED TREE
...
Backed out changeset 80a0c09b0211 (bug 1519335)
Backed out changeset 315a7ffd643b (bug 1519335)
Backed out changeset 7c82cbd6f034 (bug 1519335)
Backed out changeset f84fa4157d90 (bug 1519335)
2020-06-03 18:34:46 +03:00
Henrik Skupin
420d41344c
Bug 1519335 - [marionette] Use the BrowsingContext id instead of outerWindowID. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D77282
2020-06-02 20:16:52 +00:00
Henrik Skupin
ea82b092ed
Bug 1519335 - [marionette] Simplify frame handling in listener.js. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D77281
2020-06-02 16:20:47 +00:00
Henrik Skupin
3346c35aa2
Bug 1519335 - [marionette] Don't override current container for temporary frames in framescript. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D77280
2020-06-02 14:07:26 +00:00
Henrik Skupin
43aa188e2d
Bug 1519335 - [marionette] Add unsigned short validity check for id parameter of WebDriver:SwitchToFrame. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D77279
2020-06-02 14:07:26 +00:00
Andrea Marchesini
5ccae203ff
Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-02 13:49:27 +00:00
Csoregi Natalia
e960b9f449
Backed out 7 changesets (bug 1640405, bug 1638358) for failures on browser_webconsole_network_messages_status_code.js. CLOSED TREE
...
Backed out changeset ef5f7479ddf8 (bug 1640405)
Backed out changeset 286e0c83eb30 (bug 1638358)
Backed out changeset 89e396b2896e (bug 1638358)
Backed out changeset 33ad5fa05209 (bug 1638358)
Backed out changeset d213264c1379 (bug 1638358)
Backed out changeset 6bc05236afb4 (bug 1638358)
Backed out changeset 87e9d0ed3982 (bug 1638358)
2020-06-02 15:16:42 +03:00
Andrea Marchesini
b4173bc59e
Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-02 09:13:51 +00:00
Razvan Maries
79fe28f0d6
Backed out 6 changesets (bug 1638358) for perma failures on browser_webconsole_navigate_to_parse_error.js. CLOSED TREE
...
Backed out changeset beb85cf281d5 (bug 1638358)
Backed out changeset 39f2e21623aa (bug 1638358)
Backed out changeset 2c873c72bf1f (bug 1638358)
Backed out changeset e91292c7c719 (bug 1638358)
Backed out changeset 0219ef931cd9 (bug 1638358)
Backed out changeset 4ac06f3992f4 (bug 1638358)
2020-06-02 00:24:46 +03:00
Andrea Marchesini
848f1f0043
Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 17:59:13 +00:00
Noemi Erli
e40be0aa72
Backed out 6 changesets (bug 1638358) for causing failures in test_Chrome_cookies.js CLOSED TREE
...
Backed out changeset 4e8fbe01aa38 (bug 1638358)
Backed out changeset 532731e94bb2 (bug 1638358)
Backed out changeset fad2ba760157 (bug 1638358)
Backed out changeset 932a3fdbd07c (bug 1638358)
Backed out changeset 05a62901a3f5 (bug 1638358)
Backed out changeset cddeada5c4a6 (bug 1638358)
2020-06-01 19:45:46 +03:00
Andrea Marchesini
165022b2c4
Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 11:43:19 +00:00
Dorel Luca
9574e25c80
Backed out 6 changesets (bug 1638358) for XPCShell failures in netwerk/cookie/test/unit/test_schemeMap.js. CLOSED TREE
...
Backed out changeset 745eab35e851 (bug 1638358)
Backed out changeset a45df1876e37 (bug 1638358)
Backed out changeset 1a85cc92d2fb (bug 1638358)
Backed out changeset 2156294cb158 (bug 1638358)
Backed out changeset 31101054c52c (bug 1638358)
Backed out changeset d284b50551ab (bug 1638358)
2020-06-01 14:38:22 +03:00
Andrea Marchesini
d1c11476f6
Bug 1638358 - Cookie Schemeful Same-Site - part 3 - update add/addNative methods, r=mayhemer,remote-protocol-reviewers,marionette-reviewers,maja_zf,MattN,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D75627
2020-06-01 10:28:51 +00:00
Randell Jesup
14824861f5
Bug 1569928: Disable testing crash of content processes in marionette temporarily r=whimboo,gsvelto,marionette-reviewers
...
Note that Bug 1602757 makes this basically a perma-fail
Differential Revision: https://phabricator.services.mozilla.com/D76861
2020-05-30 14:39:06 +00:00
Narcis Beleuzu
4e6564f9f0
Backed out 7 changesets (bug 1602757, bug 1640801, bug 1612063, bug 1569928) for wpt failures on operator-dictionary-spacing-002/003/006.html CLOSED TREE
...
Backed out changeset 11277f03c48c (bug 1640801)
Backed out changeset 6d2a92d25b8f (bug 1569928)
Backed out changeset 383fd9b931ae (bug 1602757)
Backed out changeset 58ec60831af6 (bug 1602757)
Backed out changeset 4b9c579de3b2 (bug 1602757)
Backed out changeset a34288a6f60c (bug 1612063)
Backed out changeset 5134aaa3278e (bug 1602757)
2020-05-29 05:38:02 +03:00
Randell Jesup
c89b3b3d8e
Bug 1569928: Disable testing crash of content processes in marionette temporarily r=whimboo,gsvelto,marionette-reviewers
...
Note that Bug 1602757 makes this basically a perma-fail
Differential Revision: https://phabricator.services.mozilla.com/D76861
2020-05-28 21:37:35 +00:00
Narcis Beleuzu
0d860681b7
Backed out 6 changesets (bug 1602757, bug 1612063, bug 1569928) for wpt failure on operator-dictionary-spacing-001.html . CLOSED TREE
...
Backed out changeset 0f9c7960f36e (bug 1569928)
Backed out changeset 9456c9f960c9 (bug 1602757)
Backed out changeset 8dc7e11dbb9c (bug 1602757)
Backed out changeset 8bacf5ad656e (bug 1602757)
Backed out changeset b15fc1090ac7 (bug 1612063)
Backed out changeset bd19c329c6b7 (bug 1602757)
2020-05-28 21:29:25 +03:00
Randell Jesup
91d9f2c1a5
Bug 1569928: Disable testing crash of content processes in marionette temporarily r=whimboo,gsvelto,marionette-reviewers
...
Note that Bug 1602757 makes this basically a perma-fail
Differential Revision: https://phabricator.services.mozilla.com/D76861
2020-05-28 14:34:00 +00:00
Jean-Yves Avenard
710b7ac9c2
Bug 1637869
- P5. Fix test. r=mattwoodrow,marionette-reviewers,nika,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D76578
2020-05-28 04:07:15 +00:00
Bob Clary
684bd88a60
Bug 1640249 - Make marionette Python2/Python3 compatible. r=marionette-reviewers,maja_zf,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D76648
2020-05-27 19:21:07 +00:00
Bob Clary
ac2fe501e3
Bug 1595814 - work around marionette dependency on private classes in Python2 unittest/case.py, r=whimboo,marionette-reviewers,maja_zf.
...
Differential Revision: https://phabricator.services.mozilla.com/D76494
2020-05-27 05:19:46 +00:00
James Graham
d558e083cc
Bug 1638839 - Factor marionette print support into its own file, r=marionette-reviewers,whimboo
...
This is a prelude to reusing it for the print-reftest support.
Differential Revision: https://phabricator.services.mozilla.com/D75827
2020-05-25 19:02:52 +00:00
Hamzah
863d186226
Bug 1597187 - Remove setting of "datareporting.healthreport.about.reportUrl" preference from Marionette r=marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D75287
2020-05-14 17:03:35 +00:00
Kashav Madan
3832280977
Bug 1635904 - Manually set the <browser>'s remote type before initiating a new load, r=mattwoodrow,jgraham,marionette-reviewers,whimboo
...
DocumentLoadListener doesn't know how to process-switch top-level loads for
non-tabbed browsers, so this ensures that the load happens in the correct
process.
Differential Revision: https://phabricator.services.mozilla.com/D74272
2020-05-11 19:36:52 +00:00
Chris H-C
6487e9a4c0
Bug 1632535 - Support asking Marionette for a os-supplied port number r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D73897
2020-05-07 14:38:08 +00:00
Ricky Stewart
2826536581
Bug 1632920
- Fix Python 3 incompatibilities in Marionette code r=marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D72477
2020-05-05 21:42:14 +00:00
Ian Moody
011b59d595
Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
...
Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
of `new Error()`s.
This was done automatically with a new eslint rule that will be introduced in
the next commit. One instance of a raw Cr.ERROR was not replaced since it is
used in a test that specifically checks the preservation of raw Cr values in
XPCJS. The rule will be disabled for that instance.
Differential Revision: https://phabricator.services.mozilla.com/D28073
2020-05-05 17:41:36 +00:00
Bogdan Tara
f137fa0613
Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920
) for SA bustages CLOSED TREE
...
Backed out changeset 332ce0963b4e (bug 1633039)
Backed out changeset a9904cbc40d9 (bug 1633037)
Backed out changeset d06b0ec349f8 (bug 1599658)
Backed out changeset 8fd300cad80f (bug 1633016)
Backed out changeset f8820941c703 (bug 1632916)
Backed out changeset ac9c2c8746ed (bug 1632920
)
2020-05-02 01:49:29 +03:00
Ricky Stewart
b664506da9
Bug 1632920
- Fix Python 3 incompatibilities in Marionette code r=marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D72477
2020-04-28 05:58:16 +00:00
Gijs Kruitbosch
7073bb6903
Bug 1634075 - back out changeset 0aa77ee04caa (bug 1583696) over regressions with overly long non-wrapping prompt text and visual appearance with lightweight themes, r=MattN
...
Things that were broken:
- prompts become unreadable when using dark-background lwthemes, because they
keep the window text-shadow (due to the namespace change of tabmodalprompt)
- prompts with long text without word-wrap possibilities
(e.g. `alert("x".repeat(1000))`) cause the text to escape its container.
Differential Revision: https://phabricator.services.mozilla.com/D73131
2020-04-29 20:30:37 +00:00
jayati
0881978969
Bug 1620438 - Remove references to extensions.webservice.discoverURL. r=robwu,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D71203
2020-04-27 14:36:04 +00:00
Henrik Skupin
9f8c78de2f
Bug 1619481 - [marionette] IdlePromise should not hang when underlying window gets closed. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D72109
2020-04-27 14:26:19 +00:00
Henrik Skupin
2c673399f4
Bug 1632556 - [marionette] "navigator.webdriver" has to reflect the enabled state of Marionette. r=marionette-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D72387
2020-04-24 17:25:33 +00:00
Tim Nguyen
5a254f3623
Bug 1632092 - Rename all XUL namespace variables to XUL_NS. r=Gijs,marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D71913
2020-04-24 09:23:52 +00:00
Tim Nguyen
059c4f1854
Bug 1583696 - Remove XUL grid from toolkit/components/prompts/content/tabprompts.jsm. r=MattN,marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D61442
2020-04-23 09:48:17 +00:00