Commit Graph

73 Commits

Author SHA1 Message Date
Matt Woodrow
ccad9d3fc8 Bug 1414033 - Recursively invalidate any cached ContainerLayer surfaces for new attached Layers, since they might have been moved and we don't track invalid areas within them. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29452

--HG--
extra : moz-landing-system : lando
2019-05-02 21:00:30 +00:00
Noemi Erli
15d9c099fb Backed out changeset 10a025aed3d4 (bug 1414033) for failing in opacity-keep-intermediate-surface-too-long.html 2019-05-02 06:05:10 +03:00
Matt Woodrow
6fe6d1d590 Bug 1414033 - Recursively invalidate any cached ContainerLayer surfaces for new attached Layers, since they might have been moved and we don't track invalid areas within them. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29452

--HG--
extra : moz-landing-system : lando
2019-05-02 01:14:46 +00: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
Miko Mynttinen
6606aea17f Bug 1454653 - Do not skip transparent items in ContainerState::FindOpaqueBackgroundColorInLayer() r=mattwoodrow
MozReview-Commit-ID: NGnL8r9x0U

--HG--
extra : rebase_source : d782eae5bcb8873eff7ccf564c48067cfb97ff2b
2018-04-23 17:33:16 +02:00
Emilio Cobos Álvarez
48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Ryan Hunt
eb27ee5903 Add a reftest (bug 1409871, r=mstange)
MozReview-Commit-ID: 9UxLeFGZW8E

--HG--
extra : amend_source : 8a465617d209183e6744324a01f763282832596b
2017-11-05 10:05:14 -06:00
Kartikaya Gupta
2072043f8f Bug 1403559 - Remove random-if(webrender) annotations for layers-specific reftests and instead skip the layers checks in the reftest harness. r=mstange
MozReview-Commit-ID: 8Xtx3aGIx8

--HG--
extra : rebase_source : 60c22211bc4baeb3292ec76fee6e4c59b9ca105d
2017-09-27 10:12:10 -04:00
Sebastian Hengst
a0684d483d Backed out changeset 5572e837e2d0 (bug 1403559) 2017-09-27 20:19:11 +02:00
Kartikaya Gupta
ecd18443a0 Bug 1403559 - Remove random-if(webrender) annotations for layers-specific reftests and instead skip the layers checks in the reftest harness. r=mstange
MozReview-Commit-ID: 8Xtx3aGIx8

--HG--
extra : rebase_source : 3d4a95e85ef6dc361f832ad0fc2160e5dcce5f55
2017-09-27 10:12:10 -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
Chris Peterson
3e9e421167 Bug 1394603 - Replace random-if(styloVsGecko) with skip-if. r=jryans
Running individual random tests might still be useful for finding crashes or assertion failures, but there is no need to run the styloVsGecko visual comparison tests if the results are random.

MozReview-Commit-ID: Brz6zf25lCO

--HG--
extra : rebase_source : 74b453e952da2710f069afc6b8d8017a4ec021dd
extra : source : 95dc8a8a752d1a1ac05e026115aff319fc27e772
2017-09-03 21:05:29 -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
502148b819 Bug 1394603 - Replace random-if(styloVsGecko) with skip-if. r=jryans
Running individual random tests might still be useful for finding crashes or assertion failures, but there is no need to run the styloVsGecko visual comparison tests if the results are random.

MozReview-Commit-ID: Brz6zf25lCO

--HG--
extra : rebase_source : 2a86191ce8ecd77ce502237c5217ae4b30fe1574
2017-09-03 21:05:29 -07:00
Alexis Beingessner
40257daf45 Bug 1368120 - Randomize gecko layer tests when using webrender. r=kats
MozReview-Commit-ID: EdYsFUXbxpB
2017-08-23 12:00:57 -04:00
Sebastian Hengst
a3269fc9a9 Backed out changeset fd12674b1d25 (bug 1368120)
MozReview-Commit-ID: Bdfw2wj3k1t
2017-07-15 16:24:37 +02:00
Alexis Beingessner
0c4b898c8b Bug 1368120 - Randomize gecko layer tests when using webrender. r=kats
MozReview-Commit-ID: 7KAI36RWUqK

--HG--
extra : rebase_source : 41999c5ad8a9890fc2bc3702cfc3f20d770dc03a
2017-05-18 13:22:27 -04:00
Kartikaya Gupta
f2e0962ebb Bug 1339474 - Enable APZ in QuantumRender builds. r=jrmuizel
All reftests that are still failing with APZ enabled are annotated with
a bug number that is tracking the fix.

MozReview-Commit-ID: 8QU15LHVy1t

--HG--
extra : rebase_source : 71908ca38e96e0f6f5a341605e70c3f6670b9237
2017-06-19 15:46:38 -04:00
Kartikaya Gupta
887e56701a Bug 1374317 - Mark some layers-specific tests as random-if when WebRender is enabled. r=mstange
MozReview-Commit-ID: R1RNok4Def

--HG--
extra : rebase_source : 553fa5d15684b6fd33c1b03c3e81aa90abdc3eb1
2017-06-19 14:13:33 -04:00
Morris Tseng
ac08691ee1 Bug 1354463 - Set fails-if for opaque layer check fail. r=kats
This is because in original gecko, canvas background color will merge to
painted layer with other display items. When advanced canvas background
color is enabled, the "other display items" won't be merged with canvas
background color. Which means the layers that are generated by those
display items may not be opaque. So set fails-if to those tests.

MozReview-Commit-ID: 1WbMU8pGtTC

--HG--
extra : rebase_source : c7bc417cde65ece8589d733a63d4a6e1a161d1fe
2017-06-06 11:37:49 +08:00
Shing Lyu
5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Hiroyuki Ikezoe
43a902cb19 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
extra : amend_source : 6ee8241b984e300386da617fa9304b288989fdb7
2017-05-04 06:39:30 +09:00
Shing Lyu
435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst
ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Shing Lyu
dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Kartikaya Gupta
b1573d9a13 Bug 1344947 - Update reftest.list files with new webrender results. r=jrmuizel
MozReview-Commit-ID: 8F8ZetpBUUY
2017-03-13 13:03:24 -04:00
Ethan Lin
d5cec4a364 Bug 1340798 - Backout the change in bug 1337885 since it causes many reftest failures. r=jerry 2017-02-20 18:35:47 +08:00
Kartikaya Gupta
f62b8b3b3f Merge m-c to graphics
MozReview-Commit-ID: IN2hMCjMHLL

--HG--
rename : browser/components/extensions/test/browser/browser_ext_url_overrides.js => browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillContent.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHandler.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHeuristics.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/content/FormAutofillFrameScript.js
rename : browser/themes/shared/devedition/urlbar-history-dropmarker.svg => browser/themes/shared/compacttheme/urlbar-history-dropmarker.svg
rename : config/tests/makefiles/autodeps/check_mkdir.tpy => config/tests/makefiles/autodeps/check_mkdir.py
rename : dom/bindings/MozMap.h => dom/bindings/Record.h
rename : dom/bindings/parser/tests/test_mozmap.py => dom/bindings/parser/tests/test_record.py
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp => dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.h => dom/media/platforms/wrappers/MediaDataDecoderProxy.h
rename : dom/tests/mochitest/general/test_interfaces.html => dom/tests/mochitest/general/test_interfaces.js
rename : dom/workers/test/test_navigator.html => dom/workers/test/test_navigator.js
rename : js/src/jsautokw.py => js/src/frontend/GenerateReservedWords.py
rename : js/src/vm/Keywords.h => js/src/frontend/ReservedWords.h
rename : layout/base/RestyleManager.cpp => layout/base/GeckoRestyleManager.cpp
rename : layout/base/RestyleManager.h => layout/base/GeckoRestyleManager.h
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002-ref.xht => layout/reftests/bugs/1313772-ref.xhtml
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002.xht => layout/reftests/bugs/1313772.xhtml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/deny_public_fields/Cargo.toml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/domobject_derive/Cargo.toml
rename : servo/components/plugins/lints/ban.rs => servo/components/script_plugins/ban.rs
rename : servo/components/plugins/jstraceable.rs => servo/components/script_plugins/jstraceable.rs
rename : servo/components/plugins/lib.rs => servo/components/script_plugins/lib.rs
rename : servo/components/plugins/lints/unrooted_must_root.rs => servo/components/script_plugins/unrooted_must_root.rs
rename : servo/components/plugins/utils.rs => servo/components/script_plugins/utils.rs
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex-manual.html
rename : testing/web-platform/tests/preload/link_header_preload_delay_onload.html.headers => testing/web-platform/tests/preload/link-header-preload-delay-onload.html.headers
rename : testing/web-platform/tests/preload/link_header_preload.html.headers => testing/web-platform/tests/preload/link-header-preload.html.headers
rename : services/sync/tests/unit/test_extension_storage_crypto.js => toolkit/components/extensions/test/xpcshell/test_ext_storage_sync_crypto.js
rename : toolkit/components/telemetry/TelemetryComms.h => toolkit/components/telemetry/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.h => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h
extra : amend_source : 7411c39541f0b530b4b94cf359dc73e385abea4d
2017-02-17 23:33:24 -05:00
Ethan Lin
95faae248b Bug 1337885 - Update the valid region in WebRenderPaintedLayer and mark related tests as passing. r=rhunt 2017-02-17 19:17:43 +08:00
Jeff Muizelaar
831a168a7f Bug 1335799 - Update reftest annotations for webrender. r=kats
MozReview-Commit-ID: DBviifcrLHT
2017-02-14 13:34:15 -05:00
Kartikaya Gupta
2c58155ac0 Merge m-c to graphics
MozReview-Commit-ID: EcjJhQuqDFI
2017-02-05 10:39:54 -05:00
Kartikaya Gupta
6ab3d0e923 Bug 1298218 - Follow-up to skip APZ-requiring reftests if APZ is not present. r=mstange
MozReview-Commit-ID: JvL1gs3GU4m
2017-02-03 14:15:56 -05:00
Kartikaya Gupta
6580d884b2 Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Ryan Hunt
3fe2c02ee1 Merge m-c to graphics 2017-01-27 10:07:37 -06:00
David Anderson
ef0d2650f7 Add tests that the GPU process is running. (bug 1333684, r=mattwoodrow)
--HG--
extra : rebase_source : 436bcdaba4019040ce36a53e60f15a90e0131df7
2017-01-26 16:26:10 -08:00
Ethan Lin
8788183d92 Bug 1330574 - Part2. Mask some reftests as passing after fix WebRenderContainerLayer overflow rect. r=kats 2017-01-13 17:28:00 +08:00
Kartikaya Gupta
7b465d5ffe Bug 1324679 - Mark various reftests as passing. r=gfx?
162 reftests that were previously failing are now passing, and one that was
previously passing is now failing. Sounds like a good tradeoff.

MozReview-Commit-ID: Imw9m2NcD1c
2016-12-20 09:40:28 -05:00
Kartikaya Gupta
33e6a345a0 Bug 1322817 - Mark reftests failing on WR builds as fails-if(webrender). r=gfx?
This patch was generated using a script and failure logs from a try push, so
whitespace formatting may not be the same as a human would do. The intent is to
fix many of these failures before merging back to m-c.

MozReview-Commit-ID: Etdx9LlWkLX
2016-12-14 16:41:20 -05:00
Markus Stange
e8cd8c0f25 Bug 1298218 - Tests. r=mattwoodrow
MozReview-Commit-ID: LW4I9M5OXc9

--HG--
extra : rebase_source : c10230e406a57d301ce19a9f0d34fe6dd1a65afa
2016-09-07 23:19:09 -04:00
Bobby Holley
a5a9ed88a7 Bug 1331322 - Tweak some fuzzy annotations. r=bholley
MozReview-Commit-ID: ERcDYiwUaS7

--HG--
extra : rebase_source : 9f55e89371bbd9d803182ecbdb9f9de2d5fee6e5
2017-02-15 23:42:38 -08:00
Markus Stange
b26de4a29a Bug 1153694 - Don't let nsDisplayFixedPosition cause unnecessary layerization around itself. r=mattwoodrow
MozReview-Commit-ID: 66q3PkOdvTe

--HG--
extra : rebase_source : cc7abd074a210bc03daef403c23a40ff4b681f3e
extra : amend_source : c58e6b96a2f8a88ae0e221ec51927825a4f07bbb
extra : histedit_source : 520123d9dc28c504cff5d534c9df30b0319fa423%2C0b4523e5cfc9c20d8196c837f8c6c20a23dd984e
2016-06-02 20:55:02 -04:00
Markus Stange
e475933648 Bug 1266161 - Make DrawForcedBackgroundColor fill the entire draw region, not just the layer's visible region. r=mattwoodrow
We need to do this because the entire draw region will be added to the layer's
valid region after drawing. If there are parts in the valid region that are not
in the visible region, we still need those parts to have valid content, because
in a later frame the visible region may grow to include those parts.

MozReview-Commit-ID: 6zESYbPAmrx

--HG--
extra : rebase_source : 24078d1ff802e53a2eb8895d2c5ffd1fe9507f04
2016-05-06 13:53:56 -04:00
Lee Salzman
ca8c96a592 Bug 1252324 - add DrawTarget API for 3D transforms for use in layers. r=jrmuizel 2016-03-23 01:03:10 -04:00
Geoff Brown
3c73a0f0ec Bug 1257948 - More Android test manifest cleanup; r=jmaher 2016-03-22 07:22:43 -06:00
Matt Woodrow
4bbe4fd01d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-22 09:06:58 +13:00
Markus Stange
b22db3eab2 Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
--HG--
extra : commitid : 1j8QG2b0rIG
extra : rebase_source : 027065697e7e0ef445d8bcf7a81cf0270dcf7b8b
2015-12-22 16:54:19 +01:00
Carsten "Tomcat" Book
27bbe6ec93 Backed out changeset 68b33692bed3 (bug 1147673) 2015-12-16 11:52:37 +01:00
Markus Stange
bf668586d7 Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
--HG--
extra : commitid : 7KbOQKKSVq5
extra : rebase_source : d23daf86ed8d375bd5ab3ed7dfe3cff80bc0ff4c
extra : histedit_source : cce4ded91f0672142796a852d20d052e7b6247ce
2015-12-12 10:58:37 -05:00
Matt Woodrow
c6cace0590 Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-24 18:33:59 -04:00
Phil Ringnalda
10cf9b120c Back out changeset e18e75437c6e (bug 1204106) for Android 4.0 API11+ debug reftest-5 opacity-blending.html failures 2015-09-17 20:30:09 -07:00