Commit Graph

5814 Commits

Author SHA1 Message Date
Nicholas Nethercote
fa52a2c4c9 Bug 1123151 (part 1) - Set PLDHashTable::ops consistently. r=froydnj.
Currently the setting of PLDHashTable::ops is very haphazard.

- PLDHashTable has no constructor, so it's not auto-nulled, so lots of places
  null it themselves.

- In the fallible PLDHashTable::Init() function, if the entry storage
  allocation fails we'll be left with a table that has |ops| set -- indicating
  it's been initialized -- but has null entry storage. I'm not certain this can
  cause problems but it feels unsafe, and some (but not all) callers of Init()
  null it on failure.

- PLDHashTable does not null |ops| in Finish(), so some (but not all) callers
  do this themselves.

This patch makes things simpler.

- It adds a constructor that zeroes |ops|.

- It modifies Init() so that it only sets |ops| once success is ensured.

- It zeroes |ops| in Finish().

- Finally, it removes all the now-unnecessary |ops| nulling done by the users
  of PLDHashTable.
2015-01-19 16:01:24 -08:00
Hiroyuki Ikezoe
21fdcf295c Bug 1122540 - Set preferences which are necessary for passing xpcshell test on comm-central. r=hurley 2015-01-19 01:03:00 +02:00
Andrea Marchesini
1662f72884 Bug 1123021 - Better life-time management for WebSocketChannelChild, r=smaug 2015-01-19 17:21:20 +00:00
Francois Marier
5a5437f536 Bug 1113004 - Add IsPrivateResponse to HttpChannel. r=mayhemer 2015-01-08 22:38:00 +01:00
Christoph Kerschbaumer
6a281b98c4 Bug 1119006 - Remove files where code is still calling removed NS_OpenURI API (r=mcmanus) 2015-01-14 11:52:57 -08:00
Jeff Muizelaar
4a40f4c6b0 Bug 1114999 - Part 3: Use automatic memory management for mObjsToRelease; r=novotny 2015-01-15 18:19:26 -05:00
Nicholas Nethercote
22e70962bf Bug 1123527 - Avoid a leak on realloc failure in nsMultiMixedConv.cpp. r=mcmanus. 2015-01-19 19:49:23 -08:00
Valentin Gosu
945abc4b56 Bug 1121826 - backout cc192030c28f - brackets shouldn't be automatically escaped in the Query r=mcmanus 2015-01-17 16:13:21 +02:00
Nicholas Hurley
2f2381bfa0 Bug 1122532 - ensure making new URIs actually succeeds. r=mcmanus 2015-01-16 07:32:26 -08:00
Kyle Huey
2a6f8887b5 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Patrick McManus
9471b8af60 bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley 2015-01-13 15:26:37 -05:00
Patrick McManus
6f38eaa9ad bug 1072478 - h2 push loses fin bit race condition 1/2 r=hurley 2015-01-13 15:26:23 -05:00
Patrick McManus
016ca2d162 bug 1121706 - don't offer h2 in alpn if w/out mandatory suite r=hurley 2015-01-15 22:11:14 -05:00
Benjamin Peterson
cc83f97c41 No bug - fix typo r=me DONTBUILD 2015-01-16 10:32:55 -05:00
Ryan VanderMeulen
64887078d6 Bug 1111137 - Disable test_user_agent_overrides.html on Android due to frequent failures. 2015-01-16 09:59:57 -05:00
Dragana Damjanovic
128ae88e05 Bug 1108971 - Fix parameter in call GetAddrInfo. r=sworkman 2015-01-15 01:21:00 +01:00
Nicholas Nethercote
14f46aac14 Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Nicholas Nethercote
17b55c0b9e Bug 1121304 (part 1, attempt 2) - Minor type clean-ups for PLDHashTable. r=froydnj. 2015-01-14 14:35:45 -08:00
Wes Kocher
475bf1e4f4 Backed out changeset 3caf22d78fc5 (bug 1114999) for cache leaks on a CLOSED TREE 2015-01-15 16:31:34 -08:00
Ehsan Akhgari
aa3838da08 Bug 1116545 - Remove the code to handle shutdown-cleanse from the cache service; r=novotny
shutdown-cleanse has not been a thing for quite a while.
2015-01-15 18:21:42 -05:00
Jeff Muizelaar
e39509db84 Bug 1114999 - Part 3: Use automatic memory management for mObjsToRelease; r=novotny 2015-01-15 18:19:26 -05:00
Nicholas Hurley
e70fa84f7f Bug 1009122 - use cache2 as storage for predictor data. r=honzab 2015-01-14 13:59:04 -08:00
Tooru Fujisawa
512bb0faad Bug 1117580 - Throw an exception if PR_APPEND is passed without PR_TRUNCATE to nsAtomicFileOutputStream::Init. r=yoric 2015-01-16 00:01:46 +09:00
Daniel Stenberg
1515334cca Bug 1008091 - send network change events on FxOS and Linux, r=sworkman 2015-01-15 00:22:00 +01:00
Dragana Damjanovic
7ac7412854 Bug 862856 - Send Http Activity notifications for speculative connections. r=mcmanus 2015-01-14 03:54:00 +01:00
Phil Ringnalda
cb85f01b15 Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote
60d7115c86 Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
Nicholas Nethercote
08af04376d Bug 1121304 (part 1) - Minor type clean-ups for PLDHashTable. r=froydnj. 2015-01-14 14:35:45 -08:00
Nicholas Nethercote
c4c1173204 Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj. 2015-01-13 19:02:35 -08:00
Nicholas Nethercote
7c92773a6f Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj. 2015-01-13 16:42:13 -08:00
Brian Smith
a98161a0cc Bug 1119776, Part 5: Avoid defining snprintf when MSVC provides it (netwerk), r=rjesup 2015-01-08 22:33:57 -08:00
Ehsan Akhgari
94aec5506b Bug 1119256 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=jduell 2015-01-14 17:57:08 -05:00
Nicholas Hurley
262ae33576 Bug 1121530 - improve poll failure logging. r=mcmanus 2015-01-14 08:39:09 -08:00
Monica Chew
150a1d0d94 Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus)
* * *
Bug 1120547 - Mark the overrides of nsIHttpChannelInternal::ContinueBeginConnect as override and rev the uuid of the interface; r=mmc
2015-01-09 13:25:13 -08:00
Michal Novotny
bea6151fe1 Bug 1117585 - Disk consumption observers could get released on the cache thread, r=jduell 2015-01-14 15:38:27 +01:00
Patrick McManus
6410881e35 bug 1121058 - h2 assert stream id before cleanup r=hurley 2015-01-13 13:10:38 -05:00
Andrea Marchesini
d1ce29042b Bug 1111971 - patch 2 - private DTOR for ListenerAndContextContainer, CLOSED TREE 2015-01-13 19:26:59 +00:00
Andrea Marchesini
802a5d0f26 Bug 1111971 - A better life-time management of aListener and aContext in WebSocketChannel. r=smaug
CLOSED TREE
2015-01-13 14:03:56 -05:00
James Cheng
c6ca061600 Bug 1104422 - Use PBrowserOrId to replace tabChild in SendAsyncOpen. r=honzab 2015-01-11 18:35:00 +01:00
Daniel Stenberg
e9a79e0fff Bug 1119717 - add nsNotifyAddr logging. r=mcmanus 2015-01-09 02:29:00 +01:00
Valentin Gosu
c33039bcd2 Bug 1093611 - nsStandardURL::SetRef only does percent-encoding if dom.url.encode_decode_hash is true r=honzab 2015-01-13 02:11:02 +02:00
Patrick McManus
f0cb6227fd bug 1119280 - fix large spdy/h2 transfer truncation r=hurley 2015-01-09 10:18:28 -05:00
Monica Chew
0c423e29b7 Bug 1100024: CLOSED TREE Backout https://hg.mozilla.org/integration/mozilla-inbound/rev/671ad56e6e12 for causing crashes on ClassifyLocal lookups (r=backout) 2015-01-12 10:05:58 -08:00
Christoph Kerschbaumer
8bb0600bb8 Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Christoph Kerschbaumer
9a56218f41 Bug 1113323 - Make sure Protocolhandler sets same instance of loadinfo on the newly created channel (r=sicking) 2015-01-11 20:21:37 -08:00
Chris Peterson
788b55997d Bug 1120159 - Replace nonstandard expression closure with an arrow function in file:// directory listing. r=mcmanus 2015-01-10 23:20:22 -08:00
Randell Jesup
94b8f7e852 Bug 1030372: use explicit runnable and Release for ReadBlob to avoid wrong-thread release assert r=bsmedberg relanding on a CLOSED TREE
--HG--
extra : amend_source : 4351ac6c3a17885cd5a24d19c080ff8aa610de3f
2015-01-11 00:28:34 -05:00
Tom Schuster
a1fc33823a Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE 2015-01-11 20:43:32 +01:00
Randell Jesup
9f7f2ab5b9 Bug 1030372: use explicit runnable and Release for ReadBlob to avoid wrong-thread release assert r=bsmedberg 2015-01-11 00:28:34 -05:00
Masatoshi Kimura
40a556102e Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Chris Peterson
90751d5a6c Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Jim Chen
67f8ab8931 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Michal Novotny
46ce05e652 Bug 1038554 - fix potential wrong file offset calculation in CacheIndex::ParseRecords() and CacheIndex::ParseJournal(), r=honzab 2015-01-10 01:21:04 +01:00
Monica Chew
86f5817ec9 Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus) 2015-01-09 13:25:13 -08:00
Patrick McManus
fc5bc7b4d5 bug 1072478 backout 047afa953b9c for 1119810 and 1119926 r=backout
--HG--
extra : rebase_source : b8b40dc036ed2c49ab82691d339ee2a90a03ad4b
2015-01-09 15:33:58 -05:00
Patrick McManus
95aabc005c bug 1072478 backout 28fff54451dd for 1119810 and 1119926 r=backout
--HG--
extra : rebase_source : 46e7ccae81bf27f468171c240a926d421366a33b
2015-01-09 15:33:27 -05:00
Ryan VanderMeulen
3eeaeacf04 Backed out changeset c358e102e573 (bug 1008091) for B2G mochitest failures.
CLOSED TREE
2015-01-09 11:54:14 -05:00
Carsten "Tomcat" Book
cf45b45207 Backed out changeset fce8528ac1e2 (bug 1111971) for M-1/M-4 Test failures on a CLOSED TREE 2015-01-09 16:25:06 +01:00
Valentin Gosu
2534e0e8aa Bug 1119240 - Fix warning in CacheFile::PadChunkWithZeroes r=michal 2015-01-09 16:36:54 +02:00
Andrea Marchesini
d794b4558d Bug 1111971 - A better life-time management of aListener and aContext in WebSocketChannel. r=smaug
--HG--
extra : rebase_source : b519e933fd73367926ce4104997fae14a1db48bc
2015-01-09 09:23:13 -05:00
Daniel Stenberg
dbb7778c54 Bug 1008091 - Send network change events on FxOS and Linux. r=sworkman 2015-01-07 03:20:00 -05:00
Alex Verstak
5b8f00360b Bug 1113438 - Update SetReferrerWithPolicy to (a) send referrer when https->http and policy is ORIGIN_WHEN_XORIGIN and (b) use the triggering principal for this cross-origin check. r=sstamm,mcmanus 2015-01-08 01:46:00 +01:00
Dragana Damjanovic
9fa1d23668 Bug 1112112 - Adding logging for e10s channel. r=jduell 2015-01-08 06:27:00 +01:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ryan VanderMeulen
95d1074c03 Backed out changesets 41d0ad0271a6, 2bda66cf60fd, and dd1fc46d4d56 (bug 1118845) for B2G mochitest failures.
CLOSED TREE

--HG--
extra : amend_source : 19240e92f40420f384a7835383cbb2be75350ddc
2015-01-08 21:50:19 -05:00
Ben Kelly
effd6ddbad Bug 1118845 P2 Add optional base load group to NS_NewLoadGroup(). r=mcmanus 2015-01-08 19:52:22 -05:00
Christoph Kerschbaumer
872d70153b Bug 1118534 - Comment updates in nsIContentPolicy, nsIOService.idl, nsNetutil.h, NetUtil.jsm (r=sicking) 2015-01-06 17:01:07 -08:00
Michael Pruett
c1d94593ae Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Christoph Kerschbaumer
8c0ee40abf Bug 1107638 - Add innerWindowID to LoadInfo (r=sicking,jduell) 2015-01-07 15:51:20 -08:00
Botond Ballo
35efbf4f5a Bug 1073003 - Fix more -Wunused-variable and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : rebase_source : bb768dd07c19dc39994d5cca6e0f59048d12130a
2014-12-17 18:05:28 -05:00
Ryan VanderMeulen
dffbfdf6fa Backed out changeset 577febac3790 (bug 1100024) for Talos xperf regressions.
CLOSED TREE
2015-01-06 17:41:15 -05:00
Ehsan Akhgari
3799d571b8 Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel 2015-01-06 16:30:03 -05:00
Monica Chew
2dd57568f6 Bug 1100024: Don't call Connect if the principal is on a local or remote blocklist (r=mcmanus) 2015-01-06 10:49:47 -08:00
Valentin Gosu
7d39659fed Bug 1113683 - Add dummy NullHttpChannel r=mcmanus 2015-01-06 19:26:10 +02:00
Ryan VanderMeulen
2a41e56c16 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-01-06 10:55:03 -05:00
Wes Kocher
8733eb1d81 Merge m-c to fx-team a=merge 2015-01-05 17:29:14 -08:00
Gavin Sharp
ef5aee70ca Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Ehsan Akhgari
9c0b003daf Debugging patch for bug 1111137 2015-01-03 20:08:17 -05:00
Patrick McManus
a72311ef3c bug 1113065 - spdy should not close session on imglib error r=bagder r=seth 2014-12-22 11:03:05 -05:00
Patrick McManus
48e3a56b2a bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley 2014-10-15 11:51:25 -04:00
Patrick McManus
59a864cc46 bug 1072478 - h2 push loses fin bit race condition 1/2 r=hurley 2014-10-16 16:42:14 -04:00
Andrew Bartlett
c89715476a Bug 423758 - Add NTLMv2 to internal NTLM handler. r=keeler
NTLMv2 is the default.

This adds a new preference:
network.ntlm.force-generic-ntlm-v1

This is to allow use of NTLMv1 in case issues are found in the NTLMv2
handler, or when contacting a server or backing DC that does not
support NTLMv2 for any reason.

To support this, we also:
 - Revert "Bug 1030426 - network.negotiate-auth.allow-insecure-ntlm-v1-https allows sending NTLMv1 credentials in plain to HTTP proxies, r=mcmanus"

 - Revert "Bug 1023748 - Allow NTLMv1 over SSL/TLS by default, r=jduell"

 - Remove LM code from internal NTLM handler

   The LM response should essentially never be sent, the last practical
   use case was CIFS connections to Windows 9X, I have never seen a web
   server that could only do LM

   It is removed before the NTLMv2 work is done so as to avoid having 3
   possible states here (LM, NTLM, NTLMv2) to control via preferences.

Developed with Garming Sam <garming@catalyst.net.nz>
2014-12-22 15:55:00 -05:00
Andrea Marchesini
fc7374aeab Bug 1112307 - Use a thread-safe ChannelEventQueue. r=jduell 2015-01-05 17:31:19 -05:00
Ryan VanderMeulen
7b104d55d1 Bug 1115219 - Remove unnecessary RELEASE_BUILD check from GetAddrInfo.h. r=mcmanus 2015-01-02 16:51:04 -05:00
Ehsan Akhgari
b3a9917cc8 Bug 1117042 follow-up: Fix the test bustage, landed on a CLOSED TREE
Removing these methods causes an infinite recursion because the equivalent
64-bit functions would end up tail-recursing.
2015-01-02 10:26:40 -05:00
Ehsan Akhgari
9f7a9d5571 Bug 1117042 follow-up: Fix a build bustage 2015-01-02 09:28:37 -05:00
Ehsan Akhgari
897c4949cc Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus 2015-01-02 09:04:04 -05:00
Ehsan Akhgari
3dbef5fefb Bug 1116555 - Remove the code to handle shutdown-cleanse from the cookie service; r=mcmanus
shutdown-cleanse has not been a thing for quite a while.
2015-01-02 08:45:06 -05:00
Jason Duell
657fc03522 Bug 1108916 - app:// channels could skip calling OnStopRequest. r=hurley 2014-12-31 18:23:58 -08:00
Honza Bambas
00b60d87a3 Bug 1102172 - Fix possible appache update hang. r=jduell 2014-12-31 18:22:46 -08:00
David Erceg
8927ea5bc7 Bug 1111848 - Remove nsISiteSecurityService.shouldIgnoreHeaders and implementation. r=keeler 2014-12-22 20:26:49 +11:00
Gervase Markham
5fee38d724 Bug 1114762 - New TLD additions for TLDs contracted with ICANN through 12/22/2014 2014-12-29 12:50:22 -08:00
Christoph Kerschbaumer
1550df19f7 Bug 1087739: Make JS callers of ios.newChannel call ios.newChannel2 in netwerk/ (r=sworkman,tanvi) 2014-10-24 15:16:29 -07:00
Michal Novotny
2296e00d57 Bug 792831 - WebSocket permessage compression extension, r=jduell 2014-12-29 12:43:40 +01:00
Masatoshi Kimura
507586aa3c Bug 1114295 - Remove the dead pref for TLS_DHE_DSS_WITH_AES_128_CBC_SHA. r=keeler 2014-12-24 22:21:12 +09:00
Wes Kocher
4b500e5899 Merge inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:47:42 -08:00
Monica Chew
56633ce4b4 Bug 1108009 - Make synchronous interface nsIURIClassifier.ClassifyLocal. r=gcp 2014-12-18 10:18:09 -08:00
Blake
0e978788b4 Bug 1080484 - Support avi/divx, ts/m2ts, and mkv media formats. r=cajbir 2014-12-23 10:20:25 +08:00
Carsten "Tomcat" Book
972e6711ae Backed out changeset 07b42d1d60aa (bug 1073003) 2014-12-23 13:35:17 +01:00
Ted Clancy
0a6fe5646e Bug 1000305 - part 3: Add atob() and btoa() to server-side java Sandbox. r=waldo 2014-12-20 17:35:40 -05:00
Carsten "Tomcat" Book
bee0c44c89 Backed out changeset 8450d74f782e (bug 1000305) for j1 test failures 2014-12-23 11:41:28 +01:00
Ted Clancy
ef0390ad3b Bug 1000305 - part 3: Add atob() and btoa() to server-side java Sandbox. r=waldo 2014-12-20 17:35:40 -05:00
Botond Ballo
9863f68a1c Bug 1073003 - Fix more -Wunused-variable and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : rebase_source : 0a6c783a6428ca0dc25090e21a61b90c192dd252
extra : source : 8ab86311e17416689d176dae5c577a2c6df89b54
2014-12-17 18:05:28 -05:00
Patrick McManus
119ca30699 bug 1111217 - Http2Session::CloseTransaction can delete this while on stack from OnMsgCancelTransaction r=hurley 2014-12-15 13:00:13 -05:00
Gervase Markham
12af40e722 Bug 1113728 - Add pagespeedmobilizer.com to PSL. r=gerv 2014-12-22 06:23:00 -05:00
Carsten "Tomcat" Book
10610f2aef Backed out changeset 8fd0df8e208c (bug 423758) for bustage 2014-12-22 09:05:34 +01:00
Andrew Bartlett
7c4547c771 Bug 423758 - Add NTLMv2 to internal NTLM handler. r=keeler
NTLMv2 is the default.

This adds a new preference:
network.ntlm.force-generic-ntlm-v1

This is to allow use of NTLMv1 in case issues are found in the NTLMv2
handler, or when contacting a server or backing DC that does not
support NTLMv2 for any reason.

To support this, we also:
 - Revert "Bug 1030426 - network.negotiate-auth.allow-insecure-ntlm-v1-https allows sending NTLMv1 credentials in plain to HTTP proxies, r=mcmanus"

 - Revert "Bug 1023748 - Allow NTLMv1 over SSL/TLS by default, r=jduell"

 - Remove LM code from internal NTLM handler

   The LM response should essentially never be sent, the last practical
   use case was CIFS connections to Windows 9X, I have never seen a web
   server that could only do LM

   It is removed before the NTLMv2 work is done so as to avoid having 3
   possible states here (LM, NTLM, NTLMv2) to control via preferences.

Developed with Garming Sam <garming@catalyst.net.nz>
2014-12-18 17:25:00 +01:00
Patrick McManus
c77a73b730 bug 1113661 - broken h2 dependency id r=hurley 2014-12-19 13:01:21 -05:00
Patrick McManus
897098cdd5 bug 1003450 - [3/3] Group Dependency Nodes require >= h2-16 r=hurley 2014-12-11 17:00:19 -05:00
Patrick McManus
3181accd97 bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Chih-Kai (Patrick) Wang
4ee772690e Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd 2014-12-18 17:00:39 +08:00
Patrick McManus
f7c9a9f8ee bug 1111875 - remove assertion on http size input error r=keeler
--HG--
extra : rebase_source : 952fa806d6598c00412bd9b27cf3af65e78e9452
2014-12-16 21:35:57 -05:00
Patrick McManus
3b8479dee0 Bug 952863, Part 3: Remove more dead code, r=briansmith
--HG--
extra : rebase_source : 2f1793584597aed0d559538aa1ed00c0d3afc788
2014-12-17 12:58:49 -08:00
Brian Smith
4c07ad4887 Bug 952863, Part 2: Remove dead code for non-ECDHE TLS False Start, r=keeler
--HG--
extra : rebase_source : 47ee95682f769b8e10aaf55b0f4fccfef1fcdea0
2014-12-10 10:13:18 -08:00
Sid Stamm
2dc6b0fbef Bug 965727 - Implement referrer directive for CSP. (r=jst,ckerschb) 2014-12-17 14:14:04 -05:00
Ryan Sleevi
3d88d66b60 Bug 1110626 - New TLD additions for TLDs contracted with ICANN through 2014-12-12. r=gerv 2014-12-17 10:30:52 -05:00
Osman Surkatty
99c6052459 Bug 1112404 - Update PSL with new AWS Region. r=gerv
--HG--
extra : rebase_source : 26fafe08f25b83ff2ff4fecdf7ba5cef62fa705b
2014-12-17 02:26:00 -05:00
Ben Turner
64376d8607 Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Patrick McManus
29c598494b bug 1107881 - h2/spdy :path when proxying shouldn't be absolute uri r=hurley
--HG--
extra : rebase_source : d0847b03e2f7cd2f5425e3de635b68248d49eec3
2014-12-12 11:19:28 -05:00
Ehsan Akhgari
d27fba4863 Bug 1111225 - Build more files in netwerk/cache2 in unified mode; r=glandium
--HG--
extra : rebase_source : d80afcddfc5b50b7f24b5c1266810dde61b9e61f
2014-12-16 12:52:47 -05:00
Mike Hommey
0fe64d6222 Bug 948278 - Avoid piggy-backing into the build system for the reftest addon. r=ted
This makes the reftest addon use the httpd server as a js module instead of
a XPCOM component.
2014-12-16 15:07:01 +09:00
Christoph Kerschbaumer
36a7cd302e Bug 1095798 - Add NetUtil.NewChannel2 and NetUtil.asyncFetch2 to NetUtil.jsm (r=sicking) 2014-12-15 18:38:03 -08:00
Christoph Kerschbaumer
d05f36f4a7 Bug 1111025 - Add newChanelChannelFromURIWithLoadInfo to nsIIOService (r=sicking) 2014-12-12 14:24:57 -08:00
Ben Kelly
abdcdf1ca6 Bug 1107516 - Part 2: Add nsILoadGroup helpers to nsNetUtil.h. r=mcmanus 2014-12-15 08:39:00 -05:00
Jan Beich
cf520487a7 Bug 1103858 - Enable FreeBSD wifi scanner on DragonFly. r=ted, r=jdm 2014-11-24 00:10:00 -05:00
Masatoshi Kimura
6edff5968f Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-13 20:09:01 +09:00
Botond Ballo
f8fb794269 Bug 1073081 - Fix an operator precedence bug. r=bechen
--HG--
extra : source : 8f113c70b0adca54375a97d4493bc599a9854e6f
2014-11-24 20:02:43 -05:00
Botond Ballo
ca3c178c12 Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
79bcb7c0d7 Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Botond Ballo
02ff512bc3 Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted
--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
2014-11-24 19:43:19 -05:00
Botond Ballo
05cef42133 Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan
--HG--
extra : source : 25145aa73cb75faa067ec96114968bc55bf7bbac
2014-11-24 19:40:59 -05:00
Botond Ballo
16adb2810a Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Botond Ballo
0315765d81 Bug 1073081 - Fix -Wdelete-non-virtual-dtor warnings by marking some classes as MOZ_FINAL. r=ehsan
--HG--
extra : source : 7a909c534cf723b252ea5b0a225a6656399b5b2e
2014-11-24 18:38:23 -05:00
Wes Kocher
4ab42c639a Backed out 3 changesets (bug 1107516) for b2g debug emulator mochitest bustage
Backed out changeset 5fe0df3298aa (bug 1107516)
Backed out changeset ce51e5cd2a85 (bug 1107516)
Backed out changeset c3b2309fdf93 (bug 1107516)
2014-12-12 15:29:28 -08:00
Christoph Kerschbaumer
121ed688bf Bug 1111017 - Followup on Bug 1087442 - Updating comments (r=sicking) 2014-12-12 13:45:51 -08:00
Ben Kelly
aec70954bf Bug 1107516 P2 Add nsILoadGroup helpers to nsNetUtil.h. r=mcmanus 2014-12-12 16:41:36 -05:00
Ehsan Akhgari
20474e5ba7 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Christoph Kerschbaumer
c5658b66eb Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netwerk/ changes (r=sworkman,sicking) 2014-12-12 09:07:36 -08:00
Christoph Kerschbaumer
9afacc99a0 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - ioservice/ changes (r=sicking,sworkman) 2014-12-12 09:05:21 -08:00
Christoph Kerschbaumer
c935104d07 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netUtil changes (r=sicking,sworkman) 2014-12-12 09:05:09 -08:00
Christoph Kerschbaumer
2136f6a33b Bug 1110615 - Fix inheriting problem for blobs (r=sicking) 2014-12-12 09:03:47 -08:00
Patrick McManus
05d6af2b2a bug 865314 - backout 61ee2e053920 due to crashes 1089638 r=backout
--HG--
extra : rebase_source : a402ff7ab1f653320ac577807fbe85143d945af8
2014-12-12 11:48:02 -05:00
Brian Smith
a7a7679e74 Bug 940787: Stop requiring ALPN/NPN for False Start, r=keeler
--HG--
extra : rebase_source : f8946e1fc631f2458807a559104a1dca01f444ac
2014-12-10 10:50:48 -08:00
Phil Ringnalda
e725b6fdc2 Backed out 15 changesets (bug 1087442)
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
7d8deee972 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netwerk/ changes (r=sworkman,sicking) 2014-12-11 20:46:47 -08:00
Christoph Kerschbaumer
cb9582d54a Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - ioservice/ changes (r=sicking,sworkman) 2014-12-11 20:45:30 -08:00
Christoph Kerschbaumer
ecf555b0bb Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netUtil changes (r=sicking,sworkman) 2014-12-11 20:45:16 -08:00
Christoph Kerschbaumer
d7d6b82516 Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel (r=bz,sworkman) 2014-12-07 19:53:33 -08:00
Patrick McManus
0c0ff2dffd bug 865314 - ssl parallelism to new host should not be 1 r=hurley 2014-01-30 03:56:36 -05:00
Ryan VanderMeulen
628c286491 Backed out changesets c63a0dc3e90f and 5b53df2993fa (bug 1104623) for leaks.
--HG--
extra : rebase_source : cb4ed2e9e43d8d937f75561534f26081e694c964
2014-12-11 13:12:08 -05:00
Christoph Kerschbaumer
3d1d11fa52 Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel (r=bz,sworkman) 2014-12-07 19:53:33 -08:00
Carsten "Tomcat" Book
cc55a5d420 Backed out changeset a2146311e4fa (bug 1104623) for memory leaks 2014-12-11 08:51:25 +01:00
Christoph Kerschbaumer
fa0527b542 Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel (r=bz,sworkman) 2014-12-07 19:53:33 -08:00
Ehsan Akhgari
6c935c436c Bug 1109697 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-12-10 17:49:42 -05:00
Jason Orendorff
d8d2b7ff19 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Ryan VanderMeulen
4b22f0e0a0 Backed out changesets 027c65d3ac10 and 541ea8e2706e (bug 1104623) for intermittent leaks in the new test. 2014-12-10 12:43:56 -05:00
Christoph Kerschbaumer
8f61cc7b56 Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel (r=bz,sworkman) 2014-12-07 19:53:33 -08:00
Kershaw Chang
a3cd0ab71b Bug 1020157 - Replace ManagedPBrowserParent with GetManagedTabContext in NeckoParent, r=jduell 2014-12-09 17:34:00 +01:00
Brian Smith
4f0b5d793a Bug 1107787: Disable TLS_DHE_DSS_WITH_AES_128_CBC_SHA, r=keeler
--HG--
extra : rebase_source : 063d859c69adc8deba9d1842f4bd42a9b862bbe5
2014-12-04 19:50:58 -08:00
Brian Smith
eb97a4eb5a Bug 1037098: Remove preferences for cipher suites disabled in bug 1036765, r=keeler
--HG--
extra : rebase_source : b033bea062c8cafecd93830fa54f4cf184fa28df
2014-12-04 19:47:17 -08:00
Jason Orendorff
7acf3e4267 Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
--HG--
extra : rebase_source : a349ef612573aff8f87b995a65df94ae56cab13d
extra : amend_source : bbfe549fe0735d8b33ffff66d7eeddcc2ad042d2
2014-12-02 16:56:35 -06:00
Ryan VanderMeulen
05d42674b2 Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Masatoshi Kimura
c669e4c53f Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-10 00:54:06 +09:00
Wes Kocher
8384912619 Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
29c122c0d3 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Masatoshi Kimura
be7df72474 Bug 1084025 - Disable insecure version fallback. r=dkeeler 2014-12-09 07:19:04 +09:00
Ryan VanderMeulen
b0e92e85c9 Backed out changesets 916dbe7cf99d and 4ae3b6ea1d85 (bug 1104623) for intermittent leaks in the newly-added test. 2014-12-08 13:11:49 -05:00
Christoph Kerschbaumer
e503445ffa Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel (r=bz,sworkman) 2014-12-07 20:25:46 -08:00
Andrea Marchesini
3051ad31c3 Bug 1091962 - AutoEventEnqueuer must keep alive ChannelEventQueue, r=smaug, r=jduell 2014-12-04 13:23:33 -08:00
Nicholas Hurley
aeb303283b Bug 1107267 - Advertise h2-16. r=mcmanus 2014-12-04 11:50:38 -08:00
awake
62c843be12 Bug 1054739 - Normalize language tags when setting the Accept-Language header. r=gerv,mcmanus 2014-11-27 15:23:00 +01:00
Trevor Saunders
dfe4aecd6f bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Nils Ohlmeier [:drno]
62d0916e17 Bug 1098583 - Clean up data channel open request. r=jesup 2014-11-26 14:00:36 -05:00
Shigeki Ohtsu
605d8f4754 bug 1105302 - Fix to use indexed encoding for cookies more than 20 bytes r=mcmanus 2014-11-26 23:44:50 +09:00
Patrick McManus
2a387bd714 bug 1104993 - fix connection manager half open accounting r=hurley 2014-11-24 22:42:10 -05:00
Patrick McManus
cf947bfe33 bug 1104987 - cleanup h1 instances in h2 tests promptly r=hurley 2014-11-25 16:24:02 -05:00
Nikhil Marathe
860438146c Bug 1104959 - Make nsStreamLoader retargetable. r=mcmanus 2014-11-24 10:28:54 -08:00
Patrick McManus
2ebbbcd51e bug 1094563 - assert necko ip connections made in parent r=jduell (despite the CLOSED TREE) 2014-11-05 15:01:53 -05:00
Nicholas Hurley
19fa6c2350 Bug 1097320 - Enable advertising h2. r=mcmanus 2014-11-25 14:43:27 -08:00
Gijs Kruitbosch
21c91918f3 Bug 1061898 - fix ftp dir listing for windows long dates, r=jduell 2014-11-05 13:10:26 +00:00
Wes Kocher
7be94ce96d Backed out changeset b3f742c00ba1 (bug 1103152) 2014-11-24 17:04:30 -08:00
Wes Kocher
df4431c856 Backed out changeset b4b619628d1d (bug 1103368) for b2g build bustage 2014-11-24 17:03:44 -08:00
Mike Hommey
4a4e3b7448 Bug 1102022 - Increase the SOCKS I/O buffer size to avoid buffer overflows. r=mcmanus
This also adds static checks that buffer overflows do not sneak in again in
the future.

Interestingly, this also makes (at least) GCC generate more efficient code.
For example, before, writing to the buffer in WriteV5AuthRequest would look
like this:
  mov    0x38(%rbx),%eax
  mov    0x28(%rbx),%rcx
  movb   $0x5,(%rcx,%rax,1)
  mov    0x38(%rbx),%eax
  inc    %eax
  mov    %eax,0x38(%rbx)
  mov    0x28(%rbx),%rcx
  movb   $0x1,(%rcx,%rax,1)
  mov    0x38(%rbx),%eax
  inc    %eax
  mov    %eax,0x38(%rbx)
  mov    0x28(%rbx),%rcx
  movb   $0x0,(%rcx,%rax,1)
  incl   0x38(%rbx)

Now it looks like this:
  mov    0x28(%rbx),%rax
  movb   $0x5,(%rax)
  movb   $0x1,0x1(%rax)
  movb   $0x0,0x2(%rax)
  movl   $0x3,0x38(%rbx)
2014-11-25 08:46:59 +09:00
Jason Orendorff
742f7a3da0 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : 4fffe30636fdc5f0c708bc50f98c974c67cd4459
2014-11-22 12:23:39 -06:00
Jason Orendorff
e3d90f4e92 Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
--HG--
extra : rebase_source : 40b75b926ae59d91c80374fc5b25d2a459ecb717
2014-11-21 15:14:58 -06:00
Manesh Samtani
852524c3a0 Bug 1102231 - Update PSL for UDR Ltd. domains. r=gerv 2014-11-21 04:28:00 +01:00
Nicholas Nethercote
26f34cba7b Bug 1098703 - Zero HttpBaseChannel::{mSelfAddr,mPeerAddr} on construction to avoid Valgrind complaints in e10s builds. r=michal.
--HG--
extra : rebase_source : b95ade0b14397103711f74a53e75c514df2e1e1b
2014-11-13 19:27:31 -08:00
Patrick McManus
a77a879676 bug 1110707 - dont assume seekable stream on sending_to http events r=valentin 2015-01-05 12:08:21 -05:00
Honza Bambas
76cce7097f Bug 1095281 - Open entries from a chosen appcache as read-only, r=michal 2014-11-19 18:46:10 +01:00
Honza Bambas
e2806ade25 Bug 1055580 - Intermittent test_cache2-14b-concurent-readers-complete.js | 1 == 3 | 2 == 1 | 3 == 2, r=michal 2014-11-19 18:46:09 +01:00
Nathan Froyd
ea5de74f9c Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc 2014-11-14 13:12:51 -05:00
Patrick McManus
162eb6fd39 bug 1095859 - proxy tweak r=valentin.gosu 2014-11-17 13:27:12 -05:00
Owen Chu
8204d067d7 Bug 704320 - Changes for HttpChannelParent. (r=mcmanus) 2014-11-18 08:46:35 -05:00
Owen Chu
290f6d6062 Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus) 2014-11-18 08:46:29 -05:00
Dragana Damjanovic
248f0d3df9 Bug 1097878 - Additional fix for divertion from child to parent. r=sworkman 2014-11-12 18:01:00 +01:00
Patrick McManus
5f7fc6a565 bug 1097944 - remove spdy/3 2/2 r=hurley 2014-11-17 12:35:06 -05:00
Patrick McManus
dc2a73d309 bug 1099472 - nspr log argument mismatch h2::recvpushpromise r=hurley 2014-11-14 20:34:40 -05:00
Christoph Kerschbaumer
15c52320f8 Bug 1083422 - Add triggering Principal to nsILoadInfo - e10s changes (r=jduell)
* * *
[mq]: tmp
2014-11-14 08:57:09 -08:00
Christoph Kerschbaumer
a1bd996341 Bug 1083422 - Add triggering Principal to nsILoadInfo - netutil changes (r=jduell) 2014-11-14 08:56:39 -08:00
Randell Jesup
d19208852c Bug 1080312: update iteration code from upstream r=jesup 2014-11-12 22:59:53 -05:00