Граф коммитов

7011 Коммитов

Автор SHA1 Сообщение Дата
Shawn Wilsher 7a35d860e3 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Michal Novotny bcf48151a4 Bug 597224 - HTTP Cache: use directory tree to store cache files. sr=bzbarsky@mit.edu, a=blocker 2010-12-06 17:49:05 +02:00
Ehsan Akhgari 0e50f704ba Bug 616591 - Firefox 4.0b8pre crash in [@ nsHttpPipeline::GetConnectionInfo(nsHttpConnectionInfo**]; r=bzbarsky a=blocking-beta8+ 2010-12-04 04:21:03 -05:00
Ehsan Akhgari 6651ae9849 Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+ 2010-11-25 00:20:11 -05:00
Josh Matthews 2fd4189f9d Bug 615745 - Make CookieServiceChild add strong pref observers. r=dwitte a=blocking-fennec 2010-11-30 21:47:08 -05:00
Ehsan Akhgari 7daaa00ea9 Backed out changeset 630b08a7fe63 because of xpcshell test failures 2010-11-30 13:57:24 -05:00
Ehsan Akhgari dfed869c9f Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+ 2010-11-25 00:20:11 -05:00
Paul O’Shannessy 26de26b45a Fix xpcshell failure from bug 468246 revealed by bug 613516 [a=bustage] landed on a CLOSED TREE 2010-11-29 20:57:30 -05:00
Christian Biesinger 4c2c51437a Bug 614717 retry: Make test_bug369787.js not hang when the test fails by
ensuring that do_test_finished is called even when an exception is thrown.
Also make the test work in the presence of PAC, where the channel changes
between asyncOpen and onStartRequest.

r=bz a=test-only
2010-11-29 15:41:21 -08:00
Christian Biesinger 88ff626760 Backed out changeset dd249f45dc3d
Clearly I don't know hg well enough, didn't mean to commit all this. a=I-messed-up
2010-11-29 15:34:30 -08:00
Christian Biesinger 6f6cd3b97a Bug 614717 Make test_bug369787.js not hang when the test fails by ensuring
that do_test_finished is called even when an exception is thrown.
Also make the test work in the presence of PAC, where the channel changes
between asyncOpen and onStartRequest.

r=bz a=test-only
2010-11-29 15:28:40 -08:00
Shawn Wilsher d47a50d39b Bug 607115 - use a much smaller guid format than we currently use for bookmarks
Part 1 - Mark and make nsIRandomGenerator threadsafe.
r=kaie
2010-11-23 16:04:28 -08:00
Dan Witte f14720c3ee Back out 3aa8e0293d5f for causing perma-orange on xpcshell debug. a=bustage 2010-11-12 10:13:34 -08:00
Dan Witte 6f2f3bc827 Bug 547031 - Improve async error handling in cookies. Part 6: Implement async error handling. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte b5497e6704 Bug 547031 - Improve async error handling in cookies. Part 5: Fix observers to deal with reentrancy. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte 4e2da22b12 Bug 547031 - Improve async error handling in cookies. Part 4: Fix SELECT bug in EnsureReadComplete(). r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte d68adf317c Bug 547031 - Improve async error handling in cookies. Part 3: Get the sync database connection early so it can't fail. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte c593ee0bc6 Bug 547031 - Improve async error handling in cookies. Part 2: Clean up TryInitDB(). r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte 087d7b66aa Bug 547031 - Improve async error handling in cookies. Part 1: Refactor to allow multiple DBStates. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte 1a57637759 Bug 590843 - Fix integer literal overflow. r=sdwilsh, a=final+ 2010-11-12 09:32:35 -08:00
bjarne@runitsoft.com c8089ba244 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=bzbarsky 2010-11-12 16:48:03 +01:00
Michael Wu f8ed923585 Backed out changeset 090046fc6891 bug 482935 due to a=orange 2010-11-10 19:29:51 -08:00
bjarne@runitsoft.com 935a3cd3d5 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed;
(Av1f) Allow content to be cached if it was loaded successfully.
r=(dwitte, jduell) a2.0=benjamin.
2010-11-11 01:02:15 +01:00
Ehsan Akhgari a968458dc9 Backed out changeset c85c2f1b0566 because of oranges on mochitest-1 2010-11-10 17:46:32 -05:00
bjarne@runitsoft.com a181c1aca6 Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed;
(Av1e) Allow content to be cached if it was loaded successfully.
r=(dwitte, jduell) a2.0=benjamin.
2010-11-10 22:28:54 +01:00
Dan Witte 272d7ce6a1 Bug 590843 - Fix bugs in purge logic. r=sdwilsh, a=final+ 2010-11-10 10:31:11 -08:00
Olli Pettay 9f84ca2d49 Backout bug 610654, a=backout 2010-11-10 14:19:38 +02:00
bjarne@runitsoft.com 3b3854a72b Bug 610654 - test failure xpcshell/tests/netwerk/test/unit/test_bug596443.js | Response1 == Response0, r=bz, a=bz 2010-11-10 13:21:48 +02:00
bjarne@runitsoft.com 01af56f4d0 Bug 596443 - [Unit test] SVG embedded by reference is not loading r=bz 2010-11-09 10:24:42 +01:00
Chris Jones 339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Ehsan Akhgari 8c6bb3c99a Bug 614286 followup - Reorder the constructor initializer list to prevent compiler warnings
--HG--
extra : rebase_source : 3ab3d1371f8d8b396e665cffb5c57dc96a7187f3
2010-12-03 09:56:13 -05:00
Ehsan Akhgari 5d5fac42ff Bug 614958 - Part 2: Protect the destruction of the callback objects the same way as the event sink object to avoid possible deadlock scenarios; r=bzbarsky a=blocking-beta8+ 2010-12-02 19:22:45 -05:00
Michal Novotny 877de0a1b4 bug 363109 - body of HTTP 304 response is treated as a HTTP/0.9 response to subsequent HTTP request. r=biesi, sr=bz, a=blocker 2010-12-01 02:02:52 +02:00
Ehsan Akhgari d12271f37a Bug 614958 - Don't release the socket transport's event sink while we're holding a lock, since it can result in retrying to obtain the same lock again, which causes a deadlock; r=biesi,bsmedberg a=blocking-beta8+ landed on a CLOSED TREE 2010-12-02 16:29:09 -05:00
bjarne@runitsoft.com 5f604506d6 Bug 468426 - improved support for "Vary: Cookie"-headers , r=biesi a=bsmedberg 2010-11-26 12:13:37 -05:00
Michal Novotny bf0cd129cc Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Benjamin Smedberg 77ee3458b6 Bug 614229 - nsHttpHandler getting the private-browsing service can cause recursive initialization of layout, and I suspect can cause incorrect behavior in Firefox because we may end up creating HTTP URIs before we're finished with XPCOM registration, r=honza+ehsan a=blocking bug 581335 which blocks Fennec b3 2010-11-24 08:58:42 -05:00
Jason Duell a5994505b4 Bug 614449 - Build bustage in netwerk with --disable-ipc. a=bustage
--HG--
extra : rebase_source : d227076d5d83bf69fff53f6af4bbe9f6d7f7fa3a
2010-11-23 17:19:21 -08:00
Honza Bambas 2e67f4a1bb Bug 591707 - e10s: handle redirects from HTTP to a different protocol, r=jduell, a=blocking-fennec2.0b3+ 2010-11-23 23:56:06 +01:00
Ehsan Akhgari 52c7a07101 Bug 599127 - Build bustage; a=me
--HG--
extra : rebase_source : fdf486565a6f0edcf4879500c5002f65303dd9e1
2010-11-23 10:07:00 -05:00
Michal Novotny fe7523b44a bug 599127 - Wyciwyg channel writes end up doing synchronous disk IO. r=jduell, a=betaN 2010-11-23 14:01:30 +02:00
Dan Witte 54619219ed Bug 612072 - Crash [@ nsCookieService::EnsureReadDomain(nsCString const&) ]. r=sdwilsh, a=betaN+ 2010-11-22 13:50:25 -08:00
Dan Witte 322d2841cd Followup for review comment in bug 608545. a=b7+ 2010-11-02 10:46:19 -07:00
Dan Witte d88d547694 Bug 608545 - Set cookie: unexpected "deleted" observer notification when cookie already exists. r=sdwilsh, a=b7+ 2010-11-02 00:06:54 -07:00
Dan Witte 470e6b6e72 bug 608422 - cookies.sqlite-wal takes too much space for Fennec r=sdwilsh a=blocking-fennec 2010-10-30 22:32:45 -04:00
Mark Finkle 0535b6b4e4 Bug 608258 - Crash at visiting AMO [r=jdm a=blocking-fennecb2] 2010-10-29 11:38:26 -04:00
Kai Engert 09c3a31272 Bug 566478 - Invalid SSL cert error is not mobile-friendly [r=mayhemer a=blocking-fennecb2] 2010-10-28 11:46:00 -04:00
Patrick McManus cbcb299a21 Bug 606719 - Browser stalls with connections left hanging in TCP close wait state. Part 2: fix it. r=dwitte, a=b7+ 2010-10-28 10:10:03 -07:00
Dan Witte 7ba8683bb3 Bug 606719 - Browser stalls with connections left hanging in TCP close wait state. Part 1: rename LOG to SOCKET_LOG. r=mcmanus, a=b7+ 2010-10-28 10:09:08 -07:00
Mark Finkle e1dcc97a16 Backout bug 566478 due to test orange a=orangehurts 2010-10-28 12:17:01 -04:00
Honza Bambas 46bfc7b965 Bug 566478 - Invalid SSL cert error is not mobile-friendly [r=kaie a=blocking-fennecb2] 2010-10-27 14:35:00 -04:00
Jason Duell 0e39ea5ebf Bug 559714 - bustage fix. a=fennec-2.0b2 2010-10-28 03:44:48 -07:00
Bjarne Herland af9a00f9dc Followup for bug 588804, bump the cache version to ensure that previously invalid caches get cleared. r=jst@mozilla.com, a=blocker 2010-10-26 17:34:58 -07:00
Honza Bambas 76abdfb524 Bug 575950 - (Fennec) SSL certificate is not confirmed for secure webpages, r=kaie+bz, a=blocking-fennec:2.0.b2+ 2010-10-26 13:57:18 +02:00
Bjarne Herland 6ad0c2f2f4 Bug 596443, SVG embedded by reference is not loading. r=bzbarsky@mit.edu, a=bzbarsky@mit.edu 2010-10-25 15:47:40 -07:00
Bjarne Herland 727e552b95 Bug 586908 - Infinite requests when proxy from system settings is redirected r=biesi, a=blocker 2010-10-25 15:47:40 -07:00
Honza Bambas b722efd354 Bug 597374 - Downloading of a file from a password protected directory fails, r=dolske, sr=bzbarsky, a=blocking2.0:betaN+ 2010-10-25 18:47:23 +02:00
Gervase Markham 5dd6d73e5a Bug 598911 - Reverse addition of blogspot.com to PSL. a=beltzner. 2010-10-25 15:10:59 +01:00
Gervase Markham 277af6adc5 Bug 606922 - Add tsk.tr to PSL exceptions. a=beltzner. 2010-10-25 15:10:30 +01:00
Gervase Markham b063fc384b Bug 606923 - Update .tz entry in PSL. a=beltzner. 2010-10-25 15:09:52 +01:00
Michael Wu 6d6ae758ad Backed out changeset ddc9d5258911 due to a=bustage 2010-10-24 10:46:04 -07:00
Josh Matthews 0476e7c099 Bug 559714 - Backout bug 595293. Followup to the rest of bug 559714 landing. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : 52a1040caf875007804c5b63a1e46938cd47fa39
2010-10-24 13:34:44 -04:00
Josh Matthews 379fa30872 Backout changeset 367117828795 (Make httpd.js call gc()). a=orange
--HG--
extra : rebase_source : 6cc6a0fc6d973f631629915c99a294db5ad14f16
2010-10-22 15:59:18 -04:00
Josh Matthews 0c4cb550e8 Bug 508128 - Ensure input stream lifetime is not cut short by a GC. r=waldo a=test-only
--HG--
extra : rebase_source : 063ab6d672ebc597297eda18076b0164927bc605
2010-10-05 19:23:38 -04:00
Jason Duell dabc82dc8e bug 617123: workaround: bump cache version to clear corrupted imgs from cache. a=bustage 2010-12-10 14:03:39 -08:00
Jason Duell a017b2c852 bug 617123: workaround by removing fallocate calls. a=beltzner 2010-12-10 10:03:19 -08:00
Daniel Veditz bdb72bec76 bug 614565: remove k12.hi.us from PSL. r=gerv, a=clegnitto 2010-12-09 16:02:44 -08:00
Boris Zbarsky b8f0570173 Bug 616591 followup to fix a comment., a=DONTBUILD 2010-12-08 21:01:17 -05:00
Honza Bambas 37984326e6 Bug 616591. Fix crash due to http transactions trying to get connection info from the http pipeline while it's being closed. r=bzbarsky, a=blocker 2010-12-08 20:57:14 -05:00
bjarne@runitsoft.com b62b8522af Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=test-only 2010-12-09 00:38:42 +01:00
Ehsan Akhgari 4ffc0ab80d Set offline=false, if network manager init failed. Fixes xulrunner, and seamonkey+thunderbird test. Bug 616520, r=bz, a=bz
--HG--
extra : rebase_source : cb14db93d0b983bbec4e87127124bd4119e583fd
2010-12-08 18:08:09 +01:00
Henri Sivonen c34fe93a70 Back out changeset 465ac4717f88 due to orange. a=orange. 2010-12-08 16:17:18 +02:00
bjarne@runitsoft.com 2f7e196ec1 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=test-only 2010-12-08 13:07:16 +01:00
Patrick McManus e64f7b855a Bug 592284 - Accelerate TCP connection retries in HTTP. r=honzab a=blocking2.0
Losing a TCP SYN requires a long painful (typically 3 second) delay
before being retried. This patch creates a second parallel connection
attempt for any nsHttpConnection which has not become writable before
a timeout occurs.

If you assume .5% packet loss, this converts a full 3 second delay
from a 1 in 200 event into a 1 in 40,000 event.

Whichever connection establishes itself first is used. If another one
has been started and it does connect before the one being used is
closed then the extra one is handed to the connection manager for use
by a different transaction - essentially a persistent connection with
0 previous transactions on it. (Another way to think about is
pre-fetching a 3WHS on a high latency connection).

The pref network.http.connection-retry-timeout controls the amount of
time in ms to wait for success on the initial connection before beginning
the second one. Setting it to 0 disables the parallel connection, the
default is 250.
2010-11-21 09:50:36 +01:00
Daniel Holbert 1ed897a697 Bug 613643: Reorder nsBaseChannel constructor init list to fix build warning. a=azakai r=dougt DONTBUILD 2010-11-19 15:53:30 -08:00
Josh Matthews 79d095acc1 Bug 605327 - Add proper cancellation to e10s wyciwyg channels. r=dwitte a=blocking-fennec 2010-11-19 16:12:45 -05:00
Steven Michaud 262e06c735 Bug 611910 - (try again with leak fixed) r=josh a=blocking2.0BetaN+ 2010-11-19 14:58:59 -06:00
Daniel Holbert 9325c3dddc Backed out changeset 16c2e141d418 (Bug 611910) due to crashtest leak/orange. a=orange 2010-11-19 11:08:13 -08:00
Steven Michaud 284bf34b2f Bug 611910 - r=josh a=blocking2.0BetaN+ 2010-11-19 12:14:15 -06:00
Robert O'Callahan 9837d8160a Bug 508128 - Additional diagnostics to report more data about test exceptions. r=waldo a=test-only
--HG--
extra : rebase_source : ececb0215cac3139336a67f429320ea4106e391f
2009-11-05 15:06:00 -05:00
Chris Pearce c58133e542 Bug 508125 - add gc() in httpd.js, reduces memory by 1GB in xpcshell.exe during mochitest run. r=waldo a=test-only
--HG--
extra : rebase_source : 98f6723f052afd838df34564559502a062e7427e
2010-09-30 16:15:47 -04:00
Michal Novotny 118289595d Bug 559714 - Turn off cache in the child process. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : 1d91098b7ee3bc5c7971cdd4f13b7e0c0a815945
2010-05-04 17:07:00 -04:00
Mark Banner 026b21cd31 Fix non-IPC bustage from bug 536289. Patch as agreed with jdm over irc. a=bustage-fix. 2010-10-21 22:01:38 +01:00
Alon Zakai b758507282 Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Josh Matthews 484da22282 Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Dan Witte d8e16f7974 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Followup fix for test. r=jdm, a=blocking-fennec2.0b2+ 2010-10-21 11:36:13 -07:00
Jae-Seong Lee-Russo cd75c58252 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-21 11:36:13 -07:00
Michal Novotny b2f027e6e7 bug 599200 - Too much space can be allocated for cache block files. r=tglek@mozilla.com, a=blocker 2010-09-24 14:20:23 +02:00
Michal Novotny fc71ed1e7e bug 604880 - Doom cache-entry if writing data and/or metadata fails. r=bjarne@runitsoft.com, sr=bzbzrsky@mit.edu, a=blocker 2010-10-19 19:26:38 +02:00
Mounir Lamouri 16ec37d275 Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny 9a20d36be1 Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02:00
Dan Witte 0d0160005e Bug 605835 - Stack exhaustion in cookie observers on startup with 10-20 nightly. r=sdwilsh, a=beta8+ 2010-10-20 12:11:54 -07:00
Honza Bambas 2a43330d52 Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+
--HG--
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/OfflineCacheUpdateChild.cpp
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/nsOfflineCacheUpdateService.cpp
2010-10-20 19:12:32 +02:00
Dan Witte 6b7bdc50fe Bounce input stream and FTP patches for Windows test failure. a=bustage 2010-10-19 19:46:54 -07:00
Dan Witte 0cc99ccab8 Bug 598196 - Use journal_mode = WAL in cookies. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte 3b7dcbedeb Bug 599799 - Cookies are doubled when switching between FF3.6 and FF4beta. Part 1: remove NULL baseDomains. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte 468790a66e Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 5: Replace expired cookies eagerly, and make expired cookies visible in API results. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte 98164f9a62 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 4: delete expired cookies on migrate. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte 6afb301f05 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 3: test improvements. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte a67d6f7873 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte 00d881f2c7 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 1: fix mDefaultDBState. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte 63fc2399a4 Bug 595925 - Use OpenUnsharedDatabase in cookies. r=sdwilsh, a=final+ 2010-10-19 17:24:52 -07:00
Alon Zakai d7339e27bc Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Josh Matthews c7fdd809c9 Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Dan Witte f2a0a33cf3 Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Part 2: fix DELETE_ON_CLOSE behavior. r=jdm, a=blocking-fennec2.0b2+ 2010-10-19 17:24:52 -07:00
Jae-Seong Lee-Russo b33b8c353d Bug 564553 - e10s HTTP: Serialize nsInputStreams to support large file uploads. Part 1: serialize them. r=dwitte, a=blocking-fennec2.0b2+ 2010-10-19 17:24:52 -07:00
Mark Banner 3f70935eb7 Fix non-IPC build bustage from bug 561085. a=bustage-fix 2010-10-19 17:32:37 +01:00
Dan Witte f90d6cec5d Bug 595305 - Factor cookie third-party URI code into separate API. r=bent, a=betaN+ 2010-10-19 09:37:03 -07:00
Josh Matthews 0a5a3e1618 Bug 561085 - Bustage fix. a=bustage 2010-10-19 11:44:31 -04:00
Josh Matthews 12dac2fc53 Bug 561085 - Add IDPL queueing to wygiwyg protocol. r=dwitte a=blocking-fennec 2010-10-17 09:41:50 -04:00
Michal Novotny cb302b8fbb Bug 561085 - Make wyciwyg channel work in e10s. r=dwitte sr=biesi
--HG--
rename : content/html/document/public/nsIWyciwygChannel.idl => netwerk/protocol/wyciwyg/nsIWyciwygChannel.idl
rename : content/html/document/src/nsWyciwygChannel.cpp => netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp
rename : content/html/document/src/nsWyciwygChannel.h => netwerk/protocol/wyciwyg/nsWyciwygChannel.h
rename : content/html/document/src/nsWyciwygProtocolHandler.cpp => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp
rename : content/html/document/src/nsWyciwygProtocolHandler.h => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.h
2010-10-11 13:35:10 +02:00
Josh Matthews 10b39d0f10 Bug 536289 - Generalize IPDL event queue some more. r=jduell a=blocking-fennec 2010-10-16 01:26:14 -04:00
Boris Zbarsky 7e51113e58 Bug 602780. Fix handling of hosts in NS_SecurityCompareURIs. r=jst, a=blocker,jst 2010-10-15 17:55:53 -04:00
Patrick McManus dedc7a9acb Bug 593386 - HTTP Pipeline Blacklist annotations. r=jduell
Add EFAServer, Nestscape Enterprise 4/5/6, and Weblogic <=6 to
server pipeline blacklist, joining iis/4, iis/5, and nses/3.

The previous code did 3 strcasestr()s on every http transaction to check
the old blacklist - it did that even if pipelining was configured off.

The new code creates indexes to the lookups according to the first
char and changes the comparison to straight strncmp()s which are
totally fine for finding these signatures... Servers that begin with A
don't need any string operations now, and even servers that begin with
M have gone from 3 strcasestr()s to 2 strcncmp()s which is definitely
better.
2010-09-03 21:35:49 -04:00
Justin Lebar aa38ca6673 Backing out changesets bb01920c2708 and a4a69aef3cba due to orange. 2010-10-15 16:24:08 -07:00
Boris Zbarsky b6eb66e197 Bug 602780. Fix handling of hosts in NS_SecurityCompareURIs. r=jst, a=blocker,jst 2010-10-15 17:55:53 -04:00
Ehsan Akhgari df0e299d25 Bug 525222 - XML errors possible on file:// listings; r=bzbarsky a=jst
--HG--
extra : rebase_source : 343aa3a018f007db8336e4c221fef27981e5bc45
2010-10-12 18:30:42 -04:00
Dão Gottwald 81c4a08e6f Bug 591573 - remove support for general.useragent.vendor & vendorSub. r=dwitte sr=dveditz a=jst 2010-10-15 11:11:19 +02:00
Alon Zakai 71de5a40f0 Bug 517584 - Fix orange in test for bug 480619. r=dwitte a=blocking-fennec 2010-10-14 17:28:45 -07:00
Jon Hemming 341a29941e Bug 591881 - Suspend pruning of idle connections when possible. r=dwitte a=blocking-fennec 2010-10-14 17:28:43 -07:00
Brandon Sterne 4c969b1489 Bug 561051 - make CSP frame-ancestors and X-Frame-Options work with viewSourceChannels, a=jst 2010-10-14 15:25:00 -07:00
Jonas Sicking 69f20b4502 Followup for bug 575946. Enable all the tests on windows by using a different way of testing that the full file was written. a=NPOTB 2010-10-13 21:13:16 -07:00
Jonas Sicking 1dee38609c Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Honza Bambas 33efabe286 Bug 537381 - -1 as port number cause default port to be used, should fail to load, r=bz, a=blocking:final 2010-10-11 21:39:09 +02:00
Alon Zakai 984b79bca9 Bug 599428 - Optimize permissions IPC. r=dwitte a=blocking-fennec 2010-10-09 11:07:38 -07:00
Honza Bambas db55e1232a Bug 586766 - e10s http: fix redirect/cancel race. r=jduell, a=blocking-fennec-b2 2010-10-08 22:07:58 -07:00
Honza Bambas 7a0198cca1 Bug 586738 - e10s http: check HttpChannelChild::Redirect1Begin cancel logic. r=jduell, a=blocking-fennec-b2 2010-10-08 22:07:49 -07:00
Ehsan Akhgari 5165d65a2c Bug 430910 - nsStandardURL gets confused when the query string or the anchor name contains slash characters; r=bzbarsky a=roc 2010-09-24 14:21:17 -04:00
Dan Witte 5cf671a843 Back out all cookie changes due to bug 602746. a=omgeverythingisbroken 2010-10-07 19:02:30 -07:00
Josh Matthews 270dfbec2e Bug 587171 - Pass SetPriority IPC messages to redirected channels. r=honzab a=blocking-fennec
--HG--
extra : rebase_source : ceffe93f7f98434db5b5c82350cfc7963bad7640
2010-09-15 13:12:38 -07:00
Josh Matthews d3709482f4 Bug 591708 - Initiate all PHttpChannel protocol deletion from the child to avoid races. r=honzab a=blocking-fennec
--HG--
extra : rebase_source : 76568dbe568345aaf276ef166407c9338bf8f477
2010-09-15 12:26:15 -07:00
Josh Matthews 4afc3bd77a Bug 598076 - Update HTTPChannelChild to use new general event queueing infrastructure. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : a6e12cbcf6a98139620f19590ada2cde583d70bd
2010-09-20 14:37:13 -04:00
Josh Matthews 7fa00716dd Bug 598076 - Create EventQueue class to allow multiple necko protocols to reuse IPDL queueing code. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : 91b4a645f9e13fbed25093c6a44f4bf2e6c71ad1
2010-09-20 14:37:09 -04:00
Dan Witte 2dfa263e4c Bug 598196 - Use journal_mode = WAL in cookies. r=sdwilsh, a=betaN+ 2010-10-07 14:01:16 -07:00
Dan Witte 1bc679916b Bug 599799 - Cookies are doubled when swithing between FF3.6 and FF4beta. r=sdwilsh, a=beta8+ 2010-10-07 14:01:02 -07:00
Dan Witte f88b46227b Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 3: test improvements. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte aef2818ff7 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 2: add triple index. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte 7ff653a67a Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 1: fix mDefaultDBState. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Dan Witte 658afc5efd Bug 595925 - Use OpenUnsharedDatabase in cookies. r=sdwilsh, a=final+ 2010-10-07 14:00:17 -07:00
Honza Bambas 8c7124ebac Bug 587146 - e10s http: fix auth test in test_resumable_channel.js, r=dwitte, a=testonly 2010-10-07 16:43:17 +02:00
Ehsan Akhgari 7bb26ec0ad Bug 568816 - Switching out of privacy mode fails when privacy mode is enabled via the command line option 'privacy-toggle'; r=zpao,dolske,jimm sr=rstrong a=blocking-beta7+
--HG--
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/do_test_0-privatebrowsing.js
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/test_0-privatebrowsingwrapper.js
2010-10-02 11:53:37 -04:00
Ehsan Akhgari 667aa064de Backed out changeset b08b684644a1 (bug 568816) because of Ts regression on Windows 2010-10-03 22:18:18 -04:00
Ehsan Akhgari 4fc4b53c27 Bug 568816 - Switching out of privacy mode fails when privacy mode is enabled via the command line option 'privacy-toggle'; r=zpao,dolske sr=rstrong a=blocking-beta7+
--HG--
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/do_test_0-privatebrowsing.js
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/test_0-privatebrowsingwrapper.js
2010-10-02 11:53:37 -04:00
Doug Turner f69f8ddc03 Bug 558624 - e10s Cookies: Optimize implementation. Part 5. Mop up mRemoteChannel and its uses. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 1a9ca4b7e50588c556d1b290cca1c3c4546902d1
2010-10-01 21:17:27 -07:00
Doug Turner 132264b660 Bug 558624 - e10s Cookies: Optimize implementation. Part 4. Remoeve cookies being set in the child by necko. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 2045bc83fcc7627f42f0820c781f2ad2bd10a261
2010-10-01 21:17:26 -07:00
Doug Turner f65a41ce79 Bug 558624 - e10s Cookies: Optimize implementation. Part 3. Forward request head to child during OnStartRequest. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : f7becf88a7e0daddf680e578b82b1e198c4d5437
2010-10-01 21:17:23 -07:00
Doug Turner cf46fb33c9 Bug 558624 - e10s Cookies: Optimize implementation. Part 2. Tests. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : d199cb380ff0a69353c6f35d6d959fb95b226bf6
2010-10-01 15:18:55 -07:00
Doug Turner affea2f3a2 Bug 558624 - e10s Cookies: Optimize implementation. Part 1. Clean up warning in http. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 5cbdc4b4314575ba339bc6c663279deb8233e812
2010-10-01 15:18:55 -07:00
Jason Duell 0b051864d0 Bug 599122: Don't initialize PSM on child. r=honza a=blocking-fennec-2.0b2 2010-09-30 23:57:01 -07:00
Josh Matthews 0cc88bd4dc Bug 595972 - Fix event queue state invariants on HTTP channel resume. r=jduell a=blocking-fennec 2010-09-17 00:23:25 -07:00
Mounir Lamouri 10ebaa7a73 Merging backout. 2010-09-30 17:05:19 -07:00
Mounir Lamouri a94d43b800 Bug 600813 - Removing PUT and DELETE form methods. a=blocking-b7 2010-09-30 16:55:11 -07:00
Jason Duell abfe9f34b6 Bug 596476 followup: Forgot to change name of constant. r=me a=beta7 2010-09-30 11:39:39 -07:00
Jason Duell 8f0de5e398 Guarantee smart_size algorithm using correct directory, and safely. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell 6ca5df820f Use 1 GB cache size while we wait for the smart size event. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell 2097d18eac Convert all sizes in cache smart size logic to use KB. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell 515d69dabc Bug 596476 Previous default cache size was 50, not 250 MB. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell 36504e00c0 Bug 598007: Bump HTTP cache version number to see if it affects crash rate. r=me a=beta7 2010-09-28 18:26:57 -07:00
Doug Turner 57117d9e21 Bug 600235 - Remove wifi scanning code on windows for versions less than XP SP3. r=stuart, a=beltzner
--HG--
extra : rebase_source : d8fc9a5eaf7c4a7fc0bc8fc0e4fd5e77bb698954
2010-09-28 15:07:15 -07:00
Doug Turner a769fd2d72 fixing build bustage - bug 600235. a=me 2010-09-28 14:34:24 -07:00
Doug Turner c666ba9f46 Bug 600235 - Remove wifi scanning code on windows for versions less than XP SP3. r=shaver a=shaver
--HG--
extra : rebase_source : 44a3ebb42b991d777c55084870b938586f4812a0
2010-09-28 10:01:23 -07:00
Wan-Teh Chang 7b7dec31d4 Bug 591523: Disable SSL false start by default.
r=sayrer a=blocking2.0:beta7
2010-09-21 14:57:09 -07:00
Byron Milligan db9a05df11 Bug 583288 (1/2) - Lets client to force caching on nsICachingChannel no matter the HTTP method. r=sicking a2.0=sicking 2010-09-10 06:58:22 +02:00
Ian Neal 1a7c1b888b Bug 589613 - [SeaMonkey 2.1, mochitest-browser-chrome] browser_Services.js | Services.search exists
r=gavin a=NPOTB
2010-09-18 13:42:07 +01:00
Edmund Wong 7d30976428 Bug 535048: Remove nsILeakDetector leftovers from the tree. r=khuey a=test-only 2010-09-17 21:27:12 -04:00
Bjarne Herland a554f1f1f7 Bug 596808 - nsDiskCacheDevice::Init() called twice resulting in no disk cache available r=jduell, a=betaN 2010-09-16 20:21:16 -07:00
Dan Witte 039ed0f7fa Remove unnecessary sleep(). No bug, test-only. 2010-09-16 13:21:12 -07:00
Taras Glek 356cd6b696 Bug 592520 - Do not fragment the hell out of CACHE__00[1-3]__. r=bsmedberg/jduell, a=betaN+ 2010-09-16 13:21:12 -07:00
Dan Witte 75f1d1f405 Bug 580449 - Address nsCookieService.cpp review. r=jdm, a=fennec2.0+ 2010-09-16 13:21:12 -07:00
Dan Witte e40712bedd Bug 580448 - Document PCookieService.ipdl. r=jdm, a=fennec2.0+ 2010-09-16 13:21:12 -07:00
Gervase Markham 4a7a37dee4 Bug 576508 - rollup of changes to the Public Suffix List. a=beltzner.
--HG--
extra : rebase_source : a1e5e5a1ac16da84b2bc4c429b68bd363cc485fa
2010-09-16 18:02:54 +01:00
Jason Duell a3d5af6e95 Bug 595293 - e10s: shrink cache on child. r=dwitte, a=beta7 2010-09-16 01:34:37 -07:00
Miika Jarvinen e97d28dd05 Bug 593142 - Remove DOM window check code from netwerk r=romaxa a=npodb 2010-09-15 22:30:04 -07:00
Brian Crowder 69f7fcf513 Bug 567267 - disable decoding in HttpChannelParent, make smart decisions in child process, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Brian Crowder 5591616b20 Bug 567267 - Move nsIEncodedChannel logic to base Http class, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Honza Bambas 7b1f995f7c Bug 594882 - URL classifier result ignored (malware site not blocked) because of bug 513008 + re-land of backout from bug 589296, r=cbiesinger, a=blocking:betaN+ 2010-09-16 00:46:17 +02:00
Honza Bambas add92cd4b5 Bug 556734, r=bz, a=blocking:final+ 2010-09-16 00:46:17 +02:00
Doug Turner 1912d49fb2 Bug 516302 - nsWifiMonitor::DoScan spins in a tight loop on error r=blassey a=jst
--HG--
extra : rebase_source : d95276959e12128ac4a039b597c4b677265500b9
2010-09-15 09:39:18 -07:00
Jason Duell 520cb3f469 Bug 595413: crash in nsCacheService::SetDiskCacheCapacity. r=jst, a=blocking-beta7 2010-09-15 11:42:40 -07:00
Byron Milligan 33fe9a1845 Bug 559942 - RE-LAND- Heuristic to pick default HTTP cache size. r=dwitte, gavin, ui=limi, a=blocks-beta7 2010-09-15 11:42:38 -07:00
Gervase Markham ce977be807 Backed out changeset 14dc66dd53c1 (orange). 2010-09-15 18:41:43 +01:00
Gervase Markham f31cfd0df5 Bug 576508 - numerous updates to the Public Suffix List. Some of the patch by Jothan Frakes <jothan@gmail.com>, another part by Simone Carletti <weppos@weppos.net>, and the rest by me. a=beltzner. 2010-09-15 17:09:18 +01:00
Sid Stamm 4a4cdce2c3 Bug 592197 - SSL pages don't work when using a NTLM proxy. r=bzbarsky, a=blocker 2010-09-09 01:38:10 -04:00
Jason Duell 08e26c2ecf Bug 590121 - Null nsHttpResponseHead crashes in redirect. r=dwitte@gmail.com, a=blocking2.0final+ 2010-09-08 17:53:55 -07:00
Byron Milligan 9b85025057 Bug 559942, Part 3: Modifies nsCacheService to support UI changes. r=dwitte,
a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan 86ac62740b Bug 559942, Part 2: Check for disk space available asynchronously. r=dwitte,
a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan 567cc5b7df Bug 559942: Set cache size based on disk space available. Synchronous. r=jduell, a=beta6+ 2010-09-08 17:49:17 -07:00
Serge Gautherie ab7c48e4f8 Bug 589609 - [SeaMonkey 2.1, mochitest-browser-chrome] browser_NetUtil.js:6 - ReferenceError: Cu is not defined; (Av1) s/Cu/Components.utils/.
r=(Callek + sdwilsh) a=(test only).
2010-09-08 20:26:07 +02:00
Byron Milligan b169f8b65d Fetch the Content-Length from the hash bag instead of directly from the channel. r=dwitte, a=betaN+ 2010-09-07 15:39:28 -07:00
Byron Milligan eb546c096c Bug 588507: Skip caching if Content-Length is greater than eviction size. r=michal, a=betaN+ 2010-09-07 15:39:28 -07:00
Dan Witte eb0eeec501 Merge e10s -> m-c. 2010-09-07 15:34:44 -07:00
Dan Witte 518384daba Manually set per-host limit in TestCookie. 2010-09-01 23:52:55 -07:00
Jason Duell 596e6fe20e Bug 591552 - SetupReplacementChannel has bogus cast to nsHttpChannel. r=bz 2010-09-01 16:42:30 -07:00
Dan Witte cf303b2f18 Bug 590611 - Raise cookies per basedomain limit to 150. r=sdwilsh, a=betaN+ 2010-09-01 16:27:10 -07:00
Byron Milligan bea0432bc4 Bug 81640: Set max cache entry size to be MIN (5MB, 1/8 Cache Capacity) 2010-09-01 14:47:39 -07:00
Dan Witte 04cb999d7a Back out Bug 536324 part 1. a=bsmedberg 2010-08-30 13:20:39 -07:00
Dan Witte f9582851af Back out Bug 536324 part 2. 2010-08-30 13:20:39 -07:00
Dan Witte cf69667c0d Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte 3784e67919 Back out Bug 589292. 2010-08-30 13:20:38 -07:00
Dan Witte 55af9deabd Bug 591537 - Freeze UA build id for Firefox branded builds. r=dao/khuey, sr=jst, a=beta5+ 2010-08-28 13:42:04 -07:00