Commit Graph

11111 Commits

Author SHA1 Message Date
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
Nicholas Nethercote
b5913e0b3d Bug 1050035 (part 4) - 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 : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
9a36fdbde4 Bug 1050035 (part 2) - Remove the fallible version of PL_DHashTableInit(). r=froydnj,mrbkap.
Because it's no longer needed now that entry storage isn't allocated there.
(The other possible causes of failures are much less interesting and simply
crashing is a reasonable thing to do for them.)

This also makes PL_DNewHashTable() infallible.

--HG--
extra : rebase_source : 848cc9bbdfe434525857183b8370d309f3acbf49
2015-02-01 20:19:08 -08:00
Patrick McManus
6b3f08a665 bug 1102923 - debug1102923 stack on opt builds too r=hurley
--HG--
extra : rebase_source : 4426691514ef0c3cdef34356a9c2c4a6ee822c3b
2015-02-04 08:34:11 -05:00
Gervase Markham
8fa98dc306 Bug 1126101 - New TLD additions for TLDs contracted with ICANN from 2014-12-23 to 2015-01-26. r=gerv 2015-02-04 13:32:47 +00:00
Damien Tournoud
191a5e19ff 'Bug 1124625: Add platform.sh to the PSL. Patch by damien@commerceguys.com; r=gerv 2015-02-04 13:30:13 +00:00
Martin
fc9922fd36 Bug 1094260: Amendment to URL relating to .in entry in PSL. r=gerv 2015-02-04 13:23:17 +00:00
Birunthan Mohanathas
2b65bd6047 Bug 819090 - Replace nsVoidArray with nsTArray in netwerk/cache/. r=michal 2015-01-19 19:50:16 +02:00
Dragana Damjanovic
0b608c2cf0 Bug 1123324 - Fix host resolve. r=sworkman 2015-02-03 00:16:00 -05:00
Patrick McManus
578bc58466 bug 1102923 - debug code to get a useful stack during test_spdy.js fail r=hurley 2015-02-02 15:26:08 -05:00
Dragana Damjanovic
fb72f56932 Bug 1106396 - Fix nsHttpChannel::Suspend() in case of content is serve partially from cache and partially from network. r=honzab
--HG--
extra : rebase_source : d9be7f54828c5036f1b31b667224a3a8f97b4902
2015-01-27 00:50:00 +01:00
Patrick McManus
92c38efcb0 bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley 2015-02-02 13:42:23 -05:00
Nicholas Hurley
78cf4bc133 Bug 958712 part 3/3 - CONTINUATION tests r=mcmanus
--HG--
extra : rebase_source : e2598f72e6e767c09defd1f49266aaaab7b14505
2015-01-30 11:13:31 -08:00
Nicholas Hurley
881a7bed60 Bug 958712 part 2/3 - Allow CONTINUATIONs in PUSH_PROMISEs r=mcmanus
--HG--
extra : rebase_source : 1617bd7cd50a0310d2b50418e952f59c56ae5f2a
2015-01-30 11:35:20 -08:00
Nicholas Hurley
42bedd18ce Bug 1127568 - Don't assert in debug builds when receiving CONTINUATION on HEADERS. r=mcmanus
--HG--
extra : rebase_source : c561e1db4c383c39b19fe5215944f542d66bc492
2015-01-30 11:34:01 -08:00
Nicholas Hurley
1e8fe60386 No Bug - Fix js whitspace in h2 test and server. r=mcmanus
--HG--
extra : rebase_source : 6d89e846b108828e630c5e3aed8e6075bf533f77
2015-01-30 11:29:14 -08:00
Mike Hommey
a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Magnus Melin
23f3f9f4fa Bug 964024 - mozTXTToHTMLConv should never convert content inside <style>, <script>, <head> tags. r=honzab 2014-02-08 12:39:00 +02:00
Martin Thomson
24bfc1582b Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup
--HG--
extra : rebase_source : fc02059f7b80bc9bf4953030e910a923dd9a69d8
2015-01-28 14:05:56 -08:00
Masatoshi Kimura
bf88ffa183 Bug 1123020 - Remove options to allow unrestricted renegotiation. r=keeler 2015-01-29 21:04:26 +09:00
Patrick McManus
84f7fbbc7a bug 1094522 - only claim null transactions for your connection if KA eligible r=hurley CLOSED TREE
--HG--
extra : amend_source : 016cc2ea903e23dc5daaa3f875f96cc2e6bdb001
2015-01-28 16:56:57 -05:00
jp111
6137a8c380 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r=ted 2015-01-28 06:17:00 -05:00
Masatoshi Kimura
4e8a902fda Bug 1114816 - Implement TLS intolerance fallback whitelist. r=keeler 2015-01-29 03:52:42 +09:00
Patrick McManus
1d224b6824 bug 1094522 - claim conns with null transactions instead of starting new ones r=hurley 2015-01-27 21:55:38 -05:00
Monica Chew
da32e99bda Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus,gcp) 2015-01-21 11:33:07 -08:00
Patrick McManus
ca5f74b06d bug 1124717 - 4/4 test r=hurley 2015-01-26 16:41:47 -05:00
Patrick McManus
1925b7da36 bug 1124717 - 3/4 make h2/spdy default peer max concurrent setting configurable r=hurley 2015-01-26 16:06:44 -05:00
Patrick McManus
175d69c75b bug 1124717 - 1/4 h2/spdy fix spin when queuing post/put request over concurrent limit r=hurley 2015-01-23 11:22:22 -05:00
Nicholas Nethercote
c801affedb Bug 1124973 (part 3) - Use PL_DHashTableSearch() in nsHostResolver.cpp. r=froydnj,sworkman.
Currently nsHostResolver.cpp uses PL_DHashTableLookup() and fails to use
PL_DHASH_ENTRY_IS_{FREE,BUSY} on the result the way it should. However, I think
it gets away with this because it always does this on the result:

  if (!he || !he->rec) { /* do stuff with |he->rec| */ }

The |!he| test is useless and always fails, but the |!he->rec| does the right
thing because (a) entry storage is always zeroed when the table is created, (b)
HostDB_ClearEntry() zeroes the |rec| field (via NS_RELEASE). So unused entries
always have a null |rec| field.

Furthermore, |he->rec| is never zero in a used entry because HostDB_InitEntry
always assigns it with a nsHostRecord assigned with infallible new in
nsHostRecord::Create (and there are existing assertions to this effect).

All this means that when this patch switches PL_DHashTableLookup to
PL_DHashTableSearch it can drop the |!he->rec| test and just do this:

  if (!he) { /* do stuff with |he->rec| */ }

Finally, there's a comment about HostDB_InitEntry failing which is bogus
because HostDB_InitEntry cannot fail. This patch fixes that too.

--HG--
extra : rebase_source : ded6f8ff404cb160d89bbe7deeb3b863249bdb94
2015-01-22 21:25:44 -08:00
Nicholas Nethercote
3163cfc2c1 Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.

For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.

I'll do the trickier ones in subsequent patches.

--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
Gijs Kruitbosch
ee40b67775 Bug 1125372 - use nsISupports as first param of asyncResolve instead of switching wholesale from nsIURI to nsIChannel, for improved add-on compat, r=mcmanus 2015-01-27 21:30:49 +00:00
Wes Kocher
89130381fe Backed out 12 changesets (bug 1118398, bug 1119593) for zmedia failures
Backed out changeset db7c4ffd5a53 (bug 1119593)
Backed out changeset 2832633668c3 (bug 1119593)
Backed out changeset 2f38bbb30cc6 (bug 1119593)
Backed out changeset 46b5bb0665e9 (bug 1119593)
Backed out changeset e97ee52f7803 (bug 1119593)
Backed out changeset f7f0adc1879d (bug 1119593)
Backed out changeset 4ccecd0da80f (bug 1119593)
Backed out changeset 2ea753b42366 (bug 1119593)
Backed out changeset 28d59c42debb (bug 1119593)
Backed out changeset a38d68f15ced (bug 1119593)
Backed out changeset 1d565fc1473c (bug 1119593)
Backed out changeset d28a04536e7e (bug 1118398)
2015-01-27 16:56:02 -08:00
Martin Thomson
8b4ed320c4 Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup
--HG--
extra : rebase_source : 65b0abb4b3519e0b68a18fc09980bce42a0d3d39
2015-01-27 12:35:58 -08:00
Michal Novotny
3e9595aa5b Bug 1119406 - HTTP cache v2: Doom cache entry when writing of metadata fails, r=honzab 2015-01-27 15:50:18 +01:00
Michal Novotny
c9459ea8d5 Bug 1120945 - HTTP cache v2: maximum number of entries is limited to 13106 on FAT32, r=honzab 2015-01-27 02:29:02 +01:00
Fabrice Desré
cbe4cfa47a Bug 1115935 - Opt out of the "Mobile" part in the UA string for standard b2g desktop builds r=gal 2015-01-23 22:00:50 -08:00
Phil Ringnalda
da1262334e Merge m-c to a CLOSED TREE m-i 2015-01-23 22:00:41 -08:00
Ryan VanderMeulen
8e7ca863fa Merge m-c to b2g-inbound. a=merge 2015-01-23 12:32:39 -05:00
Jonathan Hao
31fa7b90c2 Bug 1119681 - [RTSP] Add time stamps to RTSP live streams. r=ettseng, r=bechen 2015-01-23 10:04:53 +08:00
Honza Bambas
1bb150c179 Bug 1123840 - "crash in libsystem_platform.dylib@0x51e0". r=honzab.moz 2015-01-22 13:51:00 +01:00
Wes Kocher
3418552950 Backed out changeset d11387c52d67 (bug 1106396) for causing crashes for NoScript users on a CLOSED TREE 2015-01-22 11:13:40 -08:00