Commit Graph

5741 Commits

Author SHA1 Message Date
Valentin Gosu
e669794f18 Bug 1116124 - Temporarily return early instead of hitting assertion when status==NS_OK (see bug 1124971) r=mcmanus 2015-02-06 16:19:26 +02:00
Patrick McManus
7ba3854016 bug 1129571 - h2/spdy coalsescing by full DNS rrset r=hurley 2015-01-30 10:55:07 -05:00
Valentin Gosu
8a4646d9bc 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
ec2159dddd Merge inbound to m-c a=merge CLOSED TREE 2015-02-05 16:55:01 -08:00
Kan-Ru Chen (陳侃如)
8dba892982 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 16:47:32 -05:00
Dave Townsend
121d197d22 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 2015-02-05 08:09:15 -08:00
Kan-Ru Chen (陳侃如)
4a4042f903 Bug 1129311 - Don't use sNestedTabChildMap directly. r=smaug 2015-02-05 17:24:39 +08:00
Kan-Ru Chen (陳侃如)
d1351de810 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 17:18:22 +08:00
Nicholas Nethercote
0a02b5d31c Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
d8c6df0517 Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046. 2015-02-05 14:35:35 -05:00
Patrick McManus
570e623b7f bug 1102923 - revert stack trace on rst generation r=backout 2015-02-05 08:20:54 -05:00
Jan de Mooij
b2753ed064 Bug 1125784 - Remove JS_ConvertArguments and JS_ConvertValue. r=jorendorff 2015-02-05 12:01:11 +01:00
Chris Peterson
8654748423 Bug 1129331 - Remove nonstandard let blocks from netwerk. r=hurley 2015-01-24 23:36:25 -08:00
Nicholas Nethercote
a40419dc43 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.
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
a5bbfabc46 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.
2015-02-01 20:19:08 -08:00
Patrick McManus
d78b4b3c37 bug 1102923 - debug1102923 stack on opt builds too r=hurley 2015-02-04 08:34:11 -05:00
Gervase Markham
8339e305f6 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
3d4f4533c7 'Bug 1124625: Add platform.sh to the PSL. Patch by damien@commerceguys.com; r=gerv 2015-02-04 13:30:13 +00:00
Martin
6451871de5 Bug 1094260: Amendment to URL relating to .in entry in PSL. r=gerv 2015-02-04 13:23:17 +00:00
Birunthan Mohanathas
c2eeea910a Bug 819090 - Replace nsVoidArray with nsTArray in netwerk/cache/. r=michal 2015-01-19 19:50:16 +02:00
Dragana Damjanovic
7ff1e0d62a Bug 1123324 - Fix host resolve. r=sworkman 2015-02-03 00:16:00 -05:00
Patrick McManus
8f1cf80c24 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
54c4b431a0 Bug 1106396 - Fix nsHttpChannel::Suspend() in case of content is serve partially from cache and partially from network. r=honzab 2015-01-27 00:50:00 +01:00
Patrick McManus
31eca0ff6f bug 1128038 - h2 DAV methods set end_stream bit twice r=hurley 2015-02-02 13:42:23 -05:00
Nicholas Hurley
93cfc8a713 Bug 958712 part 3/3 - CONTINUATION tests r=mcmanus 2015-01-30 11:13:31 -08:00
Nicholas Hurley
ea7bd10ed1 Bug 958712 part 2/3 - Allow CONTINUATIONs in PUSH_PROMISEs r=mcmanus 2015-01-30 11:35:20 -08:00
Nicholas Hurley
feabb4986c Bug 1127568 - Don't assert in debug builds when receiving CONTINUATION on HEADERS. r=mcmanus 2015-01-30 11:34:01 -08:00
Nicholas Hurley
88db1a642b No Bug - Fix js whitspace in h2 test and server. r=mcmanus 2015-01-30 11:29:14 -08:00
Mike Hommey
50e6916b40 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Magnus Melin
d441437825 Bug 964024 - mozTXTToHTMLConv should never convert content inside <style>, <script>, <head> tags. r=honzab 2014-02-08 12:39:00 +02:00
Martin Thomson
c811309a83 Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup 2015-01-28 14:05:56 -08:00
Masatoshi Kimura
90c7a6b8f8 Bug 1123020 - Remove options to allow unrestricted renegotiation. r=keeler 2015-01-29 21:04:26 +09:00
Patrick McManus
373db355db bug 1094522 - only claim null transactions for your connection if KA eligible r=hurley CLOSED TREE 2015-01-28 16:56:57 -05:00
jp111
525798f482 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
65d35ee16e Bug 1114816 - Implement TLS intolerance fallback whitelist. r=keeler 2015-01-29 03:52:42 +09:00
Patrick McManus
374c050172 bug 1094522 - claim conns with null transactions instead of starting new ones r=hurley 2015-01-27 21:55:38 -05:00
Monica Chew
ff52b1ff2d Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus,gcp) 2015-01-21 11:33:07 -08:00
Patrick McManus
2212535cbe bug 1124717 - 4/4 test r=hurley 2015-01-26 16:41:47 -05:00
Patrick McManus
2be5e09bca 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
f13ebd0616 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
550d0cf346 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.
2015-01-22 21:25:44 -08:00
Nicholas Nethercote
d761b24aaf 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.
2015-01-22 21:06:55 -08:00
Gijs Kruitbosch
13587e096a 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
7cb7a0a479 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
03d76b115d Bug 1118398 - Dispatch data channel onclose unconditionally on reset, r=jesup 2015-01-27 12:35:58 -08:00
Michal Novotny
cdc4849d47 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
9e0728ef38 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é
484514a8d2 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
e5a01106a6 Merge m-c to a CLOSED TREE m-i 2015-01-23 22:00:41 -08:00
Ryan VanderMeulen
5de6bf9c0f Merge m-c to b2g-inbound. a=merge 2015-01-23 12:32:39 -05:00