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

11308 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown cb6beb5156 Bug 1881094 - 2. remove whitespace exclusions for firefox-android r=android-reviewers,gl
Whitespace changes made with `mach lint --fix`.

Differential Revision: https://phabricator.services.mozilla.com/D206702
2024-04-04 22:19:32 +00:00
Adam Brouwers-Harries 13528596ec Bug 1865930: Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203146
2024-04-04 17:40:14 +00:00
Alexandre Lissy f5ddde82ce Bug 1889610 - Remove unused parameters in MergeStack() r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206621
2024-04-04 16:50:34 +00:00
Sandor Molnar e1e4a33e82 Backed out changeset 50f86f169ee8 (bug 1889087) for causing talos performance test failures CLOSED TREE 2024-04-03 09:18:07 +03:00
Kelly Cochrane c8125486a4 Bug 1886990 - Move 'browser-sidebar.js' into the new 'browser/components/sidebar' directory r=sidebar-reviewers,Gijs,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206247
2024-04-02 22:04:41 +00:00
Iulian Moraru 1a829b521b Backed out changeset 1f4dc2487e0e (bug 1865930) for causing xpcshell failures on test_feature_posix_signals.js. 2024-04-03 03:55:28 +03:00
Mark Banner 5f19d766d1 Bug 1889087 - Enable ESLint rule mozilla/reject-chromeutils-import on devtools as well. r=arai,devtools-reviewers,profiler-reviewers,julienw
Differential Revision: https://phabricator.services.mozilla.com/D206349
2024-04-02 19:05:48 +00:00
Adam Brouwers-Harries 8df870d509 Bug 1865930: Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203146
2024-04-02 18:35:50 +00:00
Cristian Tuns 351e7b526a Backed out changeset 33f1358c77ca (bug 1865930) for causing build bustages in platform.cpp CLOSED TREE 2024-04-02 11:05:10 -04:00
Adam Brouwers-Harries 7a432e75e6 Bug 1865930: Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203146
2024-04-02 14:27:17 +00:00
Butkovits Atila 159929cd10 Backed out 3 changesets (bug 1887029, bug 1886892) for causing failures at browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 07f554ea4869 (bug 1887029)
Backed out changeset daa5f2355675 (bug 1886892)
Backed out changeset 389163cbd649 (bug 1886892)
2024-04-01 21:50:42 +03:00
Nika Layzell 7008e75b63 Bug 1886892 - Part 1: Remove non-SHIP code from desktop SessionStore, r=sessionstore-reviewers,tabbrowser-reviewers,mconley
In bug 1804140, we shipped SHIP everywhere on desktop. Unfortunately, we
never removed the now-dead code from SessionStore.

This patch removes the easy to identify SessionStore code for non-SHIP,
now that it is a fully unsupported configuration.

Differential Revision: https://phabricator.services.mozilla.com/D205479
2024-04-01 17:11:22 +00:00
Cristian Tuns 57432016a8 Backed out changeset ace4b125b6e0 (bug 1615258) for causing py3 failures in test_manifestparser.py CLOSED TREE 2024-03-28 08:58:42 -04:00
florin.bilt 917fdf3d8b Bug 1615258 - [perfdocs] Add test manifest searchfox link to test descriptions r=perftest-reviewers,sparky,jmaher,afinder
Differential Revision: https://phabricator.services.mozilla.com/D205060
2024-03-28 12:37:04 +00:00
Julien Cristau f07caf0322 Bug 1886389 - skip push estimates for mach try release. r=ahal
The try_task_config parameter may exist (e.g. from --disable-pgo), but
not list any tasks.

Differential Revision: https://phabricator.services.mozilla.com/D205814
2024-03-28 09:03:47 +00:00
Punam Dahiya 87c4dca929 Bug 1859302 - NimbusRolloutMessageProvider should be listed as a generated file r=omc-reviewers,aminomancer
Patch invokes `import-rollouts` script that import Nimbus Rollout messages into NimbusRolloutMessageProvider.sys.mjs when running test using ` ./mach npm run test --prefix browser/components/asrouter`

Differential Revision: https://phabricator.services.mozilla.com/D205777
2024-03-27 22:12:31 +00:00
Luca Greco e364e07097 Bug 1883452 - Obliterate Corroborator remaining bits. r=rhelmer,Gijs,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205735
2024-03-27 16:29:42 +00:00
Jan de Mooij 716b34dfbb Bug 1884360 part 3 - Add infrastructure for trampoline natives. r=iain
This patch adds code for using the JitEntry mechanism for native builtins.

The TrampolineNative JSJitInfo mechanism is very similar to what we do for
InlinableNative. For each trampoline native, a JIT trampoline is generated and
we use this as the function's JitEntry when creating the native JSFunction.

Differential Revision: https://phabricator.services.mozilla.com/D204625
2024-03-27 11:18:34 +00:00
Mike Hommey aa9f548e55 Bug 1886607 - Fill ProcInfoRequest.childTask on iOS. r=nika,profiler-reviewers,florian
Differential Revision: https://phabricator.services.mozilla.com/D205268
2024-03-26 23:41:42 +00:00
andrej 8dd22727e8 Bug 1867837 - Remove chromium specific code from raptor, CI and locally. r=perftest-reviewers,kshampur
As chromium is no longer used and chromium as release is replacing it, we are removing all references to it to not confuse people

Differential Revision: https://phabricator.services.mozilla.com/D204821
2024-03-26 04:40:03 +00:00
Mike Hommey 5f3cb60001 Bug 1881383 - Remove VS 2019 toolchain. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202368
2024-03-26 00:02:34 +00:00
Andrew Erickson 81e2bae92a No bug: mach try: include full mach try command in commit message r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D204834
2024-03-25 20:03:48 +00:00
Greg Mierzwinski c112fbd379 Bug 1878709 - Add new Pageload Lite category for tp6-bench. r=kshampur,perftest-reviewers DONTBUILD
This patch adds a new category for the tp6-bench test called `Pageload Lite` that will provie a minimum set of tests that should be run for checking pageload performance.

Differential Revision: https://phabricator.services.mozilla.com/D203820
2024-03-25 15:09:36 +00:00
Heitor Neiva b1ae9d5558 Bug 1886051 - Cleanup signing tasks config r=releng-reviewers,taskgraph-reviewers,bhearsum,haik
Differential Revision: https://phabricator.services.mozilla.com/D205146
2024-03-22 18:09:32 +00:00
Cosmin Sabou 04a282cb4b Backed out 2 changesets (bug 1886607) for causing build bustages on ChromeUtils.
Backed out changeset 2fa193524f2c (bug 1886607)
Backed out changeset f77ff6043d75 (bug 1886607)
2024-03-22 00:28:44 +02:00
Mike Hommey 72ca45a154 Bug 1886607 - Fill ProcInfoRequest.childTask on iOS. r=nika,profiler-reviewers,florian
Differential Revision: https://phabricator.services.mozilla.com/D205268
2024-03-21 20:14:20 +00:00
Logan Rosen 568a9b76b6 Bug 1854149 - upgrade to Sphinx 7.1.2 r=sylvestre,firefox-source-docs-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189725
2024-03-21 18:24:18 +00:00
Paul Adenot 71b7c5d67d Bug 1885117 - Teach MicroGeckoProfiler.h to capture stacks. r=pehrsons,profiler-reviewers,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D204491
2024-03-21 11:03:25 +00:00
Julien Cristau e9b925e968 Bug 1886055 - update try presets to exclude firefox-android tasks where not wanted. r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D205232
2024-03-21 10:56:21 +00:00
Dave Townsend 71420d91a6 Bug 1864896: Enable unused argument lint rule. r=Standard8,perftest-reviewers,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,nchevobbe,robwu,sparky,issammani,sgalich,owlish,migration-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D195632
2024-03-21 08:50:00 +00:00
Ben Hearsum 23fa10c9e6 Bug 1884173: run shellcheck on update verify scripts r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D203992
2024-03-20 16:23:17 +00:00
Ben Hearsum cc6cc0ac28 Bug 1884173: Disable shellcheck for things that can't reasonably be fixed r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D203991
2024-03-20 16:23:16 +00:00
Ben Hearsum 4d39d8cf8f Bug 1884173: fix shellcheck errors in update verify that involve removing function arguments r=jcristau
This could probably have gone in the previous patch in the end...but this is fine too.

Differential Revision: https://phabricator.services.mozilla.com/D203990
2024-03-20 16:23:16 +00:00
Ben Hearsum de42a923b1 Bug 1884173: Fix shellcheck errors in update verify code that don't require changing function arguments r=jcristau
The bulk of these fixes were done by applying a patch from `shellcheck -f diff`. The changes that weren't are:
* The setting of the default interpreter
* The new `product` argument needed to fix some undefined variable errors
* Any places where we're ignoring errors (because we're relying on the flagged behaviour for functionality)
* Dead code removal (eg: `MY_DIR` in some places)

Remaining errors are being dealt with in subsequent patches.

For posterity, these are the errors that got fixed:

In cached_download.sh line 1:
^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.

In cached_download.sh line 5:
pushd `dirname $0` &>/dev/null
^----------------------------^ SC2164 (warning): Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
      ^----------^ SC2046 (warning): Quote this to prevent word splitting.
      ^----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
pushd $(dirname "$0") &>/dev/null || exit

In cached_download.sh line 7:
popd &>/dev/null
^--------------^ SC2164 (warning): Use 'popd ... || exit' or 'popd ... || return' in case popd fails.

Did you mean:
popd &>/dev/null || exit

In cached_download.sh line 15:
    rm -rf "${cache_dir}/*"
           ^--------------^ SC2115 (warning): Use "${var:?}" to ensure this never expands to /* .

In cached_download.sh line 23:
    if fgrep -x "${url}" "${cache_dir}/urls.list" >/dev/null; then
       ^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.

In cached_download.sh line 25:
        local line_number="$(fgrep -nx  "${url}" "${cache_dir}/urls.list" | sed 's/:.*//')"
              ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
                             ^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.

In cached_download.sh line 30:
        $retry wget -O "${output_file}" --progress=dot:giga --server-response "${url}" 2>&1
        ^----^ SC2154 (warning): retry is referenced but not assigned.

In cached_download.sh line 34:
            local line_number="$(fgrep -nx  "${url}" "${cache_dir}/urls.list" | sed 's/:.*//')"
                  ^---------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
                                 ^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.

In check_updates.sh line 1:
check_updates () {
^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.

In check_updates.sh line 25:
  unpack_build $update_platform source "$source_package" $locale '' "$mar_channel_IDs" $mac_update_settings_dir_override
               ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                         ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                       ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  unpack_build "$update_platform" source "$source_package" "$locale" '' "$mar_channel_IDs" "$mac_update_settings_dir_override"

In check_updates.sh line 26:
  if [ "$?" != "0" ]; then
       ^--^ SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.

In check_updates.sh line 37:
  unpack_build $update_platform target "$target_package" $locale '' '' $mac_update_settings_dir_override
               ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                         ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                       ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  unpack_build "$update_platform" target "$target_package" "$locale" '' '' "$mac_update_settings_dir_override"

In check_updates.sh line 38:
  if [ "$?" != "0" ]; then
       ^--^ SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.

In check_updates.sh line 51:
          platform_dirname=`echo $product | tr '[A-Z]' '[a-z]'`
                           ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                                 ^------^ SC2154 (warning): product is referenced but not assigned.
                                 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                               ^-----^ SC2021 (info): Don't use [] around classes in tr, it replaces literal square brackets.
                                                       ^-----^ SC2021 (info): Don't use [] around classes in tr, it replaces literal square brackets.

Did you mean:
          platform_dirname=$(echo "$product" | tr '[A-Z]' '[a-z]')

In check_updates.sh line 58:
  if [ -d source/$platform_dirname ]; then
                 ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  if [ -d source/"$platform_dirname" ]; then

In check_updates.sh line 59:
    if [ `uname | cut -c-5` == "MINGW" ]; then
         ^----------------^ SC2046 (warning): Quote this to prevent word splitting.
         ^----------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
    if [ $(uname | cut -c-5) == "MINGW" ]; then

In check_updates.sh line 62:
      four_backslash_pwd=$(echo $PWD | sed -e 's,^/\([a-zA-Z]\)/,\1:/,' | sed -e 's,/,\\\\,g')
      ^----------------^ SC2034 (warning): four_backslash_pwd appears unused. Verify use (or export if used externally).
                                ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      four_backslash_pwd=$(echo "$PWD" | sed -e 's,^/\([a-zA-Z]\)/,\1:/,' | sed -e 's,/,\\\\,g')

In check_updates.sh line 63:
      two_backslash_pwd=$(echo $PWD | sed -e 's,^/\([a-zA-Z]\)/,\1:/,' | sed -e 's,/,\\,g')
                               ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      two_backslash_pwd=$(echo "$PWD" | sed -e 's,^/\([a-zA-Z]\)/,\1:/,' | sed -e 's,/,\\,g')

In check_updates.sh line 69:
      cwd=$(ls -d $PWD/source/$platform_dirname)
                  ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                              ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      cwd=$(ls -d "$PWD"/source/"$platform_dirname")

In check_updates.sh line 73:
    cd_dir=$(ls -d ${PWD}/source/${platform_dirname})
                   ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                 ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    cd_dir=$(ls -d "${PWD}"/source/"${platform_dirname}")

In check_updates.sh line 74:
    cd "${cd_dir}"
    ^------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.

Did you mean:
    cd "${cd_dir}" || exit

In check_updates.sh line 85:
  update_status=`cat update/update.status`
                ^------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
  update_status=$(cat update/update.status)

In check_updates.sh line 102:
  cd `echo "source/$platform_dirname"`
  ^-- SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
     ^-- SC2046 (warning): Quote this to prevent word splitting.
     ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
     ^-- SC2116 (style): Useless echo? Instead of 'cmd $(echo foo)', just use 'cmd foo'.

Did you mean:
  cd $(echo "source/$platform_dirname") || exit

In check_updates.sh line 108:
  cd `echo "target/$platform_dirname"`
  ^-- SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
     ^-- SC2046 (warning): Quote this to prevent word splitting.
     ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
     ^-- SC2116 (style): Useless echo? Instead of 'cmd $(echo foo)', just use 'cmd foo'.

Did you mean:
  cd $(echo "target/$platform_dirname") || exit

In check_updates.sh line 140:
  ../compare-directories.py source/${platform_dirname} target/${platform_dirname} ${channel} ${ignore_coderesources} > "${diff_file}"
                                   ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                              ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                  ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                             ^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  ../compare-directories.py source/"${platform_dirname}" target/"${platform_dirname}" "${channel}" "${ignore_coderesources}" > "${diff_file}"

In download_builds.sh line 1:
pushd `dirname $0` &>/dev/null
^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
^----------------------------^ SC2164 (warning): Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
      ^----------^ SC2046 (warning): Quote this to prevent word splitting.
      ^----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
pushd $(dirname "$0") &>/dev/null || exit

In download_builds.sh line 3:
popd &>/dev/null
^--------------^ SC2164 (warning): Use 'popd ... || exit' or 'popd ... || return' in case popd fails.

Did you mean:
popd &>/dev/null || exit

In download_builds.sh line 4:
retry="$MY_DIR/../../../../mach python -m redo.cmd -s 1 -a 3"
^---^ SC2034 (warning): retry appears unused. Verify use (or export if used externally).

In download_builds.sh line 16:
    "download_builds usage: <source_url> <target_url>"
    ^-- SC2288 (warning): This is interpreted as a command name ending with '>'. Double check syntax.

In download_builds.sh line 22:
    source_file=`basename "$url"`
                ^---------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
    source_file=$(basename "$url")

In download_builds.sh line 24:
    cd downloads
    ^----------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.

Did you mean:
    cd downloads || exit

In download_mars.sh line 1:
download_mars () {
^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.

In download_mars.sh line 26:
        try=$(($try+1))
               ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables.

In download_mars.sh line 31:
    update_line=`fgrep "<update " update.xml`
                ^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                 ^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.

Did you mean:
    update_line=$(fgrep "<update " update.xml)

In download_mars.sh line 37:
    command=`echo $update_line | sed -e 's/^.*<update //' -e 's:>.*$::' -e 's:\&amp;:\&:g'`
            ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                  ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    command=$(echo "$update_line" | sed -e 's/^.*<update //' -e 's:>.*$::' -e 's:\&amp;:\&:g')

In download_mars.sh line 56:
    if [ -z $only ]; then
            ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    if [ -z "$only" ]; then

In download_mars.sh line 61:
      line=`fgrep "patch type=\"$patch_type" update.xml`
           ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
            ^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.

Did you mean:
      line=$(fgrep "patch type=\"$patch_type" update.xml)

In download_mars.sh line 69:
      command=`echo $line | sed -e 's/^.*<patch //' -e 's:/>.*$::' -e 's:\&amp;:\&:g'`
              ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                    ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      command=$(echo "$line" | sed -e 's/^.*<patch //' -e 's:/>.*$::' -e 's:\&amp;:\&:g')

In download_mars.sh line 75:
        curl -s -I -L $URL
                      ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        curl -s -I -L "$URL"

In download_mars.sh line 80:
      if [ "$?" != 0 ]; then
           ^--^ SC2181 (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.

In download_mars.sh line 84:
      actual_size=`perl -e "printf \"%d\n\", (stat(\"update/$patch_type.mar\"))[7]"`
                  ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
      actual_size=$(perl -e "printf \"%d\n\", (stat(\"update/$patch_type.mar\"))[7]")

Did you mean:
      actual_hash=$(openssl dgst -"$hashFunction" update/"$patch_type".mar | sed -e 's/^.*= //')

In download_mars.sh line 87:
      if [ $actual_size != $size ]; then
           ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      if [ "$actual_size" != "$size" ]; then

In download_mars.sh line 94:
      if [ $actual_hash != $hashValue ]; then
           ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                           ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      if [ "$actual_hash" != "$hashValue" ]; then

In download_mars.sh line 101:
      cp update/$patch_type.mar update/update.mar
                ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      cp update/"$patch_type".mar update/update.mar

In download_mars.sh line 102:
      echo $actual_size > update/$patch_type.size
           ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                 ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      echo "$actual_size" > update/"$patch_type".size

In unpack-diskimage.sh line 56:
if [ -d $MOUNTPOINT ]; then
        ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
if [ -d "$MOUNTPOINT" ]; then

In unpack-diskimage.sh line 58:
    hdiutil detach $MOUNTPOINT -force
                   ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    hdiutil detach "$MOUNTPOINT" -force

In unpack-diskimage.sh line 59:
    rm -rdfv $MOUNTPOINT
             ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    rm -rdfv "$MOUNTPOINT"

In unpack-diskimage.sh line 63:
trap "{ if [ -d $MOUNTPOINT ]; then hdiutil detach $MOUNTPOINT -force; rm -rdfv $MOUNTPOINT; fi; }" EXIT
                ^---------^ SC2064 (warning): Use single quotes, otherwise this expands now rather than when signalled.
                                                   ^---------^ SC2064 (warning): Use single quotes, otherwise this expands now rather than when signalled.
                                                                                ^---------^ SC2064 (warning): Use single quotes, otherwise this expands now rather than when signalled.

In unpack-diskimage.sh line 65:
mkdir -p $MOUNTPOINT
         ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
mkdir -p "$MOUNTPOINT"

In unpack-diskimage.sh line 67:
hdiutil attach -verbose -noautoopen -mountpoint $MOUNTPOINT "$DMG_PATH" &> $LOGFILE
                                                ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
hdiutil attach -verbose -noautoopen -mountpoint "$MOUNTPOINT" "$DMG_PATH" &> $LOGFILE

In unpack-diskimage.sh line 73:
while [ "$(echo $MOUNTPOINT/*)" == "$MOUNTPOINT/*" ]; do
                ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
while [ "$(echo "$MOUNTPOINT"/*)" == "$MOUNTPOINT/*" ]; do

In unpack-diskimage.sh line 74:
    if [ $i -gt $TIMEOUT ]; then
         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    if [ "$i" -gt $TIMEOUT ]; then

In unpack-diskimage.sh line 79:
    i=$(expr $i + 1)
        ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    i=$(expr "$i" + 1)

In unpack-diskimage.sh line 82:
rsync -av $MOUNTPOINT/* $MOUNTPOINT/.DS_Store $MOUNTPOINT/.background $MOUNTPOINT/.VolumeIcon.icns $TARGETPATH/ > $LOGFILE
          ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                        ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                              ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                      ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                   ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
rsync -av "$MOUNTPOINT"/* "$MOUNTPOINT"/.DS_Store "$MOUNTPOINT"/.background "$MOUNTPOINT"/.VolumeIcon.icns "$TARGETPATH"/ > $LOGFILE

In unpack-diskimage.sh line 84:
hdiutil detach $MOUNTPOINT || { sleep  10; \
               ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
hdiutil detach "$MOUNTPOINT" || { sleep  10; \

In unpack-diskimage.sh line 85:
    if [ -d $MOUNTPOINT ]; then hdiutil detach $MOUNTPOINT -force; fi; }
            ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                               ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    if [ -d "$MOUNTPOINT" ]; then hdiutil detach "$MOUNTPOINT" -force; fi; }

In unpack-diskimage.sh line 87:
while [ "$(echo $MOUNTPOINT/*)" != "$MOUNTPOINT/*" ]; do
                ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
while [ "$(echo "$MOUNTPOINT"/*)" != "$MOUNTPOINT/*" ]; do

In unpack-diskimage.sh line 88:
    if [ $i -gt $TIMEOUT ]; then
         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    if [ "$i" -gt $TIMEOUT ]; then

In unpack-diskimage.sh line 93:
    i=$(expr $i + 1)
        ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    i=$(expr "$i" + 1)

In unpack-diskimage.sh line 95:
rm -rdf $MOUNTPOINT
        ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
rm -rdf "$MOUNTPOINT"

In unpack.sh line 4:
    hdiutil detach ${DEV_NAME} ||
                   ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    hdiutil detach "${DEV_NAME}" ||

In unpack.sh line 5:
      { sleep 5 && hdiutil detach ${DEV_NAME} -force; };
                                  ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      { sleep 5 && hdiutil detach "${DEV_NAME}" -force; };

In unpack.sh line 6:
    return $1 && $?;
           ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                 ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).

Did you mean:
    return "$1" && $?;

In unpack.sh line 26:
    mkdir -p $dir_name
             ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    mkdir -p "$dir_name"

In unpack.sh line 27:
    pushd $dir_name > /dev/null
    ^-------------------------^ SC2164 (warning): Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
          ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    pushd "$dir_name" > /dev/null || exit

In unpack.sh line 33:
            os=`uname`
               ^-----^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
            os=$(uname)

In unpack.sh line 39:
                ../common/unpack-diskimage.sh "$pkg_file" mnt $dir_name
                                                              ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
                ../common/unpack-diskimage.sh "$pkg_file" mnt "$dir_name"

In unpack.sh line 42:
                if [ `ls -1 | wc -l` -ne 1 ]
                     ^-------------^ SC2046 (warning): Quote this to prevent word splitting.
                     ^-------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                      ^---^ SC2012 (info): Use find instead of ls to better handle non-alphanumeric filenames.

Did you mean:
                if [ $(ls -1 | wc -l) -ne 1 ]

In unpack.sh line 52:
                appdir=$(ls -d *.app)
                               ^-- SC2035 (info): Use ./*glob* or -- *glob* so names with dashes won't become options.

In unpack.sh line 77:
              if [ $(find optional/ | wc -l) -gt 1 ]
                   ^-----------------------^ SC2046 (warning): Quote this to prevent word splitting.

In unpack.sh line 90:
                unzip -o $file > /dev/null
                         ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
                unzip -o "$file" > /dev/null

In unpack.sh line 92:
              unzip -o ${locale}.xpi > /dev/null
                       ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
              unzip -o "${locale}".xpi > /dev/null

In unpack.sh line 97:
            if `echo $pkg_file | grep -q "tar.gz"`
               ^-- SC2092 (warning): Remove backticks to avoid executing output (or use eval if intentional).
               ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                     ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
            if $(echo "$pkg_file" | grep -q "tar.gz")

In unpack.sh line 100:
            elif `echo $pkg_file | grep -q "tar.bz2"`
                 ^-- SC2092 (warning): Remove backticks to avoid executing output (or use eval if intentional).
                 ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                       ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
            elif $(echo "$pkg_file" | grep -q "tar.bz2")

In unpack.sh line 107:
            update_settings_file=`echo $product | tr '[A-Z]' '[a-z]'`'/update-settings.ini'
                                 ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                                       ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                     ^-----^ SC2021 (info): Don't use [] around classes in tr, it replaces literal square brackets.
                                                             ^-----^ SC2021 (info): Don't use [] around classes in tr, it replaces literal square brackets.

Did you mean:
            update_settings_file=$(echo "$product" | tr '[A-Z]' '[a-z]')'/update-settings.ini'

In unpack.sh line 114:
    if [ ! -z $unpack_jars ]; then
         ^-- SC2236 (style): Use -n instead of ! -z.
              ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    if [ ! -z "$unpack_jars" ]; then

In unpack.sh line 115:
        for f in `find . -name '*.jar' -o -name '*.ja'`; do
                 ^-- SC2044 (warning): For loops over find output are fragile. Use find -exec or a while read loop.
                 ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
        for f in $(find . -name '*.jar' -o -name '*.ja'); do

In unpack.sh line 120:
    if [ ! -z $update_settings_string ]; then
         ^-- SC2236 (style): Use -n instead of ! -z.
              ^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    if [ ! -z "$update_settings_string" ]; then

In unpack.sh line 122:
       cat  "${update_settings_file}" | sed -e "s/^ACCEPTED_MAR_CHANNEL_IDS.*/ACCEPTED_MAR_CHANNEL_IDS=${update_settings_string}/" > "${update_settings_file}.new"
            ^-----------------------^ SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.

In unpack.sh line 129:
    popd > /dev/null
    ^--------------^ SC2164 (warning): Use 'popd ... || exit' or 'popd ... || return' in case popd fails.

Did you mean:
    popd > /dev/null || exit

In verify.sh line 23:
if [ -e ${diff_summary_log} ]; then
        ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
if [ -e "${diff_summary_log}" ]; then

In verify.sh line 24:
  rm ${diff_summary_log}
     ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  rm "${diff_summary_log}"

In verify.sh line 26:
touch ${diff_summary_log}
      ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
touch "${diff_summary_log}"

In verify.sh line 28:
pushd `dirname $0` &>/dev/null
^----------------------------^ SC2164 (warning): Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
      ^----------^ SC2046 (warning): Quote this to prevent word splitting.
      ^----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
pushd $(dirname "$0") &>/dev/null || exit

In verify.sh line 30:
popd &>/dev/null
^--------------^ SC2164 (warning): Use 'popd ... || exit' or 'popd ... || return' in case popd fails.

Did you mean:
popd &>/dev/null || exit

In verify.sh line 85:
      pass_arg_count=`expr $pass_arg_count + 1`
                     ^------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                      ^--^ SC2003 (style): expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]].
                           ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
      pass_arg_count=$(expr "$pass_arg_count" + 1)

In verify.sh line 103:
while read entry
      ^--^ SC2162 (info): read without -r will mangle backslashes.

In verify.sh line 118:
  eval $entry
       ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  eval "$entry"

In verify.sh line 121:
  major_version=`echo $release | cut -f1 -d.`
                ^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  major_version=$(echo "$release" | cut -f1 -d.)

In verify.sh line 123:
    minor_version=`echo $release | cut -f2 -d.`
                  ^---------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                        ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
    minor_version=$(echo "$release" | cut -f2 -d.)

In verify.sh line 148:
          download_mars "${aus_server}/update/3/${update_path}/default/update.xml?force=1" ${patch_type} 1 \
                                                                                           ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
          download_mars "${aus_server}/update/3/${update_path}/default/update.xml?force=1" "${patch_type}" 1 \

In verify.sh line 152:
          download_mars "${aus_server}/update/3/${update_path}/update.xml?force=1" ${patch_type} 0 \
                                                                                   ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
          download_mars "${aus_server}/update/3/${update_path}/update.xml?force=1" "${patch_type}" 0 \

In verify.sh line 161:
        mkdir -p updates/${update_path}/complete
                         ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        mkdir -p updates/"${update_path}"/complete

In verify.sh line 162:
        mkdir -p updates/${update_path}/partial
                         ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        mkdir -p updates/"${update_path}"/partial

In verify.sh line 163:
        $retry wget -q -O ${patch_type} updates/${update_path}/${patch_type}/update.xml "${aus_server}/update/3/${update_path}/update.xml?force=1"
                          ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                               ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        $retry wget -q -O "${patch_type}" updates/"${update_path}"/"${patch_type}"/update.xml "${aus_server}/update/3/${update_path}/update.xml?force=1"

In verify.sh line 174:
        updater_package_url=`echo "${ftp_server_from}${updater_package}" | sed "s/%locale%/${locale}/"`
                            ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
        updater_package_url=$(echo "${ftp_server_from}${updater_package}" | sed "s/%locale%/${locale}/")

In verify.sh line 175:
        updater_package_filename=`basename "$updater_package_url"`
                                 ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
        updater_package_filename=$(basename "$updater_package_url")

In verify.sh line 184:
            updater_package_url=`echo "${updater_package_url}" | sed "s/ja-JP-mac/ja/"`
                                ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                                 ^-- SC2001 (style): See if you can use ${variable//search/replace} instead.

Did you mean:
            updater_package_url=$(echo "${updater_package_url}" | sed "s/ja-JP-mac/ja/")

In verify.sh line 198:
            updater_package_url=`echo "${updater_package_url}" | sed "s/ja-JP-mac/ja/"`
                                ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                                 ^-- SC2001 (style): See if you can use ${variable//search/replace} instead.

Did you mean:
            updater_package_url=$(echo "${updater_package_url}" | sed "s/ja-JP-mac/ja/")

In verify.sh line 199:
            platform_dirname=`echo $product | tr '[A-Z]' '[a-z]'`
                             ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                                   ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                 ^-----^ SC2021 (info): Don't use [] around classes in tr, it replaces literal square brackets.
                                                         ^-----^ SC2021 (info): Don't use [] around classes in tr, it replaces literal square brackets.

Did you mean:
            platform_dirname=$(echo "$product" | tr '[A-Z]' '[a-z]')

In verify.sh line 222:
        cwd=$(\ls -d $PWD/updater/$platform_dirname)
                     ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                  ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        cwd=$(\ls -d "$PWD"/updater/"$platform_dirname")

In verify.sh line 235:
        if [ ! -z "$override_certs" ]; then
             ^-- SC2236 (style): Use -n instead of ! -z.

In verify.sh line 253:
            python3 "${cert_replacer}" "${MY_DIR}/../mar_certs" "${updater}.orig" "${updater}" ${overrides}
                                                                                               ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
            python3 "${cert_replacer}" "${MY_DIR}/../mar_certs" "${updater}.orig" "${updater}" "${overrides}"

In verify.sh line 263:
        from_path=`echo $from | sed "s/%locale%/${locale}/"`
                  ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                   ^-- SC2001 (style): See if you can use ${variable//search/replace} instead.
                        ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        from_path=$(echo "$from" | sed "s/%locale%/${locale}/")

In verify.sh line 264:
        to_path=`echo $to | sed "s/%locale%/${locale}/"`
                ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
                 ^-- SC2001 (style): See if you can use ${variable//search/replace} instead.
                      ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        to_path=$(echo "$to" | sed "s/%locale%/${locale}/")

In verify.sh line 271:
        source_file=`basename "$from_path"`
                    ^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
        source_file=$(basename "$from_path")

In verify.sh line 272:
        target_file=`basename "$to_path"`
                    ^-------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
        target_file=$(basename "$to_path")

In verify.sh line 277:
        check_updates "${platform}" "downloads/${source_file}" "downloads/${target_file}" ${locale} ${use_old_updater} ${updater} ${diff_file} ${channel} "${mar_channel_IDs}" ${update_to_dep} ${mac_update_settings_dir_override}
                                                                                          ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                    ^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                                       ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                                                               ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                                                                                                                ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        check_updates "${platform}" "downloads/${source_file}" "downloads/${target_file}" "${locale}" "${use_old_updater}" "${updater}" ${diff_file} "${channel}" "${mar_channel_IDs}" ${update_to_dep} "${mac_update_settings_dir_override}"

In verify.sh line 289:
        if [ -s ${diff_file} ]; then
                ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        if [ -s "${diff_file}" ]; then

In verify.sh line 290:
          echo "Found diffs for ${patch_type} update from ${aus_server}/update/3/${update_path}/update.xml?force=1" >> ${diff_summary_log}
          ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
                                                                                                                       ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
          echo "Found diffs for ${patch_type} update from ${aus_server}/update/3/${update_path}/update.xml?force=1" >> "${diff_summary_log}"

In verify.sh line 291:
          cat ${diff_file} >> ${diff_summary_log}
              ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                              ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
          cat "${diff_file}" >> "${diff_summary_log}"

In verify.sh line 292:
          echo "" >> ${diff_summary_log}
                     ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
          echo "" >> "${diff_summary_log}"

In verify.sh line 297:
        partial_size=`cat update/partial.size`
                     ^-----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
        partial_size=$(cat update/partial.size)

In verify.sh line 298:
        complete_size=`cat update/complete.size`
                      ^------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean:
        complete_size=$(cat update/complete.size)

In verify.sh line 299:
        if [ $partial_size -gt $complete_size ]; then
             ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                               ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        if [ "$partial_size" -gt "$complete_size" ]; then

In verify.sh line 301:
        elif [ $partial_size -eq $complete_size ]; then
               ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                 ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
        elif [ "$partial_size" -eq "$complete_size" ]; then

In verify.sh line 308:
done < $config_file
       ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
done < "$config_file"

Differential Revision: https://phabricator.services.mozilla.com/D203989
2024-03-20 16:23:15 +00:00
Mark Banner bf4c269310 Bug 1886216 - Remove unused tabExtrasActor.jsm. r=twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D205189
2024-03-20 14:13:23 +00:00
Greg Mierzwinski 5cef933119 Bug 1866047 - Remove --fenix flag from mach-try-perf. r=aglavic,perftest-reviewers,taskgraph-reviewers,bhearsum
This patch undoes the changes required for the `--fenix` flag. This will enable fenix tests to be scheduled without supplying an additional flag, and will be visible/schedule-able when only `--android` is supplied.

Differential Revision: https://phabricator.services.mozilla.com/D203649
2024-03-19 19:00:34 +00:00
Dave Townsend f35244e188 Bug 1864896: Autofix unused function arguments (general). r=nika,jfkthame,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D203007
2024-03-19 14:59:22 +00:00
Dimi 7a4b04c82b Bug 1885294 - P2. Rename FormAutoComplete to FormHistoryAutoComplete r=credential-management-reviewers,search-reviewers,Standard8,jneuberger
When we talk about form autocomplete, it could mean "address/credit card autocomplete", "login autocomplete", and
"form history autocomplete. In order to improve code readability, this patch changes the following naming:

1. FormAutoComplete to FormHisotryAutoComplete
2. nsIFormAutoCompleteObserver to nsIFormFillCompleteObserver
  - This is because this interface is used by FormFillController, not by
    FormHistory

Differential Revision: https://phabricator.services.mozilla.com/D204601
2024-03-19 08:19:42 +00:00
Geoff Brown 82146b803b Bug 1883750 - Add Firefox for Android to 'mach try chooser'. r=jmaher,ahal
Adds a new chooser section for firefox-android builds and tests. This was easier than trying to add to the existing Build and Test sections ... and might be more convenient for users?

Because some of the test labels depend on the build-type, and that attribute was not being used consistently, I needed to define that attribute for several tasks; I don't think that will affect anything else.

Differential Revision: https://phabricator.services.mozilla.com/D204205
2024-03-08 21:35:52 +00:00
Julien Cristau 9af36afde8 Bug 1879146 - update lint exclusions for a-c docs move. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D202252
2024-02-20 11:08:26 +01:00
Julien Cristau ea570e9ea8 Bug 1876318 - bump firefox-android version as part of merge day. r=gbrown,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201470
2023-09-25 15:02:04 +02:00
Geoff Brown 10c3e367f4 Bug 1825116 - Add lint exclusions for some troublesome firefox-android files. r=Standard8,bhearsum,geckoview-reviewers,releng-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201455
2024-02-12 11:59:54 +01:00
Gijs Kruitbosch 51a4c7d0e9 Bug 1880899 - add lint rule that prevents adding more browser.js globals, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D202804
2024-03-16 15:14:07 +00:00
Tomislav Jovanovic ebc3b88713 Bug 1880764 - Don't expose [noscript] members to TypeScript r=mossop,nika
This check was in early versions of D197618, but got lost in a refactoring.

Apparently xpctest idls don't include [noscript] members, so I added some.

Differential Revision: https://phabricator.services.mozilla.com/D204752
2024-03-16 05:58:33 +00:00
Tomislav Jovanovic c346a789f6 Bug 1880764 - Initial TypeScript tooling r=mossop,Standard8
* Initial tools/ts setup.
* Mach commands for buidling xpcom related typelibs.
* Mach command for updating the typelib references.
* Mach command for type-checking js projects.

Also included the dom typelib for reference.

Differential Revision: https://phabricator.services.mozilla.com/D197620
2024-03-15 19:20:45 +00:00
Nazım Can Altınova e5a2264f79 Bug 1808648 - Disable the profiler mainthreadio test on tsan until we fix the issue r=profiler-reviewers,aabh
Differential Revision: https://phabricator.services.mozilla.com/D204658
2024-03-14 22:21:48 +00:00
Julien Wajsberg 040fe6cd4a Bug 1884344 - Fix intermittent test failure for browser_test_marker_network_redirect.js r=canaltinova,profiler-reviewers
This intermittent happens for Test-Verify only, since Bug 1884171 was
merged, that made that the test uses HTTPS connections instead of HTTP.

The properties related to the TCP connection can be missing. If for some
reason it doesn't need to be established (because it already exists most
probably), then they won't be in the resulting marker.

Interestingly, in the test itself this comment was present before:

// These properties are present when a connection is fully opened. This is
// most often the case, unless we're in verify mode, because in that case
// we run the same tests several times in the same Firefox and they might be
// cached, or in chaos mode Firefox may make all requests sequentially on
// the same connection.
// In these cases, these properties won't always be present.

But the test didn't seem do do something special for this, probably
because this was passing for HTTP at that time. But now it may be
that we have different connection heuristics for HTTPS...

After trying to reset the connection before the test, which didn't work,
finally I decided to relax the checks by not checking for these
sometimes-present-sometimes-absent properties for the second stop marker only.
Because we still check them for the first stop marker, we're still
covering them.

The object `expectedConnectionProperties` was containing requestStart,
responseStart and responseEnd, which was incorrect because these ones
are always present, so I moved them also in the process.

Differential Revision: https://phabricator.services.mozilla.com/D204589
2024-03-14 19:56:33 +00:00
Mark Banner 3d5bb40f49 Bug 1884623 - Update more jsm references in production code and docs in misc code. r=mossop,necko-reviewers,profiler-reviewers,julienw,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204185
2024-03-14 17:42:28 +00:00
Sandor Molnar 09d9822ba8 Backed out 3 changesets (bug 1884623) for causing multiple failures CLOSED TREE
Backed out changeset 3a264233ce8e (bug 1884623)
Backed out changeset acdf8a83a49c (bug 1884623)
Backed out changeset de64ce832b8a (bug 1884623)
2024-03-14 17:03:37 +02:00
Malte Juergens e8b7637906 Bug 1885128 - Exempt http://mochi.xorigin-test:8888 from @microsoft/sdl/no-insecure-url in browser and chrome tests r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D204503
2024-03-14 14:06:12 +00:00