Commit Graph

314 Commits

Author SHA1 Message Date
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
Honza Bambas
349696172b Backout rev fc99651e9bca 2009-08-26 21:39:37 +02:00
Honza Bambas
4ce6f49811 Bug 479485 - Invalid port numbers cause default port to be used, should fail to load, r=bz 2009-08-26 20:08:28 +02:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
bjarne@runitsoft.com
9c260a2ab5 Bug 510359 - Cached "Vary: Cookie" responses are improperly revalidated/reused r=biesi 2009-08-24 10:32:18 -04:00
Michal Novotny
150003cf2a Bug 484684 - ParseFTPList can't handle regular unix ls -l listing of filenames starting with spaces; r=jduell.mcbugs sr=bzbarsky 2009-08-08 11:55:16 +02:00
Shawn Wilsher
782cbb5800 Bug 508605 - NetUtil.asyncCopy does not handle nsISafeOutputStreams correctly
This moves nsISafeOutputStream.idl into xpcom/io and makes nsAStreamCopier
handle nsISafeOutputStream correctly (calling finish instead of close).
r=bz
r=bsmedberg

--HG--
rename : netwerk/base/public/nsISafeOutputStream.idl => xpcom/io/nsISafeOutputStream.idl
2009-08-06 13:34:46 -07:00
Ted Mielczarek
ad775e7a7a bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Shawn Wilsher
eba729bbcf Bug 491936 - Create tests for NetUtil.jsm
Creates tests for NetUtil.jsm and fixes some minor errors with it.
r=bz
2009-08-05 13:19:01 -07:00
Ted Mielczarek
bf94951904 Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
b6d8d93b5c bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Michael Kohler
404670f1f3 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Dão Gottwald
72aeda029d Backed out changeset af278cec894d because of test_eviction.html failure 2009-07-21 06:24:37 +02:00
Dan Witte
325ed27d23 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. Implement an age+number based purge algorithm. r=sdwilsh, sr=mconnor 2009-07-20 18:32:38 -07:00
Honza Bambas
66ab2c6182 Bug 475053 - Implement asyncPromptAuth to fix multiple password prompt overlap, r=bzbarsky+dolske 2009-07-20 20:29:41 +02:00
Neil Rashbrook
1e7f52df3f Test for bug 499675 2009-06-23 13:25:30 +01:00
Shawn Wilsher
98002d8f52 Bug 494217 - nsINetUtil::unescapeString drops high bytes of UTF-16 strings from JS
This fixes an issue where unescapeString will drop the high bytes of a UTF-16
string when unescaping, resulting in a loss of data.
r=bz
sr=bz
2009-06-17 12:13:02 -07:00
Bjarne
f2735cd200 Bug 490095 fix regression from bug 468594: don't override VALIDATE_NEVER when
the URL has a query string and no explicit expiration time.
r+sr=biesi
2009-06-16 18:27:17 +02:00
Serge Gautherie
2a0b5adb6d Bug 470241 - [Firefox] test_bug248970_cache.js leaks; (Av1a) trivial cleanup; r=sdwilsh 2009-06-02 00:21:33 +02:00
Jeff Walden
c8c9a50db2 Forgot to bump UUID in bug 484027, doing so now, r=sparky 2009-05-30 21:26:17 -07:00
Jeff Walden
fa4f06df47 Bug 484027 - Add a method providing minimally controlled arbitrary write access to the connection within a response, allowing arbitrary information (even data which is not a syntactically valid HTTP response) to be sent in responses. r=sayrer
--HG--
extra : rebase_source : 2d61cccef9b076b2e5dbe1074af99f572d60b700
2009-05-28 14:54:42 -07:00
Boris Zbarsky
cb4004dfeb Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg. 2009-05-07 15:21:54 -04:00
Jeff Walden
d768ee57c5 Bug 482418 - HTTP range handling code shouldn't run when requesting and processing SJS files. Tag-team patching and testing effort by roc and me, r=me 2009-04-23 14:04:50 -07:00
Ehsan Akhgari
7b5c2380ff Backed out changeset 88f76db49467 (bug 489585) due to test failures on OS X 2009-04-23 11:45:33 +04:30
Ehsan Akhgari
df9be848c1 Bug 489585 - Private browsing cache test leaves directories behind; r+sr=bzbarsky 2009-04-23 10:25:48 +04:30
Jeff Walden
ec1cde1369 Disable debug logging in httpd.js now that the previous change appears acceptable to tinderboxen. Also disable test_start_stop.js on Windows, because Windows is dumb and will let me asyncListen on two nsIServerSockets at the same time on the same port without the second such call throwing an exception. r=bloatedtinderboxlogs, r=stupidwindows 2009-04-15 17:55:36 -07:00
Jeff Walden
583c6b4c88 Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
Arpad Borsos
07dc31e45f Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Dão Gottwald
2b158c4a2f Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2009-04-10 10:24:24 +02:00
Michal Novotny
b90f4bc271 Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky. 2009-03-30 15:10:13 -04:00
Simon Montagu
6d6b3471c2 Display URLs containing unassigned Unicode code points in punycode. Bug 479413, r=jduell, sr=jst 2009-03-29 00:49:31 -07:00
Ted Mielczarek
dcc2d8f492 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
--HG--
rename : toolkit/components/downloads/test/downloads.empty.sqlite => browser/components/privatebrowsing/test/unit/downloads.empty.sqlite
rename : dom/src/json/test/fail1.json => dom/src/json/test/unit/fail1.json
rename : dom/src/json/test/fail10.json => dom/src/json/test/unit/fail10.json
rename : dom/src/json/test/fail11.json => dom/src/json/test/unit/fail11.json
rename : dom/src/json/test/fail12.json => dom/src/json/test/unit/fail12.json
rename : dom/src/json/test/fail13.json => dom/src/json/test/unit/fail13.json
rename : dom/src/json/test/fail14.json => dom/src/json/test/unit/fail14.json
rename : dom/src/json/test/fail15.json => dom/src/json/test/unit/fail15.json
rename : dom/src/json/test/fail16.json => dom/src/json/test/unit/fail16.json
rename : dom/src/json/test/fail17.json => dom/src/json/test/unit/fail17.json
rename : dom/src/json/test/fail18.json => dom/src/json/test/unit/fail18.json
rename : dom/src/json/test/fail19.json => dom/src/json/test/unit/fail19.json
rename : dom/src/json/test/fail2.json => dom/src/json/test/unit/fail2.json
rename : dom/src/json/test/fail20.json => dom/src/json/test/unit/fail20.json
rename : dom/src/json/test/fail21.json => dom/src/json/test/unit/fail21.json
rename : dom/src/json/test/fail22.json => dom/src/json/test/unit/fail22.json
rename : dom/src/json/test/fail23.json => dom/src/json/test/unit/fail23.json
rename : dom/src/json/test/fail24.json => dom/src/json/test/unit/fail24.json
rename : dom/src/json/test/fail25.json => dom/src/json/test/unit/fail25.json
rename : dom/src/json/test/fail26.json => dom/src/json/test/unit/fail26.json
rename : dom/src/json/test/fail27.json => dom/src/json/test/unit/fail27.json
rename : dom/src/json/test/fail28.json => dom/src/json/test/unit/fail28.json
rename : dom/src/json/test/fail29.json => dom/src/json/test/unit/fail29.json
rename : dom/src/json/test/fail3.json => dom/src/json/test/unit/fail3.json
rename : dom/src/json/test/fail30.json => dom/src/json/test/unit/fail30.json
rename : dom/src/json/test/fail31.json => dom/src/json/test/unit/fail31.json
rename : dom/src/json/test/fail32.json => dom/src/json/test/unit/fail32.json
rename : dom/src/json/test/fail33.json => dom/src/json/test/unit/fail33.json
rename : dom/src/json/test/fail34.json => dom/src/json/test/unit/fail34.json
rename : dom/src/json/test/fail4.json => dom/src/json/test/unit/fail4.json
rename : dom/src/json/test/fail5.json => dom/src/json/test/unit/fail5.json
rename : dom/src/json/test/fail6.json => dom/src/json/test/unit/fail6.json
rename : dom/src/json/test/fail7.json => dom/src/json/test/unit/fail7.json
rename : dom/src/json/test/fail8.json => dom/src/json/test/unit/fail8.json
rename : dom/src/json/test/fail9.json => dom/src/json/test/unit/fail9.json
rename : dom/src/json/test/json2.js => dom/src/json/test/unit/json2.js
rename : dom/src/json/test/pass1.json => dom/src/json/test/unit/pass1.json
rename : dom/src/json/test/pass3.json => dom/src/json/test/unit/pass3.json
rename : testing/xpcshell/example/location_load.js => testing/xpcshell/example/unit/location_load.js
rename : toolkit/components/commandlines/test/unit/unix/test_bug410156.js => toolkit/components/commandlines/test/unit_unix/test_bug410156.js
rename : toolkit/components/commandlines/test/unit/win/test_bug410156.js => toolkit/components/commandlines/test/unit_win/test_bug410156.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug257155/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug257155/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_10/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_10/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_11/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_11/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_12/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_12/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_13/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_13/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug397778/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug397778/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug425657/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug425657/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_1/README => toolkit/mozapps/extensions/test/addons/test_bug428341_1/README
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug436207/install.js => toolkit/mozapps/extensions/test/addons/test_bug436207/install.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_9/install.rdf
2009-03-21 11:20:00 -04:00
Bjarne
696e7d1565 Bug 203271 - max-age should override expires in http headers; r=(cbiesinger + jwalden+bmo) sr=cbiesinger 2009-03-19 00:59:36 +01:00
Bjarne
b751f8e069 Bug 468594 - Fix heuristic query freshness; r=cbiesinger 2009-03-17 15:23:01 +01:00
Boris Zbarsky
4df63aaac7 Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Dave Townsend
36de5ef33a Backed out changeset 55d159b75f41 from bug 482659. 2009-03-17 11:08:59 +00:00
Boris Zbarsky
1f8b3851ba Bug 482659. Give about:blank documents the base URI of the document that did the load. r=dcamp, sr=jst 2009-03-16 20:59:33 -04:00
Dan Witte
b08ec7cdec Backed out changeset d6a5afef5837 2009-03-16 01:33:54 -07:00
Dan Witte
e6d4d432f3 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-03-15 21:38:56 -07:00
Phil Ringnalda
f1d6fb1791 Bug 482887 - Remove pointless and unmaintained jarlist.dat, r+sr=biesi 2009-03-15 17:51:10 -07:00
Serge Gautherie
b3c9076b8a Backed out changeset: be6d39f94146 of
Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger
which breaks all test suites.
2009-03-13 19:08:52 +01:00
Bjarne
31c00e6eb5 Bug 203271 - max-age should override expires in http headers; r+sr=cbiesinger 2009-03-13 15:51:29 +01:00
Michal Novotny
ee345e2f43 Bug 482601. Add tests for bug 449198. r=bzbarsky 2009-03-12 12:59:00 -04:00
Chris Double
7a0ea88deb Backed out changeset 98381f8c8e08 due to test failure 2009-03-05 23:19:14 +13:00
Dan Witte
1fa46a3004 change cookie eviction so that purges only take place when the limit on max cookies is reached, and the oldest cookie is greater than a set age. b=444600, r=sdwilsh,
sr=mconnor.
2009-03-04 22:11:24 -08:00
Jeff Walden
273325e9f8 Followup nitfix to bug 476302 that wasn't noticed when I reviewed the patch there 2009-02-27 15:57:07 -08:00
Honza Bambas
6bf40c240c Bug 476302 - Allow httpd.js return multiple headers with same name, r=jwalden 2009-02-27 15:09:06 +01:00
Honza Bambas
5e815989ba Bug 468443 - Remove PUT/DELETE support from httpd.js, r=jwalden 2009-02-18 14:31:30 +01:00
Jeff Walden
5ab2f999de Bug 471158 - Add getSharedState/setSharedState functionality to SJS, convert existing state to per-path state. r=honzab
--HG--
rename : netwerk/test/httpserver/test/data/sjs/state.sjs => netwerk/test/httpserver/test/data/sjs/state2.sjs
2009-02-04 11:08:03 -08:00
Dan Witte
0bf164f8a4 bump cookie limit from 1000 to 3000 to reduce occurrence of cookie purges. b=444600, r+sr=mconnor. 2009-02-03 19:11:33 -08:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Phil Ringnalda
4d8777d31a Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking 2009-01-15 20:02:21 -08:00
Jeff Walden
6ff11cc4e7 Bug 381598 - HTTP server tests cleanup, round two. r=me because the old tests are difficult to understand and it's not worth making someone read them to do a review 2008-12-18 11:05:40 -08:00
Jeff Walden
3832d15fae Bug 381598 - HTTP server tests cleanup. r=me because I don't think it's a good use of anyone's time to disentangle the tests as they were written prior to this checkin 2008-12-15 21:02:41 -08:00
Jeff Walden
b221abac7a Bug 465921 - httpd.js fails to deliver after about 35 reloads of test_seek1.html, most likely because the connection is being prematurely terminated by the client. r=bz 2008-12-15 21:02:40 -08:00
Boris Zbarsky
068f0d455b Adding a test for stream copier 2008-12-15 11:58:08 -05:00
Jeff Walden
33fffe4388 Followup nitfix from review comment, bumping iteration count up one to 'fail' more places if a regression happens. 2008-12-12 11:43:51 -08:00
Jeff Walden
a91717aa17 Bug 468467 - If onInputStreamReady doesn't process all of the Request-Line the first time, httpd.js asserts. r=honzab 2008-12-12 11:31:30 -08:00
Dave Camp
1f1b980ffe Bug 441751 - "Directives not to cache pages ignored." [r+sr=bzbarsky]
* * *
Bug 441751 - "Directives not to cache pages ignored." (fix for offline cache updating) [r+sr=bzbarsky]
2008-12-11 21:57:47 -08:00
Dave Camp
30b213c23a Backed out changeset e33f490c8764 2008-12-08 20:26:56 -08:00
Dave Camp
06a2be6538 Bug 441751: Fix up LOAD_ONLY_FROM_CACHE. r+sr=bz 2008-12-08 19:24:33 -08:00
Jeff Walden
7324e8cab7 Bug 463327 - Enable stateful SJS handlers somehow other than through universal insta-XSS. r=honzab 2008-12-03 22:24:59 -08:00
Ehsan Akhgari
f6339a1187 Bug 462707 - nsHttpChannel::GetEntityID should respect Accept-Ranges response header; r,sr=biesi a191=beltzner 2008-11-28 15:28:57 -08:00
Boris Zbarsky
586f905b27 Fixing test to test the right thing 2008-11-25 22:32:12 -05:00
Jeff Walden
9ba0796b8f Bug 463254 - httpd.js fails on mac when running test_CrossSiteXHR.html. The problem was that exceptions were causing files not to be closed on OS X, and we were hitting the open-file limit; add some try-finally magic to close in a failsafe manner. r=honzab 2008-11-06 12:44:27 -08:00
Jeff Walden
060e9f580e Bug 462864 - Expose request body as a stream, state-machine refactoring in httpd.js. r=honzab 2008-11-05 15:31:30 -08:00
Gavin Sharp
d54eed15ff Backed out changeset f014c59ad81d 2008-11-04 23:35:39 -05:00
Jeff Muizelaar
d6bc35b4d4 Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, original patch by shaver@mozilla.org, r+sr=biesi 2008-11-04 23:11:31 -05:00
Ehsan Akhgari
4770654ff7 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
Jeff Walden
0b43a90166 Consistently rebrand to httpd.js, since that's basically how everyone knows about it and because the older name was ugly. No bug, basically comment-only changes, r+sr+ui-r+a=mconnor per the inestimable firebot 2008-11-02 22:46:54 -08:00
Ehsan Akhgari
6b5f7550c0 Bug 411952 - Cookie's creationTime needs to be exposed via nsICookie2; r=mconnor, sr=bzbarsky (unit test) 2008-10-31 17:21:31 +03:30
Ehsan Akhgari
7324bfd3ea Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cache part]; r=cbiesinger,dcamp sr=cbiesinger 2008-10-25 13:56:20 +03:30
Boris Zbarsky
d2d14f4bcb Fixing test to actually pass on Mac 2008-10-22 13:45:07 -04:00
Boris Zbarsky
91368d770a Fixing indent 2008-10-22 11:44:51 -04:00
Boris Zbarsky
2938178520 Bug 455311. Better handling of Cancel and IsPending() on nsBaseChannel redirects, plus unit tests. r+sr=biesi 2008-10-22 11:42:32 -04:00
Ehsan Akhgari
90c0874889 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cookie part]; r=dwitte,mconnor sr=bzbarsky 2008-10-20 00:42:53 +03:30
Chris Double
22956f0d68 Bug 398185 - Add byte range request support to JS httpd - r=jwalden+bmo 2008-10-17 12:38:14 +13:00
Michal Novotny
ca0850cf6f Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger] 2008-10-01 00:34:29 -05:00
Michal Novotny
50b78fb725 Bug 412945 - "Malformed POST requests generated when using elance.com" [r=biesi sr=bzbarsky] 2008-10-01 00:31:24 -05:00
Michal Novotny
0b7776d77b Bug 365133 - "The FTP folder won't open!" [r=bzbarsky sr=dougt] 2008-10-01 00:28:39 -05:00
Daniel Veditz
e519ee34e1 Bug 380994 - "Fix for bug 367428 lets through escaped slashes on Linux (windows too on trunk)" [r=biesi] 2008-10-01 00:15:58 -05:00
Jonas Sicking
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Chris Double
b800307262 Backed out changeset c2e02e6250db 2008-09-25 19:34:29 +12:00
Chris Double
b73459c8fc Bug 398185 - Add byte range request support to JS httpd - r+=sayrer 2008-09-25 15:30:35 +12:00
Ehsan Akhgari
530b63bf4e Bug 455598 - nsICookieManager2.cookieExists incorrectly assumes a nsCookie param; test; r=dwitte sr=bzbarsky 2008-09-20 16:28:09 +02:00
Magnus Melin
e3168d95a2 Bug 431890: nsStandardURL::SetSpec does not fail when host contains leading space " ". r+sr=cbiesinger 2008-09-14 21:15:06 +03:00
Boris Zbarsky
ce2a8dfd0a Bug 454411. Fix caching of redirects to actually work. r+sr=biesi 2008-09-09 21:39:38 -04:00
Olli Pettay
a4dcb20ef2 Bug 454217, httpd.js doesn't handle large body properly, r=sayrer, +change XHR POST test to use request.body 2008-09-09 12:32:35 +03:00
Honza Bambas
8ee27486d6 Bug 443610 - Add body and PUT handling to httpd.js; "DELETE" part; r=sayrer 2008-09-07 17:19:08 +02:00
Honza Bambas
4dba47826b Bug 443610 - Add body and PUT handling to httpd.js; "PUT" part; r=sayrer 2008-09-07 17:18:06 +02:00
Jan Odvarko
232d776f64 Bug 430155. New nsHttpChannel interface to allow examination of HTTP data before it is passed to the channel's creator. r=biesi, sr=bzbarsky 2008-08-25 13:21:28 -04:00
Michal Novotny
96ad2865a5 Bug 379034 - Relative URLs with capitalized schemes are treated as absolute, r=biesi sr=bzbarsky 2008-08-19 10:48:10 -04:00
Serge Gautherie
df8933a41f Bug 450177 - "TestBlockingSocket.cpp(158) : warning C4390: ';' : empty controlled statement found; is this the intent?", r+sr=biesi 2008-08-14 08:44:42 +02:00
Boris Zbarsky
ba6f01e79d Bug 426273. Make sure to clear out bogus Content-Disposition values before checking whether we can handle the 206 response. r+sr=biesi 2008-07-31 17:55:14 -07:00
Dave Camp
eb4bfaeb1c Bug 448712. Make sure to remove the storage for an empty entry in a cache block file. r+sr=biesi 2008-07-31 17:53:12 -07:00
Benjamin Smedberg
9961c9eb16 Bug 445853 - Add namespaces to various tests: these tests share a class name with other tests, which makes XPCOMGC rewriting very confused. r=biesi 2008-07-27 21:09:10 -04:00
Gervase Markham
0579f178a3 Bug 438585 - "Updates to Public Suffix List" [p=dwitte] 2008-07-12 06:56:15 -05:00
Gervase Markham
b0f81b497d Back out Public Suffix List changes at myk's request 2008-07-10 23:04:06 +01:00
Gervase Markham
9d5f37bb67 Bug 438585 - Updates to Public Suffix List. Patch by gerv; r=dwitte. 2008-07-10 18:26:25 +01:00
Mats Palmgren
aaa49ce031 URI.path one character short after redirect involving fragment. b=438288 r+sr=cbiesinger 2008-06-19 23:39:46 +02:00
Gavin Sharp
21f5e4e8bf Bug 407538: newURI(http://foo.com:80).port is 80, should be -1 (can set a URI's port to its default value by setting .spec), r+sr=biesi 2008-06-15 21:16:57 -04:00
Jeff Walden
074efa08c7 Bug 428009 - Update the HTTP server to require a *correct* host be specified with it, not just *a* host via an absolute URI as Request-URI or a specified Host header. This also gives request handlers proper details about the location to which the request was targeted. r=biesi on the raw socket usage in the test code, r=ted on the build changes, r=sayrer on the server changes 2008-06-07 02:43:15 -04:00
jorendorff@mozilla.com
9b2db511f4 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsobj.c => js/src/jsobj.cpp
2008-05-07 17:37:49 -07:00
gavin@gavinsharp.com
c097befe30 Bug 431774: make this test actually test what it was supposed to, instead of always passing, r=biesi 2008-05-05 14:00:59 -07:00
Benjamin Smedberg
160d9d1766 Merge cvs-trunk-mirror to mozilla-central. Automated merge, no manual conflict resolution necessary.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jslong.c => js/src/jslong.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-04-29 10:20:07 -04:00
cbiesinger@gmail.com
b7fc55e78b Bug 429128 correctly adjust mRef when changing the query part of a URL r+sr=bz a=beltzner; unit test by bz r+sr=biesi 2008-04-17 01:27:44 -07:00
Benjamin Smedberg
b3c6962a6c Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-04-15 13:59:01 -04:00
smontagu@smontagu.org
1811675432 Pass domain names to stringprep label by label. Bug 427959, r+sr=biesi, a1.9+b1.9=beltzner 2008-04-14 01:26:55 -07:00
Benjamin Smedberg
ef687634db Bug 427831 - CHECK FAILED: file.txt == CVS/ -- no more CVS! r=waldo 2008-04-09 00:07:04 -04:00
reed@reedloden.com
eb60d3138f Bug 407845 - "nsCookieService::FindCookie() shouldn't return expired cookies" [p=dwitte@stanford.edu (Dan Witte [dwitte]) r+sr=biesi a1.9=damons] 2008-04-08 12:24:58 -07:00
smontagu@smontagu.org
3e8c717a6d Fallback to null-padding in nsMimeHeaderParam::GetParameter if all other conversions fail. Bug 419157, r+sr=biesi, b=beltzner 2008-04-08 11:45:55 -07:00
timeless@mozdev.org
d7e775a7be Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
jwalden@mit.edu
9156d6bbff Add a bunch of forgotten |false| parameters to setHeader calls in httpd.js server handlers; no functionality change because absence defaulted to false. No bug, test-only set of trivial changes so self-reviewing... 2008-03-18 10:42:39 -07:00
dwitte@stanford.edu
13effbe655 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 00:53:50 -07:00
bzbarsky@mit.edu
1201485052 Add the charset right after the type, before all other params, if there is no existing charset in the type. Bug 413974, r=biesi, sr=sicking, a=beltzner 2008-02-28 20:24:32 -08:00
jwalden@mit.edu
0ac722e734 Bug 417218 - nsStandardURL::SetPath does the wrong thing when the path is '/' and is being set to ''. r+sr=biesi, a=beltzner 2008-02-26 14:48:42 -08:00
jwalden@mit.edu
35761034ba Bug 414122 - Preprocess effective TLD data into C++ code (eliminate file I/O to read, move parsing out of C++, remove an arena, etc.). r=dwitte, sr=bsmedberg, a=blocker 2008-02-14 14:57:20 -08:00
jwalden@mit.edu
38eebf9225 Bug 401649 - JS CGI support in httpd.js -- create responses conditioned on header values and HTTP method types! r=sayrer 2008-02-05 17:12:32 -08:00
reed@reedloden.com
23e398896c Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-02-01 18:07:49 -08:00
reed@reedloden.com
db5d659dcd Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 01:00:59 -08:00
reed@reedloden.com
41073ec644 Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 00:51:29 -08:00
enndeakin@sympatico.ca
d23cbccf38 Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
dwitte@stanford.edu
4b820329c8 Bug 409614 - IDN with non-ASCII TLD is displayed in Punycode. r+sr=biesi, a=damons 2008-01-28 22:06:01 -08:00
reed@reedloden.com
f5a03f70fc Disable sporatically failing test that bz enabled earlier due to oranges. 2008-01-28 21:33:21 -08:00
bzbarsky@mit.edu
da2e91ea7b Reenable the test on non-Windows. 2008-01-28 15:23:55 -08:00
mats.palmgren@bredband.net
24741d2e93 Make NS_ReadLine() not lie about having more data when the stream ends in \r\n. b=397850 r+sr=cbiesinger a=blocking1.9 2008-01-15 02:22:58 -08:00
reed@reedloden.com
51bd3e1d93 Fix necko's test_dns_service.js test to treat ::1 the same as 127.0.0.1 for DNS resolution of localhost in order to fix Mac unit test failure now that IPv6 is enabled (as per bug 408881). 2008-01-05 00:10:56 -08:00
dwitte@stanford.edu
08000dde11 add unit test for permission manager. 2007-12-04 23:23:14 -08:00
dwitte@stanford.edu
cae750362b add tests for bug 385299. 2007-12-04 18:45:40 -08:00