Commit Graph

333 Commits

Author SHA1 Message Date
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
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
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
Benjamin Smedberg
5cab25b52b Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Chris Jones
3921e1219b Bug 575918: Temporarily disable OOP xpcshell on OS X because it's completely broken. r=bsmedberg 2010-06-30 17:53:51 -05:00
Jason Duell
844b19f565 Disable test_bug528292.js in content for now since it's broken from prefs and redirects. Bug 575094 will fix.
--HG--
rename : netwerk/test/unit_ipc/test_bug528292_wrap.js => netwerk/test/unit_ipc/disabled_test_bug528292_wrap.js
2010-06-29 17:17:45 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Oleg Romashin
b36fb69349 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00