Commit Graph

174 Commits

Author SHA1 Message Date
Jason Duell
6e901a5e4e Bug 870579 - IID bump for nsIWebSocketChannel r=trivial DONTBUILD 2013-05-09 17:12:40 -07:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jason Duell
54bf6f54da Bug 855906 - Convert nsIWebsocketChannel pingInterval to seconds r=mcmanus 2013-04-05 13:52:12 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jason Duell
ca109b3b3f Bug 849364 - Provide per-websocket way to enable keepalive pings. r=mcmanus 2013-03-28 15:52:16 -07:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
660d1983d3 Bug 784841 - Part 18z: Convert /netwerk; f=Ms2ger rs=ted 2013-02-25 12:47:23 -08:00
Masatoshi Kimura
62d87c38b8 Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell 2013-02-08 20:49:30 +09:00
Jason Duell
07b4d84cc4 Bug 833935 - Warn when child is about to issue illegal IPDL request. r=jdm 2013-01-24 19:24:00 +00:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Masatoshi Kimura
b5e27745c8 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Josh Matthews
c4823bbdfb Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-29 04:02:16 -05:00
Josh Matthews
a2029f145a Backed out changeset 6cd44513d285 (bug 782542) 2012-12-28 19:18:38 -05:00
Josh Matthews
9260666d38 Bug 782542 - Secure necko IPDL usage. r=ted,jduell a=blocking-b2g 2012-12-12 10:40:33 -05:00
Ed Morley
62e46aa794 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews
b5a5e3ef75 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Ehsan Akhgari
9305b46722 Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures 2012-12-11 15:04:11 -05:00
Josh Matthews
6fab8b6f69 Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-07 17:12:02 -05:00
Valentin Gosu
bd752af443 Bug 783205 - Networking Dashboard. r=mcmanus, r=jorendorff, sr=biesi 2012-12-10 09:13:55 -05:00
Patrick McManus
bda7430bfa bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz 2012-12-04 18:06:29 -05:00
Guillermo López
e965a664d0 Bug 807276 - Make nsIWebSocketChannel.idl scriptable. r=jduell, sr=bz DONTBUILD 2012-11-07 12:06:22 -08:00
Jason Duell
81b21d68c4 Backed out changeset f7753f215359 2012-11-07 11:43:38 -08:00
Guillermo López
4379870e44 Bug 807276. Make nsIWebSocketChannel.idl scriptable r=jduell, sr=bz DONTBUILD 2012-10-31 04:58:00 -07:00
Patrick McManus
d72702ebef bug 805457 telemetry for proxy and websocket connections r=jduell 2012-10-27 15:24:19 -04:00
Jason Duell
09acbd60ff Bug 798045: Followup: fix typo in comment. r=me 2012-10-09 16:46:23 -07:00
Jason Duell
df8db99a84 Bug 798045 - improved FailDelay lookup r=bsmith 2012-10-08 18:38:04 -07:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
d72827c0aa Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Josh Matthews
a95c881e25 Bug 783878 - Part 2: Allow serializing remote input streams by passing the actor reference over the wire and retrieving the original stream in the parent. r=bent 2012-09-21 13:26:13 -04:00
Ehsan Akhgari
c4c18521be Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell
This is probably the worst patch that I have ever written!

We add a setPrivate method to nsIPrivateBrowsingChannel which will be
implemented by channels who care about private browsing.  This allows the
client to explicitly override the private bit on the channel.
NS_UsePrivateBrowsing is also taught about this override bit using the
internal nsIPrivateBrowsingChannel::IsPrivateModeOverriden API.  This patch
implements the new API for HTTP, FTP and wyciwyg channels.  This also
modifies the IPC implementations of these channels to correctly transfer that
bit to the parent process if it has been set in the child process channel.
2012-09-04 20:37:45 -04:00
Makoto Kato
d5c93adaee Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel 2012-09-14 16:09:52 -04:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Ben Turner
1557efd8b1 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Ryan VanderMeulen
1733e65710 Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner
3e66942f49 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Jason Duell
a04e7b8f68 Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm 2012-08-06 21:47:48 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Jason Duell
c95f8eff2b Bug 776176 - e10s: propagate GetExtendedOrigin from child to parent process. r=jdm 2012-07-23 11:12:03 -07:00
Jason Duell
0f5d39e960 Bug 775861 - e10s: propagate appId and isInBrowserElement from child to parent process r=jdm 2012-07-22 15:35:33 -07:00
Jason Duell
297baa7909 Bug 775119 - e10s: implement nsILoadContext in ParentChannels, remove PrivateBrowsingConsumer r=jdm 2012-07-22 15:35:33 -07:00
Jason Duell
55c4b6acdf Bug 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus 2012-07-12 18:19:45 -07:00
Jason Duell
b8f5384767 Bug 771318 - Fix early websocket Init fail. r=mcmanus, r=smaug 2012-07-09 18:20:25 -07:00
Jason Duell
108efc0dae Bug 771318 - Code cleanup before actual fix. r=mcmanus 2012-07-09 18:20:21 -07:00
Jason Duell
6ab43abf3a Bug 757738 - Websockets: release reference to nsIWebSocketListener after OnClose. r=mcmanus 2012-06-29 23:02:08 -07:00
Jason Duell
c07ddfea8d Bug 769529 - Update nsIWebSocket*.idl comments to reflect that we don't always call OnStart. r=mcmanus, sr=biesi 2012-06-29 22:59:49 -07:00
Jason Duell
cea8245cc8 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 17:53:50 -07:00
Jason Duell
f0efe4bd13 Bug 713023 - Websockets: don't prefer SOCKS to HTTP proxy until bug 449251 is fixed. r=biesi 2012-06-22 10:59:53 -07:00
Ehsan Akhgari
695bd88cea Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (netwerk parts); r=jduell 2012-06-05 23:18:25 -04:00
Jason Duell
f7e8936e78 Bug 742614: Allocation of string is not checked in WebSockets text frame parsing. r=bsmith 2012-05-11 02:05:00 -07:00
Jason Duell
d4a8be89ed Bug 748766 - Only count connected websockets toward max-websocket limit. r=mcmanus 2012-05-31 16:41:24 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jason Duell
f341063ac0 Bug 753105 - Change Websocket "internal error" code to 2011. r=mcmanus 2012-05-17 10:59:26 -07:00
Jason Duell
6246db87a7 Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Patrick McManus
6473a24906 bug 738914 - orange websocket pipeline::isdone from main thread r=jduell
--HG--
extra : rebase_source : 206a38c1a8d9bac40bacb2e9556651d83406b115
2012-04-25 22:02:12 -04:00
Ms2ger
945ee00ec1 Bug 605180 - Fix build warnings in netwerk/. r=jduell 2012-04-07 14:25:00 -07:00
Jason Duell
563f72fd76 Bug 712191 - Clean up websocket close codes and abort logic. r?mcmanus 2012-04-11 13:20:00 -07:00
Jason Duell
afcfe03dfc Bug 696085: WebSocket connection opening across page loads r=smaug 2012-02-21 14:57:10 -08:00
Jason Duell
91714b61c8 Bug 701383: Websocket fails to delete mOutGoingMessage if closed multiple times. r=mcmanus 2012-01-31 20:41:47 -08:00
Jason Duell
4214758ad2 Bug 718557: Clean up DOM Websocket close logic. r=smaug 2012-01-31 20:41:43 -08:00
Patrick McManus
6163c59f06 bug 712572 part 2 r=jduell 2012-01-06 14:54:15 -05:00
Patrick McManus
22e8bd840b bug 712572 part 1 r=jduell 2012-01-06 14:54:13 -05:00
Patrick McManus
fc3b37def5 bug 715284 WebSocketChannel.cpp compiler warning r=jduell 2012-01-04 18:19:15 -05:00
Jason Duell
04061f024a Bug 711205: Limit websocket outbound msg size to PR_INT32_MAX. r=mcmanus 2011-12-20 00:20:12 -08:00
Jason Duell
310257bf73 Bug 711205: Increase inbound WebSocket message size from 16MB to whatever malloc can handle. r=mcmanus 2011-12-20 00:20:12 -08:00
Jason Duell
0e9574dc47 Bug 666349: update status code usage to latest spec. r=mcmanus 2011-12-20 00:20:12 -08:00
Jason Duell
49b8bce974 Bug 666349 - Update WebSocket API to latest draft. r=mcmanus 2011-12-20 00:20:12 -08:00
Patrick McManus
2319c27b0d bug 664284: Add HSTS support for websockets. r=mcmanus 2011-12-15 15:23:00 -08:00
Jason Duell
df88daa742 Bug 676439 - Websocket Binary Message support: Necko changes. r=mcmanus 2011-12-15 15:20:17 -08:00
Jonathan Watt
8a0b72332d Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Wellington Fernando de Macedo
b0c073bb36 Bug 664894. Eliminate nsWebSocketEstablishedConnection and fold code into nsWebSocket. r=jduell 2011-10-20 01:27:13 -07:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Patrick McManus
f1c2b985a4 bug 687243 - websockets message len 0xffff does not use minimal length encoding r=jduell 2011-09-27 08:50:22 -04:00
Patrick McManus
c598a54eb0 bug 686312 - websockets should not reject non character utf-8 sequence as invalid r=dbaron 2011-09-20 18:13:43 -04:00
Patrick McManus
d812bf3a45 bug 679783 - websockets oninputstreamready() crash. r=jduell 2011-08-26 12:05:47 -07:00
Patrick McManus
1f488d8684 Bug 675983 - Websockets - fail connection on 1st fragment with a continuation op code 2011-08-08 23:41:22 -07:00
Jason Duell
ef3ae06a49 bug 675784 - websockets early cancel part 2/2 r=mcmanus. 2011-08-07 09:44:19 -04:00
Patrick McManus
7b31953ff1 bug 675784 - websockets early cancel part 1/2 r=jduell 2011-08-07 09:43:53 -04:00
Patrick McManus
16f821f946 bug 675919 - websockets fail connection on unknown control code. r=jduell 2011-08-04 22:45:55 -07:00
Patrick McManus
04a4cafd79 Bug 675961 - Websockets: error in removing processed control frame from buffered fragment sequence. r=jduell 2011-08-04 22:43:52 -07:00
Patrick McManus
8cb5471157 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Patrick McManus
c9a6067c84 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz
--HG--
extra : rebase_source : f7a0eb6b310f29f8e697c26ff5e0ef9d2fde559a
2011-08-03 15:15:25 -04:00
Patrick McManus
c0f9203b99 bug 667853: Missing close() event if websocket::init fails. r=mcmanus, jdm 2011-08-02 16:55:17 -07:00
Patrick McManus
dbedaea7fc bug 672384 - WebSocket connection drops on moderately-large fragmented messages r=biesi 2011-07-22 16:06:57 -04:00
Patrick McManus
d294fd5e2d bug 669936 emacs mode lines for websockets 2 space indents r=jduell 2011-07-07 15:39:24 -04:00
Patrick McManus
5347af7a72 bug 669975 - websockets e10s mLoadGroup member duplicated r=jdm 2011-07-07 15:36:37 -04:00
Jason Duell
88143d01fa bug 664860. Convert WebSocketChannel to 2 space indents. r=biesi. 2011-07-04 21:18:34 -07:00
Jason Duell
2fd7bcda1f bug 664860. Rename nsWebSocketHandler -> WebSocketChannel. r=biesi
--HG--
rename : netwerk/protocol/websocket/nsWebSocketHandler.cpp => netwerk/protocol/websocket/WebSocketChannel.cpp
rename : netwerk/protocol/websocket/nsWebSocketHandler.h => netwerk/protocol/websocket/WebSocketChannel.h
2011-07-04 21:18:33 -07:00