Commit Graph

58 Commits

Author SHA1 Message Date
Saurabh Anand
40da363771 Bug 722995 - Part 2: Make DownloadLastDir.jsm use per-window privacy status instead of global service. r=ehsan 2012-07-21 11:24:41 +05:30
OHZEKI Tetsuharu
a405360341 Bug 802668 - Use Service.jsm in toolkit/content/contentAreaUtils.js. r=gavin 2012-10-18 15:44:36 +01:00
Philip Chee
de0d682be7 Bug 795065 - SeaMonkey bustage fix. r=mak 2012-10-08 21:01:29 -04:00
Josh Matthews
e7055454ba Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -04:00
Ryan VanderMeulen
9f8074ca32 Backout e5269e137290, (bug 794606), e94dbc151121 (bug 794602), and 0ea0cfc7f6f4 (bug 792821) due to mochitest-other orange on a CLOSED TREE. 2012-10-04 19:34:19 -04:00
Josh Matthews
9fa9982775 Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -04:00
Josh Matthews
f8bc15a806 Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz 2012-10-03 13:10:20 -04:00
Josh Matthews
26c7f1fdc8 Bug 789546 - Convert all JS users of imgICache service to use privacy-aware imgITools API instead. r=ehsan 2012-09-17 12:18:40 -04:00
Chris Peterson
c7ce00040e Bug 254139 - Prefer document title over original filename for default "Save Page As" filename. r=gavin ui-r=madhava 2012-08-03 00:12:24 -07:00
Ryan VanderMeulen
dabaa78a3b Backout 53d053772879, e68d8406541e, 1a18d1d71ddf, 705c22e17976, 73f73097fb1a, and 8b28f53415fe (bug 722995) due to frequent linux32 mochitest-other orange. 2012-07-21 14:29:50 -04:00
Saurabh Anand
02d334a579 Bug 722995 - DownloadLastDir.jsm uses global Private Browsing state to make decisions, r=ehsan 2012-07-21 11:25:37 +05:30
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Castelluccio
de4bc058e0 Bug 728749 - Faster plugins check tab. r=gavin 2012-05-17 17:53:05 -04:00
Dão Gottwald
50ad4b2ada Bug 720984 - contentAreaUtils.js: getTargetFile leaks gDownloadLastDir into the global scope. r=gavin 2012-01-26 13:09:45 +01:00
Jonathan Kew
b740f11816 backout ad84dd34e531 (bug 720984) for xpcshell test failures. 2012-01-26 11:16:08 +00:00
Dão Gottwald
7613908f1c Bug 720984 - contentAreaUtils.js: getTargetFile leaks gDownloadLastDir into the global scope. r=gavin
--HG--
extra : rebase_source : 7c6959f7e854c34262acddd3e1a174ce165abf39
2012-01-26 10:57:47 +01:00
Geoff Lankow
e0eb9adbb1 Bug 536503 - Last downloaded-to directory should be remembered on a site-by-site basis. r=gavin 2011-06-10 11:19:16 +12:00
Mano
7560baf014 Bug 620666 - urlSecurityCheck should include the principal uri in its exception; r=dao 2010-12-22 06:10:00 -05:00
Alon Zakai
1a8e6f3025 bg 624344 - File name not parsed correctly while trying to save page via 'Save link' r=enn a=blocking-fennec 2011-03-04 18:29:01 -05:00
Paolo Amadini
702a3057a6 Bug 485196 - Web page generated by POST is retried as GET when Save Frame As used, and the page is no longer in the cache. r=smaug, r=gavin
--HG--
rename : toolkit/content/tests/browser/browser_bug471962.js => toolkit/content/tests/browser/browser_save_resend_postdata.js
extra : rebase_source : e985407c54fcd0f138bb7c1bf350356aa4dec2de
2010-06-08 03:15:00 -04:00
Paolo Amadini
b4046efec1 Bug 475283 - Replace getStringBundle() with ContentAreaUtils.stringBundle. r=gavin
--HG--
extra : rebase_source : 887eab46d0104e2692fe74b631e6be2562efcb2c
2010-03-25 14:16:20 +01:00
Blair McBride
c4a43f3551 Bug 468881 - Save Frame As… option appears when not necessary in File Menu. r=dao, ui-r=beltzner 2009-10-02 08:21:48 +02:00
Ehsan Akhgari
7c5a530f5e Bug 508526 - Make gDownloadLastDir smarter; r=mconnor 2009-08-25 13:52:43 +04:30
Paolo Amadini
7b5cd072e9 Bug 498695 - Refactoring: in contentAreaUtils.js, clean up the getTargetFile function, aligning it to the SeaMonkey version; r=(mconnor + sdwilsh) 2009-08-08 12:01:50 +02:00
Dão Gottwald
930df1b2af Backed out changeset 27b53ca1b085 2009-07-29 10:49:59 +02:00
Ehsan Akhgari
0a02e029df Bug 506111 - consolidate getService calls in browser.js. r=dao 2009-07-29 08:22:12 +02:00
Nochum Sossonko
3f2b8bfc51 Bug 506116 - speed up makeURI(str) and use it in browser.js. r=gavin, sr=vlad 2009-07-29 07:55:03 +02:00
Gavin Sharp
082f188dcb Backed out changeset 870f451d8385 from bug 506116 2009-07-28 03:41:07 -04:00
Nochum Sossonko
8b1e3cbd38 Bug 506116 - speed up makeURI(str) and use it in browser.js. r=gavin, sr=vlad 2009-07-28 08:01:31 +02:00
Michael Kohler
0a56a892c8 Bug 106386 - Correct misspellings in source code (old); Part 3 v2; r=timeless 2009-07-27 10:47:05 +02:00
Ehsan Akhgari
bce5e59eed Bug 504513 - DownloadLastDir.jsm is imported during startup; r=gavin 2009-07-17 23:08:19 +04:30
Mark Smith
bb426c0819 Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Paolo Amadini
0dc12d3413 Bug 471875 and bug 300032. Refactor the saving code in contentAreaUtils a bit, and make sure that POST data gets correctly sent when saving non-HTML documents (e.g. text, image, etc). r=bzbarsky 2009-03-30 14:47:31 -04:00
Ehsan Akhgari
36e86d63df Bug 485187 - Rename gDownloadLastDir.path to gDownloadLastDir.file and gDownloadLastDirPath to gDownloadLastDirFile; r=gavin 2009-03-28 11:20:36 +03:30
Gavin Sharp
b42d0c252d Bug 471962: wrong post data sent when saving an inner frame, r=bzbarsky 2009-03-16 14:47:19 -04:00
Ehsan Akhgari
f6cd477e73 Bug 464795 - Persist "save as" directory during private browsing, but restore previous value after (follow-up fix); r=gavin 2009-03-12 12:27:53 +03:30
Boris Zbarsky
108bd126ea Bug 480318. Fix getting of content-disposition for the document save-as case. r=gavin 2009-02-26 15:40:26 -05:00
Boris Zbarsky
73f6060a8c Bug 84106. Actually pass a cache key to web browser persist so that POST result pages have a chance of being read from cache. Also change nsWebBrowserPersist to accept a session history entry, not just an nsIWebPageDescriptor or necko cache key, as its cache key argument. r=gavin, r+sr=jst 2009-02-19 14:18:02 -05:00
Ehsan Akhgari
7e27b6ead9 Bug 464795 - Persist "save as" directory during private browsing, but restore previous value after; r=gavin 2009-01-13 21:30:05 +03:30
Justin Wood
84ff4d07b7 Bug 463772, Make choice of skipping prompt for getTargetFile obvious (comment changes)
Also include minor context-menu fix.
r=sdwilsh, a1.9.1b2=beltzner
2008-11-15 18:19:10 -05:00
Ehsan Akhgari
afff8329d0 Bug 463888 - Do not persist the "Save As" location in private browsing mode; r=gavin, a=blocking-firefox3.1+ 2008-11-14 02:04:41 +03:30
Serge Gautherie
6f72cab4f0 Bug 311672 – Remove the obsolete 2nd parameter from |nsIStringBundleService::createBundle(...)| "JS" callers. r=zeniko/mano 2008-07-12 11:56:02 +02:00
reed@reedloden.com
ec05175542 Bug 408819 - "Port bug 305679 to Toolkit" (Av1-TK) [p=sgautherie.bz@free.fr (Serge Gautherie) r=Mano a1.9=schrep] 2007-12-19 03:25:20 -08:00
reed@reedloden.com
b50a945635 Bug 160454 - "Eliminate use of HEAD in "save as"" ((AAv1) cleanup |getFileBaseName()| usages) [p=sgautherie.bz@free.fr (Serge Gautherie) r=Mano sr=Neil a1.9=beltzner] 2007-12-17 21:48:09 -08:00
reed@reedloden.com
5639cdc712 Bug 405653 - "Synchronize /suite and /toolkit <contentAreaUtils.js>" ((Av1a-TK) whitespace/++ cleanup) [p=sgautherie.bz@free.fr (Serge Gautherie) r=Mano a1.9=schrep] 2007-12-11 01:57:36 -08:00
reed@reedloden.com
9fbbe371b5 Bug 402458 - "saveDocument func calls internalSave with aSkipPrompt param in the wrong position @ contentAreaUtils.js:168" [p=sgautherie.bz@free.fr (Serge Gautherie) r=Mano sr=Neil a=blocking-firefox3+] 2007-11-26 16:25:43 -08:00
gavin@gavinsharp.com
9bbd030b5d Remove DOS newline introduced by the patch for bug 395534 2007-11-11 12:25:34 -08:00
reed@reedloden.com
8ea52757d3 Bug 395534 - "browser.download.lastDir is ignored when right-clicking and "Save Link As ..." when browser.download.useDownloadDir is true" [p=jimm r=gavin a=blocking-firefox3+ for M9] 2007-10-18 21:27:16 -07:00
gavin@gavinsharp.com
84e115b359 Bug 393247: Downloads no longer remember last download directory, patch by Jim Mathies <jmathies@mozilla.com>, r=me 2007-09-04 09:21:34 -07:00
gavin@gavinsharp.com
67b44962f8 Fix newlines 2007-08-29 12:58:59 -07:00