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

29 Коммитов

Автор SHA1 Сообщение Дата
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
Boris Zbarsky 1312fcd10f Bug 1476145 part 5. Stop using getInterface(nsIDOMWindowUtils) in DOM code. r=mccr8 2018-07-24 19:47:41 -04:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Peter Van der Beken ec6e052af1 Bug 1389406 - XSLT — nested xsl:apply-imports doesn't work in some cases. r=erahm.
Use separate classes for parameter and variable maps, and refcount the class for parameter
maps, since a parameter map can be stored in multiple places.

--HG--
extra : rebase_source : 56cc22349a8e03925e3d7446528dd70456117f52
2017-09-12 12:45:24 +02: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
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
Matt Brubeck 0c70ae6c1d Bug 1349651 - stylo: Implement HasAuthorSpecifiedRules. r=bholley
MozReview-Commit-ID: 8ta5KqKzncZ

--HG--
extra : rebase_source : 3ec29f283dc6bfec4d2a1676ab3f78296893d94b
2017-05-10 13:11:36 -07:00
Hiroyuki Ikezoe 751ec1a2f7 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
2017-05-04 06:39:30 +09:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08: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
Sebastian Hengst f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08: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
Manish Goregaokar 260e308c26 Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
MozReview-Commit-ID: 6wg32flypt7
2017-02-19 14:03:48 -08:00
Sebastian Hengst a793db28eb Backed out changeset 2d887234705f (bug 1338936) 2017-02-19 10:37:16 +01:00
Manish Goregaokar a6f7209030 Bug 1338936 - Part 4: stylo: Update reftest results; r=emilio
MozReview-Commit-ID: 6wg32flypt7
2017-02-18 21:57:58 -08:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack 35486c881a Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Shing Lyu 39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Shing Lyu 11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Sebastian Hengst 41d0a78bc2 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/tests. r=RyanVM
MozReview-Commit-ID: 83L2jqWhzZe

--HG--
extra : rebase_source : 58c7339e13a0abdb3da2c6ccd2dc424b51869b08
2016-11-05 11:29:18 +01:00
Manish Goregaokar 63e75ca24b Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
MozReview-Commit-ID: 9rKqASXgKZH

--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Mason Chang b4c228baec Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar 2016-02-16 09:07:52 -08:00
Birunthan Mohanathas 3c2870571f Bug 1103651 - Move content/test/reftest into dom/tests/. r=mrbkap
--HG--
rename : content/test/reftest/bug427779-ref.xml => dom/tests/reftest/bug427779-ref.xml
rename : content/test/reftest/bug427779.xml => dom/tests/reftest/bug427779.xml
rename : content/test/reftest/bug439965-ref.html => dom/tests/reftest/bug439965-ref.html
rename : content/test/reftest/bug439965.html => dom/tests/reftest/bug439965.html
rename : content/test/reftest/bug453105-ref.html => dom/tests/reftest/bug453105-ref.html
rename : content/test/reftest/bug453105.html => dom/tests/reftest/bug453105.html
rename : content/test/reftest/bug456008-ref.html => dom/tests/reftest/bug456008-ref.html
rename : content/test/reftest/bug456008.xhtml => dom/tests/reftest/bug456008.xhtml
rename : content/test/reftest/bug559996-iframe.html => dom/tests/reftest/bug559996-iframe.html
rename : content/test/reftest/bug559996-ref-iframe.html => dom/tests/reftest/bug559996-ref-iframe.html
rename : content/test/reftest/bug559996-ref.html => dom/tests/reftest/bug559996-ref.html
rename : content/test/reftest/bug559996.html => dom/tests/reftest/bug559996.html
rename : content/test/reftest/bug591981-1.html => dom/tests/reftest/bug591981-1.html
rename : content/test/reftest/bug591981-2.html => dom/tests/reftest/bug591981-2.html
rename : content/test/reftest/bug591981-ref.html => dom/tests/reftest/bug591981-ref.html
rename : content/test/reftest/bug591981-script.js => dom/tests/reftest/bug591981-script.js
rename : content/test/reftest/bug592366-1.html => dom/tests/reftest/bug592366-1.html
rename : content/test/reftest/bug592366-1.xhtml => dom/tests/reftest/bug592366-1.xhtml
rename : content/test/reftest/bug592366-2.html => dom/tests/reftest/bug592366-2.html
rename : content/test/reftest/bug592366-2.xhtml => dom/tests/reftest/bug592366-2.xhtml
rename : content/test/reftest/bug592366-ref.html => dom/tests/reftest/bug592366-ref.html
rename : content/test/reftest/bug592366-ref.xhtml => dom/tests/reftest/bug592366-ref.xhtml
rename : content/test/reftest/bug798068-ref.xhtml => dom/tests/reftest/bug798068-ref.xhtml
rename : content/test/reftest/bug798068.xhtml => dom/tests/reftest/bug798068.xhtml
rename : content/test/reftest/child592366-1.html => dom/tests/reftest/child592366-1.html
rename : content/test/reftest/child592366-1.xhtml => dom/tests/reftest/child592366-1.xhtml
rename : content/test/reftest/child592366-2.html => dom/tests/reftest/child592366-2.html
rename : content/test/reftest/child592366-2.xhtml => dom/tests/reftest/child592366-2.xhtml
rename : content/test/reftest/optiontext-ref.html => dom/tests/reftest/optiontext-ref.html
rename : content/test/reftest/optiontext.html => dom/tests/reftest/optiontext.html
rename : content/test/reftest/reftest.list => dom/tests/reftest/reftest.list
rename : content/test/reftest/script592366-2.js => dom/tests/reftest/script592366-2.js
rename : content/test/reftest/xml-stylesheet/css_relative_href.xml => dom/tests/reftest/xml-stylesheet/css_relative_href.xml
rename : content/test/reftest/xml-stylesheet/css_relative_href_also_external.xml => dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml
rename : content/test/reftest/xml-stylesheet/css_relative_href_also_external.xml^headers^ => dom/tests/reftest/xml-stylesheet/css_relative_href_also_external.xml^headers^
rename : content/test/reftest/xml-stylesheet/css_relative_href_also_external_override.xml => dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml
rename : content/test/reftest/xml-stylesheet/css_relative_href_also_external_override.xml^headers^ => dom/tests/reftest/xml-stylesheet/css_relative_href_also_external_override.xml^headers^
rename : content/test/reftest/xml-stylesheet/embedded_dtd_id.svg => dom/tests/reftest/xml-stylesheet/embedded_dtd_id.svg
rename : content/test/reftest/xml-stylesheet/error_no_href.svg => dom/tests/reftest/xml-stylesheet/error_no_href.svg
rename : content/test/reftest/xml-stylesheet/fail.svg => dom/tests/reftest/xml-stylesheet/fail.svg
rename : content/test/reftest/xml-stylesheet/failer.css => dom/tests/reftest/xml-stylesheet/failer.css
rename : content/test/reftest/xml-stylesheet/lreas_selflink_dtd_id.svg => dom/tests/reftest/xml-stylesheet/lreas_selflink_dtd_id.svg
rename : content/test/reftest/xml-stylesheet/lreas_selflink_empty_href.svg => dom/tests/reftest/xml-stylesheet/lreas_selflink_empty_href.svg
rename : content/test/reftest/xml-stylesheet/lreas_selflink_relative_href.svg => dom/tests/reftest/xml-stylesheet/lreas_selflink_relative_href.svg
rename : content/test/reftest/xml-stylesheet/pass.svg => dom/tests/reftest/xml-stylesheet/pass.svg
rename : content/test/reftest/xml-stylesheet/passer.css => dom/tests/reftest/xml-stylesheet/passer.css
rename : content/test/reftest/xml-stylesheet/passer_override.css => dom/tests/reftest/xml-stylesheet/passer_override.css
rename : content/test/reftest/xml-stylesheet/reftest.list => dom/tests/reftest/xml-stylesheet/reftest.list
rename : content/test/reftest/xml-stylesheet/svg_passer.xslt => dom/tests/reftest/xml-stylesheet/svg_passer.xslt
rename : content/test/reftest/xml-stylesheet/xslt_relative_href.svg => dom/tests/reftest/xml-stylesheet/xslt_relative_href.svg
rename : content/test/reftest/xml-stylesheet/xslt_selflink_dtd_id.xml => dom/tests/reftest/xml-stylesheet/xslt_selflink_dtd_id.xml
rename : content/test/reftest/xml-stylesheet/xslt_selflink_empty_href.xml => dom/tests/reftest/xml-stylesheet/xslt_selflink_empty_href.xml
rename : content/test/reftest/xml-stylesheet/xslt_selflink_relative_href.xml => dom/tests/reftest/xml-stylesheet/xslt_selflink_relative_href.xml
2015-06-17 06:38:22 -07:00