1. 05 Feb, 2021 1 commit
  2. 20 Apr, 2020 1 commit
  3. 19 Apr, 2020 1 commit
  4. 17 Apr, 2020 1 commit
  5. 16 Apr, 2020 2 commits
  6. 13 Apr, 2020 1 commit
  7. 15 Feb, 2020 1 commit
  8. 18 Dec, 2018 1 commit
  9. 09 Aug, 2018 1 commit
    • L. David Baron's avatar
      Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert · 1e88f0f0
      L. David Baron authored
      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
      1e88f0f0
  10. 05 Jul, 2018 1 commit
  11. 10 Jul, 2018 1 commit
  12. 05 Jul, 2018 1 commit
  13. 26 Jun, 2018 1 commit
  14. 25 May, 2018 1 commit
    • Emilio Cobos Álvarez's avatar
      Bug 1149357: Make nsImageFrame::mIntrinsicSize account for density. r=dholbert · 5d4df42d
      Emilio Cobos Álvarez authored
      Only doing it in ComputeSize (via GetNaturalSize) is unsound, and the rest of
      the users of mIntrinsicSize definitely do need scaling accounted for.
      
      Move the adjustment to nsImageFrame for two reasons:
      
       * Prevents adding more dependencies from nsIImageLoadingContent, which
         otherwise would need to go away anyway in bug 215083.
      
       * Avoids having to duplicate the image orientation logic, since mImage is
         already an OrientedImage if needed.
      
      MozReview-Commit-ID: EA0n0TctZhN
      5d4df42d
  15. 06 Apr, 2018 1 commit
    • Kartikaya Gupta's avatar
      Bug 1344350 - Mark reftests passing with webrender on Windows. r=jrmuizel · 2eefaf54
      Kartikaya Gupta authored
      This covers all the reftests that have lower fuzz (or zero fuzz) and
      were producing an UNEXPECTED-PASS result with webrender on windows. In
      many cases I just adjusted the lower bound of the existing webrender
      fuzz. In other cases existing fails-if conditions had to be tweaked to
      exclude webrender.
      
      MozReview-Commit-ID: 49LvS0vuYWR
      
      --HG--
      extra : rebase_source : d194e24affb87fe4560a127ff4016f9c38f414fd
      2eefaf54
  16. 26 Sep, 2017 2 commits
    • Kartikaya Gupta's avatar
      Bug 1389000 - Remove duplicated layers-free tests. r=jrmuizel · f79a3c53
      Kartikaya Gupta authored
      We had previously started running some tests in layers-free mode
      already, either by setting the default-preferences on the folder to
      turn on layers-free, or by duplicating an individual reftest annotation
      so that it ran in both layers-full and layers-free mode. This patch
      removes these changes since layers-free is now the default and we don't
      need to run layers-full at all.
      
      MozReview-Commit-ID: JJwB9iO5clU
      
      --HG--
      extra : rebase_source : ea20545945b825d7ff829526d4d263850e6b5b7f
      f79a3c53
    • Kartikaya Gupta's avatar
      Bug 1389000 - Update reftest annotations for layers-free results. r=jrmuizel · 818cfd74
      Kartikaya Gupta authored
      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
      818cfd74
  17. 06 Sep, 2017 2 commits
  18. 07 Sep, 2017 1 commit
  19. 02 Sep, 2017 1 commit
    • Chris Peterson's avatar
      Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans · 2d629378
      Chris Peterson authored
      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
      2d629378
  20. 01 Aug, 2017 1 commit
  21. 27 Jul, 2017 1 commit
  22. 10 Jul, 2017 1 commit
    • Jonathan Chan's avatar
      Bug 1355380 - Part 2: Make Servo's rounding of image-orientation values agree... · 4a6248b9
      Jonathan Chan authored
      Bug 1355380 - Part 2: Make Servo's rounding of image-orientation values agree with Gecko's, and pass orientations directly as an enum instead of as angles. r=manishearth
      
      Both Servo and Gecko store the specified value of the image-orientation
      property as a single-precision float, but Gecko does the conversion to radians
      and the computation to identify which quarter-turn the angle is closest to
      using doubles.
      
      We add Angle::radians64 to perform the conversion to radians using doubles,
      just as Gecko does, and then update image_orientation to perform the
      computation the same exact way Gecko does in
      nsStyleImageOrientation::CreateAsAngleAndFlip. This lets the previously failing
      reftests pass.
      
      We also update Gecko_SetImageOrientation to take an orientation directly
      instead of an angle (otherwise we'd be doing the which-quarter-turn-is-closest
      computation twice).
      
      Finally this lets us re-enable the reftests for image-orientation previously
      marked as fails-if(styloVsGecko||stylo).
      
      MozReview-Commit-ID: 2zMMzQlsYEC
      
      --HG--
      extra : rebase_source : 99ed023e940193d4ad735a9ee27e45929a1efda1
      4a6248b9
  23. 07 Jul, 2017 1 commit
    • Jonathan Chan's avatar
      Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip... · 016ee566
      Jonathan Chan authored
      Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip handle negative angles correctly. r=manishearth
      
      Previously we just took the input angle mod 2π, which will leave negative input
      angles as negative. By checking if the input mod 2π is negative and if so
      adding 2π and then taking that mod 2π again we can ensure that we end up with a
      an angle in the range [0, 2π].
      
      We only do this if the result of the initial mod is negative because this adds
      rounding error that is enough to mess up whether 135 is determined to be closer
      to 90 or 180, for example.
      
      We add a test for this as well.
      
      Also fix property_database.js to account for this (we assert that -90deg should
      compute to the same value as the initial value, but it should actually compute
      to 270deg).
      
      MozReview-Commit-ID: Faf0f7wIEg3
      
      --HG--
      extra : rebase_source : 6b2d15f90e541fcb8b6083e15772eee514603e57
      016ee566
  24. 11 Jul, 2017 2 commits
  25. 23 Jun, 2017 1 commit
  26. 25 May, 2017 1 commit
  27. 10 Jul, 2017 1 commit
    • Jonathan Chan's avatar
      Bug 1355380 - Part 2: Make Servo's rounding of image-orientation values agree... · f49acecf
      Jonathan Chan authored
      Bug 1355380 - Part 2: Make Servo's rounding of image-orientation values agree with Gecko's, and pass orientations directly as an enum instead of as angles. r=manishearth
      
      Both Servo and Gecko store the specified value of the image-orientation
      property as a single-precision float, but Gecko does the conversion to radians
      and the computation to identify which quarter-turn the angle is closest to
      using doubles.
      
      We add Angle::radians64 to perform the conversion to radians using doubles,
      just as Gecko does, and then update image_orientation to perform the
      computation the same exact way Gecko does in
      nsStyleImageOrientation::CreateAsAngleAndFlip. This lets the previously failing
      reftests pass.
      
      We also update Gecko_SetImageOrientation to take an orientation directly
      instead of an angle (otherwise we'd be doing the which-quarter-turn-is-closest
      computation twice).
      
      Finally this lets us re-enable the reftests for image-orientation previously
      marked as fails-if(styloVsGecko||stylo).
      
      MozReview-Commit-ID: 2zMMzQlsYEC
      
      --HG--
      extra : rebase_source : c6ead4358a2b4fb052f6144959cea0ba79b985e2
      f49acecf
  28. 07 Jul, 2017 1 commit
    • Jonathan Chan's avatar
      Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip... · 3b1150a8
      Jonathan Chan authored
      Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip handle negative angles correctly. r=manishearth
      
      Previously we just took the input angle mod 2π, which will leave negative input
      angles as negative. By checking if the input mod 2π is negative and if so
      adding 2π and then taking that mod 2π again we can ensure that we end up with a
      an angle in the range [0, 2π].
      
      We only do this if the result of the initial mod is negative because this adds
      rounding error that is enough to mess up whether 135 is determined to be closer
      to 90 or 180, for example.
      
      We add a test for this as well.
      
      MozReview-Commit-ID: Faf0f7wIEg3
      
      --HG--
      extra : rebase_source : 6a83824bdc8104f0d58d6e2b11cf6bfd6bfef7f0
      3b1150a8
  29. 03 May, 2017 1 commit
  30. 21 Jun, 2017 1 commit
  31. 28 Apr, 2017 2 commits
  32. 20 May, 2017 1 commit
  33. 15 May, 2017 1 commit
  34. 25 May, 2017 1 commit
  35. 02 Sep, 2017 1 commit
    • Chris Peterson's avatar
      Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans · ce7edc4d
      Chris Peterson authored
      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
      ce7edc4d