528 Commits

Author SHA1 Message Date
dolske%mozilla.com
a12d928259 Bug 299372 - Content-Disposition headers no longer looked at for Save Link As filename. original-patch=dmose, r=mconnor, r=biesi, a=blocking-ff3+
git-svn-id: svn://10.0.0.236/trunk@249028 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-03 03:02:10 +00:00
vladimir%pobox.com
16ef7879a3 backing out patch for bug 299372 for b4, as per bug 420481
git-svn-id: svn://10.0.0.236/trunk@246906 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 07:31:38 +00:00
dmose%mozilla.org
c62e164aa7 Use Content-Disposition headers for "Save Link As", when available (bug 299372); r=mconnor (browser bits), r/sr=biesi (uriloader bits), ui-r=beltzner, a1.9b4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246817 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 23:59:20 +00:00
reed%reedloden.com
ba0dc7bcab Bug 399233 - "Phishing UI hidden by content, inconsistent with malware" [p=johnath r=tony r=biesi ui-r=beltzner a=blocking-firefox3+ for M9]
git-svn-id: svn://10.0.0.236/trunk@238312 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 18:29:18 +00:00
dcamp%mozilla.com
1a066ed8a8 block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@233523 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:18:48 +00:00
kaie%kuix.de
a3f618e69c bug 386654, Implement notification for EV certs
r=rrelyea, sr=bzbarsky, a=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@232960 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 20:13:50 +00:00
bzbarsky%mit.edu
c28e470e60 Put our load into the newly-created loadgroup when we go and create one. Bug
383961, r+sr=biesi, a=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@232938 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 17:37:40 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
bzbarsky%mit.edu
c747f19f60 Make <object> do the same text/plain sniffing that <iframe> does, and use the
content type hint if the type comes back as application/octet-stream or
sniffed-binary.  Bug 389677, r+sr=biesi, a=sicking


git-svn-id: svn://10.0.0.236/trunk@232437 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 03:26:13 +00:00
sdwilsh%shawnwilsher.com
cdb30286b8 Bug 391870 - Have the download manager store the referring uri when appropriate (and use it in the front end). r=mano, r=cbiesinger, sr=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@232302 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 23:05:28 +00:00
cbiesinger%gmx.at
811a46363f Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@230234 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:37:40 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sdwilsh%shawnwilsher.com
76f9eb283a Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@227505 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 00:03:36 +00:00
sdwilsh%shawnwilsher.com
c4b3038709 Bug 380250 - Convert Download Manager's RDF backend to mozStorage. r=cbiesinger,r=mconnor
git-svn-id: svn://10.0.0.236/trunk@226764 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 00:03:35 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
mozilla.mano%sent.com
ebcefa5a98 Bug 83265 - Add a way to disable HTTP-EQUIV=refresh. patch from Mark Pilgrim <pilgrim@gmail.com>, r=biesi,mano,mento. sr=bz.
git-svn-id: svn://10.0.0.236/trunk@219699 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 13:15:50 +00:00
bzbarsky%mit.edu
abf33a80b2 Fix handling of subsubframes appended from an onload handler for a subframe so
that the onload handler of the toplevel document will fire after all.  Bug
315056, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@213834 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 00:51:54 +00:00
bzbarsky%mit.edu
d5a75db7bf Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@213730 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-17 00:55:14 +00:00
bzbarsky%mit.edu
a450d306cc Need to make this protected too. More Windows bustage. Bug 330089
git-svn-id: svn://10.0.0.236/trunk@200668 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 04:39:42 +00:00
bzbarsky%mit.edu
04793cf604 Make method protected to fix Windows bustage. Bug 330089.
git-svn-id: svn://10.0.0.236/trunk@200663 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 03:07:02 +00:00
bzbarsky%mit.edu
96e3dab40b Don't fire onload on a parent frame while we're in the middle of executing a
child's onload.  Bug 330089, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@200657 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 01:17:47 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
cbiesinger%web.de
fb58925c66 bug 336108 add OOM check. r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@195767 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 18:37:08 +00:00
bzbarsky%mit.edu
2cab058f54 Don't go out to the helper app service if we're dealing with an error page.
Bug 312727, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195577 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:00:36 +00:00
brettw%gmail.com
01f2446de3 Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history.
git-svn-id: svn://10.0.0.236/trunk@189041 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 20:52:18 +00:00
neil%parkwaycc.co.uk
9529062b1f Bug 245725 Make downloads display an approximation to the current transfer rate rather than the overall average speed p=son.le0@gmail.com r=biesi sr=me
git-svn-id: svn://10.0.0.236/trunk@188986 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 00:34:30 +00:00
cbiesinger%web.de
2e9007e686 bug 325504 Document the category for content listeners, and the nsISupportsWeakReference requirement for listeners added dynamically. r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@188761 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 18:37:37 +00:00
cbiesinger%web.de
a8bf94019e bug 321932 r=bz sr=darin
Better handle the case where channels don't implement isPending correctly


git-svn-id: svn://10.0.0.236/trunk@188388 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 14:06:31 +00:00
cbiesinger%web.de
6c2c34bc30 bug 273971 patch by Son Le <son.le0@gmail.com> r=biesi sr=neil
- make nsIDownload::currBytes and maxBytes use bytes rather than kilobytes
- make transfers of unknown size use the right size
  - send mProgress rather than mContentLength as the current progress in OnStateChange


git-svn-id: svn://10.0.0.236/trunk@186255 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 15:25:22 +00:00
cbiesinger%web.de
ab0c43a10c 309525 add a method to nsIURILoader that accepts a (possibly already opened)
channel and returns a streamlistener for getting the data. Add a flag
DONT_RETARGET for ensuring that content will load in a specific docshell or not
at all.

Also, fix nsChromeProtocolHandler to correctly implement IsPending.

r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@186205 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-17 18:26:25 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
aa4d5b1343 Make sure to save our parent off before we call onload so we can tell it to
check whether it should also fire onload.  Bug 300849, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184163 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:40:22 +00:00
bzbarsky%mit.edu
945d5c061c When doing text/plain sniffing, don't let the special MIME types we use for the
purpose leak out of the URILoader/exthandler combination.  Bug 300027, r=biesi,
sr=darin, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176002 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:48:01 +00:00
bzbarsky%mit.edu
ddd26b7da5 Fix bug 299553 by calling DocLoaderIsEmpty() when we stop the docloader.
r=biesi, sr=darin, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175999 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:43:30 +00:00
cbiesinger%web.de
dd25bcee0f Bug 298842 make the temp file part of nsITransfer
r=mconnor sr=darin a=shaver


git-svn-id: svn://10.0.0.236/trunk@175720 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 23:12:22 +00:00
bryner%brianryner.com
3274ca4c10 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
pedemont%us.ibm.com
c9f6e9439e Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@172951 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 16:30:03 +00:00
cbiesinger%web.de
75f2a6ce48 Bug 290648 make nsITransfer::init take an nsICancelable, and remove the observer attribute
r=bz sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@172674 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-24 21:16:28 +00:00
pedemont%us.ibm.com
eba175a2db Fix Javaconnect build bustage
git-svn-id: svn://10.0.0.236/trunk@171862 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:58:52 +00:00
cbiesinger%web.de
ae06f2015c 228968 r=bz sr=darin
- add a new nsIWebProgressListener2 interface, inheriting from
  nsIWebProgressListener, providing a 64-bit onProgressChange method
- make nsITransfer inherit from that interface, and remove an unused
  progressListener attribute
- make webbrowserpersist support listeners that implement
  nsIWebProgressListener2, and give them 64-bit progress values
- make nsIHelperAppLauncher's listener setWebProgressListener function take an
  nsIWebProgressListener2 interface

And fix up all implementations according to that.


git-svn-id: svn://10.0.0.236/trunk@171744 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:24:23 +00:00
darin%meer.net
79a303762b fixes bug 286506 "warning: locally defined symbol ... imported in function ..." r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@170922 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-19 20:35:35 +00:00
cbiesinger%web.de
af30395567 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@170312 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:46:06 +00:00
bzbarsky%mit.edu
7a84efbcc5 Make documentation a little more explicit about the ownership model. Bug
283108, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169636 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 06:14:44 +00:00
darin%meer.net
2f1d8a824a s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@169576 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 22:21:21 +00:00
darin%meer.net
55f157bc26 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169569 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 20:58:01 +00:00
darin%meer.net
cbaa8c91c2 fixes bug 276720 "HTTP 204/205 responses should not cause STATE_TRANSFERRING events to be synthesized" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@169144 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-12 00:40:46 +00:00
cbiesinger%web.de
3865c997cd Bug 281130 rename NS_DOWNLOAD_CONTRACTID to NS_TRANSFER_CONTRACTID to better
reflects its purpose
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@168909 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 14:35:46 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
pedemont%us.ibm.com
e4e80b4e8b Need to add nsITransfer to JAVA_XPIDLSRCS as result of bug 241082
git-svn-id: svn://10.0.0.236/trunk@167738 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 17:44:39 +00:00