Commit Graph

1237 Commits

Author SHA1 Message Date
Aryeh Gregor
787beb7445 Bug 778680 part 1 - Make netwerk status codes actually nsresult; r=jduell 2012-08-01 11:17:09 +03:00
Dão Gottwald
26be97dfee Bug 777710 - Remove platform and OS identifiers from B2G UA. r=bz
--HG--
extra : rebase_source : 75ddd7a0e75f22a065fc0e7efad3a749511b813d
2012-07-31 17:37:26 +02:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
96fc9d649c Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
bcce1c96d2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Dão Gottwald
2a5d0a9d85 Bug 776376 - Hardcode navigator.productSub to 20100101 for backward compatibility. r=bz sr=jst 2012-07-27 14:09:59 +02:00
Ehsan Akhgari
fccf9bb4c8 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 (more intl parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 92f6b1dd5d0e67e05a7338991e648a09149275ec
2012-07-26 15:17:40 -04:00
Patrick McManus
a14aa5eb2c bug 767158 - remove blocking dns call in sspi r=honzab
--HG--
extra : rebase_source : a313576f1262f25b6d299f815cedb0d8acc0b03f
2012-07-26 11:09:05 -04:00
Patrick McManus
69378be6f2 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Patrick McManus
00aae47cf8 bug 775813 - rename http connection mgr ReadTimeoutTick to just TimeoutTick r=honzab 2012-07-23 19:10:02 -04:00
Patrick McManus
10e166070e bug 762162 - network.http.timeout-connection r=honzab 2012-07-23 19:10:00 -04:00
Joshua Cranmer
774444109e Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05: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
Joshua Cranmer
4ad48824ad Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -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
Patrick McManus
353d68f5e2 bug 775515 nshttpconnectionmgr::restrictconnections() for half opens only if they never connected r=honzab
--HG--
extra : rebase_source : d1c27fa7c066f8f25efa7bf4ad78e6df62b7ce22
2012-07-20 08:50:18 -04:00
Patrick McManus
38d6b524e1 bug 758972 - make spdysession::verifystream() a DEBUG only operation r=honzab
--HG--
extra : rebase_source : 157618d22a7fbcde1764125d50745552eddd6da6
2012-07-20 08:44:21 -04:00
Patrick McManus
5f2dfc16e3 bug 775508 http connection diagnostic half-open elapsed syn time incorrect r=honzab
--HG--
extra : rebase_source : c4d634a900b8de0c32710050e320b2550d0f1a30
2012-07-20 08:41:35 -04:00
Patrick McManus
4c858109e4 bug 770331 - always try and negotiate HTTP Keep-Alive r=biesi
--HG--
extra : rebase_source : d348e3ec56faa48fbed5c4f0f697dee6658e21b2
2012-07-20 08:40:13 -04:00
Gervase Markham
44a28dd9d7 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
Felix Moeller
fd1b89bad2 Bug 774240 - Data URI parsing mis-detects "base64" parameter as extension. r=rjesup 2012-07-16 20:38:47 -04:00
Jason Duell
55c4b6acdf Bug 773150 - FailDelayManager passing wrong type to MOZ_COUNT_CTR. r=mcmanus 2012-07-12 18:19:45 -07:00
Honza Bambas
d08a526246 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Fabrice Desré
b550133be0 Bug 769350 - Implement trusted/certified app scheme support [r=vingtetun] 2012-07-11 08:38:36 -07:00
Ryan VanderMeulen
89aff4650d Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange. 2012-07-10 19:21:54 -04:00
Honza Bambas
0dd40fb9a9 Bug 729182 - Implement visual event tracer, http instrumentation, r=mcmanus 2012-07-10 23:49:19 +02:00
Honza Bambas
24c40e8525 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02: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
Patrick McManus
088966a8d5 bug 770264 - http connection diagnostics r=honzab 2012-07-09 18:07:57 -04:00
Jason Duell
d21539b1f1 Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus 2012-06-22 12:01:00 -07:00
Jason Duell
81d71446e6 Bug 766929 - NS_ABORT_IF_FALSE(mConnectionInfo->UsingSSL()) failing [websockets http proxy]. r=mcmanus 2012-06-22 11:47:00 -07:00
Brian Smith
c2f818e964 Bug 763342 - Fix device-specific cache hit rate telemetry regression, r=michal
--HG--
extra : rebase_source : fb9b49591d2487cd0567922b2e0cdef7e38dd97a
2012-06-21 13:58:51 -07:00
Michal Novotny
da32f755da Bug 764337 - Firefox 14+ requests images inserted by JS multiple times if not cached r=mayhemer 2012-07-03 19:28:04 +02:00
Ryan VanderMeulen
2f392f7f32 Backout 38cfb0413e04 (bug 767506) due to M1 permaorange. 2012-07-02 21:55:24 -04:00
Jason Duell
a6ed249638 Bug 767506 - Select proper proxy caps for non-SSL CONNECT. r=honzab 2012-07-02 17:38:34 -07:00
Paul Adenot
2f16fd55a4 Bug 767087 - Add a flag to force content sniffing when we get served application/octet-stream. r=jduell 2012-06-26 10:33:00 -07:00
Patrick McManus
653c98d763 bug 769264 pipeline logging cleanups r=honzab
--HG--
extra : rebase_source : fc747b84349096b70d8b75d8aff8626826380d81
2012-07-02 18:10:04 -04:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -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
Patrick McManus
24add5cdfb bug 763312 pipeline position 0 read time rescheduling fixes r=honzab
--HG--
extra : rebase_source : 553ba9fc1f64bea331c191adc096437dadebbca5
2012-06-29 14:24:29 -04:00
Ed Morley
0359c6c4e5 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-29 08:41:44 +01:00
Jason Duell
cea8245cc8 Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 17:53:50 -07:00
Jason Duell
eb31915a8b Backout 25663e7d7f56 a=memory leak 2012-06-28 16:37:26 -07:00
Jason Duell
1a5146d99d Backed out changeset 25663e7d7f56 a=memory leak 2012-06-28 16:36:14 -07:00
Jason Duell
75ba9183da Bug 711793 - Delay websocket reconnection after abnormal termination. r=mcmanus 2012-06-28 14:42:21 -07:00
Brian Smith
b89e4ef9a3 Bug 761228: Fix 304 response handling for custom conditional responses to prevent crash, r=jduell
--HG--
extra : rebase_source : 26494ad6bf23c3290f74fdd6ffc21a1db0b7f429
2012-06-28 12:34:32 -07:00
Patrick McManus
d6879e09e8 bug 766312 - part 1 - pipeline cancelation could be "undone" r=honzab 2012-06-28 18:06:32 -04:00
Brian Smith
50de53bdaf Bug 764171: Fix crash in nsStorageStream by avoiding pre-buffering for items we will validate, r=honzab
--HG--
extra : rebase_source : e1229663f56643ef25805b26126893df51aaace7
2012-06-28 12:18:25 -07:00
Brian Smith
3c7495e4a0 Bug 760955 - Fix null pointer dereference in mozilla::net::nsHttpChannel::InstallOfflineCacheListener, r=hurley
--HG--
extra : rebase_source : 7cc662e898a48b05836441591b72587d8e988b2f
2012-06-12 14:25:24 -07:00
Brian Smith
d283191db1 Bug 760380 - Stop calling mOfflineCacheEntry->GetLastModified when processing response from normal cache, r=honzab
--HG--
extra : rebase_source : a649fa6e59638bf1e6d220cfc08960f7848a28ba
2012-06-12 14:23:06 -07:00
Patrick McManus
3057494853 bug 764648 navigation timing responseEnd not recorded on EOF HTTP delimiter r=honzab
--HG--
extra : rebase_source : d1d23dfe2a8f69f7cab61ac332571e190b2ec846
2012-06-26 10:47:46 -04:00
Ed Morley
cb23d93568 Backout d45ca69b67a3 (bug 767516), 4ff98d3e4d8d (bug 767512), 70cc47076115 (bug 767505), 4eca26d02c84 (bug 766929) for mochitest-plain-5 failures 2012-06-25 21:38:10 +01:00
Jason Duell
d40250152c Bug 767516 - Rename: s/SSLConnect/ProxyConnect/g r=mcmanus 2012-06-25 12:48:50 -07:00
Jason Duell
5bfbcc3f7c Bug 767512 - Fix connection pressure for non-SSL CONNECT. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
4ebcd6f324 Bug 767505 - ProcessAuthentication misses error check for non-SSL CONNECT. r=mcmanus 2012-06-25 12:48:49 -07:00
Jason Duell
fb8065a42d Bug 766929 - NS_ABORT_IF_FALSE(mConnectionInfo->UsingSSL()) failing. r=mcmanus 2012-06-25 12:48:49 -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
Dão Gottwald
0e4b582999 Bug 728831 - Don't expose the Firefox patch level (13.X.Y) in the UA string, only show the major version (13.X). r=bz sr=gavin 2012-06-22 13:52:47 +02:00
Brian Smith
8cc5f59bd8 Bug 763351: Fix cache hit rate telemetry so that kCacheMissedViaReval gets reported, r=hurley
--HG--
extra : rebase_source : 4f914bbe9ef20693ed25dd3da8f4a5a81953c03f
2012-06-21 13:48:59 -07:00
Patrick McManus
35c5635ee9 bug 764186 spdy sessions closed prematurely if started with null transaction r=honzab 2012-06-21 21:14:40 -04:00
Patrick McManus
7e5038214b bug 763352 - Proxy/NPN issue r=honzab
--HG--
extra : rebase_source : b4b592d695fe0ddbf5d451b385dc45202d100816
2012-06-20 20:55:02 -04:00
Patrick McManus
cff095e8d8 bug 766159 - User-Agent product sub code wrong with NSPR logging on r=jduell
--HG--
extra : rebase_source : 8f59eaad172e1a7c3e39fa02543783e8f2709f08
2012-06-20 17:07:42 -04:00
Patrick McManus
50c458b2ab bug 762505 - spdy/3 0 length responses with fin on syn-reply were not eof r=honzab
--HG--
extra : rebase_source : 933af8cbdb1c5bc9cbc66ddfcfd350fcff775a35
2012-06-20 13:07:01 -04:00
Patrick McManus
abd77bb045 bug 764260 convert telemetry::SPDY_VERSION and DNS_LOOKUP_METHOD to be enumerations r=bsmith 2012-06-19 20:38:44 -04:00
Jason Duell
1488ec4e81 Bug 713026 - websockets bootstrap via proxy should always CONNECT. r=mcmanus 2012-06-18 22:50:20 -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
Gordon P. Hemsley
d4f110a4ea Bug 672448 - Clamp quality factor ('q') values to 3 decimal places. r=biesi 2012-06-09 19:01:59 -04:00
Honza Bambas
226f248afc Bug 762115 - Missing null check at nsHttpChannel::GetProfileDirectory, r=michal 2012-06-07 18:10:21 +02:00
Patrick McManus
ec8d4c7746 bug 760608 alternatve 1 preconnect problem with SSL r=honzab 2012-06-06 15:47:45 -04:00
Jason Duell
2e8ee258a4 Bug 761932: Ensure OnStartRequest called in bug 738484 codepaths. r=mcmanus 2012-06-05 23:54:20 -07:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Ehsan Akhgari
95a7aa1c4e Merge the last green PGO changeset of mozilla-inbound to mozilla-central 2012-06-04 11:31:44 -04:00
Honza Bambas
5087829839 Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny 2012-06-04 16:12:24 +02:00
Ed Morley
f5fef940b6 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-01 15:27:36 +01:00
Brian Smith
43e18db243 Bug 722034 - Part 8 - Work around bug 759805, r=michal 2012-05-31 22:12:01 -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
Brian Smith
9e08c77759 Bug 722034 - Part 6 - Stop accessing cache descriptor on main thread for telemetry purposes, r=hurley 2012-05-31 15:20:06 -07:00
Brian Smith
5a381f2098 Bug 722034 - Part 5 - Move cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
fbced92697 Bug 722034 - Part 4 - Make a copy of the information needed during cache validation in preparation for moving cache validation to the cache thread, r=honzab 2012-05-31 15:20:05 -07:00
Brian Smith
1b457f2f45 Bug 722034 - Part 3 - Convert HttpBaseChannel::mRedirectedCachekeys to nsAutoPtr<nsTArray<nsCString> >, r=biesi 2012-05-31 15:20:05 -07:00
Patrick McManus
d1c8d9291b bug 759438 - crash in nsHttpTransaction::HandleContentStart due spdy restart r=honzab 2012-06-03 21:13:12 -04:00
Shriram Kunchanapalli
52a4aa2063 Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Patrick McManus
935d6feda8 bug 737470 new spdy v3 files had old mpl header r=trivial 2012-05-30 12:23:05 -04:00
Honza Bambas
f8d0ebf7b3 Bug 758852 - crash @ nsHttpConnectionMgr::nsHalfOpenSocket functions in Private Browsing, r=mcmanus 2012-05-29 16:51:21 +02:00
Brian Smith
135a3b988c Bug 722034 - Part 2 - Factor out nsHttpChannel::Hash into a standalone function, r=biesi 2012-04-05 01:57:30 -07:00
Brian Smith
f235069d3a Bug 746018 - Part 6 - Start buffering cache entries in memory before we validate them, r=honzab 2012-05-31 15:20:04 -07:00
Brian Smith
ad415f7991 Bug 746018 - Part 5 - Simplify ShouldUpdateOfflineCacheEntry, r=honzab 2012-05-31 15:20:03 -07:00
Brian Smith
e2814d51e8 Bug 746018 - Part 2 - Split nsHttpChannel::Connect() into two pieces--one that executes before checking the cache, one that executes after, r=honzab 2012-05-31 15:20:02 -07:00
Brian Smith
3f9281b50d Bug 746018 - Part 1 - Prevent changing channel state after AsyncOpen in more places, r=honzab 2012-05-31 15:20:02 -07:00
Brian Smith
b19f071435 Bug 759019 - Make nsHttpResponseHead and nsHttpRequestHead copy-constructable, assignable, and const-correct, r=biesi 2012-04-05 01:21:02 -07:00
Patrick McManus
61bdae0d6f bug 757882 replace 250+ lines of redundant nsAHttpConnection implementations with macros r=jduell 2012-05-25 17:56:41 -04:00
Patrick McManus
5616eadf11 bug 737470 patch 3 implement spdy v3 (pref off) r=honzab 2012-05-25 17:43:10 -04:00
Patrick McManus
66ac486485 bug 737470 patch 2 clone spdy/2 into spdy/3 r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession2.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession2.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream2.cpp => netwerk/protocol/http/SpdyStream3.cpp
rename : netwerk/protocol/http/SpdyStream2.h => netwerk/protocol/http/SpdyStream3.h
2012-05-25 17:37:08 -04:00
Patrick McManus
fada1ab692 bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab
--HG--
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.h => netwerk/protocol/http/SpdyStream2.h
2012-05-25 17:37:01 -04:00
Patrick McManus
0db31bd2ae bug 758725 spdy act on fin on synreply r=honzab 2012-05-25 17:18:41 -04:00
Josh Matthews
34d7fff04d Bug 722845 - Part 4: Add PB information to wyciwyg channels. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
af8add48b2 Bug 722845 - Part 2: Generalize channel private browsing information to a PB consumer interface. r=jduell 2012-05-24 16:31:54 +01:00
Josh Matthews
1fe7626c62 Bug 722845 - Part 1: Add private browsing information to HTTP channels. r=jduell,mayhemer 2012-05-24 16:31:53 +01:00
Honza Bambas
543599db71 Bug 749209 - Happy Eyeballs implementation still not quite right, r=mcmanus 2012-05-22 22:12:40 +02:00
Patrick McManus
5076c77582 bug 756551 part 2 verify state of spdy mNeedsCleanup stream r=honzab 2012-05-21 17:09:34 -04:00
Patrick McManus
3afab11bb3 bug 756551 spdy stream index integrity checks r=honzab 2012-05-21 17:09:25 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oleg Romashin
1655ded07a Bug 756384 - Maemo/Meego builds should have the "Mobile" token in the UA string. r=mfinkle 2012-05-19 11:31:17 -04:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04: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
3c571bfd0d Bug 755316 nullhttptransaciton based spdystream does not finish r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
75458ce509 bug 755174 spdysession::readsegments may not set reader without transaction r=honzab 2012-05-16 09:05:34 -04:00
Patrick McManus
d34cad8cf0 Bug 755167 - spdysession::mConnection should not be nsHttpPipeline r=honzab 2012-05-16 09:05:34 -04:00
Ryan VanderMeulen
3bc52299fe Merge m-c to inbound 2012-05-15 19:24:50 -04:00
Patrick McManus
f53058dc90 Bug 755467 SpdySession::RestrictConnections() should use conn->EverUsedSpdy() r=honzab 2012-05-15 16:31:29 -04:00
Brian R. Bondy
6d4a2bc347 Bug 754894 - Catalog sheet code is broken at least in unpackaged build. r=bz 2012-05-15 12:15:05 -04:00
Honza Bambas
9de523bc11 Bug 621446 - Crash [@ mozilla::net::HttpChannelParent::RecvRedirect2Verify ], r=jduell 2012-05-15 16:44:25 +02:00
Alexandre Poirot
07ce542c8f Bug 682305 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS. r=sicking 2012-05-10 19:58:48 +01:00
Blake Kaplan
9a4ca1ba57 Backed out changeset ad106d37ee43. The bug number in the changeset was wrong. 2012-05-15 12:03:01 +02:00
Alexandre Poirot
33cbbf5d92 Bug 736046 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS r=sicking
--HG--
extra : rebase_source : 447999d425cb6a405c287fecdcfc7810676ea3b9
2012-05-10 19:58:48 +01:00
Gavin Sharp
22e5cffb69 Bug 747990: Add ability to specify the "application name" used in the user agent in application.ini, r=bsmedberg
--HG--
extra : rebase_source : fbaaa2e94c2bbaf74e001147ec014b1ffdf3502f
2012-04-23 16:09:23 -04:00
Patrick McManus
606d91079f bug 726366 part 2 - fix tunnel spdy over http proxy initial settings race r=honzab 2012-05-14 14:49:18 -04:00
Patrick McManus
ec0d8ed61a bug 752648 - fix regression with restarting due to tls intolerance r=honzab
--HG--
extra : rebase_source : 8155ae4c221df4c5931816fb8773123cc37dd148
2012-05-14 13:25:28 -04:00
Honza Bambas
5641f6f3aa Bug 748240 - view-source: doesn't load HTML from AppCache, r=bz 2012-05-12 11:42:20 +02:00
Patrick McManus
8dbe9d436b bug 752648 - backout patch for breaking cert override dialog r=backout 2012-05-10 13:11:10 -04:00
Ryan VanderMeulen
5024f21247 Backout ff1f86491512:29e94992504b due to orange. 2012-05-09 20:02:40 -04:00
Oonishi Atsushi
828c226d83 Bug 282432 - Calling asyncOpen on a file channel should notify about file not found errors asynchronously instead of throwing from asyncOpen. r=bz 2012-05-09 18:46:12 -04:00
Ed Morley
1367c1684d Merge mozilla-central to mozilla-inbound 2012-05-09 18:09:29 +01:00
Honza Bambas
417b4ef069 Bug 748647 - INHIBIT_PERSISTENT_CACHING was set to early, r=michal 2012-05-09 14:58:39 +02:00
Jason Duell
2f89836f11 Bug 752675. Clarify why we don't preconnect for some cache flags. r=mcmanus 2012-05-08 18:02:31 -07:00
Honza Bambas
23deacc2ea Bug 715837 - Crash @ mozilla::net::HttpChannelParent::RecvMarkOfflineCacheEntryAsForeign, r=jduell 2012-05-07 13:20:21 +02:00
Patrick McManus
8fe5883946 bug 726366 - support tunneling spdy through proxies r=honzab
--HG--
extra : rebase_source : 866ba1670ae0a2023e8cae8185b1e9d12bd1aed5
2012-05-07 10:27:25 -04:00
Patrick McManus
b8984beedd bug 751647 - speculative connect needs to check spdy ip pooling table r=honzab 2012-05-07 09:43:46 -04:00
Geoff Lankow
121a175c84 Backed out changeset b4cf9833464e (bug 715837) 2012-05-07 23:42:18 +12:00
Honza Bambas
36fc71cd19 Bug 715837 - Crash @ mozilla::net::HttpChannelParent::RecvMarkOfflineCacheEntryAsForeign, r=jduell 2012-05-07 13:20:21 +02:00
Patrick McManus
59035f14d4 bug 739522 allow parallelism for hosts that exhibit mixed spdy/http r=honzab 2012-05-03 20:32:12 -04:00
Ehsan Akhgari
ad0e54ab78 Merge from mozilla-central 2012-05-03 17:33:52 -04:00
Brian R. Bondy
796c450e07 Bug 670514 - Arbitrary File + Directory read via .lnk files on Windows Share. r=bz 2012-05-03 15:23:28 -04:00
Patrick McManus
8673c38cdf bug 749839 - apply unexpected server read test only to http pconns r=jduell 2012-05-03 09:10:11 -04:00
Dão Gottwald
be66623d1d Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. r=bz sr=gerv 2012-04-30 13:06:45 +02: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
Shriram Kunchanapalli
bb6f3e9ec6 Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt 2012-02-18 19:17:01 +05:30
Ed Morley
97b76808c2 Backout 12d1d626759c (bug 747215), 11b16556248e (bug 738484) for xpcshell failures on all platforms 2012-05-03 10:17:42 +01:00
Jason Duell
9224679eeb Bug 738484: part 2: fix missing onStartRequest calls for some failed redirects. r=mcmanus 2012-05-03 00:28:57 -07:00
Patrick McManus
9e0422c738 bug 723628 - speculative connect hint interface r=honzab sr=biesi 2012-04-25 08:54:42 -04:00
Patrick McManus
cdc92cbfa8 bug 729133 - internal necko speculative connections r=honzab
race cache I/O events against TCP/SSL connections. Also drive
unused TCP connections to the completion of their SSL handshakes is
apropos.
2012-04-25 08:54:42 -04:00
Andrew Sutherland
f128a13798 Bug 717242, r=mcmanus 2012-04-25 14:50:20 +02:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Patrick McManus
fec2a5c2d2 bug 746731 - nsHttpConnection::mIdleTimeout initialization fixes r=honzab 2012-04-24 15:12:06 -04:00
Patrick McManus
9d41be7518 bug 745379 - mistake in spdy/2 spec reversed actual priority values r=honzab 2012-04-15 13:11:23 -04:00
Patrick McManus
652e0400e5 bug 744788 - add httpconnmgrtick setTarget() in case of offline/online r=honzab 2012-04-13 15:47:43 -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
3ae3a71793 Bug 738484 - Handle Location: that won't parse to valid URI. r=mcmanus 2012-04-11 13:26:23 -07:00
Patrick McManus
8ebada0f34 bug 743747: fix landing with 603514 r=honzab 2012-04-11 13:49:32 -04:00
Patrick McManus
3405699629 bug 743587 Intermittent Linux talos crash [@ nsHttpConnection::CloseTransaction] r=honzab 2012-04-11 13:11:10 -04:00
Patrick McManus
c1a33ecaf0 bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab 2012-04-11 13:11:09 -04:00
Jason Duell
12220d4111 Bug 742174 - Allow empty Location header. r=mcmanus 2012-04-09 16:50:35 -07:00
Patrick McManus
46695bea53 bug 742935: fix landing problem with 717759 r=honzab 2012-04-09 10:22:07 -04:00
Patrick McManus
0d8b095be3 bug 742935: fix landing problem with 717350 r=honzab
--HG--
rename : netwerk/test/unit/test_mismatch_lm.js => netwerk/test/unit/test_mismatch_last-modified.js
2012-04-09 10:21:28 -04:00
Patrick McManus
423247bf74 bug 742935: fix landing problem with 603512 r=honzab 2012-04-09 10:21:17 -04:00
Ben Bucksch
8ab5ea8974 #pragma O0 fails on GCC 4.4 with an Internal Compiler Error. -- bug 621446, r=honzab
This pragma was only to investigate another crash on Android, but breaks compile
on g++ 4.4 64bit, e.g. on Ubuntu 10.04 64bit.
Thus, enable that pragma only on Android.
2012-04-09 11:11:53 +02:00
Brian Smith
5b9f0dc036 Bug 743076 - Suppress warning warning C4355: 'this' : used in base member initializer list in HttpChannelChild and FTPChannelChild, r=cbiesinger 2012-04-05 00:03:14 -07:00
Brian Smith
d938d31bab Bug 742610 - Remove opportunistic caching support from nsHttpChannel, r=honzab
--HG--
extra : source : 8b98023b89ddef6e7b0bbed25463c68142877d8e
2012-04-05 00:14:35 -07:00
Patrick McManus
28a4a4e674 bug 742827 - fix problem with landing of bug 671591 r=honzab 2012-04-05 18:37:57 -04:00
Brian Smith
e34bab8946 Bug 736903: nsHttpChannel wraps the aOffset value it passes to its stream listener instead of clamping it, r=cbiesinger
--HG--
extra : rebase_source : 28bc8bdddea0cac6a41482920d059b523197ef03
2012-04-04 18:57:22 -07:00
Brian Smith
a1f4a19633 Bug 736895: Suppress warning warning C4355: 'this' : used in base member initializer list in nsHttpChannel::nsHttpChannel, r=cbiesinger
--HG--
extra : rebase_source : bbcacf34a97671cb4750888a2468f6563c52b99a
2012-04-04 18:55:21 -07:00
Brian Smith
e808e67215 Bug 736887: Fix compiler warning in nsHttpChannel.cpp: warning C4244: 'argument' : conversion from 'double' to 'PRTime', possible loss of data, r=cbiesinger
--HG--
extra : rebase_source : 7c100821353b77133108e08f6bf0fd53195c0f9a
2012-04-04 18:54:03 -07:00
Patrick McManus
a68d7584b3 bug 739023 nightly crash in nshttpchannel::OnDataAvailable() from Restart r=honzab
--HG--
extra : rebase_source : ccb196fc38394d9ef5e0a4bdf51ea714a57e7224
2012-04-04 21:19:20 -04:00
Patrick McManus
5e33fbff0d bug 741056 - nightly crash https sites with authenticated proxy r=honzab 2012-04-04 09:39:21 -04:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Patrick McManus
f91dd06576 bug 739617 - cannot upload large files r=honzab
--HG--
extra : rebase_source : 5ea85a021233cf79a539980efc859a2d5372fe53
2012-04-02 20:36:11 -04:00
Patrick McManus
f18af8f9eb Bug 739023 - Disabling the Restart-in-progess logic temporarily since suspected of causing crashes, r=honzab 2012-03-30 00:40:42 +02:00
Michael Wu
ecf90b6e1a Bug 737196 - Make camera code build on gonk-ics, r=cjones 2012-03-23 15:45:47 -04:00
Patrick McManus
a7669f6540 bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab 2012-03-22 19:39:32 -04:00
Patrick McManus
e8210a8959 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
2c1b0520f1 bug 671591 - restart partial http transaction (in progress) r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
b42fe35654 bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.
2012-03-22 19:39:31 -04:00
Patrick McManus
f04f8c8cf1 bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).
2012-03-22 19:39:31 -04:00
Patrick McManus
6642e5f564 bug 665885 respect keepalive: "max=" attribute r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
665466cf6f bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
dd00f9250a bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
69d6b34474 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
2f6e970bde bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
18371ac44a bug 447866 - patch pre.1 for empty nsHttpPipeline::TakeSubTransactions r=honzab
--HG--
extra : rebase_source : 5c21007525883fc74dc70332cf74d8d0bacd9147
2012-03-22 19:39:28 -04:00
Michal Novotny
fc7977fd47 Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously 2012-03-22 23:54:20 +01:00
Michal Novotny
351c4791da Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel::OpenOfflineCacheEntryForWriting() 2012-03-22 23:53:55 +01:00
Michal Novotny
df4890a620 Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set 2012-03-22 23:53:10 +01:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
julian.reschke@gmx.de
0b667bf265 Bug 714302: add suport for HTTP status code 308 r=mcmanus
--HG--
extra : rebase_source : 2e4a46ac5ebe89a36fb4b12b1985d07d674db5e8
2012-03-21 16:13:42 -04:00
Chris Jones
84d246dca1 Bug 736778: Work around probable compiler bug breaking DEBUG builds of GonkCaptureProvider. r=fabrice (npotb) 2012-03-17 14:42:24 -07:00
Jason Duell
2a245bc789 Backed out changeset 5aaec7f808b6 2012-03-15 20:56:23 -07:00
Jason Duell
6e4a5e4792 Backed out changeset 5aaec7f808b6 2012-03-15 20:55:44 -07:00
John Daggett
e1a14d0e6a Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
f77f86991d Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz 2012-03-16 12:31:01 +09:00
Jason Duell
e683c892ab Bug 664163: I will back this out when xpcshell test_traceable.js fails eventually. r=jduell 2012-03-15 18:54:58 -07:00
Jason Duell
25bb7c605c Backed out changeset c9265ada6f40 2012-03-15 15:05:22 -07:00
Jason Duell
1427947aa0 Bug 648878 - I will backout: investigating inbound-only failure r=jduell 2012-03-15 13:00:20 -07:00
Patrick McManus
3060ca04b8 bug 735552 - wrong assert on shutdown in nsHttpConnectionMgr::ReportSpdyConnection r=honzab
--HG--
extra : rebase_source : 8baf5fbae8d9ad8196fd699191c0013f7ea8f424
2012-03-15 00:03:04 -04:00
Phil Ringnalda
03c791f19f Back out 9899522b6ad9 (bug 664163) 2012-03-13 22:11:55 -07:00
Jason Duell
293e6966d2 Bug 664163: Yes this will get backed out: see bug. r=jdm 2012-03-13 18:46:30 -07:00
Jason Duell
1fc96138d1 Backed out changeset fd30aea30b03 2012-03-13 15:12:46 -07:00
Jason Duell
3f8203f21e Backed out changeset fd30aea30b03 2012-03-13 15:10:01 -07:00
Daniel Holbert
502c256c08 Bug 621446: followup to investigation patch - wrap MSVC-only pragma in ifdef so other compilers don't complain about it. r=jduell 2012-03-13 14:57:28 -07:00
Jason Duell
6bbf4d063a Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-13 11:49:01 -07:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Nathan Froyd
4cebb315f0 Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus 2012-02-27 11:20:29 -05:00
Patrick McManus
0011224491 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-27 10:32:09 -05:00
Geoff Lankow
53be83b619 Backed out changeset 7dce5c5c9654 (bug 729736) 2012-02-26 13:50:37 +13:00
Geoff Lankow
e75048d315 Backed out changeset f65247c7647a (bug 729133) 2012-02-26 13:50:34 +13:00
Patrick McManus
fe7653eb59 bug 729133 speculative connections do full ssl and happen before cache lookup 2012-02-25 17:07:52 -05:00
Patrick McManus
ed30ba1e82 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-25 17:07:51 -05:00
Patrick McManus
3b22728106 bug 728113 spdy ping to keepalive nat timeouts 2/2 spdy ping r=honzab 2012-02-23 20:58:43 -05:00
Patrick McManus
c05ba5fb6e bug 728113 - spdy ping to keepalive nat timeouts 1/2 tick infrastructure r=honzab 2012-02-23 20:56:57 -05:00
Masatoshi Kimura
28f2776f50 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Jason Duell
afcfe03dfc Bug 696085: WebSocket connection opening across page loads r=smaug 2012-02-21 14:57:10 -08:00
Dão Gottwald
897892ae75 Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-21 04:29:09 +01:00
Justin Dolske
dc4967a956 Backout bfc937247f3c (bug 588909), UA change breaks Google and Zimbra. 2012-02-20 16:29:38 -08:00
Justin Dolske
493d419146 Backout 0a7410527788 (bug 572659), UA change breaks Google and Zimbra. 2012-02-20 16:29:36 -08:00
Dão Gottwald
ce98a24c8c Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-20 15:39:33 +01:00
Ed Morley
efe21ddd01 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-20 12:08:28 +00:00
Patrick McManus
7f16fc513b bug 727943 spdy broke caldav (and probly webdav) methods r=honzab 2012-02-19 14:29:09 -05:00
Patrick McManus
c03621b49b bug 727855 spdy: rst streams instead of sessions on some errors r=honzab 2012-02-19 14:28:58 -05:00
Chris Jones
3b557f3661 Bug 728673: Restore call to getNumberOfCameras(). r=fabrice 2012-02-19 09:47:16 -08:00
Chris Jones
16950ada3b Bug 727950: Don't close the camera dso, some of them don't like that. r=fabrice (npotb) 2012-02-17 22:33:52 -08:00
Richard van den Berg
bb6666c881 Bug 452781 - Allow specifying wildcard that matches all simple netbiosnames in network.automatic-ntlm-auth.trusted-uris, r=honzab 2012-02-17 16:24:31 +01:00
Honza Bambas
51616d748b Bug 621446 - investigation patch 2 for crash at RecvRedirect2Verify, r=jduell 2012-02-17 16:24:30 +01:00
Dão Gottwald
794c8a0fac Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. r=bz sr=gerv 2012-02-17 13:21:29 +01:00
Patrick McManus
ea7056c261 bug 447866 pre patch 0 - pipeline and spdy mix r=honzab 2012-02-15 16:41:18 -05:00
Patrick McManus
9c68958e38 bug 752648 - identify failed ssl handshakes earlier to improve restart logic r=honzab 2012-05-09 09:57:04 -04:00
Boris Zbarsky
44d27c2c9d Bug 627616. Do proxy authentication even for LOAD_ANONYMOUS loads. r=mayhemer 2011-02-01 21:36:15 -05:00
Geoff Lankow
95f0153308 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg 2012-01-17 14:48:29 +13:00
Phil Ringnalda
6ac6b8f60d Back out be556c99ef81 and 13c3c54d067b (bug 627616) for orange 2012-02-12 10:53:31 -08:00
Boris Zbarsky
8747a6be8b Bug 627616. Do proxy authentication even for LOAD_ANONYMOUS loads. r=mayhemer 2011-02-01 21:36:15 -05:00
Julian Reschke
c5add5d09a Bug 598304 - XHR rewrites non-POST methods upon 301/302 redirects. r=bz 2012-02-10 14:12:51 +01:00
Fabrice Desré
dfcf763a85 Bug 725602 - B2G UA is wrong [r=gal] 2012-02-09 14:02:46 -08:00
Patrick McManus
8084fdc8b4 bug 704227 muddle through on some minor problems with content-length r=jduell 2012-02-09 14:47:30 -05:00
Justin Lebar
cc5eeebdd5 Bug 690425 - Fix shutdown crash in HttpChannelChild. r=jdm 2012-02-08 17:46:50 -05:00
Ed Morley
ad5a8e1d06 Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
88ba00973a Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00
Patrick McManus
bbe5e26063 bug 717524 - process a list of content-encoding response headers r=bz
--HG--
extra : rebase_source : 06599a663ecb6374196ca25be0ac74e68bbe78d9
2012-02-07 22:46:43 -05:00
Fabrice Desré
5560c6ed60 Bug 708484 - Add camera capture stream provider for gonk (temporary solution) - get camera working in webpages [r=bz] 2012-02-06 22:48:50 -08:00
Jeff Muizelaar
9adaa28322 Bug 235853 - Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution. r=biesi,sworkman 2008-11-04 16:50:00 -05:00
Fabrice Desré
e5743caa69 Bug 723418 - followup [r=cjones] 2012-02-02 18:54:47 -08:00
Chris Jones
3285de0cfc Bug 723418: Don't link against HAL_getNumberOfCameras because we don't have a camera library on the emulator. r=gal 2012-02-02 00:33:06 -08:00