5316 Commits

Author SHA1 Message Date
mrbkap%gmail.com
d12b7d5e51 Use a more roundabout way to convert variables to strings and call FindProxyForURL. bug 355214, r=crowder/darin sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@219507 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 18:19:48 +00:00
bzbarsky%mit.edu
1abd4f2810 Let the consumer have a look at the channel we opened if they want (e.g. if
they want its owner).  Bug 369242, r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@219473 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-04 18:03:13 +00:00
jwalden%mit.edu
1c83a04091 Bug 369169 - Turn off server debug output, uncluttering test logs -- if you need to debug the server or want to see where something's going awry, tweak the new DEBUG constant manually. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@219448 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 06:15:26 +00:00
jwalden%mit.edu
6d7428a45a Bug 368942 - Add a do_get_file(path) function to xpcshell-simple, remove do_get_topsrcdir() as unnecessary. Also fix bug 368944 (invalid use of nsILocalFile API in test-harness) at the same time. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@219443 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:46:09 +00:00
crowder%fiverocks.com
19bb5e772a Bug 355214: backing out mrbkap's patch for more testing
git-svn-id: svn://10.0.0.236/trunk@219433 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 00:15:19 +00:00
mrbkap%gmail.com
8aa8e587e4 Use a more roundabout way to convert variables to strings and call FindProxyForURL. bug 355214, r=crowder/darin sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@219422 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-02 22:40:28 +00:00
jwalden%mit.edu
a5bbba2cb4 Unbreak test -- the previous commit should work fine. Bug 351968 is completely committed!
git-svn-id: svn://10.0.0.236/trunk@219239 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 07:49:10 +00:00
jwalden%mit.edu
8b7aba480c Final try at bug 351968 -- make relative topsrcdirs work, fixing the last build errors. Because xpcshell tests are fragile, this commit intentionally breaks a test so that I can verify correctness; I'll remove the break when I verify the fix works correctly (via broken test error messages).
git-svn-id: svn://10.0.0.236/trunk@219238 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 07:22:12 +00:00
jwalden%mit.edu
1d0e6fa95c Testing something to determine the problem that's breaking the MozillaTest tinderboxen running automated tests
git-svn-id: svn://10.0.0.236/trunk@219220 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:58:25 +00:00
jwalden%mit.edu
83d07a5ce5 Bug 351968 - Don't copy xpcshell tests and other data to $(DIST) -- a step toward being able to --enable-tests on Mozilla tinderboxen. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@219219 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:25:46 +00:00
dveditz%cruzio.com
bd28f770ee bug 342314: check-in initial effective-tld file. r=bsmedberg.
Effective TLD file itself thanks to Jo Hermans.


git-svn-id: svn://10.0.0.236/trunk@219021 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 00:12:57 +00:00
jwalden%mit.edu
3129d5bf52 Bug 368211 - Pretty generated directory listings for directories not containing index.html in the JS HTTP server. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@219019 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 23:48:34 +00:00
dbaron%dbaron.org
7cb106739c Fix valgrind warning about writing uninitialized memory to disk cache by not allocating extra size for disk cache entries and then writing the extra word. b=368119 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@218930 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 23:09:01 +00:00
sayrer%gmail.com
2bb21ff6ea bug 367537. enhancements to httpd.js. add an index handler and respose.write. r=jwalden
git-svn-id: svn://10.0.0.236/trunk@218841 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 16:57:03 +00:00
gavin%gavinsharp.com
85761db8d8 Bug 365529: Take advantage of new yes/no constant in nsIPrompt, patch by Ryan Jones <bugs@ryan-jones.com>, r+sr=biesi for /netwerk, r+sr=neil for mailnews, r=me for the rest
git-svn-id: svn://10.0.0.236/trunk@217742 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 18:48:53 +00:00
gavin%gavinsharp.com
89aaaa248c Followup patch for bug 269254: make sure not to include the null terminator in the string's length, patch by Ryan Jones <bugs@ryan-jones.com>, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@217739 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 18:37:00 +00:00
cst%yecc.com
0775934008 Bug 351881 nsIPrompt needs nsIPromptService::STD_YES_NO_BUTTONS
r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@217582 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-31 19:23:50 +00:00
sspitzer%mozilla.org
858729282d supplimental for bug #364412
Crash when updating in nsIncrementalDownload::OnStartRequest, attempting to allocate a huge amount of memory.

clean up code, per biesi

r=biesi


git-svn-id: svn://10.0.0.236/trunk@217534 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-29 01:19:32 +00:00
sspitzer%mozilla.org
c5f9be8707 fix for bug #364412.
Crash when updating in nsIncrementalDownload::OnStartRequest, attempting to allocate a huge amount of memory.

thanks to biesi for the initial patch.

r=darin


git-svn-id: svn://10.0.0.236/trunk@217478 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 20:17:44 +00:00
cbiesinger%web.de
b1cad63a4c Bug 364847 Give nsISocketTransport classinfo and a THREADSAFE flag
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@217439 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 22:14:29 +00:00
timeless%mozdev.org
3ea4e560e3 Bug 363390 IS_LOW_SURROGATE conflicts with winnls.h
r=darin


git-svn-id: svn://10.0.0.236/trunk@217292 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 07:03:23 +00:00
cbiesinger%web.de
6e9115cd9c bug 261425
Make nsStandardURL::SetSpec and SetHost consistent with respect to handling
spaces in hostnames (i.e. make both return an error)
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@217199 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 15:07:14 +00:00
cbiesinger%web.de
133b9c1384 bug 357958 Ignore unsupported content encodings instead of making them a fatal
error
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@217198 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 15:03:17 +00:00
cbiesinger%web.de
35043a79c8 bug 362673
Document that nsISocketTransport::securityInfo is only set once the socket is
connected, and document how to trigger connection setup.
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@217151 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 21:52:24 +00:00
gavin%gavinsharp.com
bc4d6b90ec Bug 269254: fix bug in utf16ToUcs4()'s returned length, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@217051 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 14:36:12 +00:00
jwalden%mit.edu
6262239dc7 Bug 342877 - Substantially revamp/rewrite the testing-only HTTP server used in necko unit tests, making it suitable for use in Mozilla tests which require files be stored on an HTTP server (e.g. because the test depends on certain HTTP headers being set or not set, the functionality uses HTTP, etc.) but which don't require that the server have a specified hostname. Docs, implementation, and tests (!) are in netwerk/test/httpserver/; if you have questions about using the server in unit tests or have some use case which the server could support better or doesn't support at all, CC me on the bug and I'll see how I can help. Huge (huge) thanks to biesi for the review of the huge patch. r=davel on test-harness changes, r=biesi on the server and test changes
git-svn-id: svn://10.0.0.236/trunk@217001 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 02:13:54 +00:00
bzbarsky%mit.edu
e83916216b Make sure to not use the same disk cache data block for different URIs. Bug
347852, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@216216 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:41:30 +00:00
dougt%meer.net
f24dc3b759 HTML injection in gopher dir listing. b=358128, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@215996 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 20:32:27 +00:00
cls%seawood.org
a48f352138 Mingw builds require _WIN32_WINNT >= 0x0501 (XP) to use the IP_ADAPTER features of nsNotifyAddrListener.
Also fix header include case for cross-compile builds.
Bug #358023 r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@215951 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 03:43:05 +00:00
jwalden%mit.edu
b34290b4d0 Bug 359824 - necko unit test failure: test_authentication.js. Previous commit to revert bug 223846 forgot to remove an extra header that the original commit added; this commit removes that unnecessary include. r=vlad on the original backout patch
git-svn-id: svn://10.0.0.236/trunk@215752 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 13:19:53 +00:00
sspitzer%mozilla.org
097e8f542b backing out the fix for bug #223846 (AuthName with escaped quote in it sets wrong realm) because it causes two regressions:
bug #361544: unable to log into https://intranet.mozilla.org
bug #359824: necko unit test failure: test_authentication.js

thanks to jeff walden for the patch.

r=vlad, g# agrees with the backout, too.


git-svn-id: svn://10.0.0.236/trunk@215726 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-23 01:09:20 +00:00
sspitzer%mozilla.org
346651146e tree is closed, backing out my last backout
git-svn-id: svn://10.0.0.236/trunk@215708 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 22:13:14 +00:00
sspitzer%mozilla.org
3321771dea backing out the fix for bug #223846 (AuthName with escaped quote in it sets wrong realm) because it causes two regressions:
bug #361544: unable to log into https://intranet.mozilla.org
bug #359824: necko unit test failure: test_authentication.js

thanks to jeff walden for the patch.

r=vlad, g# agrees with the backout, too.


git-svn-id: svn://10.0.0.236/trunk@215707 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 22:03:58 +00:00
gavin%gavinsharp.com
a5ef8e0b77 Bug 243207: net_RFindCharInSet is unused, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@215669 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 17:24:32 +00:00
jwalden%mit.edu
f74f470b92 Bug 360930 - test_file_protocol.js can fail based on execution environment (where TmpD contains a particularly large number of files). r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@215372 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:44:46 +00:00
joshmoz%gmail.com
c9f4afe915 remove XP_MAC from network. b=281889 r=darin
git-svn-id: svn://10.0.0.236/trunk@215323 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 21:38:48 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
gavin%gavinsharp.com
c5ee29c919 Bug 223846: AuthName with escaped quote in it sets wrong realm, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@214767 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 14:48:57 +00:00
gavin%gavinsharp.com
00b841efa0 Bug 194357: Dragging and dropping a Windows file shortcut (.lnk) in the browser window doesn't work, patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@214766 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 14:44:28 +00:00
timeless%mozdev.org
c6467de559 Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan


git-svn-id: svn://10.0.0.236/trunk@214560 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 23:02:18 +00:00
dougt%meer.net
e77bf63f79 Backing out removal of baseURI which caused a regression. bug 358128.
git-svn-id: svn://10.0.0.236/trunk@214472 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-31 17:53:58 +00:00
bzbarsky%mit.edu
d8fdb05426 Fix bug 358367, patch by Son Le <son.le0@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@214289 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-28 05:15:33 +00:00
dougt%meer.net
76c9d86761 Removing base uri from indexed html parser as we believe it isn't used. b=358128, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@214189 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-26 21:24:10 +00:00
benjamin%smedbergs.us
ad737b665f Unit testcase for bug 337744, r=darin
git-svn-id: svn://10.0.0.236/trunk@214124 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-25 19:35:13 +00:00
cbiesinger%web.de
2787833bb7 Bug 357877 nsFileChannel::OpenContentStream leaks when
nsFileUploadContentStream::IsInitialized fails
patch by Ryan Jones <sciguyryan+bugzilla@gmail.com> r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@214110 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-25 16:00:02 +00:00
bzbarsky%mit.edu
2d7539378c Make nsIStreamLoader and nsIUnicharStreamLoader be stream listeners. Bug
281153, patch by Son Le <son.le0@gmail.com>, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@214092 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-24 21:47:40 +00:00
vladimir%pobox.com
0f27f72b91 b=354984, patches to build with vista RC1 SDK, r=darin
git-svn-id: svn://10.0.0.236/trunk@214087 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-24 20:38:29 +00:00
darin%meer.net
f53afe3d65 fixes bug 352848 "treat invalie Expires header as expires immediately" r=biesi
git-svn-id: svn://10.0.0.236/trunk@213093 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 02:54:15 +00:00
cbiesinger%web.de
d937ed476b bug 353983 add --enable-application=netwerk option
r=bsmedberg sr=darin


git-svn-id: svn://10.0.0.236/trunk@212828 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 21:22:27 +00:00
cbiesinger%web.de
0b73b99b02 bug 354410 move auth prompt strings out of necko. also, use the correct
strings for prompting without a realm and for prompting only for a password.
r=darin


git-svn-id: svn://10.0.0.236/trunk@212819 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 20:11:33 +00:00