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
Go to file
Nikki S c1eaf010be mozlog: move the capture io class from web-platform/tests to mozlog (bug 1021926) r=jgraham
The ability to capture the parent process' stdio is suggested to be a useful feature
to move from web-platform/tests into mozlog. To do so, I have created a new capture.py
file within mozlog/mozlog. This includes the CaptureIO class and its dependencies,
including the LoggingWrapper and LogThread classes. These have been removed from their
original location, to avoid duplication, and the files depending on them updated
accordingly.

It would be useful to add unittests testing the CaptureIO enter and exit methods, and
the original_stdio, logging_queue and logging_thread properties. I have begun such a
file with test_capture.py in mozlog/tests. This is a work in progress, however I may
need some guidance, please, in regards to creating appropriate mock data to assert.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 10:21:12 +00:00
.cargo Backed out 2 changesets (bug 1529117) for build bustage 2019-02-27 13:27:50 +02:00
.vscode Bug 1514820 - Recommend a VSCode extension for IDL language highlighting r=jya 2018-12-18 19:43:33 +00:00
accessible Backed out changeset 583048926c12 (bug 1531579) for Geckoview failure. CLOSED TREE 2019-03-12 01:38:46 +02:00
browser Bug 1531367 - use root event for history middle clicks to get the correct URI, r=mak 2019-03-12 09:22:11 +00:00
build Bug 1490573 - Use fetches for nsis and wine toolchain tasks. r=froydnj 2019-03-11 01:38:46 +00:00
caps Bug 1532727 - replace OptionalURIParams with URIParams? in IPDL; r=froydnj 2019-03-06 14:05:50 +00:00
chrome Backed out 4 changesets (bug 1532253) for Windows bustage at Unified_cpp_netwerk_base2.i_o on a CLOSED TREE. 2019-03-11 15:22:39 +02:00
config Backed out 2 changesets (bug 1516325) for xpcshell failures in netwerk/test/unit/test_udpsocket.js. CLOSED TREE 2019-03-06 20:51:39 +02:00
db Bug 1530749 - Upgrade to SQLite 3.27.2. r=mak 2019-02-26 23:21:05 +00:00
devtools Bug 1533657 - Remove defer usage in devtools/client/shared/widgets/Graphs.js. r=nchevobbe 2019-03-12 10:33:43 +00:00
docshell Bug 1525036 - Add CrossOriginPolicy to the browsing context r=nika 2019-03-12 08:04:01 +00:00
dom Backed out 4 changesets (bug 1500713) for build bustage 2019-03-12 07:16:59 +02:00
editor Bug 1532890 - Get rid of CachedWeakPtr due to unused r=m_kato 2019-03-07 04:25:40 +00:00
embedding Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
extensions Bug 1533750 - pack members of PermissionEntry better on 64-bit platforms; r=jdm 2019-03-11 18:36:44 +00:00
gfx Merge inbound to mozilla-central. a=merge 2019-03-12 11:51:39 +02:00
gradle/wrapper Bug 1509572 - Part 1: Bump Gradle wrapper to 4.10.2; decouple script from Gradle version. r=snorp 2018-11-26 21:42:27 +00:00
hal Bug 1523969 part 9 - Move method definition inline comments to new line in 'hal/'. r=gsvelto 2019-02-25 16:07:35 -06:00
image Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan 2019-03-08 09:04:11 +00:00
intl Bug 1533435 - Create new plural for Slavic languages (bs, hr, sr) to account for different CLDR categories than Russian r=Pike 2019-03-07 18:56:20 +00:00
ipc Bug 1525036 - Add CrossOriginPolicy to the browsing context r=nika 2019-03-12 08:04:01 +00:00
js Bug 1534516 - Use correct AutoGCRooter::Tag in BinASTParserBase. r=Yoric 2019-03-12 09:16:00 +00:00
layout Bug 1466208 - part 44: Rename PresShell::EventHandler::HandleEventInternal() to HandleEventWithCurrentEventInfo() r=smaug 2019-03-12 04:25:13 +00:00
media Bug 1533092 - Add in-tree fuzzing support for dav1d r=decoder 2019-03-11 20:00:31 +00:00
memory Bug 1531027 - Make InfallibleAllocPolicy::new_ accept its argument as a reference; r=njn 2019-02-28 06:41:09 +00:00
mfbt Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-12 06:53:06 +02:00
mobile Backed out changeset 583048926c12 (bug 1531579) for Geckoview failure. CLOSED TREE 2019-03-12 01:38:46 +02:00
modules Bug 1525036 - Add pref for Cross-Origin policy r=nika 2019-03-12 08:04:15 +00:00
mozglue Bug 1503538 Part 1/5: Move printf_stderr to a shared header r=aklotz 2019-03-06 00:51:15 +00:00
netwerk Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-12 12:01:18 +02:00
nsprpub Bug 1526010, NSPR 4.21 RTM, r=me 2019-03-07 11:16:36 +01:00
other-licenses Bug 1523118 atk: Implement scrollsubstringto ATK API. r=surkov 2019-01-26 20:38:53 +01:00
parser Bug 1527977 - Share XUL prototype cache with XUL and XHTML. r=smaug 2019-03-09 01:00:23 +00:00
python Bug 1521186 - Download nasm toolchain on Windows and Linux. r=firefox-build-system-reviewers,mshal 2019-03-11 18:00:13 +00:00
remote Bug 1533679 - Implement very first Target domains. r=ato 2019-03-10 12:51:11 +00:00
security Bug 1523175 - land NSS NSS_3_43_BETA1 UPGRADE_NSS_RELEASE, r=me 2019-03-08 22:44:27 +00:00
services Backed out changeset 4b280518c7b1 (bug 1532514) for Browser-chrome failures in browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js. CLOSED TREE 2019-03-12 03:59:56 +02:00
servo Bug 1508028 - Change stroke-miterlimit restriction from GreaterThanOrEqualToOneNumber to NonNegativeNumber. r=longsonr,emilio 2019-03-09 13:05:56 +00:00
startupcache Bug 1364235 - Collect telemetry stats on startup cache hits and misses r=kmag 2019-03-05 16:52:57 +00:00
storage Bug 1530506 - Add a generic writable property bag wrapper for Rust code. r=nika 2019-02-26 21:53:32 +00:00
taskcluster Bug 1490573 - Use fetches for nsis and wine toolchain tasks. r=froydnj 2019-03-11 01:38:46 +00:00
testing mozlog: move the capture io class from web-platform/tests to mozlog (bug 1021926) r=jgraham 2019-03-12 10:21:12 +00:00
third_party Merge mozilla-inbound to mozilla-central. a=merge 2019-03-09 11:47:52 +02:00
toolkit Bug 1530029 - Fix tests that use checkArrayValues to also check for the autocomplete footer in password manager tests. r=MattN 2019-03-12 00:21:11 +00:00
tools Bug 1533969 - Fix build error with newer glibc. r=nbp 2019-03-11 19:28:37 +00:00
uriloader Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan 2019-03-08 09:04:11 +00:00
view Bug 1533617 part 1. Improve MOZ_CAN_RUN_SCRIPT annotations around synth mouse events. r=emilio 2019-03-11 14:58:04 +00:00
widget Bug 1466208 - part 39: Create PresShell::EventHandler::MaybeHandleKeyboardEventBeforeDispatch() r=smaug 2019-03-08 12:46:17 +00:00
xpcom Backed out 4 changesets (bug 1532253) for Windows bustage at Unified_cpp_netwerk_base2.i_o on a CLOSED TREE. 2019-03-11 15:22:39 +02:00
xpfe/appshell Bug 827976 - Improve usage of the hidden window for nsXULWindow::Destroy. r=aklotz 2019-03-04 18:52:49 +00:00
.arcconfig
.clang-format Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
.clang-format-ignore Bug 1528492 - Add cbor-cpp to the thirdparty list r=jcj 2019-02-17 01:03:40 +00:00
.cron.yml Bug 1533801 - Run the searchfox jobs on beta and release. r=emilio 2019-03-08 21:51:56 +00:00
.eslintignore Backed out changeset 4b280518c7b1 (bug 1532514) for Browser-chrome failures in browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js. CLOSED TREE 2019-03-12 03:59:56 +02:00
.eslintrc.js Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r=kats 2018-12-27 09:45:01 +00:00
.flake8 Bug 1523835 - Added python/mozbuild/mozpack to the flake8 linter and solved the errors, r=ahal 2019-03-01 15:36:45 -05:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
.gitignore Bug 1521864 - It should be possible to open the debugger in a tab. r=davidwalsh 2019-02-21 14:56:47 +00:00
.hg-annotate-ignore-revs Bug 1508324 - Generate list of past changesets to be skipped for blame. r=me NPOTB DONTBUILD 2018-12-27 18:08:25 -02:00
.hg-format-source Bug 1511181 - Quick fix for .hg-format-source that has an empty line. r=ehsan, a=aryx 2018-11-30 13:25:44 +02:00
.hgignore Bug 1525638 - Let hg ignore the build directories of WebRender standalone builds. r=ted 2019-02-11 13:37:44 +00:00
.hgtags No bug - Tagging mozilla-central f4c23517cec8626038a915bfe3bc7c0e1f6af55d with FIREFOX_BETA_67_BASE a=release DONTBUILD CLOSED TREE 2019-03-11 05:22:20 -07:00
.lldbinit
.mailmap
.taskcluster.yml Bug 1524358 - get commit message locally, rather than from task parameters r=tomprince 2019-02-01 23:27:48 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
aclocal.m4 Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander 2019-01-14 18:37:06 +00:00
AUTHORS
build.gradle Backed out 5 changesets (bug 1508976, bug 1522581) for android geckoview bustages at /usr/bin/python2.7. CLOSED TREE 2019-03-05 22:42:15 +02:00
Cargo.lock Bug 1532810 - Update gleam. r=me 2019-03-08 13:34:48 -08:00
Cargo.toml Backed out 2 changesets (bug 1529117) for build bustage 2019-02-27 13:27:50 +02:00
client.mk Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
client.py
CLOBBER Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf 2019-02-25 21:50:58 +00:00
configure.in
configure.py Bug 1528241 - Add a trace mode to python configure that logs internal values. r=chmanchester 2019-02-20 07:46:22 +09:00
GNUmakefile
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1531680 - Don't disable LTO on standalone profile-generate builds. r=chmanchester 2019-03-05 22:09:46 +00:00
moz.build Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:49 +00:00
moz.configure Bug 1526249 - Look for llvm-objdump in toolchain path r=mshal 2019-03-11 15:16:53 +00:00
mozilla-config.h.in Bug 1504022 - Map GetExceptionCode to a nop to avoid an error r=bobowen 2018-11-02 13:28:01 -05:00
old-configure.in Bug 1530749 - Upgrade to SQLite 3.27.2. r=mak 2019-02-26 23:21:05 +00:00
package-lock.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
package.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
README.txt Bug 1480997 - Remove "Mozilla FTP server" link in README.txt r=mossop 2018-10-23 10:06:29 +00:00
settings.gradle
test.mozbuild

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.