Commit Graph

750 Commits

Author SHA1 Message Date
Robert Helmer
056a1adce9 Bug 1209344 - Link to about:debugging from about:addons. r=mossop
--HG--
extra : transplant_source : Z%A1QK7%92%FD3%D8%E1p%8F%C6%FAb%00fF%7D%F4
2016-01-05 12:19:59 -08:00
Robert Helmer
7ab4eeae62 Bug 1209344 - Remove debug button from about:addons. r=mossop
--HG--
extra : transplant_source : toni%12t%E0%3Fh%E7%06%98%B8%E4%29k%FB%0C%9Be
2016-01-05 12:19:15 -08:00
Robert Helmer
d4b4a83098 bug 1228792 - remove use of array comprehensions r=mossop
--HG--
extra : commitid : I7JbIRZK5Pk
extra : rebase_source : 516f056afbb164b0b7b9fd9889c5cc998626c15d
extra : histedit_source : da178544faf7ff52591d96712921ddd73de2b48a
2015-12-02 18:40:59 -08:00
Dave Townsend
f946cdabc4 Bug 1226386: Remove use of non-standard __defineGetter__ and __defineSetter__. r=rhelmer
Moved these mostly onto the prototype. We couldn't do this before without making
the target of the wrapper a property of the wrappers and we don't want to expose
that but now WeakMaps allow us to get the target without exposing it.

Once change with this approach is that when the test suite shuts down the
add-ons manager it kills the map and so wrappers cease to function. A couple of
tests were relying on accessing wrapper properties after that but that would
have likely been unsafe anyway.

--HG--
extra : commitid : 6OI6dLyM45D
extra : rebase_source : c8a53360ce582186dcdc5cbf0dfc2b5057881eac
2015-11-20 10:55:13 -08:00
Dave Townsend
f6c6e0cc02 Bug 1226386: Switch to fat arrow functions where it makes sense. r=rhelmer
Both for brevity and to remove the use of |self = this|.

--HG--
extra : commitid : 7gNXRCzxPxM
extra : rebase_source : 4dccdf8bf99f5979664ca3ca3d9e61f66e217bfe
2015-11-20 10:06:14 -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
c872ff3d33 Bug 1226386: Remove most of the preprocessing from the add-ons manager. r=gps
For build speed, for correct line numbers in errors, for faster development, for so many reasons.
Still a couple of cases left mostly in XUL files for different strings on Windows.

Bonus: The new lexical scope means ADDON_SIGNING and REQUIRE_SIGNING can just
be declared as regular constants and outside code can't get to them easily.

--HG--
extra : commitid : Kj8khjuCwG2
extra : rebase_source : 2e0a3143900c0c414cda43254306f0c070f8e621
2015-11-19 15:30:47 -08:00
Robert Helmer
e339903d0b Bug 1209341 - allow loading unsigned restartless add-ons at runtime. r=mossop
--HG--
extra : transplant_source : %9EhX%F7%9D%AE%F5%14%18%E6%3B%A7%D3w%E3%3B%CAl%27%05
2015-11-03 10:07:08 -08:00
Dave Townsend
d9c57718d0 Bug 1220911: Remove most of the special casing around experiments. r=rhelmer
Experiments should differ from normal add-ons in a few ways:

* They can always be enabled regardless of compatibility info
* They default to disabled when installed
* They cannot be checked for updates
* They only stay enabled for the lifetime of the current process
* The UI doesn't give users the ability to enable/disable

This makes a few changes to keep these differences but remove much of the special casing code for experiments.

Being able to use regardless of compatibility was mostly fixed by bug 1220198 but I've also removed the redundant override in isCompatible.

Previously the "enabled until restart" feature worked with by not updating the DBAddonInternal object and instead using a hack to make the wrapper still seem enabled. This seems likely to break other code that relies on the state of the DBAddonInternal object so instead we update that as normal and simply don't persist the enabled state to disk.

Also switch the DBAddonInteral.prototype code to use some newer JS features.

I've removed the hack from addon.permissions which was hiding the enable/disable buttons in the UI and instead just hidden them in the UI stylesheet. This makes the API make sense and means callers can use addon.permissions to verify that enabling will work.

--HG--
extra : commitid : I1KdZYTWAyE
extra : rebase_source : 352634d8e980a6f7a9c2121607283f5b08dc8484
2015-11-09 15:02:29 -08:00
Johann Hofmann
2225f650f8 Bug 1192432 - Support custom icons in Web Extensions. r=mossop 2015-10-14 11:03:40 +02:00
Tooru Fujisawa
65e2703499 Bug 1217082 - Remove for-each from toolkit/. r=Gijs
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Gijs Kruitbosch
6873c42038 Bug 1205620 - fix default visibility of warning/error buttons in addon manager, r=Mossop
--HG--
extra : commitid : LyTwXIbRKjO
extra : rebase_source : 72bb4db87323efdb25363a9057123e8ad6fa94f0
2015-10-01 13:55:42 -04:00
Carsten "Tomcat" Book
363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Dave Townsend
2ffb1e7856 Bug 1192926: Hide system add-ons from the add-ons manager. r=rhelmer
We've wanted a hidden property for add-ons for a while so we can do things like
hide "uninstalled" sideloaded add-ons so this adds the basic version of it to
hide system add-ons.

--HG--
extra : commitid : 7il8eoXSVnu
extra : rebase_source : fec52514f15c1e74532012c0465bd5902eb179a9
2015-09-24 11:36:40 -07:00
J. Ryan Stinnett
efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05: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
Christoph Kerschbaumer
60ffe96bea Bug 1195162 - Move mozapps/plugins into pluginproblem (r=sicking,bsmedberg)
--HG--
rename : toolkit/locales/en-US/chrome/mozapps/plugins/plugins.dtd => toolkit/locales/en-US/chrome/pluginproblem/pluginproblem.dtd
rename : toolkit/mozapps/plugins/content/pluginFinderBinding.css => toolkit/pluginproblem/content/pluginFinderBinding.css
rename : toolkit/mozapps/plugins/content/pluginProblem.xml => toolkit/pluginproblem/content/pluginProblem.xml
rename : toolkit/mozapps/plugins/content/pluginProblemBinding.css => toolkit/pluginproblem/content/pluginProblemBinding.css
rename : toolkit/mozapps/plugins/content/pluginProblemContent.css => toolkit/pluginproblem/content/pluginProblemContent.css
rename : toolkit/mozapps/plugins/jar.mn => toolkit/pluginproblem/jar.mn
rename : toolkit/mozapps/plugins/moz.build => toolkit/pluginproblem/moz.build
rename : toolkit/mozapps/plugins/pluginGlue.manifest => toolkit/pluginproblem/pluginGlue.manifest
2015-09-14 19:08:06 -07:00
Dave Townsend
0cf2a7c5c2 Bug 1194784: Sideloaded add-ons without full signing don't display an appropriate warning in the add-ons manager. r=dao
--HG--
extra : commitid : 10VQvgDJsbv
extra : rebase_source : 9a2ea211db29e335a37ddf824bd18776d62cbeca
2015-09-03 12:39:29 -07:00
Steffen Wilberg
973b3edf3e Bug 1195060 - In the Add-ons manager, make Ctrl+f focus the search box again instead of invoking the findbar first. r=mossop
--HG--
extra : commitid : JAE1UX4icQ9
extra : rebase_source : 33750e091ca082b06767bcbf7796dfd863cb9ec2
2015-08-24 17:11:17 +02: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
Dave Townsend
49bcda6379 Bug 1195034: Only show messages about add-ons being disabled if signing requirements are on. r=dao
--HG--
extra : commitid : 6pPdIgKpCMq
extra : rebase_source : 7e06b5459adab1e8932ee86c7b3b4fd71c5074eb
2015-08-20 14:25:22 -07:00
Simon Lindholm
84c5c7098f Bug 1181540 - Hide "Learn More..." link for <setting type="boolint">. r=dolske
--HG--
extra : commitid : KwfFA0I3ytP
extra : rebase_source : 01285d1c335ed9b098f80df161b09731fc94edff
2015-07-08 05:31:00 -04:00
Dave Townsend
11c05929fd Bug 1161183: Follow-up fix that was missed in the review comments. r=dao, a=kwierso
--HG--
extra : commitid : ImYKytg8Tg6
extra : rebase_source : 2d5c6bcdd4fab37c38ee055a0adcc500e6d8c7a9
2015-06-19 12:08:46 -07:00
Dave Townsend
20a7d6dbec Bug 1161183: Don't show the add-on version in the list view. r=dao
--HG--
extra : commitid : F75YrYAzaoX
extra : rebase_source : ea7952263eda1e0623113c637617002114f6a666
2015-06-08 10:30:35 -07:00
Dave Townsend
6693a19d53 Bug 1170162: Use a support page for signing warnings intended for users. r=dao
--HG--
extra : commitid : L3inMC9RBcT
extra : rebase_source : 15d39486b95eee5086eef8ad9060a45fe86a5814
2015-06-08 09:17:15 -07:00
Dão Gottwald
55b17ab83d Bug 1151509 - Implement the front-end side of the warning about add-ons detected as no longer signed during the periodic check. r=dtownsend 2015-05-08 19:27:25 +02:00
YFdyh000
931e1283c9 Bug 1160871 - add accesskey to Debug add-on menu. r=mossop 2015-05-03 06:27:00 +02:00
Richard Marti
bee499f64f Bug 989469 - Use new style for add-on manager. ui-r=mmasalaney r=mossop CLOSED TREE
--HG--
rename : toolkit/themes/windows/mozapps/extensions/heart.png => toolkit/themes/linux/mozapps/extensions/heart.png
rename : toolkit/themes/windows/mozapps/extensions/extensions.css => toolkit/themes/shared/extensions/extensions.inc.css
rename : toolkit/themes/windows/mozapps/extensions/navigation.png => toolkit/themes/shared/extensions/navigation.png
extra : amend_source : e7ed1be23874b7986378393234bfdca3891a5f30
2015-04-03 17:00:56 +02:00
Dão Gottwald
ea5e332f77 Bug 1149702 - Display a note about add-ons that aren't properly signed in the add-ons manager. r=mossop 2015-04-30 21:17:39 +02:00
Carsten "Tomcat" Book
ede9c4f220 merge mozilla-inbound to mozilla-central a=merge 2015-04-13 12:00:00 +02:00
Ryan VanderMeulen
e88000de0a Backed out changeset 4c16c59c8158 (bug 989469) for browser_gmpProvider.js failures.
--HG--
rename : toolkit/themes/shared/extensions/navigation.png => toolkit/themes/windows/mozapps/extensions/navigation.png
2015-04-10 12:46:23 -04:00
YFdyh000
ec9e501961 Bug 1150786 - Add the localized string and accesskey for "Debug" add-on button. r=Mossop 2015-04-06 17:56:00 -04:00
Richard Marti
ecb3a165ec Bug 989469 - Use new style for add-on manager. ui-r=mmasalaney r=mossop
--HG--
rename : toolkit/themes/windows/mozapps/extensions/heart.png => toolkit/themes/linux/mozapps/extensions/heart.png
rename : toolkit/themes/windows/mozapps/extensions/extensions.css => toolkit/themes/shared/extensions/extensions.inc.css
rename : toolkit/themes/windows/mozapps/extensions/navigation.png => toolkit/themes/shared/extensions/navigation.png
2015-04-03 17:00:56 +02:00
Mike Kaply
ddaf3b093b Bug 1132971 - Don't assume that the add-ons discovery pane will be available, r=mossop
--HG--
extra : rebase_source : e5b1bf8b9d405ad491ed1e0d917714c64c8c3205
2015-04-09 11:18:31 -05:00
Stephen Pohl
66ae1be1fd Bug 1140522: Set proper permissions on GMP when disabled. r=mossop 2015-03-14 23:25:42 -04:00
Benjamin Smedberg
d4201803b0 Bug 1133000 - Expose the protected-mode toggle in the Addons-manager UI options pane for Flash. r=Unfocused/MattN
--HG--
extra : rebase_source : 6917fdbc19c7b2a03d3a65c1f2d7eff01afc61fd
extra : histedit_source : bcb328b11de86da2e7d84b8b1d730a43e5d515db
2015-02-13 14:55:37 -05:00
Stephen Pohl
b7563655ca Bug 1089867: Refactor GMPProvider and make it compatible with EME CDMs. r=gfritzsche
--HG--
rename : toolkit/mozapps/extensions/content/openH264Prefs.xul => toolkit/mozapps/extensions/content/gmpPrefs.xul
2015-02-17 12:50:21 -05:00
Benjamin Smedberg
6fefaa3051 Bug 1131136 part B - reload plugins when we load the plugins pane of the addon manager, r=Unfocused
--HG--
extra : rebase_source : af6134a6d4f194a0e890e6e179bfd8dc09285615
2015-02-10 12:30:06 -05:00
Gijs Kruitbosch
b24f5b4422 Bug 1123771 - don't expose search icon as button if all it does is focus input and label it otherwise, r=Mossop 2015-02-06 11:44:37 +00:00
Marco Zehe
62cad48ebc Bug 1122902 - NVDA screen reader says ‘unknown’ for a control when the More button in the Add-ons Manager is pressed, r=gijs 2015-01-20 01:14:00 +00:00
Dave Townsend
a7d0217d78 Bug 1084558: Switch the web installer interfaces to use browsers instead of DOM windows. r=Unfocused 2014-11-04 19:20:52 -08:00
Jon Morton
1700296f02 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Mike Quested
4dbfb4013f Bug 1056035 - Hide the separator if there are no visible items above it. r=Unfocused 2014-09-29 05:01:00 -04:00
Blair McBride
b8c500ff2b Bug 1039028 - Show license info for OpenH264 plugin. r=irving
--HG--
extra : transplant_source : vj%2A%ED%7Dl%86%8F%FE%C2%1Fn%A3%B9%F6i%DD%F7%C2%81
2014-09-17 13:12:09 +12:00
Alex Bardas
c252b0f4eb Bug 1034679 - Visually display that plug-in states are locked in Add-ons Manager. r=Unfocused 2014-08-11 16:20:00 -04:00