Commit Graph

949 Commits

Author SHA1 Message Date
Ehsan Akhgari
cccdef8b2f Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
bd51cb9b94 Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
36a6723fd4 Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Shawn Wilsher
7d081ee3fa Bug 632227 - NetUtil should have a helper method to read an input stream asynchronously
r=bz
sr=biesi
2011-03-31 10:24:42 -07:00
Kyle Huey
959ea8bc3e Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
b06dc06820 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
chrisd.mang@gmail.com
bbf80344bb Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
L. David Baron
db6289bc0a Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Karl Tomlinson
2c6bb15624 backout bug 280661 due to test_socks.js test failure 2011-03-24 21:37:53 +13:00
chrisd.mang@gmail.com
8f46379f10 Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
bjarne@runitsoft.com
884a180af5 Bug 561276 - Cookie dependency on cache determination for image redirects r=bz 2011-03-23 23:36:53 -04:00
Jason Duell
9d4ad5cc63 Bug 588781 - Content-Disposition: suboptimal fallback behavior when both "filename" and "filename*" params are present; r=biesi 2011-03-23 23:35:30 -04:00
timeless@mozdev.org
26b8fd7e81 Bug 617693 testURL/writeout use delete[] on nsMemory::Alloc o_Result and strdup(temp) when they don't leak
r=biesi
2011-03-23 23:30:31 -04:00
Kyle Huey
8b2b2d95a7 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Alon Zakai
b651929fb3 Bug 634666 - DEFER_OPEN option for file streams. r=bz,sdwilsh sr=bz a=blocking-fennec 2011-03-04 16:36:56 -08:00
Neil Rashbrook
32c305081f Bug 616809 Remove CRs from netwerk r=biesi a=jst DONTBUILD 2011-02-06 00:04:14 +00:00
Mike Hommey
3bcebafe9c Bug 584474 part 6 - Remove duplicate libxpcomglue_s in link flags. r=ted 2011-02-25 15:02:04 +01:00
bjarne@runitsoft.com
7453b6a04c Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0 2011-02-04 14:49:05 -05:00
Ehsan Akhgari
2312c4c0f3 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
bjarne@runitsoft.com
490808e6df Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0
--HG--
extra : rebase_source : 32ff74259046fd2f3a673df39620acb10accf2cb
2011-02-04 14:49:05 -05:00
Boris Zbarsky
bdf44f5f2e Bug 629291. Don't use native leaf names in safe output streams; they lose information. r=bsmedberg, a=jst 2011-02-03 09:36:46 -08:00
Michal Novotny
875cbda8f1 bug 543805 - FTP list parse error when list returns twice space between date and file name. r=honzab.moz@firemni.cz, a=blocker 2011-01-17 20:50:08 +02:00
Dan Witte
b255501115 Fix bug 616264. r=ehsan,sdwilsh, a=beta9+ 2010-12-22 13:50:56 -08: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
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
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
bjarne@runitsoft.com
5f604506d6 Bug 468426 - improved support for "Vary: Cookie"-headers , r=biesi a=bsmedberg 2010-11-26 12:13:37 -05:00
Dan Witte
f14720c3ee Back out 3aa8e0293d5f for causing perma-orange on xpcshell debug. a=bustage 2010-11-12 10:13:34 -08:00
bjarne@runitsoft.com
c8089ba244 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=bzbarsky 2010-11-12 16:48:03 +01: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Edmund Wong
7d30976428 Bug 535048: Remove nsILeakDetector leftovers from the tree. r=khuey a=test-only 2010-09-17 21:27:12 -04:00
Dan Witte
039ed0f7fa Remove unnecessary sleep(). No bug, test-only. 2010-09-16 13:21:12 -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
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
Dan Witte
cf69667c0d Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Shawn Wilsher
f7e6769fdc Bug 590654 - Let JavaScript read embedded nulls from input streams
Adds a new method to NetUtil (readInputStreamToString) that will read a string
with or without embedded NULLs from an input stream.  Also adds the needed API
on nsIScriptableInputStream to make this happen.
r=bz
sr=biesi
a=blocking2.0
2010-08-27 12:42:51 -07:00
Dan Witte
5306a8f553 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Dan Witte
893eb18989 Remove propbag from nsIHttpServer. no bug, test-only, r=jduell 2010-08-25 18:12:11 -07:00
Ginn Chen
cdf3e1d4f5 Bug 590429 Fix __VA_ARGS__ in macros of TestSTSParser.cpp to make it compile with Sun Studio r=sstamm a=test-fix 2010-08-27 19:08:24 +08:00
Joel Maher
adaba45072 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Dan Witte
9d758b2bce Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Dan Witte
b2630233ec imported patch fix-tests 2010-08-13 21:18:05 -07:00
Dan Witte
8c1575ae89 Fix test_0010_timermanager.js test and disable e10s redirect/resume tests in test_resumable_channel.js. 2010-08-13 14:35:13 -07:00
Dan Witte
fdc186d526 Reenable tests for bugs 586205 and 586238. 2010-08-13 13:28:14 -07:00
Dan Witte
6f2a31c22a Bug 586692 - xpcshell: do_timeout does not guarantee desired timeout interval. r=jduell 2010-08-13 13:28:14 -07:00
Jason Duell
e5436ee5e0 Merge from m-c. 2010-08-13 00:51:25 -07:00
Dan Witte
a7b4cd420a Bug 586802 - e10s http: fix test_httpcancel.js. r=jduell, a=wewanttoshipafennecalpha 2010-08-12 16:09:16 -07:00
Dan Witte
6d5a1d5e63 Bug 536317 - e10s HTTP: implement Cancel. r=jduell, a=blocker 2010-08-12 02:05:16 -07:00
Josh Matthews
00afa443f6 Bug 536321 - e10s HTTP: suspend/resume. r=dwitte 2010-08-10 23:07:09 -04:00
Honza Bambas
df0ee9e34a Bug 536294 - e10s HTTP: redirects. r=jduell
--HG--
rename : netwerk/protocol/http/HttpChannelParent.cpp => netwerk/protocol/http/HttpChannelParentListener.cpp
rename : netwerk/protocol/http/HttpChannelParent.h => netwerk/protocol/http/HttpChannelParentListener.h
2010-08-10 20:11:57 -07:00
Josh Matthews
7ec8ac2aba Bug 584604 - e10s HTTP: Clean up IPDL buffering. r=jduell,cjones
jduell: Made a bunch of structural/naming changes.
Merged in test patches.
2010-08-06 00:59:37 -04:00
Johnny Stenback
3a85986c74 Disabling failing tests from bug 536321, followup bug 586238 filed to track this. 2010-08-11 04:13:25 -07:00
Jason Duell
d6f58bdf36 Disable perma-orange xpcshell test for redirects (Bug 586205). 2010-08-11 01:33:42 -07:00
Clint Talbert
4fa6358e1b Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
fecae963b6 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Shawn Wilsher
810d3dc915 Fix pymake bustage from changeset 5dc3c2d2dd4f (bug 495115).
r=khuey
a=broken pymake

--HG--
extra : rebase_source : a4b1a19bf6b13f0cd91f8e050b1c1d0bde71a839
2010-08-25 09:01:56 -07:00
Bjarne
ed732b9f7f Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Edward Lee
8ef5add911 Bug 589016 - Allow registering path handlers from mochitests [r=waldo a=npotb]
Export the registerPathHandler for use from .sjs.

--HG--
extra : rebase_source : 1396ae7c64968ab9884389f8a0146456be794d38
2010-08-31 23:49:43 -07:00
Sid Stamm
a781965b6d Bug 495115 - Implement Strict-Transport-Security to allow sites to specify HTTPS-only connections, r=kaie+honzab+bjarne, a=betaN+ 2010-06-03 14:03:17 -07:00
Philipp von Weitershausen
7ec32fd94a Bug 580508 - nsURLHelper.cpp net_ParseFileURL is asserting on resource:// URLs that are aliased to other resource:// URLs [r=jduell] 2010-08-02 16:37:55 -07:00
Gavin Sharp
bc60abba81 Bug 581175: Make NetUtil's asyncFetch suppress SSL error messages by default, and pass relevant nsIRequest object to its callback, r+a=sdwilsh
--HG--
rename : testing/mochitest/tests/browser/Makefile.in => netwerk/test/browser/Makefile.in
2010-07-23 17:59:07 -04:00
Justin Dolske
d819c762c2 backout bug 580508 / a2246039f70d due to test failure 2010-08-02 19:03:45 -07:00
Philipp von Weitershausen
fd07fb90db Bug 580508 - nsURLHelper.cpp net_ParseFileURL is asserting on resource:// URLs that are aliased to other resource:// URLs [r=jduell] 2010-08-02 16:37:55 -07:00
Robert Sayre
802a358676 Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
e166ede952 Add some debugging data to a failing test. 2010-07-27 15:45:11 -07:00
Honza Bambas
a5855be7e1 Bug 513086 - Make redirect API async, r=bz, sr=biesi
--HG--
rename : netwerk/test/unit/test_redirect_caching.js => netwerk/test/unit/test_redirect-caching_passing.js
2010-07-28 20:33:06 +02:00
Josh Matthews
b181744bdc Bug 572980 - e10s: HttpChannelChild incorrectly refcounted. r=cjones, jduell.
This version adds checks to make sure child doesn't try to send any IPDL msgs to
parent after IPDL has been shut down.

--HG--
extra : rebase_source : 47ac7a7f8b5bc0ce3eee10cdc170ae27e9fc94aa
2010-06-27 12:44:15 -04:00
timeless@mozdev.org
52ead6ee67 Bug 575633 streamParse leaks ToNewCString(globalStream)
r=biesi

--HG--
extra : rebase_source : 60422d4d1120d16044a8d292f7fafc7cb8cdcbfb
2010-07-01 02:39:35 +03:00
Benjamin Smedberg
a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00