Commit Graph

441 Commits

Author SHA1 Message Date
L. David Baron
b2e59587e8 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
ec5ed5c366 backout bug 280661 due to test_socks.js test failure 2011-03-24 21:37:53 +13:00
chrisd.mang@gmail.com
db01b291f7 Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
bjarne@runitsoft.com
3b3f5bf40a Bug 561276 - Cookie dependency on cache determination for image redirects r=bz 2011-03-23 23:36:53 -04:00
Jason Duell
824a056239 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
6e4946973b 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
ee2b740dd2 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Alon Zakai
12fc79016e 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
3a0f10932d Bug 616809 Remove CRs from netwerk r=biesi a=jst DONTBUILD 2011-02-06 00:04:14 +00:00
Mike Hommey
291fe1848f Bug 584474 part 6 - Remove duplicate libxpcomglue_s in link flags. r=ted 2011-02-25 15:02:04 +01:00
bjarne@runitsoft.com
931d1ac2ff 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
c07c875d05 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
29d9225a9a 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
dfc5ea8e25 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
9f62941f24 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
2685d64a45 Fix bug 616264. r=ehsan,sdwilsh, a=beta9+ 2010-12-22 13:50:56 -08:00
bjarne@runitsoft.com
ee5051fadc Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=test-only 2010-12-09 00:38:42 +01:00
Ehsan Akhgari
ad0f825d4c 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
42a91dc71f Back out changeset 465ac4717f88 due to orange. a=orange. 2010-12-08 16:17:18 +02:00
bjarne@runitsoft.com
12b687c614 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=test-only 2010-12-08 13:07:16 +01:00
Ehsan Akhgari
65d254c5c6 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
fd067b7b7d Backed out changeset 630b08a7fe63 because of xpcshell test failures 2010-11-30 13:57:24 -05:00
Ehsan Akhgari
932c374a07 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
8b012b0588 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
3d0f970811 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
5f1420c073 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
1c2cfa92d1 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
11cc4ac3c8 Bug 468426 - improved support for "Vary: Cookie"-headers , r=biesi a=bsmedberg 2010-11-26 12:13:37 -05:00
Dan Witte
0ba5de8279 Back out 3aa8e0293d5f for causing perma-orange on xpcshell debug. a=bustage 2010-11-12 10:13:34 -08:00
bjarne@runitsoft.com
1cebf1dae4 Bug 610654 - TEST-UNEXPECTED-FAIL (randomorange) r=bz a=bzbarsky 2010-11-12 16:48:03 +01:00
Olli Pettay
34c20fd852 Backout bug 610654, a=backout 2010-11-10 14:19:38 +02:00
bjarne@runitsoft.com
a38fbe977f 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
7494f64840 Bug 596443 - [Unit test] SVG embedded by reference is not loading r=bz 2010-11-09 10:24:42 +01:00
Bjarne Herland
22842d152f 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
14d42cf23c 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
af294ffdcd 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
8d1417ce26 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
5256826dd9 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
95a68e5750 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
a3549caaa2 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
59fe8fd6d5 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
52ff738d80 Bug 602780. Fix handling of hosts in NS_SecurityCompareURIs. r=jst, a=blocker,jst 2010-10-15 17:55:53 -04:00
Justin Lebar
1e91d0253e Backing out changesets bb01920c2708 and a4a69aef3cba due to orange. 2010-10-15 16:24:08 -07:00
Boris Zbarsky
6e3f583fb1 Bug 602780. Fix handling of hosts in NS_SecurityCompareURIs. r=jst, a=blocker,jst 2010-10-15 17:55:53 -04:00
Jonas Sicking
c40b22120b 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
e7e13b2084 Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Honza Bambas
c67419b5b6 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
66f2a8369f Bug 586766 - e10s http: fix redirect/cancel race. r=jduell, a=blocking-fennec-b2 2010-10-08 22:07:58 -07:00
Ehsan Akhgari
c15794aaf5 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
b9cf988084 Back out all cookie changes due to bug 602746. a=omgeverythingisbroken 2010-10-07 19:02:30 -07:00
Dan Witte
4186156de5 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
a346c6b678 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
b9e1d30fa7 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
02f855dc6b Bug 535048: Remove nsILeakDetector leftovers from the tree. r=khuey a=test-only 2010-09-17 21:27:12 -04:00
Dan Witte
271a6ebe47 Remove unnecessary sleep(). No bug, test-only. 2010-09-16 13:21:12 -07:00
Serge Gautherie
375602e86c 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
ca321bb701 Merge e10s -> m-c. 2010-09-07 15:34:44 -07:00
Dan Witte
3a007ea159 Manually set per-host limit in TestCookie. 2010-09-01 23:52:55 -07:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Shawn Wilsher
b3b7f224fd 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
8de0079a42 Merge e10s -> m-c. a=patches 2010-08-27 08:04:00 -07:00
Dan Witte
976a5d3c42 Remove propbag from nsIHttpServer. no bug, test-only, r=jduell 2010-08-25 18:12:11 -07:00
Ginn Chen
908d848381 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
b61eda4b1d 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
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Dan Witte
d842ee4594 imported patch fix-tests 2010-08-13 21:18:05 -07:00
Dan Witte
92fe187fb1 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
a58ff48edd Reenable tests for bugs 586205 and 586238. 2010-08-13 13:28:14 -07:00
Dan Witte
353ca1f162 Bug 586692 - xpcshell: do_timeout does not guarantee desired timeout interval. r=jduell 2010-08-13 13:28:14 -07:00
Jason Duell
27962b856a Merge from m-c. 2010-08-13 00:51:25 -07:00
Dan Witte
f44444c823 Bug 586802 - e10s http: fix test_httpcancel.js. r=jduell, a=wewanttoshipafennecalpha 2010-08-12 16:09:16 -07:00
Dan Witte
185a2a0dbe Bug 536317 - e10s HTTP: implement Cancel. r=jduell, a=blocker 2010-08-12 02:05:16 -07:00
Josh Matthews
6f4810c02c Bug 536321 - e10s HTTP: suspend/resume. r=dwitte 2010-08-10 23:07:09 -04:00
Honza Bambas
9eb088087e 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
55b08c1ef3 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
8eff3e4bb5 Disabling failing tests from bug 536321, followup bug 586238 filed to track this. 2010-08-11 04:13:25 -07:00
Jason Duell
acc362dc32 Disable perma-orange xpcshell test for redirects (Bug 586205). 2010-08-11 01:33:42 -07:00
Clint Talbert
1afdc1b8df 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
51fff79f07 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
d9fed77d0a 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
100caa546d 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
28920029f9 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
c82bc1947a 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
d473c50f15 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
e3be2e9894 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
b8ca02eec8 backout bug 580508 / a2246039f70d due to test failure 2010-08-02 19:03:45 -07:00
Philipp von Weitershausen
d71d70b0c7 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
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
0bd53a802b Add some debugging data to a failing test. 2010-07-27 15:45:11 -07:00
Honza Bambas
6d23857edd 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
d7f6d83ae9 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
4bf66b5163 Bug 575633 streamParse leaks ToNewCString(globalStream)
r=biesi

--HG--
extra : rebase_source : 60422d4d1120d16044a8d292f7fafc7cb8cdcbfb
2010-07-01 02:39:35 +03:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
2f6bb59008 Fix packaging of test-only XPT files for crashreporter and httpserver.
--HG--
extra : rebase_source : 27abb29f16e071a7c08220d46f9cbef4ded08fc4
2010-06-30 12:42:24 -04:00
Benjamin Smedberg
54c6518755 Rename the "xpt" manifest directive to "interfaces", per bug 568691 comment 66. 2010-06-27 21:50:51 -04:00
Benjamin Smedberg
c16cf0f0c5 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00
Benjamin Smedberg
e92cd2f48a Fix the reftest component to package itself and the httpserver correctly with a single chrome.manifest. 2010-06-25 13:56:51 -04:00
Benjamin Smedberg
6e8d912e32 Fix review comments from bug 568691 comment 45. 2010-06-24 11:56:28 -04:00
Benjamin Smedberg
8a8835638e Fix test packaging and execution from bug 568691. 2010-06-22 20:44:44 -04:00
Benjamin Smedberg
1a3cd9981f Fix syntax error in httpd.js 2010-06-22 16:22:33 -04:00