Commit Graph

170 Commits

Author SHA1 Message Date
Mike Conley
77af80c31b Bug 1141337 - Update nsIWebBrowserPersistable to allow subframe targeting for Save Frame As. r=jld
This alters nsIWebBrowserPersistable so that startPersistence takes an
outerWindowID. This allows us to target a particular subframe from
beneath an nsFrameLoader, which is useful when attempting to Save
Frame As a remote browser.

--HG--
extra : commitid : KWck2rfRjXw
extra : rebase_source : d2390a8cf1b830e4e1c0fa52574455fbc0b05c14
2015-08-06 10:44:16 -04:00
Jed Davis
8e520c9196 Bug 1193903 - Improve error reporting for out-of-process saveBrowser(). r=mconley 2015-08-13 18:08:02 -07:00
Jed Davis
f9cdea85fa Bug 1101100 - Multiprocess-enable nsWebBrowserPersist. r=billm
The high-level overview is that the parts of nsWebBrowserPersist which
access the DOM have been factored out (as WebBrowserPersistLocalDocument)
and abstracted (nsIWebBrowserPersistDocument) such that they can be
implemented in the cross-process case using IPC.
2015-08-05 14:25:39 -07:00
Jimmy Wang
df7dcddd7e Bug 1040947 - Opening page info from a remote tab is sluggish. r=florian 2015-07-08 17:18:38 -04:00
Mike Conley
b8a798520c Bug 1128050 - [e10s] Save page as... doesn't always load from cache. r=billm.
--HG--
extra : rebase_source : 1872cdceb2e9f8c29a89d917ee309db8637408de
2015-05-04 21:58:21 -04:00
Jim Mathies
1aaae619de Bug 1122525 - On right-click query in advance media related information from the image cache and forward this info to chrome with the contextmenu event. r=mconley 2015-03-31 12:59:06 -05:00
Magnus Melin
2dc073b53b Bug 1135212 - ReferenceError: Ci is not defined (in contentAreaUtils.js). r=Gijs 2015-02-20 22:52:06 +02:00
Bill McCloskey
45326aa769 Bug 1127927 - Make link saving safe for e10s (r=mconley) 2015-02-11 12:55:29 -08:00
Christoph Kerschbaumer
ccbc3fafc9 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/content/ (r=bsmedberg) 2015-02-10 20:50:02 -08:00
Philip Chee
f18311f96b Bug 1110036 - "Save As" stops working from "Page Info" > "Media" pane. Progress of downloading is 0% forever r=sstamm 2014-12-17 01:09:12 +08:00
Sid Stamm
f797c407f5 Bug 1103280 - remove references to undefined REFERRER_POLICY_DEFAULT symbol. r=billm 2014-11-22 05:14:00 +01:00
Jed Davis
e137fa09a7 Bug 1058251 - Make "Save As" work in e10s without "Web Page, complete" mode. r=mconley f=paolo
--HG--
extra : amend_source : 6185bb1dd3e503c46ee2b452b36b64813fd2dc3a
2014-11-18 11:35:47 -08:00
Sid Stamm
63f8cd4e13 Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Paolo Amadini
9af8f10a05 Bug 985318 - Convert to Promise.jsm in the Toolkit "content" folder. r=mak 2014-03-20 11:04:37 +01:00
Bill McCloskey
6fd99b1808 Bug 961529 - Add BrowserUtils module (r=felipe) 2014-02-08 17:40:27 -08:00
Marco Bonardo
3a79e9b75a Bug 945707 - Pausing a download fails when done after a retry. r=paolo 2014-01-29 17:00:17 -05:00
Raymond Lee
b420bd9fc0 Bug 875731 - /toolkit/content/ Replace callers of nsIDownloadManager.usersDownloadsDirectory with Downloads.getUserDownloadsDirectory. r=paolo 2013-10-25 14:03:18 +08:00
Dão Gottwald
9a0dd76982 Bug 914748 - Let openURL call openUILinkIn rather than browserDOMWindow.openURI, as the latter may do nothing and return null. r=felipe
--HG--
extra : rebase_source : ca103aae1589352bd5ee3d9deb8c23f2770d912e
2013-09-16 11:27:22 +02:00
Doug Turner
3de9e6a0cf Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Drew Willcoxon
b7e11dbae6 Bug 906276 - Add attribute to nsIDocShell to disable content retargeting. r=jlebar, sr=biesinger 2013-08-24 01:10:50 -07:00
Felipe Gomes
914c44d4d7 Bug 854299 - Part 4. Add a callback function to contentAreaUtils's getTargetFile. r=adw 2013-04-01 03:13:37 -03:00
Ms2ger
bfb2ade97b Backout changesets a255a998af6e:9c72d5cfe1fb for bc orange. 2013-04-01 12:00:49 +02:00
Felipe Gomes
e22099b82a Bug 854299. Part 4. Add a callback function to contentAreaUtils's getTargetFile. r=adw 2013-04-01 03:13:37 -03:00
Dão Gottwald
50d99510cf Backed out changeset f029edccac09 2013-03-18 16:46:17 +01:00
Josh Matthews
1a96454dca Bug 847971 - Make openURL select recent windows that match the current privacy state. r=dolske
--HG--
rename : browser/modules/RecentWindow.jsm => toolkit/modules/RecentWindow.jsm
2013-03-14 17:41:52 -04:00
Saurabh Anand
664f20a153 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
08cb53175c Bug 802668 - Use Service.jsm in toolkit/content/contentAreaUtils.js. r=gavin 2012-10-18 15:44:36 +01:00
Philip Chee
087efdaacf Bug 795065 - SeaMonkey bustage fix. r=mak 2012-10-08 21:01:29 -04:00
Josh Matthews
a9c2289382 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
44a8d6faa6 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
13630d0f8f 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
be721d5624 Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz 2012-10-03 13:10:20 -04:00
Josh Matthews
c5574afd30 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
c697119a08 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
f83e43c722 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
a36f961729 Bug 722995 - DownloadLastDir.jsm uses global Private Browsing state to make decisions, r=ehsan 2012-07-21 11:25:37 +05:30
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Marco Castelluccio
d5ab7999ee Bug 728749 - Faster plugins check tab. r=gavin 2012-05-17 17:53:05 -04:00
Dão Gottwald
3216b07af4 Bug 720984 - contentAreaUtils.js: getTargetFile leaks gDownloadLastDir into the global scope. r=gavin 2012-01-26 13:09:45 +01:00
Jonathan Kew
66db6a416a backout ad84dd34e531 (bug 720984) for xpcshell test failures. 2012-01-26 11:16:08 +00:00
Dão Gottwald
a606a2e469 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
5d1ade2f4b 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
90af140600 Bug 620666 - urlSecurityCheck should include the principal uri in its exception; r=dao 2010-12-22 06:10:00 -05:00
Alon Zakai
3c7159de0d 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
57ade91b4c 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
f90168fb7f Bug 475283 - Replace getStringBundle() with ContentAreaUtils.stringBundle. r=gavin
--HG--
extra : rebase_source : 887eab46d0104e2692fe74b631e6be2562efcb2c
2010-03-25 14:16:20 +01:00
Blair McBride
239ca6d319 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
b524a66e69 Bug 508526 - Make gDownloadLastDir smarter; r=mconnor 2009-08-25 13:52:43 +04:30
Paolo Amadini
5c0b5a959f 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