Commit Graph

397 Commits

Author SHA1 Message Date
Jason Duell
84b443f1c0 # User Michal Novotny <michal.novotny@gmail.com>
# Date 1272456176 -7200
Bug 549241 - Channel classifier should run in chrome process. r=biesi, sr=jst
2010-05-21 14:03:02 -07:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
wfernandom2004@gmail.com
dfefa110ff Bug 472529, websockets (netwerk patch), r=smaug+biesi
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
extra : rebase_source : 4f75d33eb4fc7cdaa1f011f176ef4434bbfe2c25
2010-06-17 21:33:42 +03:00
Justin Dolske
cc2d31e94b Bug 563274 - Overhaul nsIPrompt-related prompting code. r=gavin, sr=bs
--HG--
rename : toolkit/content/commonDialog.css => toolkit/components/prompts/content/commonDialog.css
rename : toolkit/content/commonDialog.js => toolkit/components/prompts/content/commonDialog.js
rename : toolkit/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xul
rename : toolkit/content/selectDialog.js => toolkit/components/prompts/content/selectDialog.js
rename : toolkit/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xul
2010-06-16 17:06:17 -07:00
Chris Jones
d53b8a18d0 Merged m-c 2010-04-27 01:53:06 -05:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Josh Matthews
340fad54df Bug 541174 - e10s HTTP: Improve how URIs are serialized (part1). r=dwitte 2010-04-09 18:26:36 +12:00
Doug Turner
6c196f14e2 Automerge with mc. no manual changes 2010-04-21 03:31:13 -07:00
Doug Turner
e35d8e72d5 Bug 545869 - Remove small buffer #defines and use preferences. r=honza 2010-04-20 09:32:28 -07:00
Chris Jones
09869cfb77 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Doug Turner
c15f159231 merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Taras Glek
b1eaf1cf2d Bug 516085 - replace the most frequent IOService getter with an efficient one r=biesi 2010-04-12 08:44:28 -07:00
Joe Drew
98f411e39e Bug 388195 - Remove gopher support. r=jduell,gavin sr=bz 2010-04-16 17:05:47 -04:00
Neil Rashbrook
2b593651ab Bug 571619 Drop support for aggregation with nsSimpleURI so that we can inherit nsSimpleNestedURI from it correctly r=biesi 2010-06-12 21:40:05 +01:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Justin Lebar
ca62b5df57 Bug 553970 - Fix nsIURL::GetRelativeSpec documentation. r=biesi
--HG--
extra : rebase_source : 874de0e571120e2b9034d924b4e4f33f808bc0f0
2010-03-22 13:29:51 -07:00
Kai Engert
3171f40058 Bug 549641, Firefox raises alarm (in error console) about SSL servers being vulnerable to CVE-2009-3555
r=rrelyea, r=honzab
2010-05-03 13:34:16 +02:00
Justin Lebar
ecbe0b409d Bug 554120: Fix out-of-bounds read in nsStandardURL.cpp. r=biesi 2010-03-22 00:36:38 -07:00
Brandon Sterne
674aa49910 Bug 515797: Allow necko to create channels that are aware of Content Security Policy. r=jduell, sr=biesi 2010-04-10 16:08:21 -04:00
Blake Kaplan
63886e99f2 Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Jason Duell
89ddf40c21 Bug 536279 (send request headers to chrome channel) and bug 536283 (send full nsHttpResponseHead in OnStartRequest) a=jae-seong r=dwitte,jduell 2010-03-23 08:14:36 -07:00
Jonas Sicking
aeb9ba77c3 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Boris Zbarsky
d60a23da49 Make the nsIChannel comments clearer in terms of threading behavior. r=biesi 2010-03-01 12:47:31 -05:00
bjarne@runitsoft.com
505a28d5cc Bug 513074 - remove sync writes from current cache, r=biesi,michal.novotny sr=bzbarsky 2010-02-23 10:13:18 -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
Kai Engert
5e46a26c8d Bug 535649 - Implement UI around CVE-2009-3555 and draft-rescorla-tls-renegotiation, r=rrelyea
== NSS 3.12.6 will block some renegotiation attempts on SSL sockets by default
== This patch does not yet implement new UI by default, but adds 4 new prefs to get fine grained control (blocking/allowing, displaying broken state)
== One of the prefs is a temporary pref that is supposed to go away at some point in the future
2010-02-07 13:09:51 +01:00
Phil Ringnalda
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -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
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
Jonathan Kew
830542e84e Bug 533079 Actually land patch addressing review comments from bug 507970 a=shaver r=biesi 2009-12-07 10:49:46 +00:00
timeless
83956299ff Bug 529773 - "nsProtocolProxyService::PrefsChanged / nsProtocolProxyService::Resolve_Internal don't behave cleanly when do_GetService(NS_SYSTEMPROXYSETTINGS_CONTRACTID) fails" (act like preference is Direct when SystemProxy isn't available) [r=biesi] 2009-12-03 01:31:55 -06:00
Jonas Sicking
a683373ce9 Fix mobile build bustage. Some compilers still don't seem to like L-strings spread out over several lines. r=crowder 2009-11-18 16:22:25 -08:00
Jonas Sicking
840c879ba2 Bug 529041: Deal with http channels not implementing nsIUploadChannel2. r=biesi 2009-11-18 15:21:13 -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
Mark Finkle
2a60c72d7a Bug 495674: Internet connection should be initiated if needed [r=biesi] 2009-11-18 10:20:45 -05:00
Dão Gottwald
1584886680 Bug 526230 - nsIApplicationCacheService::getGroups count outparam should be optional. r=honzab 2009-11-04 20:23:20 +01:00
Shawn Wilsher
b72759d65f b=522416; hang fix followup; r=bz 2009-10-18 13:40:49 -07:00
Ben Hsieh
14a9181f6b Bug 522025 - Incessant slew of GetURLSpecFromFile warnings. r=taras 2009-10-16 16:59:02 -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
Sid Stamm
fb4694efc4 Bug 519263 - Session and time-based expiration for permissions in permissions manager. r=dwitte,
sr=mrbkap. First patch! Yay!!
2009-10-16 14:01:04 -07:00
Taras Glek
f874b47f78 Bug 520069 - cope with nsResURLs that don't point to physical files r=biesi
--HG--
extra : rebase_source : 451622b7f43dfaafa6ea10b28e452dc65678a594
2009-10-08 11:19:07 -07:00
Ben Hsieh
3eab496287 Bug 510991 - NS_GetURLSpecFromFile does a stat(). r=biesi 2009-10-06 15:43:59 +02:00
Taras Glek
e2335c2699 bug 507288: move greprefs/*js into res/greprefs.js r=bsmedberg
cdiff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
2009-10-04 12:44:52 +02:00
Dão Gottwald
d83eea4025 Backed out changeset ddd79f809784 2009-10-04 12:44:27 +02:00
Dão Gottwald
1a1457de94 bug 507288: move greprefs/*js into res/greprefs.js r=bsmedberg
cdiff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
2009-10-04 12:43:18 +02:00
Ryan Flint
c249f3251a Bug 514415 - Expose NetUtil's reference to nsIIOService. r=sdwilsh, sr=bzbarsky 2009-10-03 01:11:20 -04:00
timeless@mozdev.org
6a6d71b334 Bug 491204 - Crash [@ NS_GetInnermostURI] from NS_EnsureSafeToReturn with broken nsIURI.clone, r=biesi 2009-05-04 15:00:00 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Marco Bonardo
72b6a79779 backout Bug 559927 since suspect of causing a Windows necko test failure 2010-04-29 13:27:10 +02:00
Julian Seward
d2d4feddf7 Bug 559927 - nsAsyncStreamCopier::mCopierCtx not consistently protected by ::mLock. r=cbiesi 2010-04-29 10:39:46 +02:00
Karl Tomlinson
bd6b4f7e1c backout 32502a2c5671 b=559492 due to seg fault in storage/test/test_transaction_helper.cpp possibly in DumpLeakedURLs 2010-04-29 10:40:11 +12:00
Karl Tomlinson
e41101f443 b=559492 only dump leaked URLs on successful shutdown r=dbaron
--HG--
extra : rebase_source : 5472d43f56d11e6090503777853b62a2fcf1a21c
2010-04-29 09:09:59 +12:00
Philip Prindeville
bf66838148 Bug 529921 browser part. Implement core support for RFC-2597/2598/3168 Quality-of-Service (DSCP) marking. r=biesi 2010-06-02 22:25:01 -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
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Boris Zbarsky
5812649a29 Bug 409500. Compute the right output length for our base64 decoding. r=jduell 2009-09-18 14:53:17 -04:00
Jonathan Kew
c99301388b Bug 507970, part 1: nsIStreamLoader changes to support downloadable font code, r=bzbarsky
--HG--
extra : rebase_source : d0142c7afc7b7788a76caf2a2508e7604c2b74f1
2009-09-17 11:14:25 +01:00
Makoto Kato
4cd8c7c8eb Bug 507312 - nsFileInputStream::available() throws for files >= 4,294,967,295 bytes (4 GB). r=cbiesinger 2009-09-16 14:50:32 +09:00
Dão Gottwald
1d0820d47f Backed out changeset 40811b076d51 2009-09-13 17:36:23 +02:00
Taras Glek
ac8ba115d1 Bug 507288 - move greprefs/*js into res/greprefs.js and add that to toolkit.jar. r=benjamin 2009-09-13 15:52:24 +02:00
Matin Movassate
d6945be650 Fixing bug 491201. Adding ability for XMLHttpRequest.send() to accept a File object. r+sr=jonas@sicking.cc, r=cbiesinger@gmail.com 2009-09-08 16:29:41 -07: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
Johnny Stenback
dae61e5c95 Backed out changeset 7d5e1bcb4729 due to mochitest errors. 2009-08-31 14:57:45 -07:00
Matin Movassate
fb202885f6 Resolving bug 491201. Added ability for XMLHttpRequest.send() to accept an nsIDOMFile. r+sr=jonas@sicking.cc, r=cbiesinger@gmail.com 2009-08-31 14:07:16 -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
Vladimir Vukicevic
8025aafe1c b=511808, disable Camellia on Windows CE until alignment bug is fixed; r=jduell 2009-08-24 11:07:48 -07:00
Neil Rashbrook
6703d55afc Bug 408599 Expose nsSimpleNestedURI to XPCOM r=biesi sr=bz 2009-08-23 23:48:07 +01:00
Justin Dolske
1b26f9a08b Bug 380917 - Remove old password manager .idl and .h files. r=mconnor 2009-08-20 15:17:30 -07:00
Justin Dolske
5c8fe7b1db Bug 510627 - Windows CE hanging on some SSL sites. r=vladimir sr=cbiesinger 2009-08-20 15:17:29 -07:00
Navin Lal
7d36965d96 Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Masatoshi Kimura
1fcebc0492 Bug 493483 - "No proxy for" setting doesn't support IPv6 address literals. r=jduell, sr=bz 2009-08-11 10:28:34 +02:00
Kai Engert
fd9b2056dc Bug 478839 - Support South Korean SEED crypto cipher suites. r=nelson 2009-08-09 09:19:06 +02:00
Mook
c76fd52119 Bug 504025 - [windows x64] casting pointer to long is illegal on win64; cast to PRUptrdiff for printing out pointers; r=cbiesinger
--HG--
extra : rebase_source : 9e9c5bc75f6d0c364bdd3d92b4b543da9f94b3bb
2009-08-09 00:50:42 +02:00
Mook
3aac38d487 Bug 504025 - [windows x64] casting pointer to long is illegal on win64; don't cast HANDLE to UINT either; r=doug.turner sr=cbiesinger
--HG--
extra : rebase_source : fe76a36b0ea21d3180883fc86772da029714b9da
2009-08-09 00:50:36 +02:00
L. David Baron
2280282428 Merge re-enabling of leaked URL dump. 2009-08-07 08:23:30 -07:00
L. David Baron
67e0d56fdf Backed out changeset bae405b94b96 (testing to see if it affected bug 505718, bug 508767) to re-enable leaked url dump for unit test boxes. 2009-08-07 08:23:15 -07:00
L. David Baron
fd82d36325 Try disabling DEBUG_DUMP_URLS_AT_SHUTDOWN to see if it's responsible for the unit test shutdown hangs (bug 505718, bug 508767) 2009-08-06 11:29:08 -07: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
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
Honza Bambas
66ab2c6182 Bug 475053 - Implement asyncPromptAuth to fix multiple password prompt overlap, r=bzbarsky+dolske 2009-07-20 20:29:41 +02:00
Honza Bambas
0ca2f9d3e2 backing out 0a13ddc99c95, bug 475053 2009-07-20 20:00:49 +02:00
Honza Bambas
8236bd055e Bug 475053 - Implement asyncPromptAuth to fix multiple password prompt overlap, r=bzbarsky+dolske 2009-07-20 17:25:05 +02:00
Doug Turner
a2e8253fb1 Bug 490663 - Autodialer does not work on proxied connections. r=blassey, sr=vlad 2009-07-08 10:52:45 -07:00
Mark Finkle
de81a851f5 Bug 499852: up network thread priority on Windows CE, r=vlad, sr=biesi 2009-07-06 15:20:10 -04:00
Vladimir Vukicevic
a32c418d58 b=499852; up network thread priority on Windows CE; r=jduell,sr=biesi 2009-07-01 11:35:56 -07: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
Florian Queze
de037324a8 Bug 316071 - Software Update progress bar updates in 300k chunks, making it look stalled for dialup users. r=biesi 2009-06-16 10:46:40 +02:00
Arpad Borsos
a797cac310 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
L. David Baron
8124f7c658 Dump list of leaked nsStandardURL objects at shutdown in builds with leak logging enabled, to give us more insight into the portion of the random orange that is random leaks. 2009-06-10 08:51:03 -04:00
Kai Engert
361a0c664d Bug 431819, IMAP/POP/SMTP/LDAP with SSL client auth, Thunderbird repeatedly prompts for client certificate
(applies to firefox with SSL client auth, too)
r=relyea for an earlier patch that was checked in to mozilla-1.8.x more than a year ago
r=honzab on the diff on top of that earlier patch
a=beltzner for landing on restricted trunk
2009-05-21 00:21:51 +02:00
Daniel Veditz
4210f1b6a9 bug 491801 the no_auth URLparser needs to enforce no_auth, r=jduell, sr=biesi 2009-05-16 20:21:35 -07:00
timeless@mozdev.org
a3369e8a4f Bug 477934 nsSafeFileOutputStream (prefs.js) not safe from system crashes
r=biesi
2009-03-12 13:13:00 +01:00
L. David Baron
52cbbf22c8 Backed out changeset 240fa475d2b0 (temporary leak debugging code). 2009-05-08 21:37:28 -07:00
L. David Baron
735bc96f70 Temporarily land patch to dump leaked nsStandardURL objects at shutdown, to give us more insight into the portion of the random orange that is random leaks. a=josh for CLOSED TREE 2009-05-08 14:26:33 -07:00