Chris Jones
bc05dd163b
Merge from mozilla-central
2010-02-22 21:31:18 -06:00
timeless@mozdev.org
e99a1058cb
Bug 540566 nsCacheEntryDescriptor::GetDeviceID may crash in NS_strdup [@strlen | NS_strdup(char const*) ]
...
r=biesi
2010-02-21 15:53:13 +01:00
Jason Duell
4f875a514b
Add run_test_in_child() and do_load_child_test_harness() xpcshell functions (bug 521922). r=bent sr=ted
...
Add necko 'unit_ipc' test directory under e10s, plus simple HTTP test.
2009-10-17 00:05:27 -07:00
Dan Witte
cb4683a020
Fix failing test.
2010-02-09 15:42:44 -08:00
Zack Weinberg
5d31f02b7d
Bug 540633: Label httpd.js debug logs, optionally timestamp them, and add support for enabling or disabling them in the middle of a run (currently only for mochitests). r=jwalden
2010-02-09 14:07:33 -08:00
Adam Barth
2f2a7320df
Bug 542974 - Make the cookie parser's handling of " characters more like IE. r=dwitte
2010-02-09 13:07:16 -08:00
Zack Weinberg
d6677fdb08
Bug 536603 followup: Look up network.http.max-connections-per-server in httpd.js, rather than hardwiring a constant that needs to be bigger than that pref. r=jwalden
2010-01-29 18:17:33 -08:00
Ben Bucksch
1e96bf1207
nsIAuthPrompt2: add PREVIOUS_FAILED, bug 521467, r=biesi, sr=bz
...
Add flag nsIAuthInformation.PREVIOUS_FAILED to notify the
login manager that the previous login attempt failed.
That allows it to show a prompt instead of using the
stored values (silently).
--HG--
extra : rebase_source : 5a725bba1ae34d030fd60ecd5d67c74317de5d4f
2010-02-12 17:55:11 +01:00
Dan Witte
883d2679b1
Remove unnecessary stripping of quotes prior to calling PR_ParseTimeString. b=542974, r=abarth
2010-02-10 12:22:49 -08:00
Zack Weinberg
ab052b17a8
Bug 536603 potential fix: in httpd.js, the server socket's queue limit should be larger than the browser-side max number of connections per server. r=jrmuizel
2010-01-18 18:12:39 -08:00
Zack Weinberg
bee097ea73
Back out instrumentation for bug 536603 and re-disable test
2010-01-18 14:54:56 -08:00
Zack Weinberg
ef69f941b3
Extensive debugging instrumentation for bug 536603
2010-01-18 09:03:50 -08:00
Dan Witte
64bc002cbf
Bug 536650 - Cookie values not saved for pages loaded from file://, part 1: tighten up the etld service.
...
r=sdwilsh, sr=bz
2010-01-12 10:29:20 -08:00
Shawn Wilsher
d2d7f4df99
Bug 532147 - NetUtil.asyncFetch should take an nsIURI, string, nsIFile, or nsIChannel
...
This lets consumers pass a string for a uri, an nsIURI, an nsIFile, or an
nsIChannel to NetUtil.asyncFetch. It's now less code to get file contents
asynchronously that to do so synchronously in JavaScript.
r=bz
sr=vlad
2009-12-15 23:33:08 -08:00
Shawn Wilsher
f06ffc75df
Bug 532146 - NetUtil.jsm needs a helper for creating new channels
...
Adds a new method for creating an nsIChannel from a string spec, an nsIURI, or
an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:06 -08:00
Adam Barth
da5871d549
Bug 536514 - Treat leading and trailing "."s in Domain attributes like other browsers. r=dwitte
2009-12-26 13:39:35 -08:00
Dietrich Ayala
ea1d1d7c7b
Backout of bug 532147 and bug 532146 due to test failure.
2009-12-16 11:02:10 -08:00
Shawn Wilsher
5cafb80613
Bug 532147 - NetUtil.asyncFetch should take an nsIURI, string, nsIFile, or nsIChannel
...
This lets consumers pass a string for a uri, an nsIURI, an nsIFile, or an
nsIChannel to NetUtil.asyncFetch. It's now less code to get file contents
asynchronously that to do so synchronously in JavaScript.
r=bz
sr=vlad
2009-12-15 23:33:08 -08:00
Shawn Wilsher
2bcf4bf0cd
Bug 532146 - NetUtil.jsm needs a helper for creating new channels
...
Adds a new method for creating an nsIChannel from a string spec, an nsIURI, or
an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:06 -08:00
Shawn Wilsher
da980cf6e1
Bug 532143 - NetUtil.newURI should take a string or nsIFile
...
You can now automagically get an nsIURI providing a string or an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:03 -08:00
Dan Witte
2b2abe5315
Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor
2009-12-15 14:21:28 -08:00
Robert O'Callahan
77f0bb0079
Bug 526323. httpd.js should send custom headers with 416 responses. r=jwalden
2009-12-16 09:08:58 +13:00
Myk Melez
1f69a37d51
bug 528292: convey the mForceAllowThirdPartyCookie flag when setting up a replacement channel for a redirected HTTP request; r,sr=bzbarsky
2009-12-13 11:04:03 -08:00
John Daniels
b260d02c5f
Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
...
--HG--
extra : rebase_source : 6fbaac51eabe95fcfaf4706feb9fd8a28ba4dfbf
2009-11-24 11:58:42 -08:00
Honza Bambas
627774b80b
Bug 515051 - Stream listener registered in a network request channel eats JS error messages, r=bz+biesi
2009-11-18 17:02:28 +01:00
Daniel Holbert
bffabf5190
Fix build warnings about the "defined but not used" functions PumpEvents() & QuitPumpingEvents(), in netwerk test code. (Bug 529350) r=biesi
2009-11-17 13:18:05 -08:00
Honza Bambas
3bfe50ff1c
Backout ebc28a0d4b96
2009-11-16 23:07:00 +01:00
Honza Bambas
d6e8754f30
Bug 515051 - Stream listener registered in a network request channel eats JS error messages, r=bz+biesi
2009-11-16 17:25:48 +01:00
Jason Duell
805435bdcf
Bug 521258 - Catch exceptions in template ChannelListener class to avoid hangs, r=jwalden
2009-11-14 20:54:52 -08:00
Jae-Seong Lee-Russo
b6bf90ea7a
Bug 525588 - Some existing necko tests failing once base class catches handler exceptions, r=jduell
2009-11-14 20:54:49 -08:00
Dão Gottwald
1b21023c95
Bug 527347 - nsIScriptableUnicodeConverter::convertToByteArray aLen out param should be optional. r=smontagu
2009-11-12 11:07:00 +01:00
Jae-Seong Lee
f620ed6c64
Bug 521189 - Some necko unit tests fail or hang with 'strict' & 'werror' on. r=jwalden
2009-11-10 14:11:31 -08:00
Robert O'Callahan
db414037bc
Bug 508128. Fix type mismatch in RawTests. r=jwalden
2009-11-10 14:00:35 +13:00
Robert O'Callahan
156f08e1c6
Bug 508128. Fix another case of GC stripping JS wrapper objects of previously QIed interfaces
2009-11-10 14:00:35 +13:00
Jeff Walden
891b7bc8b8
Bug 526686 - Add QueryInterface methods to all exposed types of objects in httpd.js. Also change nsIHttpRequestMetadata to nsIHttpRequest for a little conciseness. r=waylon, not worth someone's time to review trivial code changes and renamings
2009-11-06 16:24:32 -08:00
Robert O'Callahan
aa3d89513c
Bug 508128. Make sure to QI to the right interface so that if the JS wrapper gets GCed we still have a getRequestHeader method.
2009-11-04 07:39:41 +13:00
Gijs Kruitbosch
41ba1acfa5
Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
...
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Jae-Seong Lee
2cfee1515c
Bug 521189 - Properly declare a variable in this test rather than implicitly creating a global variable. r=jwalden
2009-10-28 15:20:34 -07:00
Jeff Walden
e9457239f9
Bug 524245 - Correctly serialize and deserialize nsNestedAboutURI::mBaseURI as the same interface, not as different ones. r=bz
2009-10-26 15:48:23 -07:00
Shawn Wilsher
23aae0aaab
Bug 522416 - Tests for blocking input stream in NetUtil.asyncFetch.
...
--HG--
extra : rebase_source : 51de6e900c10ad0e81106518dadf1ce19a972b2a
2009-10-19 12:23:17 -07:00
Vladimir Vukicevic
8e0cf193a7
b=522416, test hang fix
...
--HG--
extra : transplant_source : %C3%06%0A%0CC%29%8C%DE%05%7C%84xvwm%C8%FC%28%AB%2C
2009-10-18 18:29:31 -07:00
Shawn Wilsher
3e6c5bc384
Bug 522416 - Add an asyncFetch method on NetUtil.jsm
...
This adds an asyncFetch method on NetUtil that will open a channel
asynchronously and provide the consumer with an input stream upon completion.
r=bz
sr=vlad
--HG--
extra : rebase_source : bbeffb5669ba0f040773fca5faca28494982ff94
2009-10-15 16:16:01 -07:00
Ryan Flint
c249f3251a
Bug 514415 - Expose NetUtil's reference to nsIIOService. r=sdwilsh, sr=bzbarsky
2009-10-03 01:11:20 -04:00
Honza Bambas
89990221eb
Bug 479485 - Invalid port numbers cause default port to be used, should fail to load, r=bzbarsky
2009-09-28 17:10:34 +02:00
Michal Novotny
ddf4fe8b49
Bug 515583 - Fixed parsing of CMU/VMS-IP FTP style listing [r=dougt r=wtc sr=biesi]
2009-09-23 02:15:29 +02:00
Shawn Wilsher
36e4260c09
Bug 508902 - NetUtil.jsm should have a newURI method.
...
r=bz
sr=bsmedberg
2009-09-02 13:24:49 -07:00
Boris Zbarsky
bc63de3c19
Backed out changeset 6ee269c6c118 (test for bug 474536) because it hangs on Tinderbox
...
--HG--
extra : rebase_source : 4a94234dc481caff6e147082e0f1c5a13602e84b
2009-09-02 13:34:18 -04:00
Jason Duell
94314c069c
Adding test for bug 474536. r=dcamp sr=bzbarsky
2009-09-02 11:33:13 -04:00
Mark Banner
56bda86fbf
Bug 501925 Change cookie policy to relax the mailnews-specific APP_TYPE_MAIL requirement. r=Neil,r=dwitte,sr=dmose
2009-09-02 09:42:53 +01:00
tglek@mozilla.com
a0ee6410f1
Bug 508421 - move res/ stuff into toolkit.jar (r=bsmedberg)
...
* * *
* * *
2009-08-27 08:35:48 -07:00