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
Перейти к файлу
Paul Vitale 2966b99504 Bug 1203503 - part 1. change necko to allow CONNECT-only requests r+mayhemer
Necko does not allow for a CONNECT only request to happen.  This adds a flag
to signal an http channel should only CONNECT if proxied.  This flag can only be
set if an HTTPUpgrade handler has been assigned.  As proposed by rfc7639, an
alpn header will be included in the CONNECT request.  Its value is determined by
the upgrade protocol passed to HTTPUpgrade.

The flag is added as part of nsIHttpChannelInternal because it is dependent on
HTTPUpgrade.  It exists as a capability flag since the channel's transaction
needs to know to complete after a successful CONNECT.  Also the transaction's
connection needs to know to stop writing transaction data after it CONNECTs or
if there's no proxy, and to not tell the transaction to reset.

If an nsHttpChannel has this flag set then the upgrade handler will receive the
socket after the CONNECT succeeds without doing tls if https.

In order to support xpcshell-test for this change, nsHttpConnectionMgr does a
little check to see if HTTPUpgrade callback is in JavaScript.  If it is then
the callback is invoked on the main thread.

--HG--
extra : rebase_source : 96cdfe0e1ffe2f7dad7d12c83c22be92d118195a
extra : intermediate-source : 70710e9bf3d98488485c3265ebdea09683a42a80
extra : source : 25b4b531c10c4b2dae416fd7d744a63a32fed7e5
2018-07-19 11:41:57 -05:00
.cargo Bug 1504507 - Update serde branch for changes in WR PR #3264. r=kats 2018-11-05 13:14:07 +00:00
.vscode Bug 1493017 - Tweak vscode tasks.json problemMatcher regexes to handle clang/Windows output - r=jya 2018-09-21 10:00:59 +00:00
accessible Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug 2018-11-15 06:51:07 +00:00
browser Bug 1504489 - Make fuzzing ccov mozconfig import the code coverage opt mozconfig. r=decoder 2018-11-15 00:40:19 +01:00
build Bug 1502021 - Keep renaming __gcov_flush in LLVM to avoid naming clashes with builds mixing GCC and LLVM coverage instrumentation. r=decoder 2018-11-14 01:41:22 +01:00
caps Bug 1502743 - Replace black/whitelist within caps to block/allowlist r=ckerschb 2018-10-31 17:56:43 +00:00
chrome Bug 1356412: Part 2 - Remove script loader path mangling from DOM code. r=bz 2018-11-02 16:15:26 -07:00
config Bug 1507032 - Work around bug in wayland (< 1.12) headers. r=froydnj 2018-11-14 22:48:26 +00:00
db Bug 1495238 - Upgrade to SQLite 3.25.3. r=mak 2018-11-06 16:59:19 +00:00
devtools Bug 1498115 - Part 3: Implement the new styles for the flex item list. r=pbro 2018-11-15 10:02:44 -05:00
docshell Bug 1496840 - Add a browsingContext getter to the browser element. r=farre 2018-11-12 17:57:48 +00:00
dom Bug 1507144 - Enable reporting API by default in nightly only, r=smaug 2018-11-15 11:15:58 +01:00
editor Bug 1503299 - Disable a clipboard mochitest on more android variants; r=me,a=test-only 2018-11-14 09:20:09 -07:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions Bug 1506390 - ensure the default permissions do not intefer with the permission tests that assume no defaults. r=johannh 2018-11-14 14:55:22 +02:00
gfx Backed out 2 changesets (bug 1507021) for android build bustages on a CLOSED TREE 2018-11-15 06:35:54 +02:00
gradle/wrapper Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp 2018-07-17 13:20:19 +01:00
hal Bug 1488401 - Remove the remnants of the DiskSpaceWatcher r=asuth,janv,smaug 2018-09-13 06:40:51 +00:00
image Bug 1503653 - Part 2. Enable WebP by default. r=tnikkel 2018-11-15 06:54:48 -05:00
intl Bug 1502530 - Part 2: Update tzdata in ICU data files to 2018g. r=Waldo 2018-11-06 02:52:01 -08:00
ipc Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl 2018-11-14 18:07:28 +00:00
js Bug 1506640 - Trace wrappers rooters during sweep phase r=pbone a=abillings 2018-11-15 11:57:00 +00:00
layout Bug 1503525 - Disable svg/outline.html on Linux and OSX debug for frequent failures. r=jmaher 2018-11-15 12:49:06 +02:00
media Bug 1503363: Regenerate webrtc moz.build files. r=dminor 2018-11-14 10:37:21 -05:00
memory Bug 1507035 - Fix run sizes for size classes >= 16KB on systems with large pages. r=njn 2018-11-14 06:58:53 +00:00
mfbt Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
mobile Bug 1507324 - 2. Don't start in remote mode when there is opener; r=geckoview-reviewers,snorp 2018-11-14 23:43:10 +00:00
modules Bug 1503653 - Part 2. Enable WebP by default. r=tnikkel 2018-11-15 06:54:48 -05:00
mozglue Backed out changeset 2bc6db0a2574 (bug 1486524) android raptor failures ona CLOSED TREE 2018-11-14 23:04:59 +02:00
netwerk Bug 1203503 - part 1. change necko to allow CONNECT-only requests r+mayhemer 2018-07-19 11:41:57 -05:00
nsprpub Bug 1477680, NSPR 4.20 RTM, no code change, only version number, r=me 2018-08-28 16:21:01 +02:00
other-licenses Bug 1468544 - Replace mar_hash_name with CityHash algorithm. r=rstrong 2018-11-06 13:34:21 -05:00
parser Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug 2018-11-15 06:52:01 +00:00
python Backed out changeset 565215cf2e5e (bug 1501802) for causing mass mda failures. CLOSED TREE 2018-11-15 09:17:08 +02:00
security Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2018-11-08 13:54:03 +00:00
servo Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug 2018-11-15 06:52:01 +00:00
startupcache Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
storage Bug 1506554 part 2 - Actually call cleanupLocaleTests in storage/test/unit/test_locale_collation.js. r=asuth 2018-11-14 07:46:34 +00:00
taskcluster Bug 1504489 - Make fuzzing ccov mozconfig import the code coverage opt mozconfig. r=decoder 2018-11-15 00:40:19 +01:00
testing Bug 1507458 - Disable WPT + Feature-policy + reporting API tests in beta, r=smaug 2018-11-15 15:39:18 +01:00
third_party Merge mozilla-central to mozilla-inbound. 2018-11-10 13:51:14 +02:00
toolkit Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
tools Bug 1502021 - Keep renaming __gcov_flush in LLVM to avoid naming clashes with builds mixing GCC and LLVM coverage instrumentation. r=decoder 2018-11-14 01:41:22 +01:00
uriloader Bug 1496827 - Remove the "notification" binding. r=bgrins 2018-11-13 12:56:42 +00:00
view Bug 1504521 - rename in-tree mentions of bugzilla metadata for product and component "Core :: Layout: Web Painting" to "Core :: Web Painting" r=kats 2018-11-04 12:57:04 +00:00
widget Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
xpcom Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
xpfe/appshell Bug 1496722 - Make nsIDocShellTreeItem.itemType readonly. r=peterv 2018-11-08 21:58:58 +00:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format
.clang-format-ignore Bug 1506177 - Ignore the formating on all layout/style/ns*List.h file r=emilio 2018-11-09 16:51:01 +00:00
.cron.yml Bug 1503547 - Move searchfox indexing jobs a half hour earlier to match nightly build times. r=mccr8 2018-11-01 15:37:07 +00:00
.eslintignore Bug 1506559 - Enable ESLint for memory/replace/dmd/test/. r=njn 2018-11-13 09:07:38 +00:00
.eslintrc.js Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (setup ESLint). r=mossop 2018-10-19 08:46:31 +00:00
.flake8 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander 2018-10-24 21:54:34 +00:00
.gdbinit Bug 1486903 - Add "ftl" command to dump frame subtree to .gdbinit. r=Ehsan 2018-08-28 20:20:21 +00:00
.gdbinit_python
.gitignore Bug 1503447 - Remove Nothing() semantic from ASR overrides r=kats 2018-11-14 14:15:16 +00:00
.hgignore Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander 2018-10-24 21:54:34 +00:00
.hgtags No bug - Tagging mozilla-central c44fbdd5173548c9035256dda8fd3512f67118a8 with FIREFOX_NIGHTLY_64_END a=release DONTBUILD CLOSED TREE 2018-10-22 08:48:42 -07:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1505930 - Promote try-push analysis result r=catlee 2018-11-08 21:40:53 +00:00
.trackerignore Bug 1486468 - Add .trackerignore file to avoid GNOME Tracker indexing mozilla-central files. r=ahal 2018-08-27 16:45:03 +02:00
.yamllint
.ycm_extra_conf.py
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
CLOBBER Bug 1499026 - Part 3: Updating ICU requires a clobber. r=clobber 2018-11-01 06:32:49 -07:00
Cargo.lock Bug 1496503 - Change the rust panic hook to delegate to Gecko's crash code. r=froydnj 2018-11-14 22:35:33 +00:00
Cargo.toml Bug 1504507 - Update serde branch for changes in WR PR #3264. r=kats 2018-11-05 13:14:07 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in 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
README.txt Bug 1480997 - Remove "Mozilla FTP server" link in README.txt r=mossop 2018-10-23 10:06:29 +00:00
aclocal.m4
build.gradle Bug 1485439 - Pre: Upgrade Android Gradle plugin. r=nalexander 2018-09-04 22:33:00 +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
configure.in
configure.py Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
gradle.properties Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella 2018-04-11 09:59:22 -07:00
gradlew
mach
moz.build Bug 1490253 - Replace pipenv with pip-tools for vendoring packages and dependencies; r=ahal 2018-10-10 08:58:41 +00:00
moz.configure Bug 1492716 - Part 2: Add formatting rule to help text for --{enable,disable,with,without}. r=glandium 2018-10-16 20:28:12 +09: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 1495238 - Upgrade to SQLite 3.25.3. r=mak 2018-11-06 16:59:19 +00:00
package-lock.json Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander 2018-10-01 17:28:45 +00:00
package.json Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander 2018-10-01 17:28:45 +00:00
settings.gradle Bug 1444546 - Part 2: Build annotationProcessors with Gradle. r=jchen 2018-02-22 16:11:14 -08: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.