Commit Graph

1842 Commits

Author SHA1 Message Date
Nathan Froyd
fba75178ed Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
599525318e Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd
5ba322e426 Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Christoph Kerschbaumer
cca645486b Bug 1134096 - Revise docs for ::NewChannel2, ::GetChannelPrincipal and add deprecation warnings (r=tanvi,sicking) 2015-04-13 13:37:14 -07:00
Nathan Froyd
db85e8c100 Bug 1153267 - part 2 - use smart pointers instead of manual NS_ADDREF'ing outparams; r=ehsan 2015-03-31 10:05:07 -04:00
Nathan Froyd
68d9d5628d Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Patrick McManus
23e4210037 Bug 1153437 - rename proxyFlags to controlFlags with nsISocketProvider interfaces r=hurley 2015-04-10 17:27:27 -04:00
Dragana Damjanovic
5487d8f5d2 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-04-08 15:35:00 -04:00
Ryan VanderMeulen
9ca5e70312 Merge inbound to m-c. a=merge 2015-04-07 15:47:40 -04:00
Randall Barker
ef733d24e8 Bug 1097804 - Part 1 - Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC. r=mcmanus 2015-04-03 15:54:00 +02:00
Henry Chang
6b51232ce6 Bug 1053650 - Part 3: Make use of gonk-specific per-interface DNS lookup. r=mcmanus 2015-01-28 11:21:37 +08:00
Ehsan Akhgari
808c19245e Back out bug 1149127 because of Thunderbird insanity 2015-04-02 14:37:55 -04:00
Mike Hommey
ee117642af Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Monica Chew
26c2c18c22 Bug 1108017: Loosen third-party restrictions for tracking protection checks (r=sworkman) 2015-03-31 13:18:38 -07:00
Valentin Gosu
0e41c45f30 Bug 1099209 - Only track leaked URLs on the main thread. r=honzab 2015-03-31 14:19:27 +03:00
Olli Pettay
858d870ef5 Bug 1149228, cache data: and https: handlers, r=honzab.moz 2015-03-30 22:32:26 +03:00
Mike Hommey
95e047925a Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Ehsan Akhgari
b314d8716c Bug 1149127 - Stop exporting LoadInfo unnecessarily; r=ckerschb 2015-03-30 22:57:16 -04:00
Andrew McCreight
db3e30ab59 Bug 1147572 - Remove implementation language field from DOM class info. r=jst 2015-03-30 10:45:39 -07:00
Andrew McCreight
210c51b7d3 Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Honza Bambas
a9d5ec9f20 Bug 1124880 - Call PR_Close of UDP sockets on new threads. r=mcmanus 2015-03-27 09:24:00 -04:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Wes Kocher
ec293905dc Merge m-c to inbound a=merge CLOSED TREE 2015-03-26 17:46:35 -07:00
Francois Marier
ccb47f23ca Bug 1138979 - Pref to turn TP on when in Private Browsing mode. r=mmc, r=ehsan 2015-03-24 14:10:00 -04:00
Monica Chew
cd97968417 Bug 1144786: Create ClassifyLocalWithTables (r=gcp,francois) 2015-03-26 15:24:19 -07:00
Shian-Yow Wu
2ec7438acb Bug 1115495 - Part 2: PAC generator for browsing and system wide proxy. r=mcmanus, r=echen 2015-03-26 15:11:08 +08:00
Shian-Yow Wu
8fc32559dc Bug 1115495 - Part 1: Support app info for PAC. r=mcmanus 2015-03-26 15:11:05 +08:00
Wes Kocher
6055b156c5 Backed out changeset 8be35539cc88 (bug 1124880) for build bustage CLOSED TREE 2015-03-26 12:47:53 -07:00
Honza Bambas
afe72b4cc0 Bug 1124880 - Call PR_Close of UDP sockets on new threads. r=mcmanus 2015-03-25 11:36:00 -04:00
Trevor Saunders
473f2ceb3c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Valentin Gosu
c68e44a847 Bug 1145812 - Fix assertion with dom.url.encode_decode_hash pref set to true r=mcmanus 2015-03-23 23:28:50 +02:00
Valentin Gosu
eefdbbc140 Bug 1144398 - Restrict charcters which are allowed in the URL hash (ref). r=mcmanus 2015-03-18 18:40:35 +02:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -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_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Christoph Kerschbaumer
9a310ecbaf Bug 1144270 : Update remaining callers of newChannel to newChannel2 in netwerk/ (r=mcmanus) 2015-03-20 12:27:34 -07:00
Boris Zbarsky
730e1cc79d Bug 1143793 part 1. Remove the obj argument of JS_CompileScript. r=luke 2015-03-19 10:13:33 -04:00
Nikhil Marathe
bcd3a955e7 Bug 1134462 - Synthesize status and headers from Response returned by ServiceWorker. r=jdm 2015-03-17 08:48:30 -07:00
Patrick McManus
57ad88e7bc bug 1135160 - ioservice have speculative connect use proxy-resolve2() r=hurley 2015-03-13 17:32:18 -04:00
Daniel Stenberg
3abb0f5f06 Bug 1144031 - fix use of uninitialized variable, r=mcmanus 2015-03-17 01:45:00 +01:00
Daniel Holbert
2416fccac8 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Daniel Stenberg
d9a005c0c5 Bug 1142586 - avoid asking the link service for online status on CHANGED. r=valentin 2015-03-12 09:46:00 +01:00
Boris Zbarsky
cbaf27c1b2 Bug 1097987 part 6. Require callers of JS_ExecuteScript to either use the global as the scope or pass in an explicit scopechain. r=waldo 2015-03-14 01:36:16 -04:00
Ehsan Akhgari
3fc680920e Bug 1133763 - Part 5: Allow the security info on intercepted HTTP channels to be overridden; r=michal 2015-03-13 14:37:21 -04:00
Ehsan Akhgari
0f129374d0 Bug 1133763 - Part 1: Remember the security info associated with HTTP fetches and record it inside InternalResponse; r=nsm 2015-03-13 14:37:14 -04:00
Chih-Kai (Patrick) Wang
7856bfc162 Bug 1129315 - require app processes update permissions after forked from nuwa. r=jdm 2015-03-12 16:53:22 +08:00
Dragana Damjanovic
29c59b5198 Bug 1130444 - Add telemetry for measuring SocketTransortService cycles; r=mcmanus 2015-03-12 10:25:13 +01:00
Daniel Stenberg
36b4582508 Bug 1140284 - start the resolver even when offline; r=ehsan 2015-03-09 09:52:05 +01:00
Valentin Gosu
9a0d5bb437 Bug 1135354 - Crash/Hang when clicking URL with a huge length r=mcmanus 2015-03-11 06:08:27 +02:00
Jed Davis
7c15687e14 Bug 1043143: Step 2a: Add a class like nsDownloader but using memory instead of a file. 2015-03-10 17:00:01 -07:00
Thomas Zimmermann
39abe5b3ae Bug 1137151: Mark destructor of |STSThreadPoolListener| as protected, r=mcmanus 2015-03-10 13:44:02 +01:00
Ryan VanderMeulen
6a29d99f87 Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
CLOSED TREE
2015-03-09 16:35:06 -04:00