Commit Graph

106 Commits

Author SHA1 Message Date
Mihai Alexandru Michis
761fb3a596 Backed out changeset c68a6b2e0157 (bug 1557371) for causing failures in reftest/content/bugs/272646-1.xul CLOSED TREE 2019-07-02 06:01:31 +03:00
Brendan Dahl
c5fbaae97e Bug 1557371 - Part 1 - Load all XUL reftests with chrome privilege. r=dbaron
This will have two benefits:

1) Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case.

2) Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.

One test (404149-1.xul) is now disabled, since it fails when loaded as
chrome. Bug 1557383 was filed to address this.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 00:04:12 +00:00
Brian Grinstead
787d9413a8 Bug 1500626 - Convert <menuitem> bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D9322

--HG--
extra : moz-landing-system : lando
2019-05-02 19:28:18 +00:00
Brian Grinstead
4663e6262a Bug 1448213 - Migrate label-control to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D5686

--HG--
extra : moz-landing-system : lando
2019-04-23 20:16:46 +00:00
Emilio Cobos Álvarez
88a1b27597 Bug 1546046 - Remove support for XBL resources. r=TYLin
So much unsound code going away :-)

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:43:15 +00:00
Bogdan Tara
ec489aa170 Backed out changeset e85cb54e5944 (bug 1546046) complementary backout after 1470880 was backed out CLOSED TREE 2019-04-23 06:55:29 +03:00
Alexander Surkov
63c8f7ae98 Bug 1519514 - make xul/mac-tab-toolbar.xul test running under chrome privileges r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D28367

--HG--
extra : moz-landing-system : lando
2019-04-22 21:24:24 +00:00
Emilio Cobos Álvarez
daef6a8b67 Bug 1546046 - Remove support for XBL resources. r=TYLin
So much unsound code going away :-)

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

--HG--
extra : moz-landing-system : lando
2019-04-22 21:57:22 +00:00
violet
995f337626 Bug 1524901 - Should not set SVG viewport to intrinsic size when painting background image r=longsonr
When an SVG is used as a CSS background-image, we previously used the same behavior as
a normal image. It will stretch if the background-size is incompatible with the intrinsic
size of the SVG. This is a webcompat issue.

Now we use the painting destination rect size instead to avoid stretching.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 01:05:02 +00:00
Glenn Watson
e920cc3f6a Bug 1533236 - Add a fast path to WR for common gradient types. r=kvark
The existing linear gradient shader is quite slow, especially
on very large gradients on integrated GPUs.

The vast majority of gradients in real content are very simple
(typically < 4 stops, no angle, no repeat). For these, we can
run a fast path to persist a small gradient in the texture cache
and draw the gradient via the image shader.

This is _much_ faster than the catch-all gradient shader, and also
results in better batching while drawing the main scene.

In future, we can expand the fast path to handle more cases, such
as angled gradients. For now, it takes a conservative approach,
but still seems to hit the fast path on most real content.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 21:20:40 +00:00
Brian Grinstead
db663b11af Bug 1508446 - Require that [accesskey] gets set on <xul:label> to enable formatting without referencing a binding parent;r=paolo
Previously, if the accesskey attribute was missing then the label would reach up
to binding parent to find it's accesskey. In practice, bindings already do
[xbl:inherits=accesskey] to send it down to the label anyway.

The problem with this is that for controls without accesskeys, the attribute doesn't get set,
so the label will access the control from JS. This is fine for XBL, since typically
the label XBL will construct at the same time as the control, but when migrating
to Custom Elements, the label gets connected even when the control is hidden.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 16:41:47 +00:00
Dão Gottwald
4ba5a12fb0 Bug 1446168 - Load tabbox.css as a document stylesheet. r=bgrins 2018-08-24 17:33:12 +02:00
Tim Nguyen
aba9258317 Bug 1469287 - Implement new shared tree styling. r=dao
MozReview-Commit-ID: r4rU9rDKNG

--HG--
rename : toolkit/themes/linux/global/tree.css => toolkit/themes/shared/tree.inc.css
extra : rebase_source : 2ca5d9cad696bb38c24ffccd4b9c4292dde17218
2018-06-27 11:22:27 +01:00
L. David Baron
1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

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

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
Emilio Cobos Álvarez
dc8f531c74 Bug 1480054: Restrict XUL tree pseudos on nightly and early-beta. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2598

MozReview-Commit-ID: I1dUPuGKkyX
2018-08-06 15:41:24 +02:00
Margareta Eliza Balazs
235bf9e602 Backed out 2 changesets (bug 1480054) for reftest failures in build/tests/reftest/tests/layout/reftests/bugs/664127-1.xul on a CLOSED TREE
Backed out changeset 854bba84bd34 (bug 1480054)
Backed out changeset 37861e92aa13 (bug 1480054)
2018-08-06 14:09:07 +03:00
Emilio Cobos Álvarez
5cf3be97df Bug 1480054: Enable the pref in treetwisty-svg-context-paint-1.xul. r=me
MozReview-Commit-ID: Lt1nH1rotFA
2018-08-06 11:41:20 +02:00
Emilio Cobos Álvarez
85dc56828a Bug 1480054: Restrict XUL tree pseudos on nightly and early-beta. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2598

MozReview-Commit-ID: I1dUPuGKkyX
2018-08-06 10:36:49 +02:00
Joel Maher
5bff4baed5 Bug 1392106 - random-if many tests on win7 to avoid missing letters. r=RyanVM 2018-05-23 13:06:50 -04:00
Kartikaya Gupta
32a1261d0d Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 22:42:51 -04:00
Andreea Pavel
8daddd690f Backed out 2 changesets (bug 1322845) for failing reftest background-repeat-large-area.html == background-repeat-large-area-ref.html on a CLOSED TREE
Backed out changeset 4fd46cd822bf (bug 1322845)
Backed out changeset abd41b3e63e7 (bug 1322845)
2018-05-09 05:13:08 +03:00
Kartikaya Gupta
93650c1b04 Bug 1322845 - Update reftest annotations for WebRender on macOS. r=Gankro
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 20:39:51 -04:00
Timothy Guan-tin Chien
5515df7c99 Bug 1459646 - Always flip the resizer with CSS transform r=dao
Having the native theme widget to flip its own direction turned out to be
something not needed anymore, and it interfere with the CSS rule we set to
flip non-native SVG background.

This patch turned that off and always flips the resizer with CSS transform.

MozReview-Commit-ID: EbjTfFpJpZ0

--HG--
rename : layout/reftests/forms/textarea/resize-ref.html => layout/reftests/forms/textarea/resize-rtl-ref.html
rename : layout/reftests/forms/textarea/resize.html => layout/reftests/forms/textarea/resize-rtl.html
extra : rebase_source : a319698cea6c8460aaed23948e20b0757cec686e
2018-05-07 15:05:26 -07:00
Timothy Guan-tin Chien
c0b090a350 Bug 1457722 - Don't flip resizer twice in RTL-locales r=dao
MozReview-Commit-ID: 6k2AyozxJB9

--HG--
rename : layout/reftests/native-theme/resizer-bottomleft.xul => layout/reftests/native-theme/resizer-bottomleft-rtl.xul
rename : layout/reftests/native-theme/resizer-bottomright.xul => layout/reftests/native-theme/resizer-bottomright-rtl.xul
rename : layout/reftests/xul/resizer-bottomleft.xul => layout/reftests/xul/resizer-bottomleft-rtl.xul
rename : layout/reftests/xul/resizer-bottomright.xul => layout/reftests/xul/resizer-bottomright-rtl.xul
extra : rebase_source : 252aea92ad5bbfa5a8f01aca91c4cbb15bc716bc
2018-05-01 14:12:13 -07:00
Timothy Guan-tin Chien
d84752434e Bug 1457435 - Higher maxDiff for resizer SVG image matching r=dao
MozReview-Commit-ID: DBkQAdKREng

--HG--
extra : rebase_source : ce083a49db7310d9553eabb87fc6b7c8d7f35ccb
2018-04-27 08:03:04 -07:00
Timothy Guan-tin Chien
c594214666 Bug 1450017 - Part IX, Move resizer style rules to minimal-xul.css and unify non-native resizer style r=dao
MozReview-Commit-ID: LEodr0aTPkM

--HG--
extra : rebase_source : 92c1b404ebbe64324f63ccbe1878575ae0309604
extra : source : a56127f3a7ed207da2a160362eb1bcf01bf31522
2018-04-10 21:31:25 +08:00
Timothy Guan-tin Chien
eb0872ad04 Bug 1450017 - Part III, Replace direction: rtl with localedir="rtl" in resizer reftests r=enndeakin+6102
This change would bring the tests closer to the real world scenario

MozReview-Commit-ID: 9fslEo8w8Zi

--HG--
extra : rebase_source : 9abe57b41929e0f5184f5c5ee724e27abc157cf9
extra : source : a38a84f76fb90a6b66288cb9bb59d6b869fe81cd
2018-04-10 08:02:41 +08:00
Timothy Guan-tin Chien
3741529478 Bug 1450017 - Part II, Reftest for non-native-theme resizer r=enndeakin+6102
This set of tests, copied from native-theme resizer reftests, ensure
the style of non-native-theme resizer.

MozReview-Commit-ID: 52miLT8h7Xe

--HG--
rename : layout/reftests/native-theme/blank-window.xul => layout/reftests/xul/blank-window.xul
rename : layout/reftests/native-theme/resizer-bottomend-flipped.xul => layout/reftests/xul/resizer-bottomend-flipped.xul
rename : layout/reftests/native-theme/resizer-bottomend-rtl.xul => layout/reftests/xul/resizer-bottomend-rtl.xul
rename : layout/reftests/native-theme/resizer-bottomend.xul => layout/reftests/xul/resizer-bottomend.xul
rename : layout/reftests/native-theme/resizer-bottomleft.xul => layout/reftests/xul/resizer-bottomleft.xul
rename : layout/reftests/native-theme/resizer-bottomright.xul => layout/reftests/xul/resizer-bottomright.xul
rename : layout/reftests/native-theme/resizer-bottomstart-rtl.xul => layout/reftests/xul/resizer-bottomstart-rtl.xul
rename : layout/reftests/native-theme/resizer-bottomstart.xul => layout/reftests/xul/resizer-bottomstart.xul
rename : layout/reftests/native-theme/resizer-left.xul => layout/reftests/xul/resizer-left.xul
extra : rebase_source : c7fa4de0666c91c2a6a53a15b76f1baf056cfd2c
extra : intermediate-source : 0e194e1220c7b359c5ee358409d6103fe64cbc04
extra : source : 7fe89d34b1af6fa36f6b3966a25ed6eecfdc87b1
2018-04-04 15:56:07 +08:00
Tim Nguyen
441318a537 Bug 1450101 - Fix Android intermittent on XUL twisty test. r=dholbert
MozReview-Commit-ID: BoqkDueTPHH

--HG--
extra : rebase_source : cf25215acdfc8d8b80ace19a0fdb5269dea0e0ba
2018-03-29 22:29:47 +00:00
Tim Nguyen
9458999c51 Bug 1449118 - Force SVGs to load when running the twisty reftest. r=dholbert
MozReview-Commit-ID: HxU0B0Bxwgp

--HG--
extra : rebase_source : dabe4a34d31de13b7d2d42d054463ccef3020913
2018-03-28 21:38:31 +00:00
Tim Nguyen
ce07ff6857 Bug 1381453 - Support SVG context paint on ::-moz-tree-twisty list-style-image. r=dholbert
MozReview-Commit-ID: E9966Bwog5W

--HG--
extra : rebase_source : 03c52902209811ccde4b9c6359042cc34af0438f
2018-03-27 00:08:16 +00:00
Xidorn Quan
b378bc1325 Bug 1417138 part 2 - Enable stylo-chrome by default. r=bholley
MozReview-Commit-ID: D19QBD4nqWf

--HG--
extra : rebase_source : 614ee44f14447ad6719b5c1c55073a736da88533
extra : source : 8e0394db471fdc75cdee12013944ed9a2873cd62
2018-02-13 16:30:43 +11:00
Csoregi Natalia
ddab1c3b47 Backed out 2 changesets (bug 1417138) for failing test_message_manager_ipc.html on Android. CLOSED TREE
Backed out changeset 0264b78fe72b (bug 1417138)
Backed out changeset c559b013b025 (bug 1417138)
2018-02-16 20:37:36 +02:00
Xidorn Quan
e6e1ebf367 Bug 1417138 part 2 - Enable stylo-chrome by default. r=bholley
MozReview-Commit-ID: D19QBD4nqWf

--HG--
extra : rebase_source : 614ee44f14447ad6719b5c1c55073a736da88533
extra : source : 8e0394db471fdc75cdee12013944ed9a2873cd62
2018-02-13 16:30:43 +11:00
Noemi Erli
106264f662 Backed out changeset dd4694fdd87b (bug 1417138) followup- backout for failing in slave/test/build/tests/reftest/tests/layout/reftests/xul/menulist-shrinkwrap-2.xul r=xidorn on a CLOSED TREE 2018-02-16 05:20:51 +02:00
Xidorn Quan
6d2340b741 Bug 1417138 followup - Update reftest manifest for stylo-chrome. 2018-02-16 11:16:48 +11:00
Brian Grinstead
2214548e2c Bug 1416493 - Remove the menuseparator XBL binding;r=Gijs
Key accessibility off of the tag name instead of the role attribute
and load styles in global.css instead of <resources>

MozReview-Commit-ID: Epv0rHHzbz0

--HG--
extra : rebase_source : 2239c8ccca8d899b4c4144faab7212f120f00e23
2017-11-22 13:47:09 -08:00
Xidorn Quan
ffd1cf2956 Bug 1417220 - Force re-resolve style for doc element when binding requires so. r=emilio
MozReview-Commit-ID: DdbpZnk7tCZ

--HG--
extra : rebase_source : 4672e37ea037d07651cd5cf5a136b9a38fedb3f2
2017-11-15 15:39:29 -08:00
Xidorn Quan
2797a4fa56 Bug 1408811 - Update test expectation for this bug. r=emilio
on a CLOSED TREE

MozReview-Commit-ID: H4glCWmL2vc
2017-10-24 21:16:52 +02:00
Xidorn Quan
72eecf2abd Bug 1408235 part 3 - Update test expectation for this bug. r=heycam
MozReview-Commit-ID: 2p0BAlW9Asc

--HG--
extra : source : 7a9582ad6d089b8a1db112461efb43fed4a60dfa
2017-10-21 11:02:34 +11:00
Xidorn Quan
712cec8d27 Bug 1397644 part 2 - Remove test annotations for this bug. r=emilio
MozReview-Commit-ID: 3JbqY0UMTuh

--HG--
extra : source : c7eff47660a88d702a3c8daea692faadac95e024
2017-10-20 21:31:13 +11:00
Xidorn Quan
f8417f280d Bug 1407847 followup - Annotate more tests.
MozReview-Commit-ID: pH7fUbJU62

--HG--
extra : rebase_source : 584fd230c0524a122c3478d505f16c5b3823df2d
2017-10-16 23:03:54 +11:00
Xidorn Quan
fd467033f9 Bug 1407847 - Enable stylo for XUL document without system principal and annotate failures accordingly. r=heycam
MozReview-Commit-ID: KcJxloT2rR8

--HG--
extra : rebase_source : 8943efaa7afbf1bc74ac85ca103a52e2f4d1b1a4
2017-10-12 10:43:38 +11:00
Kartikaya Gupta
922c91a3bb Bug 1359242 - Update reftest annotations. r=jrmuizel
MozReview-Commit-ID: 7l9eWfzWhw5

--HG--
extra : rebase_source : 4e9fc023a18c8f427e36e737dcc1ab6ad830d5cc
2017-09-28 10:40:08 -04:00
Kartikaya Gupta
818cfd7499 Bug 1389000 - Update reftest annotations for layers-free results. r=jrmuizel
This patch:
- adds fails-if annotations for all the reftests that were consistently failing
  with layers-free turned on.
- removes fails-if or reduces the range on fuzzy-if annotations for all
  the reftests that were producing UNEXPECTED-PASS results with
  layers-free turned on.
- adds skip-if, random-if, or fuzzy-if annotations to the reftests that
  were intermittently failing due to timeout, obvious incorrectness, or
  slight pixel differences, respectively.

MozReview-Commit-ID: A0Aknn6rnjj

--HG--
extra : rebase_source : 420d9cf43f23a5d654fa36eec69138937d13c173
2017-09-26 14:49:19 -04:00
Ethan Lin
d7080a817c Bug 1393077 - Part3. Modify annotations for affected testcases. r=kats
MozReview-Commit-ID: EjqMbrO1wNe

--HG--
extra : rebase_source : a6d0728f483d52147ea9e0464cadf39f026d07d3
2017-09-06 16:30:28 +08:00
Chris Peterson
ce7edc4de1 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 22bb5d4e3c5138ef832995eaf5716824f4707ffe
extra : source : d40fb20c9a49d0797c0eeae613a04912b12a28f7
2017-09-01 20:39:44 -07:00
Phil Ringnalda
75f9cdbd7e Backed out 3 changesets (bug 1394603) for reftest syntax error
CLOSED TREE

Backed out changeset 44117208f321 (bug 1394603)
Backed out changeset 31088c59d895 (bug 1394603)
Backed out changeset 20551d68f602 (bug 1394603)

MozReview-Commit-ID: 4F4jSQ8GyfG
2017-09-06 22:48:55 -07:00
Chris Peterson
2d629378b2 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 0c307639c3626af3b6b43e05d3ee73d08b3f47ce
2017-09-01 20:39:44 -07:00
J. Ryan Stinnett
c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00