Commit Graph

11251 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
6f58c47a0d Merge mozilla-central to mozilla-inbound 2015-03-03 14:10:55 +01:00
Carsten "Tomcat" Book
e8beb2e4be merge mozilla-inbound to mozilla-central a=merge 2015-03-03 13:54:33 +01:00
Gregory Szorc
6d01f694ab Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.

--HG--
extra : rebase_source : f701417f83dfa4e196e39182f8d0a6fea46c6fbb
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -08:00
Nicholas Hurley
6eb4be429d Bug 1136361 - update node-http2 on ci. rs=mcmanus 2015-02-26 11:00:38 -08:00
Patrick McManus
7a1c7b71e8 Bug 967792 - Make localhost resolve offline. r=dragana 2015-02-25 14:02:38 -05:00
Valentin Gosu
435b62bfbc Bug 1123920 - domainLookupEnd and requestStart out-of-order when using a persistent connection r=mcmanus 2015-02-25 20:23:56 +02:00
Valentin Gosu
44a47b4866 Bug 1123920 - requestStart timestamp is before connectEnd when using persistent connections r=mcmanus 2015-02-25 20:23:35 +02:00
Valentin Gosu
b197d037c7 Bug 1132572 - Fix data race for nsHttpTransaction's timing info r=mcmanus 2015-02-25 20:23:23 +02:00
Michal Novotny
a5ab63a1b9 Bug 1133739 - HTTP cache v2: Add telemetry probes to find out the best initial read size of the metadata (fixed missing initialization of mFirstRead in one constructor), r=jseward 2015-02-25 17:46:51 +01:00
Ryan VanderMeulen
fcc3099d24 Backed out changeset 13d9a5e39eb3 (bug 967792) for Gaia unit test failures.
--HG--
extra : rebase_source : 965ab6a8427a5753309b0e62b97f8287ce3fcc11
2015-02-25 11:39:14 -05:00
leo@bastilia.ru
a499d91e12 Bug 1134993: Include *.su geographic domains in PSL. r=gerv 2015-02-25 14:46:16 +00:00
Patrick McManus
a6c55eb584 bug 967792 - make localhost resolve offline r=dragana
--HG--
extra : rebase_source : b6080cdfc58a5c488b8dbe50741b44556e8f1c63
2015-02-15 13:50:48 -05:00
Daniel Stenberg
7421e0dc52 Bug 237623 - introduce "soft" checks for HTTP framing errors, r=mcmanus
--HG--
extra : rebase_source : a920948bc393de14a17d903c4604fd4c61356293
2015-02-25 01:16:00 +01:00
Blake Kaplan
2b00b0f294 Bug 1087646 - fast-path null principal'd documents. r=mcmanus 2015-02-24 12:54:40 -08:00
Michal Novotny
59b700c5ee Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(). r=honzab
CLOSED TREE DONTBUILD
2015-02-24 11:49:46 -05:00
Ryan VanderMeulen
e6f89f97b9 Backed out changeset 12b059c5afc2 (bug 1055369) for frequent asserts across all test suites. 2015-02-24 11:40:22 -05:00
Timur Valeev
1234b03a23 Bug 1133846 - Add missing arguments to logging call in ActivateTimeoutTick. r=mcmanus 2015-02-24 00:57:00 -05:00
Michal Novotny
433ecb9f7d Bug 1055369 - Assertion failure: !handle || !handle->IsDoomed(), r=honzab 2015-02-24 16:09:17 +01:00
Honza Bambas
e628b7561e Bug 1134735 - Don't use tee->InitAsync in nsHttpChannel::InstallCacheListener when using cache2, r=michal 2015-02-19 12:36:00 +01:00
Honza Bambas
8b7f6eed90 Bug 1076366 - HTTP cache v2: Hand out CacheEntry to read-only callback demanding re-validation, r=michal
--HG--
extra : rebase_source : 1b12e0522e4cd5d97d165e8f629894a7221a4bb2
2015-02-20 12:50:00 +01:00
Michal Novotny
f6b06040ea Bug 1133739 - HTTP cache v2: Add telemetry probes to find out the best initial read size of the metadata, r=jduell 2015-02-23 16:13:02 +01:00
Michal Novotny
e0f89ef3f6 Bug 1131600 - Add telemetry probes to get detailed disk cache hit rate, r=mcmanus 2015-02-23 12:26:06 +01:00
Michal Novotny
6ba1ff0b47 Bug 1128339 - Add telemetry probes to find out impact of bug 1120945, r=jduell 2015-02-23 12:24:35 +01:00
Henry Hu
9ebbd4b410 Bug 1132358 - Save and restore mIterGenCnt. Keep it consistent with mIter. r=mcmanus
CLOSED TREE
2015-02-20 15:13:39 -05:00
Patrick McManus
0f9824c683 bug 1133177 - https tunnel of h1 without pconn inside h2 session stall r=hurley 2015-02-19 13:50:15 -05:00
Patrick McManus
d0b1783640 bug 1133177 - network logging and cleanups (part 1) r=hurley 2015-02-19 12:21:03 -05:00
Honza Bambas
d39b19327e Bug 1092857 - Drop conditional request headers when there is no cache entry available. r=michal 2015-02-20 06:31:00 -05:00
Valentin Gosu
3f26f11a87 Bug 1132693 - Add back check for mManageOfflineStatus r=jduell 2015-02-20 17:10:33 +02:00
Christoph Kerschbaumer
f3e352240e Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - callsite updated (r=sicking) 2015-02-19 11:47:59 -08:00
Christoph Kerschbaumer
fdf17679f1 Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - netUtil.h changes (r=sicking,sworkman) 2015-02-19 11:47:18 -08:00
Dragana Damjanovic
82480b23f3 Bug 1108957 - Add per network interface dns query. This is possible only with gonk. r=mayhemer 2015-02-19 00:14:00 -05:00
Josh Matthews
86618832b4 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00
Christoph Kerschbaumer
97044a5d58 Bug 1134196 - Allow 'null' LoadInfo within nsNetutil.h (r=sicking,jduell) 2015-02-18 15:13:23 -08:00
Christoph Kerschbaumer
a8d1c507ad Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-18 12:34:13 -08:00
Ryan VanderMeulen
5abea51e9a Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
cb61a019fc Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 14:10:52 -05:00
Ryan VanderMeulen
804f23b3e0 Backed out changeset 4ef497dc6f9b (bug 1131557) for frequent Linux xpcshell failures.
CLOSED TREE
2015-02-18 12:38:19 -05:00
Ryan VanderMeulen
126294da7d Backed out changeset 73e586b9f04f (bug 1109910) for bustage.
CLOSED TREE

--HG--
rename : netwerk/base/LoadInfo.cpp => docshell/base/LoadInfo.cpp
rename : netwerk/base/LoadInfo.h => docshell/base/LoadInfo.h
rename : netwerk/base/nsILoadInfo.idl => docshell/base/nsILoadInfo.idl
2015-02-18 11:57:57 -05:00
Christoph Kerschbaumer
1c3057e193 CLOSED TREE - Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-17 19:53:06 -08:00
Carsten "Tomcat" Book
cd9b02cc35 Backed out changeset 5f5540f3fcce (bug 1109910) for Bustage on a CLOSED TREE
--HG--
rename : netwerk/base/LoadInfo.cpp => docshell/base/LoadInfo.cpp
rename : netwerk/base/LoadInfo.h => docshell/base/LoadInfo.h
rename : netwerk/base/nsILoadInfo.idl => docshell/base/nsILoadInfo.idl
2015-02-18 17:15:00 +01:00
Christoph Kerschbaumer
ad762b9022 Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-17 19:53:06 -08:00
Dragana Damjanovic
c39aefe5a8 Bug 1131557 - Serve multiple xpcom events in one poll iteration. r=mcmanus 2015-02-18 06:35:00 -05:00
Dragana Damjanovic
7af9c45717 Bug 918827 - Remove caching for ftp connections. r=michal
--HG--
extra : amend_source : 2e31431e4227fdf3f88d31a8efa14aab8e793cd2
2015-03-02 14:31:53 -08:00
Nathan Froyd
2947b8b43f Bug 883954 - part 3 - build etld_data.inc using new GENERATED_FILES functionality; r=gps
As a proof-of-usefulness, let's change the build process for
etld_data.inc to write out the rules generating it automatically through
moz.build.
2014-12-16 15:15:14 -05:00
Daniel Holbert
b3db3d25ad Bug 1099296 followup: Drop now-unused variable "kIOServiceCID" from PropertiesTest.cpp. rs=ckerschb 2015-02-17 11:35:13 -08:00
Ben Kelly
86b1b38852 Bug 940273 - Part 1b - Expose nsFileProtocolHandler.h in mozilla/net. r=mcmanus 2015-03-02 14:11:00 +01:00
Christoph Kerschbaumer
5e75741df7 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - websocket changes (r=jduell) 2015-02-17 10:09:58 -08:00
Christoph Kerschbaumer
aeaa9915ea Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in netwerk/ (r=sworkman) 2015-02-17 10:09:31 -08:00
Gervase Markham
a2ec11ef55 Bug 1129436 - Add SinaAppEngine domains to PSL. r=gerv 2015-02-17 17:53:27 +00:00
Carsten "Tomcat" Book
d65809ce11 Backed out changeset d168a14d3f71 (bug 967792) for suspicion of causing OS X xpcshell test failures on a CLOSED TREE 2015-02-17 09:48:33 +01:00
Patrick McManus
d7be74843c bug 967792 - make localhost resolve offline r=dragana 2015-02-15 13:50:48 -05:00
Chris Peterson
fca55838eb Bug 1133282 - Remove nonstandard expression closures from netwerk. r=mcmanus 2015-01-24 23:50:26 -08:00
Valentin Gosu
48e650893e Bug 1132693 - navigator.onLine detection not working on Android r=mcmanus 2015-02-16 19:25:40 +02:00
Patrick McManus
fe6f2cfa3b bug 1133156 backout 7abb1cb9739e (bug 237623) for regression r=backout 2015-02-13 22:57:03 -05:00
Patrick McManus
f109af329a bug 1132808 - HttpBaseChannel::GetPrincipal should return URI prinicipal r=ckerschb r=sicking 2015-02-13 15:54:04 -05:00
Patrick McManus
f6e7bab9dc bug 1132212 - nshttptransction.cpp dont play with data race fire r=sworkman
--HG--
extra : rebase_source : 9c36261b9ce11598664932f2e40693eee735b498
2015-02-12 15:00:18 -05:00
Honza Bambas
5def7ddcfa Bug 1132109 - Make CacheEntry::mSortingExpirationTime atomic/relaxed. r=michal
CLOSED TREE

--HG--
extra : amend_source : 241fc7e6eafd615ed4f45b0463700ac0eb060327
2015-02-13 07:59:00 -05:00
Honza Bambas
549f163c2c Bug 1131092 - Place mFileStatus=NS_OK after CacheFile.Init() call in CacheEntry::Load(). r=michal 2015-02-13 07:58:00 -05:00
Honza Bambas
3f9fa46e24 Bug 1128219 - Re-check mListener while calling OnStopRequest after OnStartRequest in HttpBaseChannel::DoNotifyListener. r=michal 2015-02-13 07:56:00 -05:00
Honza Bambas
648b93198b Bug 1117763 - Remove range request headers on cache entry open failure. r=michal 2015-02-13 07:54:00 -05:00
Honza Bambas
12cbefc9b5 Bug 1120631 - CacheEntry::mFileStatus made atomic/rel_acq. r=nfroyd, r=michal 2015-02-13 07:55:00 -05:00
Honza Bambas
f4adbc2b8a Bug 1079789 - Don't doom expired entries in the HTTP cache intermediate memory pool. r=michal
CLOSED TREE
2015-02-12 14:00:00 -05:00
Monica Chew
31a570e70d Bug 1130893 - Use GetChannelURIPrincipal instead of GetChannelResultPrincipal in nsChannelClassifier, only call nsChannelClassifier if LOAD_CLASSIFY_URI is set. r=mcmanus r=ckerschb 2015-02-12 22:23:50 -08:00
Mark Goodwin
c0c1f9286c Bug 1092055 - Show security messages for subresources. r=mcmanus 2015-02-09 07:04:00 -05:00
Honza Bambas
7413eecfda Bug 881830 - Make CORS redirect handling ignore redirects due to an STS upgrade. r=bz 2015-02-10 08:00:00 -05:00
Michal Novotny
b0c1bd1269 Bug 1130784 - FAT32 file create limit code is using a bad error number, r=honzab 2015-02-12 11:28:50 +01:00
Valentin Gosu
1ab9fd152a Bug 1120985 - nsPartChannel does not return the correct value for isLastPart r=honzab 2015-02-12 00:11:24 +02:00
Valentin Gosu
0f953b6f12 Bug 1120985 - Allow nsMultiMixedConv to compute its boundary if content-type=application/package r=honzab
Also makes nsMultiMixedConv/nsPartChannel save and return individual headers for each part of the resource file.
2015-02-12 00:11:19 +02:00
Nicholas Nethercote
3a7b0a9f57 Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Ryan VanderMeulen
9651c57ff8 Merge m-c to inbound. a=merge 2015-02-11 16:29:25 -05:00
Ryan VanderMeulen
beac0dbc4b Merge inbound to m-c. a=merge 2015-02-11 16:21:36 -05:00
Paolo Amadini
50cc0567a7 Bug 1125618 - Revise NetUtil.jsm API for creating channels and fetching data while providing load info. r=sicking 2015-02-11 17:37:05 +00:00
Andrew McCreight
31ba9aaed9 Bug 1131199, part 2 - Make PLDHashtInitEntry infallible. r=froydnj
Also, drop the unused table argument.
2015-02-11 09:46:40 -08:00
Dragana Damjanovic
bcda688027 Bug 1123324 - Additional fix for nsHostResolver. r=sworkman 2015-02-10 08:45:00 -05:00
Daniel Stenberg
2d47b873af Bug 237623 - Introduce "soft" checks for HTTP framing errors. r=mcmanus 2015-02-11 05:17:00 -05:00
Nicholas Nethercote
63e3218e4c Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Ryan VanderMeulen
74f80ff51c Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Ryan VanderMeulen
8a45f1880d Backed out changesets b228f986968b and b5721ae2c2cd (bug 1092055) for browser_webconsole_certificate_messages.js failures. 2015-02-10 12:11:39 -05:00
Patrick McManus
66ba35c626 bug 1130874 - test for alt-svc -06 h2 extension r=hurley 2015-02-08 09:11:22 -05:00
Patrick McManus
bfa57d2872 bug 1130874 - update h2 alternate service extension to draft-06 r=hurley 2015-02-06 17:45:05 -05:00
Mark Goodwin
553c2556f8 Bug 1092055 - Show security messages for subresources. r=mcmanus 2015-02-09 07:04:00 -05:00
Carsten "Tomcat" Book
44452c0526 Backed out changeset 7d0e23391d53 (bug 1108957) for breaking nexus builds 2015-02-10 16:01:08 +01:00
Ethan Tseng
dc7d20d249 Bug 1070944 - Part 2: Implementation of saving statistics. r=albert 2015-01-27 17:15:44 +08:00
Dragana Damjanovic
3238411161 Bug 1108957 - Add per network interface dns query. This is possible only with gonk. r=mayhemer
--HG--
extra : rebase_source : 75ddd83c183db890d7c4adeb22679e7157d53372
2015-02-09 01:52:00 +01:00
Masatoshi Kimura
562649fe82 Bug 1128227 - Add a static TLS insecure fallback whitelist. r=keeler 2015-02-07 13:03:23 +09:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Valentin Gosu
5f363f569b Bug 1116124 - Temporarily return early instead of hitting assertion when status==NS_OK (see bug 1124971) r=mcmanus
--HG--
extra : rebase_source : 3880bc9a27bab6445f95a64678aae2152f927c95
2015-02-06 16:19:26 +02:00
Patrick McManus
c2d290654c bug 1129571 - h2/spdy coalsescing by full DNS rrset r=hurley 2015-01-30 10:55:07 -05:00
Valentin Gosu
4f128ac3e1 Bug 1120216 - Add telemetry for how often URLs contain !/ or !// or end with a ! r=mcmanus 2015-02-06 15:27:33 +02:00
Wes Kocher
834e2d3042 Merge inbound to m-c a=merge CLOSED TREE 2015-02-05 16:55:01 -08:00
Kan-Ru Chen (陳侃如)
9bdcbebafe Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 16:47:32 -05:00
Dave Townsend
425a83de72 Bug 1083281: Use flags to determine which chrome and about URIs are loaded in the content process. r=mconley, r=bsmedberg, r=jduell, r=mratcliffe
--HG--
extra : rebase_source : beda0088e7715eeb41525b0123f308068745bd80
2015-02-05 08:09:15 -08:00
Kan-Ru Chen (陳侃如)
553114ff7f Bug 1129311 - Don't use sNestedTabChildMap directly. r=smaug 2015-02-05 17:24:39 +08:00
Kan-Ru Chen (陳侃如)
0c04d0ee7e Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 17:18:22 +08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
6048189ffc Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046. 2015-02-05 14:35:35 -05:00
Patrick McManus
c220b0fb12 bug 1102923 - revert stack trace on rst generation r=backout 2015-02-05 08:20:54 -05:00
Jan de Mooij
1e8c1994e1 Bug 1125784 - Remove JS_ConvertArguments and JS_ConvertValue. r=jorendorff 2015-02-05 12:01:11 +01:00
Chris Peterson
f7890817ff Bug 1129331 - Remove nonstandard let blocks from netwerk. r=hurley 2015-01-24 23:36:25 -08:00