Commit Graph

11039 Commits

Author SHA1 Message Date
Randell Jesup
0ef23256a4 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
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Chris Peterson
9e23388ca8 Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Jim Chen
db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Michal Novotny
9a67feaefa 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
3023f46c51 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
37f307d56d 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
b8b9d7491a 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
2b996c81ea Backed out changeset c358e102e573 (bug 1008091) for B2G mochitest failures.
CLOSED TREE
2015-01-09 11:54:14 -05:00
Carsten "Tomcat" Book
b29388fa91 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
668c08efc2 Bug 1119240 - Fix warning in CacheFile::PadChunkWithZeroes r=michal 2015-01-09 16:36:54 +02:00
Andrea Marchesini
310c5d6ba5 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
a7f268f4f7 Bug 1008091 - Send network change events on FxOS and Linux. r=sworkman 2015-01-07 03:20:00 -05:00
Alex Verstak
4149a976d9 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
dbfb26f4e1 Bug 1112112 - Adding logging for e10s channel. r=jduell 2015-01-08 06:27:00 +01:00
Ehsan Akhgari
4354953b4f 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
71aff521dd 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
f36a35de40 Bug 1118845 P2 Add optional base load group to NS_NewLoadGroup(). r=mcmanus 2015-01-08 19:52:22 -05:00
Christoph Kerschbaumer
1bf832faa9 Bug 1118534 - Comment updates in nsIContentPolicy, nsIOService.idl, nsNetutil.h, NetUtil.jsm (r=sicking) 2015-01-06 17:01:07 -08:00
Michael Pruett
411a94b05a Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Christoph Kerschbaumer
05d08f5899 Bug 1107638 - Add innerWindowID to LoadInfo (r=sicking,jduell) 2015-01-07 15:51:20 -08:00
Botond Ballo
edd363abd6 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
63e600eaf7 Backed out changeset 577febac3790 (bug 1100024) for Talos xperf regressions.
CLOSED TREE
2015-01-06 17:41:15 -05:00
Ehsan Akhgari
860da94550 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
ee4eedd81b 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
13c4ff02cb Bug 1113683 - Add dummy NullHttpChannel r=mcmanus 2015-01-06 19:26:10 +02:00
Ryan VanderMeulen
7b34913ca7 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-01-06 10:55:03 -05:00
Wes Kocher
690f2a5038 Merge m-c to fx-team a=merge 2015-01-05 17:29:14 -08:00
Gavin Sharp
85abd2f149 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
ca01209c42 Debugging patch for bug 1111137 2015-01-03 20:08:17 -05:00
Patrick McManus
c8acfd64a8 bug 1113065 - spdy should not close session on imglib error r=bagder r=seth 2014-12-22 11:03:05 -05:00
Patrick McManus
e7a182ce97 bug 1072478 - h2 push hit not subject to max_concurrent 2/2 r=hurley 2014-10-15 11:51:25 -04:00
Patrick McManus
f4c9705ef9 bug 1072478 - h2 push loses fin bit race condition 1/2 r=hurley 2014-10-16 16:42:14 -04:00
Andrew Bartlett
1b02f46484 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
f94db85a41 Bug 1112307 - Use a thread-safe ChannelEventQueue. r=jduell 2015-01-05 17:31:19 -05:00
Ryan VanderMeulen
a2be21d384 Bug 1115219 - Remove unnecessary RELEASE_BUILD check from GetAddrInfo.h. r=mcmanus 2015-01-02 16:51:04 -05:00
Ehsan Akhgari
34d55fd214 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
52593ee3bd Bug 1117042 follow-up: Fix a build bustage 2015-01-02 09:28:37 -05:00
Ehsan Akhgari
e9499ce141 Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus 2015-01-02 09:04:04 -05:00
Ehsan Akhgari
086463f5d2 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
c5514df608 Bug 1108916 - app:// channels could skip calling OnStopRequest. r=hurley 2014-12-31 18:23:58 -08:00
Honza Bambas
2a3843999d Bug 1102172 - Fix possible appache update hang. r=jduell 2014-12-31 18:22:46 -08:00
David Erceg
848f74a40d Bug 1111848 - Remove nsISiteSecurityService.shouldIgnoreHeaders and implementation. r=keeler 2014-12-22 20:26:49 +11:00
Gervase Markham
ce60b7bf86 Bug 1114762 - New TLD additions for TLDs contracted with ICANN through 12/22/2014 2014-12-29 12:50:22 -08:00
Christoph Kerschbaumer
d65c89962c 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
db0d15813e Bug 792831 - WebSocket permessage compression extension, r=jduell 2014-12-29 12:43:40 +01:00
Masatoshi Kimura
a325bfdb20 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
ab27d8e9b0 Merge inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:47:42 -08:00
Monica Chew
55a8118ad1 Bug 1108009 - Make synchronous interface nsIURIClassifier.ClassifyLocal. r=gcp 2014-12-18 10:18:09 -08:00
Blake
bc4de955f9 Bug 1080484 - Support avi/divx, ts/m2ts, and mkv media formats. r=cajbir 2014-12-23 10:20:25 +08:00
Carsten "Tomcat" Book
4d35b56fd1 Backed out changeset 07b42d1d60aa (bug 1073003) 2014-12-23 13:35:17 +01:00
Ted Clancy
3ce0451234 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
d56d8dc16a Backed out changeset 8450d74f782e (bug 1000305) for j1 test failures 2014-12-23 11:41:28 +01:00
Ted Clancy
db641154ee 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
8eab762580 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
4ab4a2e414 bug 1111217 - Http2Session::CloseTransaction can delete this while on stack from OnMsgCancelTransaction r=hurley 2014-12-15 13:00:13 -05:00
Gervase Markham
e1a327793e Bug 1113728 - Add pagespeedmobilizer.com to PSL. r=gerv 2014-12-22 06:23:00 -05:00
Carsten "Tomcat" Book
c3edf3a511 Backed out changeset 8fd0df8e208c (bug 423758) for bustage 2014-12-22 09:05:34 +01:00
Andrew Bartlett
d741102951 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
9a8c661ddd bug 1113661 - broken h2 dependency id r=hurley 2014-12-19 13:01:21 -05:00
Patrick McManus
bbf86bc8fc bug 1003450 - [3/3] Group Dependency Nodes require >= h2-16 r=hurley 2014-12-11 17:00:19 -05:00
Patrick McManus
7edbeec28f bug 1003450 - [2/3] Group Dependency nodes for HTTP/2 r=hurley 2014-12-06 14:26:50 -05:00
Chih-Kai (Patrick) Wang
fcb6d29268 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
08a4a502ff 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
25337cfd79 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
123a9716ca 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
7ddbe36414 Bug 965727 - Implement referrer directive for CSP. (r=jst,ckerschb) 2014-12-17 14:14:04 -05:00
Ryan Sleevi
b1431c0e9a 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
55adef4ea4 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
2be368dceb Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Patrick McManus
ea37d24bba 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
a8d8b9b8de 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
541c80f735 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
9f0827f7ec Bug 1095798 - Add NetUtil.NewChannel2 and NetUtil.asyncFetch2 to NetUtil.jsm (r=sicking) 2014-12-15 18:38:03 -08:00
Christoph Kerschbaumer
5c70abe057 Bug 1111025 - Add newChanelChannelFromURIWithLoadInfo to nsIIOService (r=sicking) 2014-12-12 14:24:57 -08:00
Ben Kelly
57dbd41b23 Bug 1107516 - Part 2: Add nsILoadGroup helpers to nsNetUtil.h. r=mcmanus 2014-12-15 08:39:00 -05:00
Jan Beich
c9404cbde6 Bug 1103858 - Enable FreeBSD wifi scanner on DragonFly. r=ted, r=jdm 2014-11-24 00:10:00 -05:00
Masatoshi Kimura
ab4b12e208 Bug 1092835 - Log usage of weak ciphers in the console. r=keeler,mcmanus 2014-12-13 20:09:01 +09:00
Botond Ballo
04482890b0 Bug 1073081 - Fix an operator precedence bug. r=bechen
--HG--
extra : source : 8f113c70b0adca54375a97d4493bc599a9854e6f
2014-11-24 20:02:43 -05:00
Botond Ballo
870235958c 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
79d427447d Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Botond Ballo
b68f6489dc 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
8bcf931152 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
40dadf0d08 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
7b85bd5de5 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
8e77adb0d6 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
426d902f38 Bug 1111017 - Followup on Bug 1087442 - Updating comments (r=sicking) 2014-12-12 13:45:51 -08:00
Ben Kelly
66be9f2fb7 Bug 1107516 P2 Add nsILoadGroup helpers to nsNetUtil.h. r=mcmanus 2014-12-12 16:41:36 -05:00
Ehsan Akhgari
09a262787c 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
5bc71528dc Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netwerk/ changes (r=sworkman,sicking) 2014-12-12 09:07:36 -08:00
Christoph Kerschbaumer
09b44e1b01 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - ioservice/ changes (r=sicking,sworkman) 2014-12-12 09:05:21 -08:00
Christoph Kerschbaumer
d1614ac429 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netUtil changes (r=sicking,sworkman) 2014-12-12 09:05:09 -08:00
Christoph Kerschbaumer
97e4b52984 Bug 1110615 - Fix inheriting problem for blobs (r=sicking) 2014-12-12 09:03:47 -08:00
Patrick McManus
9aa9696cc0 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
7f05080219 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
f7aea19aae 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
9266af2940 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netwerk/ changes (r=sworkman,sicking) 2014-12-11 20:46:47 -08:00
Christoph Kerschbaumer
d9c268c606 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - ioservice/ changes (r=sicking,sworkman) 2014-12-11 20:45:30 -08:00
Christoph Kerschbaumer
5a98bf956c Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - netUtil changes (r=sicking,sworkman) 2014-12-11 20:45:16 -08:00
Christoph Kerschbaumer
6bd9ba41ec 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