Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Andrew Swan 5246947c06 Bug 1308295 part 2: add extension prompts to InstallTrigger r=rhelmer
Logic for displaying addon installation confirmation prompts that
was previously in the Installer helper class is now rolled into the
prompts that are issued from AddonInstall.

MozReview-Commit-ID: HGZTqDZMgNQ

--HG--
extra : rebase_source : a7caaee24ffb0557b00c192fe01357a1ac2417bf
extra : source : 73440e18fc824662390fee130aab4a86cf6af60d
2017-01-05 16:35:07 -08:00
Sebastian Hengst 22246e78b5 Backed out changeset c0f94e1d6f11 (bug 1308295) 2017-01-10 17:56:28 +01:00
Andrew Swan bfb895757c Bug 1308295 part 2: add extension prompts to InstallTrigger r=rhelmer
Logic for displaying addon installation confirmation prompts that
was previously in the Installer helper class is now rolled into the
prompts that are issued from AddonInstall.

MozReview-Commit-ID: HGZTqDZMgNQ

--HG--
extra : rebase_source : 960a0a33795ff3578e3ee9365670f6a47e351e5c
extra : source : 73440e18fc824662390fee130aab4a86cf6af60d
2017-01-05 16:35:07 -08:00
Jared Wein 9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein 7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dave Townsend 0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Dave Townsend e2b946adfc Bug 1226386: Remove functions names where possible. r=rhelmer
We used to need explicit names for functions to make stack traces display
properly. The JS engine is smarter now so doesn't need them and they just
make the code messy and redundant.

--HG--
extra : commitid : 4FEIiQYhRQu
extra : rebase_source : 26689d5417f592d0f327f32076245cb4f154229a
2015-11-19 16:35:41 -08:00
Dave Townsend cbedcf3b95 Bug 1042699: Block cross-origin add-on install requests. r=dveditz
--HG--
extra : commitid : FdVvNum7B1w
extra : rebase_source : db8d8aff572798f35b80e20feb6aaaa9094cf79c
extra : amend_source : 14e54c9a677784e9f520a454ee579208f8385384
2015-08-18 17:21:05 -07: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
Irving Reid 4d69797ae7 Bug 911014: Register unload handler even if dialog delay pref is zero; r=unfocused 2013-09-03 10:43:01 -04:00
Irving Reid adb5d5ec2b Bug 908304: Wait until confirm window closes before installing add-ons; r=Unfocused 2013-08-28 12:33:13 -04:00
Atul Jangra 1676f8645e Bug 767236 - Part 4: Name all anonymous functions in remaining Add-ons Manager code. r=Unfocused 2012-10-24 22:58:00 +13:00
Marcos S e6eeace5fb Bug 758950 - Part 2a: Use more for...of loops in Add-ons Manager frontend and backend code. r=Unfocused 2012-09-21 22:35:00 +12:00
Marcos S 69d4db671f Bug 758950 - Part 1: Use more for...of loops in Add-ons Manager frontend and backend code. r=Unfocused 2012-08-06 01:03:00 +12:00
Devdatta Akhawe 7aa2770d79 Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend 2012-08-02 18:51:17 -07:00
Neil Rashbrook eaedd546e8 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley f58ad725ea Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook aee62bb4bd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Dave Townsend 0eaaa1e2e0 Bug 652376: Migrate XPInstall dialog into the extensions directory. r=robstrong
--HG--
rename : toolkit/locales/en-US/chrome/mozapps/xpinstall/xpinstallConfirm.dtd => toolkit/locales/en-US/chrome/mozapps/extensions/xpinstallConfirm.dtd
rename : toolkit/locales/en-US/chrome/mozapps/xpinstall/xpinstallConfirm.properties => toolkit/locales/en-US/chrome/mozapps/extensions/xpinstallConfirm.properties
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.css => toolkit/mozapps/extensions/content/xpinstallConfirm.css
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.js => toolkit/mozapps/extensions/content/xpinstallConfirm.js
rename : toolkit/mozapps/xpinstall/content/xpinstallConfirm.xul => toolkit/mozapps/extensions/content/xpinstallConfirm.xul
rename : toolkit/mozapps/xpinstall/content/xpinstallItem.xml => toolkit/mozapps/extensions/content/xpinstallItem.xml
rename : toolkit/themes/pinstripe/mozapps/xpinstall/xpinstallConfirm.css => toolkit/themes/pinstripe/mozapps/extensions/xpinstallConfirm.css
rename : toolkit/themes/winstripe/mozapps/xpinstall/xpinstallConfirm.css => toolkit/themes/winstripe/mozapps/extensions/xpinstallConfirm.css
2011-11-23 15:04:56 -08:00