Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Edwin Takahashi 02bff2aeae Bug 1603634 - check if line is a decodable type r=aki,marco
Changes:

Due to changes in `subprocess.Popen` return values in python3, it makes sense to check first if the line is a decodable type prior to attempting such action.

This change will resolve the following failure when tests are run in python3:

```
======================================================================
2) ERROR: test_get_output_from_command (test_base_script.TestHelperFunctions)
----------------------------------------------------------------------
   Traceback (most recent call last):
    test/test_base_script.py line 370 in test_get_output_from_command
      contents = self.s.get_output_from_command(["bash", "-c", "cat %s" % self.temp_file])
    mozharness/base/script.py line 1658 in get_output_from_command
      line = line.decode("utf-8")
   AttributeError: 'str' object has no attribute 'decode'
   -------------------- >> begin captured logging << --------------------
   root: INFO: ConsoleLogger online at 20191215 00:24:05Z in /Users/egao/mozilla-central/testing/mozharness
   root: INFO: Run as .tox/py35-hg4.3/bin/nosetests -v --with-xunit --rednose --force-color
   root: INFO: Getting output from command: ['bash', '-c', 'cat test_dir/mozilla']
   root: INFO: Copy/paste: bash -c "cat test_dir/mozilla"
   root: INFO: Reading from file tmpfile_stdout
   root: INFO: Output received:
   --------------------- >> end captured logging << ---------------------
```

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

--HG--
extra : moz-landing-system : lando
2019-12-16 17:18:40 +00:00
.cargo Bug 1604120: Bump Cranelift to ec787eb281bb2e18e191508c17abe694e91f0677; r=lth 2019-12-16 14:06:58 +00:00
.vscode Bug 1594520 - Change directory before running mach in .vscode/tasks.json on Windows. r=jya 2019-11-14 10:35:12 +00:00
accessible Bug 1601537: Fix text navigation in text leaf Accessibles on Android. ?MarcoZ r=MarcoZ 2019-12-16 06:25:54 +00:00
browser Bug 1603554 - Replace XULElement.align with getAttribute/setAttribute r=bgrins 2019-12-13 21:26:05 +00:00
build Bug 1604160 - Update cbindgen to do proper copy assignment on tagged enums. r=boris 2019-12-16 13:31:24 +00:00
caps Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato 2019-12-13 20:36:16 +00:00
chrome Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
config Backed out changeset f5d00d265686 (bug 1566288) for causing build bustages. 2019-12-12 20:57:57 +02:00
devtools Bug 1603351 - Add a tsconfig.json file in devtools root folder. r=gregtatum. 2019-12-16 15:21:03 +00:00
docshell Bug 1603889 - Simplify the scrollbar preference setup. r=smaug 2019-12-15 22:56:23 +00:00
dom Bug 1603554 - Remove XULElement.align from webidl and c++ r=bzbarsky 2019-12-14 02:23:15 +00:00
editor Backed out 11 changesets (bug 1587433) for bustages on RangeBoundary.h. CLOSED TREE 2019-12-16 13:25:51 +02:00
extensions Bug 1601256 - nsPermissionManager: Store all private browsing permissions with session expiry. r=Ehsan 2019-12-13 12:27:10 +00:00
gfx Bug 1603224 - Guard against division-by-zero in AsyncPanZoomController::ScrollSnapToDestination(). r=tnikkel 2019-12-14 00:24:31 +00:00
gradle/wrapper Bug 1595926 - Don't use distribution256Sum until Android Studio is fixed. r=snorp 2019-11-14 17:04:32 +00:00
hal Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
image Bug 1603933 - Use Date.now() instead of DocumentTimeline.currentTime. r=tnikkel 2019-12-14 22:34:19 +00:00
intl Bug 1551276 - Autodetect legacy encodings on unlabeled pages. r=emk 2019-12-12 17:50:19 +00:00
ipc Bug 1600605, add support for mediumhigh priority ipdl messages, r=jld 2019-12-13 22:38:15 +00:00
js Backed out changeset 69e62c1d0d53 (bug 1603140) for bustage WasmBaselineCompile.cpp. CLOSED TREE 2019-12-16 18:21:38 +02:00
layout Bug 1603807 - Don't divide by zero in ClampAndAlignWithPixels. r=botond 2019-12-16 15:55:22 +00:00
media Bug 1598923 - Fix known WEBRTCSDP issues blocking parallel parsing mode in Nightly;r=drno 2019-12-13 08:17:16 +00:00
memory Bug 1601590 - Undef _FORTIFY_SOURCE to fix build with --warnings-on-errors. r=glandium 2019-12-12 01:59:13 +00:00
mfbt Bug 1602749 - Make CheckedInt operations constexpr. r=froydnj 2019-12-16 10:22:57 +00:00
mobile Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE 2019-12-16 18:52:41 +02:00
modules Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE 2019-12-16 18:52:41 +02:00
mozglue Bug 1439659 - Make |MOZ_{LITTLE,BIG}_ENDIAN| into function macros so that invoking them inside |#if| conditions when they haven't been defined yet is a compile error. r=froydnj 2019-12-13 20:51:04 +00:00
netwerk Bug 1600605, make PNecko to use mediumhigh priority messages, not high priority, r=dragana 2019-12-16 15:01:14 +00:00
nsprpub Bug 1591887 - Uplift NSPR 4.24 RTM, only version number changes. r=jcj 2019-12-02 18:27:33 +00:00
other-licenses
parser Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato 2019-12-13 20:36:24 +00:00
python Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE 2019-12-16 18:52:41 +02:00
remote Bug 1603266 - Flush irrelevant events when testing context creation; r=remote-protocol-reviewers,whimboo 2019-12-13 15:51:46 +00:00
security Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE 2019-12-16 18:52:41 +02:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-12-16 15:13:53 +00:00
servo Bug 1604173 - Cherry-pick various servo-layout-2020 changes. 2019-12-16 13:34:23 +00:00
startupcache Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
storage Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky 2019-12-11 06:17:44 +00:00
taskcluster Bug 1592048 - Browsertime is intermittently failing to measure 'firstPaint' from Youtube on android r=rwood 2019-12-16 17:00:18 +00:00
testing Bug 1603634 - check if line is a decodable type r=aki,marco 2019-12-16 17:18:40 +00:00
third_party Bug 1604120: Bump Cranelift to ec787eb281bb2e18e191508c17abe694e91f0677; r=lth 2019-12-16 14:06:58 +00:00
toolkit Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE 2019-12-16 18:52:41 +02:00
tools Bug 1558239 - Use MOZ_OBJDIR as default binary for ./mach browsertime r=dpalmeiro 2019-12-16 17:02:43 +00:00
uriloader Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato 2019-12-13 20:36:16 +00:00
view Bug 1597847, rename remaining misc xul files from within /view, /gfx, /extensions, and /testing to .xhtml format r=marionette-reviewers,bgrins,whimboo,gbrown 2019-12-02 19:16:22 +00:00
widget Backed out changeset c9c256a84d8d (bug 1489463) for failures on browser_roundedWindow_windowSetting_max_inner.js. CLOSED TREE 2019-12-16 15:45:33 +02:00
xpcom Bug 1603153 throw an exception from nsThread::GetPRThread() when there is no PRThread r=froydnj 2019-12-12 21:53:58 +00:00
xpfe/appshell Bug 1603889 - Simplify the scrollbar preference setup. r=smaug 2019-12-15 22:56:23 +00:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1592302: Part 1: Import regexp directory from v8 r=mgaudet,mhoye 2019-11-28 18:48:23 +00:00
.cron.yml Bug 1596775: Run system-symbols task daily; r=glandium 2019-12-11 10:14:31 +00:00
.eslintignore Bug 1593674 - remove marionette VideoStream YouTube test as it's duplicated in raptor r=tarek,marionette-reviewers,whimboo 2019-12-05 14:06:38 +00:00
.eslintrc.js Bug 1556380 - Enable more ESLint rules for extensions/. r=Ehsan 2019-12-06 21:05:20 +00:00
.flake8 Bug 1596775: Add flake8 skip for python3.8; 2019-12-13 06:44:20 +02:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1588223 - Use many domains in iframes for tabswitch test r=stephendonner,perftest-reviewers,rwood 2019-11-25 18:31:36 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1588223 - Use many domains in iframes for tabswitch test r=stephendonner,perftest-reviewers,rwood 2019-11-25 18:31:36 +00:00
.hgtags No bug - Tagging mozilla-central 6d3a96d7f2f44e941ef6b61bfa10eed0389b142f with FIREFOX_NIGHTLY_72_END a=release DONTBUILD CLOSED TREE 2019-12-02 11:57:37 +00:00
.lldbinit Bug 1603645. Make the .lldbinit python scripts compatible with Python 3. r=froydnj 2019-12-13 17:53:13 +00:00
.mailmap
.prettierignore
.prettierrc Bug 1601681 - Re-enable unix-line endings on ESLint controlled files. r=mossop 2019-12-11 08:12:57 +00:00
.taskcluster.yml Bug 1589706: [firefox-ci] Use AWS Provider-based decision worker; r=Callek 2019-10-24 00:54:12 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-12-02 11:59:11 +00:00
Cargo.lock Bug 1604120: Bump Cranelift to ec787eb281bb2e18e191508c17abe694e91f0677; r=lth 2019-12-16 14:06:58 +00:00
Cargo.toml Bug 1604120: Bump Cranelift to ec787eb281bb2e18e191508c17abe694e91f0677; r=lth 2019-12-16 14:06:58 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1557788 - Remove spurious MOZ_PROFILE_USE ifndefs; r=firefox-build-system-reviewers,chmanchester 2019-12-09 18:03:53 +00:00
README.txt
aclocal.m4
build.gradle Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
client.mk
client.py
configure.in
configure.py Bug 1593948 - Touch clobber in configure.py instead of clobber.py; r=firefox-build-system-reviewers,chmanchester 2019-11-19 21:49:13 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1581684: Make sure ./mach mach-completion <command> uses the correct Python. r=ahal 2019-12-09 19:41:01 +00:00
moz.build Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher 2019-12-04 13:55:45 +00:00
moz.configure Bug 1470591 - Part 6: Create a fork server process. r=gsvelto 2019-12-05 00:02:40 +00:00
mozilla-config.h.in
old-configure.in Bug 1590624 - Use windows-style stl_wrappers for mingw build r=glandium 2019-12-12 06:38:41 +00:00
package-lock.json
package.json
settings.gradle Bug 1598010 - Move examples into mozilla-central r=agi 2019-11-22 13:30:57 +00:00
substitute-local-geckoview.gradle Bug 1581979 - Use -SNAPSHOT versions locally to enable the local GeckoView substitution flow. r=nalexander 2019-12-11 21:29:44 +00:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.