forked from BrowserWorks/Waterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backed out 4 changesets (bug 1533831) for xpcshell failures on remote…
…/test/unit/test_Error.js. CLOSED TREE Backed out changeset a3014b38cc5f (bug 1533831) Backed out changeset 57a319eeed2d (bug 1533831) Backed out changeset afcfdae88bf7 (bug 1533831) Backed out changeset c03450df8660 (bug 1533831)
- Loading branch information
1 parent
ea6fe15
commit 6e8934b
Showing
9 changed files
with
29 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,25 @@ | ||
Building | ||
======== | ||
|
||
The remote agent is included in the default Firefox build, but | ||
disabled by default. To expose the remote agent you can set the | ||
`remote.enabled` preference to true before running it: | ||
The remote agent is by default not included in Firefox builds. | ||
To build it, put this in your [mozconfig]: | ||
|
||
% ./mach run --setpref="remote.enabled=true" --remote-debugger | ||
ac_add_options --enable-cdp | ||
|
||
The source code is found under `$(topsrcdir)/remote`. | ||
This exposes a `--remote-debugger` flag you can use to start the | ||
remote agent: | ||
|
||
Full build mode | ||
--------------- | ||
% ./mach run --setpref "browser.fission.simulate=true" -- --remote-debugger | ||
|
||
The remote agent supports only Firefox, and is included when you | ||
build in the usual way: | ||
|
||
% ./mach build | ||
|
||
When you make changes to XPCOM component files you need to rebuild | ||
When you make changes to the XPCOM component you need to rebuild | ||
in order for the changes to take effect. The most efficient way to | ||
do this, provided you haven’t touched any compiled code (C++ or Rust): | ||
|
||
% ./mach build faster | ||
|
||
Component files include the likes of command-line-handler.js, | ||
RemoteAgent.manifest, moz.build files, prefs/remote.js, and jar.mn. | ||
All the JS modules (files ending with `.jsm`) are symlinked into | ||
the build and can be changed without rebuilding. | ||
|
||
You may also opt out of building the remote agent entirely by setting | ||
the `--disable-cdp` build flag in your [mozconfig]: | ||
|
||
ac_add_options --disable-cdp | ||
|
||
|
||
Artifact mode | ||
------------- | ||
|
||
You may also use [artifact builds] when working on the remote agent. | ||
This fast build mode downloads pre-built components from the Mozilla | ||
build servers, rendering local compilation unnecessary. To use | ||
them, place this in your [mozconfig]: | ||
|
||
ac_add_options --enable-artifact-builds | ||
|
||
Component files include the likes of RemoteAgent.js, RemoteAgent.manifest, | ||
moz.build files, prefs/remote.js, and jar.mn. All the JS modules | ||
(files ending with `.jsm`) are symlinked into the build and can be | ||
changed without rebuilding. | ||
|
||
[mozconfig]: ../build/buildsystem/mozconfigs.html | ||
[artifact builds]: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Artifact_builds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters