Valentin Gosu
da41e347f1
Bug 1433958 - Change code that sets nsIURI.scheme to use nsIURIMutator r=mayhemer
...
MozReview-Commit-ID: GgyIkZSG2y3
2018-02-26 20:43:47 +01:00
Michal Novotny
6ea6df620d
Bug 1394564 - Delete current outgoing message when PrimeNewOutgoingMessage fails. r=mcmanus
2017-11-22 05:17:00 -05:00
Geoff Brown
022ef4adff
Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh
2017-11-10 07:03:36 -07:00
Andrea Marchesini
c32e6762d0
Bug 1415081 - part 3 - WebSocketChannel cannot use ::Available() to know the size of a nsIAsyncInputStream, r=smaug
2017-11-09 11:18:08 +01:00
Sebastian Hengst
5c152627a6
Backed out changeset dab1c5badddb (bug 1407679) for failing server startup in mochitests on Android. r=backout on a CLOSED TREE
2017-10-24 21:18:26 +02:00
Valentin Gosu
eb16c9049c
Bug 1407679 - Merge nsIIOService and nsIIOService2 r=nwgh
...
Removes deprecated nsIIOService2.newChannelFromURIWithProxyFlags
MozReview-Commit-ID: Gr3nA25kcre
2017-10-20 16:41:07 +02:00
Kris Maglione
7a77177f22
Bug 1404198: Part 2c - Switch to NS_NewTimer* in necko. r=njn
...
MozReview-Commit-ID: 3YyyaBAEjHc
2017-10-15 23:12:02 -07:00
Chris Peterson
90bcd3c611
Bug 870698 - Part 8: Replace Equals(NS_LITERAL_CSTRING("")) with EqualsLiteral(""). r=erahm
...
The NS_LITERAL_CSTRING macro creates a temporary nsLiteralCString to encapsulate the string literal and its length, but AssignLiteral() can determine the string literal's length at compile-time without nsLiteralCString.
MozReview-Commit-ID: B5Y8KyExPQ8
2017-09-06 15:00:31 -07:00
Henri Sivonen
4a5ed37f38
Bug 1395527 part 2 - Delegate IsASCII and IsUTF8 to encoding_rs. r=froydnj
...
MozReview-Commit-ID: 49AGBPjW4Ca
2017-09-01 11:53:31 +03:00
Sebastian Hengst
a030b74d2a
Backed out changeset d59b62713c66 (bug 1395527)
2017-09-02 10:38:20 +02:00
Henri Sivonen
3756bf2f04
Bug 1395527 part 2 - Delegate IsASCII and IsUTF8 to encoding_rs. r=froydnj
...
MozReview-Commit-ID: 49AGBPjW4Ca
2017-09-01 11:53:31 +03:00
Bevis Tseng
59627df038
Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
2017-07-27 02:18:20 +08:00
Andrea Marchesini
9e8ae1dfd0
Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm
2017-07-14 08:49:22 +02:00
Sylvestre Ledru
9d4a84d778
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Kershaw Chang
ba589d5bca
Bug 1343741 - Part3: Pass labelled event target to nsIProtocolProxyService::AsyncResolve, r=mayhemer
...
For dispatching runnable in nsPACMan, this patch sends a labelled event target via nsIProtocolProxyService::AsyncResolve.
2017-07-05 00:48:00 +02:00
Nicholas Nethercote
fcd4f4fa21
Bug 1376638 - Minimize uses of prmem.h. r=glandium.
...
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)
This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.
2017-06-30 19:05:41 -07:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
e6dc9e02bc
Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
...
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Bill McCloskey
5aec5bf1e9
Bug 1365101 - Convert NS_GetCurrentThread uses in netwerk/ (r=meyhemer)
...
MozReview-Commit-ID: IHBt6XAG8em
2017-06-12 20:21:43 -07:00
Valentin Gosu
ee6dca6a9e
Bug 1368549 - Remove MOZ_WIDGET_GONK from netwerk/* r=mcmanus
...
MozReview-Commit-ID: J2njLbNwlco
2017-05-29 22:09:04 +02:00
Nathan Froyd
a3cd9ee75a
Bug 1360236 - make gSocketThread an internal implementation detail of nsSocketTransportService; r=mcmanus
...
This change makes the code a little cleaner and reduces the number of
places we call PR_GetCurrentThread, which is important for Quantum DOM
scheduling work.
The conversion was largely automatic, via:
find netwerk/ -name \*.cpp | \
xargs sed -i -e 's/MOZ_ASSERT(PR_GetCurrentThread() == gSocketThread[^;]*/MOZ_ASSERT(OnSocketThread(), "not on socket thread")/'
and related invocations, with a few manual tweaks at the end.
2017-04-27 14:34:42 -04:00
Jason Duell
040e164669
Bug 711886 - Fail Websocket if server replies with non-matching subprotocol, r=mcmanus
2016-05-11 08:50:13 -07:00
Hideki Takeoka
1ae134f83e
Bug 1351948 - Refuse ws messages that don't use minimal encoding. r=michal
2017-04-03 10:49:22 -04:00
Wei-Cheng Pan
9f134bdbf1
Bug 1310127 - Part 3: Use MOZ_MUST_USE in netwerk/protocol/http r=mcmanus
...
Add assertions.
MozReview-Commit-ID: DPvgKzVr3ip
2017-01-12 17:48:45 +08:00
Tim Huang
98a583c4bd
Bug 1337893 - Part 3: Updating Necko for DNS changes. r=valentin
...
MozReview-Commit-ID: AVEp3hP7XqB
2017-02-15 17:48:15 +08:00
Tom Tromey
a4b717ab39
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Wei-Cheng Pan
2af5e12dfa
Bug 1323949 - Use MOZ_MUST_USE in netwerk/protocol/websocket r=valentin
...
MozReview-Commit-ID: 6lNrHbDIUez
2016-11-23 18:00:42 +08:00
Ehsan Akhgari
90f8d7c831
Bug 1318887 - Remove NS_GetAppInfo; r=mcmanus
...
This function is now only used to populate some write-only data members.
2016-11-21 15:00:46 -05:00
Ehsan Akhgari
dd159d47f6
Bug 1318883 - Remove the NetworkStats API and related code; r=baku,mcmanus
2016-11-21 13:33:18 -05:00
Jinank Jain
b875b54a4e
Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
2016-08-23 11:24:54 -04:00
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Michal Novotny
0492c71819
Bug 1288905 - Questionable reinterpret cast in WebSocketChannel::PrimeNewOutgoingMessage(), r=mcmanus
2016-07-26 19:57:03 +02:00
Michal Novotny
9c831c7e14
Bug 1287266 - Integer overflow check in WebSocketChannel::ProcessInput, r=mcmanus
2016-07-20 17:15:32 +02:00
Nicholas Nethercote
2e5d18a8ba
Bug 1278439 - Adding missing prefs service null checks in netwerk/. r=valentin.
2016-07-14 13:47:44 +10:00
Christoph Kerschbaumer
9707ba1a13
Bug 1282554 - Provide helper function to check if channel can be openen using open2() and asyncOpen2() r=bholly
2016-06-28 19:03:56 +02:00
Christoph Kerschbaumer
4dd7563d92
Bug 1271198 - Convert Websockets to use AsyncOpen2(). r=jduell
2016-05-17 12:04:11 +02:00
Jonas Sicking
a6a228b2c1
Bug 1272100: Websocket changes in preparation of FlyWeb landing. Make websocket code support acting as the server side of a websocket connection. r=michal
2016-06-01 02:35:33 -07:00
Chris Peterson
41c3720394
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
2016-05-22 13:31:11 -07:00
Sebastian Hengst
8bc16a6aea
Backed out changeset 2292661153e3 (bug 1271198) for web-platform failures. r=backout on a CLOSED TREE
2016-05-19 17:06:04 +02:00
Christoph Kerschbaumer
1545ce5c04
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 15:42:01 +02:00
Sebastian Hengst
7e88cd47a7
Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE
2016-05-19 14:23:51 +02:00
Christoph Kerschbaumer
dcac96fb7a
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 11:54:02 +02:00
Michal Novotny
5e8cb2252b
Bug 1271527 - Crash in mozilla::net::WebSocketChannel::Notify, r=mcmanus
2016-05-12 13:28:50 +02:00
Wes Kocher
cc45769f64
Backed out changeset af74581564bc (bug 711886) for wpt bustage
2016-05-11 10:28:53 -07:00
Jason Duell
f420936ed4
Bug 711886. Fail Websocket if server replies with non-matching subprotocol r=mcmanus
2016-05-11 08:50:13 -07:00
Jed Davis
b29cb4ee1e
Bug 1270328 - Fix use-after-forget in WebSocket. r=mcmanus
2016-05-04 19:22:00 -04:00