Yoshi Huang
836f7732eb
Bug 1210459: Add originAttributes for tests that implement nsILoadContext. r=bholley
2015-09-30 18:14:12 -07:00
Tooru Fujisawa
7ff6b0aae3
Bug 1207497 - Part 1: Remove use of expression closure from toolkit/, exept tests. r=Gijs
...
--HG--
extra : commitid : 7TOGiSg7KEL
extra : rebase_source : e6c1672e9b7e9d18aa4a430051789b5962c0ec14
2015-09-24 21:20:04 +09:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Gijs Kruitbosch
115bc7f78f
Bug 1115248 - let DownloadLastDir work even if the window it depends on goes away, r=felipe
...
--HG--
extra : rebase_source : 79decdb5e95dc3b31cd97d806705f16444eb4e31
2015-01-16 11:50:32 +00: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
Abhishek Potnis
7e112e2563
Bug 986499 - Make the calls to import Deprecated.jsm lazy. r=yoric
2014-03-28 10:36:48 -04:00
Drew Willcoxon
79b0077e76
Bug 850219 - Mark nsIContentPrefService as deprecated in favor of nsIContentPrefService2. r=mak
2013-08-08 20:38:49 -07:00
Felipe Gomes
cab4832d46
Bug 854299 - Part 2. Update DownloadLastDir.getFile. r=adw
2013-04-01 03:08:49 -03:00
Felipe Gomes
d71be8c99e
Bug 850210 - Part 3. Update DownloadLastDir usage of removePrefsByName to nsIContentPrefService2. r=adw
2013-04-01 02:59:17 -03:00
Ms2ger
bfb2ade97b
Backout changesets a255a998af6e:9c72d5cfe1fb for bc orange.
2013-04-01 12:00:49 +02:00
Felipe Gomes
553a38cfb8
Bug 854299 - Part 2. Update DownloadLastDir.getFile. r=adw
2013-04-01 03:08:49 -03:00
Felipe Gomes
51a88cc1a3
Bug 850210 - Part 3. Update DownloadLastDir usage of removePrefsByName to nsIContentPrefService2. r=adw
2013-04-01 02:59:17 -03:00
Ryan VanderMeulen
7bdca2ee17
Backed out changeset badf8d382f79 (bug 850210) for frequent mochitest-bc failures on a CLOSED TREE.
2013-03-30 16:48:44 -04:00
Felipe Gomes
2d0c4246fb
Bug 850210 - Part 3. Update DownloadLastDir usage of removePrefsByName to nsIContentPrefService2. r=adw
2013-03-29 23:08:52 -03:00
Kyle Huey
0469a02b25
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Josh Matthews
fda5be2065
Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan
2012-06-30 07:50:07 -07: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
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
Geoff Lankow
78cce20bd9
Bug 684107 followup - stop importing XPCOMUtils.jsm and Dict.jsm into DownloadLastDir.jsm; r=gavin
2012-01-20 19:58:38 +13:00
Geoff Lankow
39535e4788
Bug 702748 - Use a pref for disabling per-site remembering of download directory; r=gavin.sharp, a=khuey
2011-12-12 17:31:50 +13:00
Geoff Lankow
098fc289ac
Bug 684107 - Remove private browsing code from DownloadLastDir.jsm after bug 679784 is fixed; r=ehsan
2011-09-03 22:02:32 +12: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
Mitchell Field
81469fca2d
Bug 461444: remove cases of excessive recursion in makefiles r=ted
...
--HG--
rename : toolkit/mozapps/downloads/src/DownloadLastDir.jsm => toolkit/mozapps/downloads/DownloadLastDir.jsm
rename : toolkit/mozapps/downloads/src/DownloadUtils.jsm => toolkit/mozapps/downloads/DownloadUtils.jsm
rename : toolkit/mozapps/downloads/src/nsHelperAppDlg.js.in => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/src/LightweightThemeManager.jsm => toolkit/mozapps/extensions/LightweightThemeManager.jsm
rename : toolkit/mozapps/extensions/src/nsAddonRepository.js => toolkit/mozapps/extensions/nsAddonRepository.js
rename : toolkit/mozapps/extensions/src/nsBlocklistService.js => toolkit/mozapps/extensions/nsBlocklistService.js
rename : toolkit/mozapps/extensions/src/nsExtensionManager.js.in => toolkit/mozapps/extensions/nsExtensionManager.js
rename : toolkit/mozapps/extensions/public/nsIAddonRepository.idl => toolkit/mozapps/extensions/nsIAddonRepository.idl
rename : toolkit/mozapps/extensions/public/nsIExtensionManager.idl => toolkit/mozapps/extensions/nsIExtensionManager.idl
rename : toolkit/mozapps/handling/src/nsContentDispatchChooser.js => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/shared/src/CertUtils.jsm => toolkit/mozapps/shared/CertUtils.jsm
rename : toolkit/mozapps/shared/src/FileUtils.jsm => toolkit/mozapps/shared/FileUtils.jsm
2010-01-27 11:16:53 -08:00