Commit Graph

4022 Commits

Author SHA1 Message Date
Ting-Yu Lin
b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

Differential Revision: https://phabricator.services.mozilla.com/D44870

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
Kershaw Chang
64b7f325a6 Bug 1577428 - Not allow nsICertOverrideService to be implemented in js r=keeler,ato
Differential Revision: https://phabricator.services.mozilla.com/D43931

--HG--
rename : security/manager/ssl/tests/unit/test_js_cert_override_service.js => security/manager/ssl/tests/unit/test_allow_all_cert_errors.js
extra : moz-landing-system : lando
2019-09-04 17:17:44 +00:00
Andreea Pavel
aa258365a2 Backed out changeset 2e0c2fea2799 (bug 1577428) linting doc failure on a CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_allow_all_cert_errors.js => security/manager/ssl/tests/unit/test_js_cert_override_service.js
2019-09-03 18:25:52 +03:00
Kershaw Chang
f7c12de97f Bug 1577428 - Not allow nsICertOverrideService to be implemented in js r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D43931

--HG--
rename : security/manager/ssl/tests/unit/test_js_cert_override_service.js => security/manager/ssl/tests/unit/test_allow_all_cert_errors.js
extra : moz-landing-system : lando
2019-09-02 17:03:38 +00:00
Dão Gottwald
cb8c8ab22c Bug 1575238 - Remove tabs-newtab-button class. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D42656

--HG--
extra : moz-landing-system : lando
2019-08-28 13:45:21 +00:00
Gurzau Raul
0b424003d3 Backed out 2 changesets (bug 1572687) for causing bug 1574837. CLOSED TREE
Backed out changeset 0c1fa26f2f67 (bug 1572687)
Backed out changeset 2b3e775a99cb (bug 1572687)
2019-08-28 12:52:25 +03:00
Henrik Skupin
d6c05078f8 Bug 1559592 - [marionette] Make use of the new Fission compatible screen capture API. r=webdriver-reviewers,ato,automatedtester
To allow Marionette to capture the content of OOP iframes, the
new Fission compatible screenshot API has to be used.

For callers requesting a read-back of the pixel data as
currently in the compositor/window, the 'drawWindow()'
method still has to be called.

Differential Revision: https://phabricator.services.mozilla.com/D40654

--HG--
extra : moz-landing-system : lando
2019-08-27 13:01:01 +00:00
Henrik Skupin
a4b63bd323 Bug 1559592 - [marionette] Take screenshots for content in parent process. r=webdriver-reviewers,ato,automatedtester
This moves all the screenshot related code from the framescript to
the parent process, so that canvas.js is no longer called from
within a content process.

The remaining code in the framescript is only needed to compute
the dimensions of the screenshot, and from all the to highlight
elements.

This move is necessary to allow switching to the new drawSnapshot
API which only works from within the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D40209

--HG--
extra : moz-landing-system : lando
2019-08-27 13:08:24 +00:00
Henrik Skupin
438d627e3d Bug 1559592 - [marionette] Remove unit tests for screenshot flags. r=webdriver-reviewers,ato
On Android there is no focus ring drawn, and in general it depends
on the visibility of the caret, which constantly blinks. As such
intermittent and perma failures can always occur. Best is to just
remove this flaky test.

Differential Revision: https://phabricator.services.mozilla.com/D42493

--HG--
extra : moz-landing-system : lando
2019-08-26 07:38:03 +00:00
Henrik Skupin
399acd6e93 Bug 1559592 - [marionette] Change test_capture_full_area to capture an opened dialog. r=webdriver-reviewers,automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D42372

--HG--
extra : moz-landing-system : lando
2019-08-26 07:37:44 +00:00
Henrik Skupin
c9b01104ed Bug 1575511 - [marionette] Remove feature to highlight elements in screenshots. r=webdriver-reviewers,ato
The feature was used in the past to highlight broken elements for l10n
specific tests. Given that those tests don't exist anymore (for already
a long time) the highlight feature doesn't have to be kept alive.

Also it isn't covered by the WebDriver spec, and as such a custom feature
which is not worth keeping its code working. Especially with the Fission
work upcoming.

Differential Revision: https://phabricator.services.mozilla.com/D42823

--HG--
extra : moz-landing-system : lando
2019-08-21 12:42:25 +00:00
Mark Banner
b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

Differential Revision: https://phabricator.services.mozilla.com/D37268

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
Henrik Skupin
25ed81e808 Bug 1330560 - [marionette] Temporarily skip TestScreenCaptureContent.test_capture_flags on Windows. r=webdriver-reviewers,jgraham
Temporarily skip on Windows to get the new screenshot API landed.
Given that this change makes this failure permanent it should be
easier for investigation after its landing.

Differential Revision: https://phabricator.services.mozilla.com/D42322

--HG--
extra : moz-landing-system : lando
2019-08-16 15:50:11 +00:00
James Graham
7c7b78d948 Bug 1574225 - Pass fuzzy information to reftest chains, r=ato
We were incorrectly failing to put all the data onto the comparison stack
when handling nested reftests. Ensure that we do this correctly.

Differential Revision: https://phabricator.services.mozilla.com/D42284

--HG--
extra : moz-landing-system : lando
2019-08-16 09:48:31 +00:00
Henrik Skupin
0529daadd3 Bug 1573406 - Remove every trace of Firefox UI update tests. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D41834

--HG--
extra : moz-landing-system : lando
2019-08-14 11:08:45 +00:00
Nicholas Nethercote
3aa9f46986 Bug 1572336 - Merge marionette.js into all.js. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41151

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Henrik Skupin
be6262e3b7 Bug 1572687 - [marionette] Disable the GFX sanity window. r=webdriver-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D41357

--HG--
extra : moz-landing-system : lando
2019-08-12 14:21:44 +00:00
Brendan Dahl
0a8d6f243d Bug 1551344 - Part 2: Update outdated comments referencing XULDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D41239

--HG--
extra : moz-landing-system : lando
2019-08-09 17:47:41 +00:00
Henrik Skupin
9cd23a9635 Bug 1571659 - [marionette] Explain why certain flags for drawWindow() cannot be used right now. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D40819

--HG--
extra : moz-landing-system : lando
2019-08-07 21:00:58 +00:00
Henrik Skupin
57747db95b Bug 1571659 - [marionette] Simplify logic for fullscreen screenshots. r=webdriver-reviewers,ato
The patch makes the code for handling screenshots in the driver and
listener module easier to understand. Also it sets the default values
for optional arguments once, which doesn't require duplicated code
for the listener anymore.

Further there was a bug which treated the "full" parameter with a
higher priority as an element, if both are defined.

Differential Revision: https://phabricator.services.mozilla.com/D40818

--HG--
extra : moz-landing-system : lando
2019-08-07 21:00:46 +00:00
championshuttler
ca9164e8bd Bug 1536103 - Fix Sphinx Warning for not referenced hyperlinks. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39057

--HG--
extra : moz-landing-system : lando
2019-07-28 12:08:11 +00:00
Coroiu Cristina
d087a820d0 Backed out changeset 4dab6e3dc6ed (bug 1377335) on request by whimboo 2019-08-06 16:43:25 +03:00
Henrik Skupin
6773494087 Bug 1377335 - [marionette] Re-enable DRAWWINDOW_DRAW_VIEW and DRAWWINDOW_USE_WIDGET_LAYERS flags for screen captures. r=webdriver-reviewers,ato
All dependencies are fixed, or no longer reproducible. As such both
flags can be re-enabled. Also reftests won't have to specify the
exactly same flags on its own anymore.

Differential Revision: https://phabricator.services.mozilla.com/D40395

--HG--
extra : moz-landing-system : lando
2019-08-02 11:09:02 +00:00
Henrik Skupin
a52b45bb8b Bug 1563040 - [marionette] Call window.focus() directly for the newly opened window. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D36873

--HG--
extra : moz-landing-system : lando
2019-08-02 06:32:21 +00:00
James Graham
a445961de2 Bug 1563358 - Report pixel differences as part of message in wpt reftests, r=maja_zf
Instead of reporting the pixel differences in a logger info message,
put it in the text that's returned to the harness. This has a notable
advantage on android where this will cause it to be logged as part of
the harness logs rather than ending up in the logcat from the
device. It also makes these messages more accessible in other
consumers of the logs e.g. wpt.fyi.

Differential Revision: https://phabricator.services.mozilla.com/D40064

--HG--
extra : moz-landing-system : lando
2019-08-01 09:26:37 +00:00
Gurzau Raul
a86cf65c2c Backed out changeset f5f5cbb377ac (bug 1563358) for eslint failure at /marionette/reftest.js on a CLOSED TREE. 2019-08-01 00:23:04 +03:00
James Graham
7334076e31 Bug 1563358 - Report pixel differences as part of message in wpt reftests, r=maja_zf
Instead of reporting the pixel differences in a logger info message,
put it in the text that's returned to the harness. This has a notable
advantage on android where this will cause it to be logged as part of
the harness logs rather than ending up in the logcat from the
device. It also makes these messages more accessible in other
consumers of the logs e.g. wpt.fyi.

Differential Revision: https://phabricator.services.mozilla.com/D40064

--HG--
extra : moz-landing-system : lando
2019-07-31 17:02:36 +00:00
James Graham
027befb9ba Bug 1568991 - Ensure marionette event listeners are isolated from content, r=ato,bzbarsky
Internal marionette listeners should neither be visible to content
script, nor have their registation affected by changes made in
content. The evaluate method was breaking these constraints by
creating listeners in a sandbox with Xrays disabled, which is
appropriate to the injected script itself but not to the
harness-internal parts.

Use a different sandbox for the harness code compared to the injected
code, and move away from using onunload to using addEventListener for
the unload handler.

Differential Revision: https://phabricator.services.mozilla.com/D39522

--HG--
extra : moz-landing-system : lando
2019-07-29 08:48:50 +00:00
Daniel Varga
ddd3e9f4f5 Backed out changeset 0eaeadceac47 (bug 1563040) requested by whimboo 2019-07-22 12:52:29 +03:00
Johann Hofmann
45612e42a9 Bug 1567824 - Add browser.contentblocking.introCount back to marionette.js and geckoinstance.py. r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D38841

--HG--
extra : moz-landing-system : lando
2019-07-22 07:57:25 +00:00
Eric Rahm
e5c0d07b49 Bug 1525338 - Limit context menu behavior to macOS. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D38259

--HG--
extra : moz-landing-system : lando
2019-07-20 14:46:39 +00:00
Dão Gottwald
5e619a09bf Bug 1567406 - Use ids instead of classes for urlbar-input and urlbar-scheme. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D38631

--HG--
extra : moz-landing-system : lando
2019-07-19 13:22:23 +00:00
Narcis Beleuzu
576655be99 Backed out changeset bcc9b5692630 (bug 1525338) for wpt failure on actionsWithKeyPressed.html . CLOSED TREE 2019-07-19 00:21:00 +03:00
Eric Rahm
2e0b92ba20 Bug 1525338 - Limit context menu behavior to macOS. r=maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D38259

--HG--
extra : moz-landing-system : lando
2019-07-17 21:42:56 +00:00
Dão Gottwald
6b7e2645f9 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 11:34:21 +00:00
Mihai Alexandru Michis
b7d205a80b Backed out changeset 3504c0b3f87c (bug 1513337) for marionette failures CLOSED TREE 2019-07-17 14:02:05 +03:00
Dão Gottwald
16f78d8e06 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 09:20:41 +00:00
Coroiu Cristina
0882dc9bf4 Backed out changeset cf34b2e8ac53 (bug 1513337) for test client failure 2019-07-17 12:12:21 +03:00
Dão Gottwald
9fce0b69a1 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-17 07:38:18 +00:00
Brindusan Cristian
ea007979ee Backed out changeset a7c14ebfcd4d (bug 1513337) for telemetry failures at test_event_ping.py. CLOSED TREE 2019-07-16 17:22:21 +03:00
Dão Gottwald
d4258708f3 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191

--HG--
extra : moz-landing-system : lando
2019-07-16 10:26:04 +00:00
Byron Campen [:bwc]
5fe8caac32 Bug 1555792: Add --setpref option to many test types r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37503

--HG--
extra : moz-landing-system : lando
2019-07-11 15:06:38 +00:00
Dão Gottwald
0e5e8bf0c3 Bug 1562274 - Remove the PopupAutoCompleteRichResult panel. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37549

--HG--
extra : moz-landing-system : lando
2019-07-11 12:15:30 +00:00
Johann Hofmann
a23cc83a46 Bug 1564367 - Remove the content blocking UI tour. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37384

--HG--
extra : moz-landing-system : lando
2019-07-11 10:29:17 +00:00
Alex Catarineu
a8b667f825 Bug 467035 - Avoid leaking browser language via DTD r=Gijs,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D34187

--HG--
extra : moz-landing-system : lando
2019-07-08 10:47:05 +00:00
Victor Porof
2b036e45c5 Bug 1561435 - Format testing/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35962

--HG--
extra : source : c0948f31e520ca087279cf429ca5f1db5a8341b8
2019-07-05 11:01:24 +02:00
Victor Porof
34da32ec3c Bug 1558517 - Pre 3.1: Change conflicting "camelcase" rule which would fail after running Prettier, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34695

--HG--
extra : source : 078747ad644246551a165a176a691e0440553c85
extra : intermediate-source : 3b39b237ae3c49eb6c9d56a2ef8bfb5134b878da
2019-06-12 11:43:25 +02:00
Victor Porof
b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Henrik Skupin
7e4d19b009 Bug 1563040 - [marionette] Call window.focus() directly for the newly opened window. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D36873

--HG--
extra : moz-landing-system : lando
2019-07-04 09:05:11 +00:00
Samuel Thibault
102e3a2ebb Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102

--HG--
extra : moz-landing-system : lando
2019-06-27 14:09:05 +00:00