Commit Graph

6920 Commits

Author SHA1 Message Date
Matt Howell
fc14600836 Bug 1337856 Part 1 - Use a better up/down-scaling method for the stub installer background. r=agashlin
MozReview-Commit-ID: Ag02ni4nJ00
2017-10-10 08:50:31 -07:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Nicholas Nethercote
2fed11c50c Bug 1406794 - Provide the CSP keywords in both UTF8 and UTF16 forms. r=ckerschb
This avoids the need for numerous 8-to-16-bit and 16-to-8-bit string
conversions.

The patch also introduces a higher-order macro, FOR_EACH_CSP_KEYWORD, which
defines all the stuff about the keywords in a single place and makes the code
nicer.
2017-10-06 16:16:52 +11:00
Luca Greco
2bd3c1c30a Bug 1390445 - Fix select popup positioning for oop extensions options_ui pages. r=billm,kats,kmag
MozReview-Commit-ID: Izt10SuUK0i
2017-09-20 20:03:58 +02:00
Matt Brubeck
98bd0ceaf1 Bug 1406749 - Use member variables instead of global variables in ArchiveReader. r=rstrong
MozReview-Commit-ID: 8igmXe2QReO
2017-10-08 06:51:02 -07:00
Dale Harvey
6baccea11c Bug 1394248 - Update plugins icon. r=dao
MozReview-Commit-ID: L3UrtSwDxW2
2017-09-30 10:43:02 +01:00
Luca Greco
4b473b15a0 Bug 1385548 - Part 1: Support tab modals in WebExtensions options_ui pages. r=kmag
This patch introduces a stub gBrowser object which allow a WebExtensions options_ui page
to open a tab modal using alert/prompt/confirm.

The about:addons page is defined at toolkit level but the TabModalPromptBox is defined
at browser level, and so to be able to provide a TabMobalPromptBox from the about:addons
page this patch uses the implementation provided by the window that contains the
about:addons tab, if any.

MozReview-Commit-ID: m6khgJyMs
2017-09-18 22:10:11 +02:00
Andrew Swan
823b49bf3e Bug 1405264 Part 2: Use startupData for new langpacks r=gandalf,kmag
Webextension-formatted langpacks now store their list of chrome
registry resources in startupData so that those resources can be
registered early in startup.

MozReview-Commit-ID: 80eOiPKLlWu
2017-10-04 13:29:20 -07:00
Andrew Swan
617ad92ab1 Bug 1405264 Part 1: Add startupData to internal addon representation r=kmag
If a non-null value is stored in this property, its contents (which
must be json serializable) are stored in addonStartup.json and are
then passed to the addon's bootstrap startup() method.  This is meant
for data that must be available synchronously during browser startup.
Of course addonStartup.json is read synchronously during startup so
this should be used sparingly.

MozReview-Commit-ID: ALS1CcYbH92
2017-10-04 13:27:50 -07:00
Robert Helmer
bc28c1202f Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP
2017-10-02 18:41:20 -07:00
Robert Helmer
1e40cb6869 Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
MozReview-Commit-ID: rnjEJc1Uir
2017-09-21 11:24:14 -07:00
Wes Kocher
d0a80948dd Merge inbound to central, a=merge
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Tom Schuster
94725f1c81 Bug 1403721 - Limit management.get to allowed addon types. r=mixedpuppy 2017-10-04 16:06:27 +02:00
Sebastian Hengst
7942d9a882 Backed out changeset 33ef79c5fe06 (bug 1403721) for failing eslint at toolkit/components/extensions/test/xpcshell/test_ext_experiments.js:162: 'boringAddon' is already declared in the upper scope. r=backout 2017-10-04 17:47:22 +02:00
Tom Schuster
4958899585 Bug 1403721 - Limit management.get to allowed addon types. r=mixedpuppy 2017-10-04 16:06:27 +02:00
Tom Ritter
8cfa4157ca Bug 1404147 Resolve inconsistency between GetLastError (DWORD - unsigned) and HRESULT (signed) r=smaug
MozReview-Commit-ID: AzyiFjAG5Wt
2017-09-28 17:50:52 -05:00
Sebastian Hengst
93c5bc386f Backed out changeset d96c54a045a4 (bug 1348981) 2017-10-04 15:43:51 +02:00
Sebastian Hengst
82ae26fdd0 Backed out changeset fe9b8761d51f (bug 1348981) 2017-10-04 15:43:46 +02:00
Robert Helmer
0202f89685 Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP
2017-10-02 18:41:20 -07:00
Robert Helmer
7dab8b362c Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
MozReview-Commit-ID: rnjEJc1Uir
2017-09-21 11:24:14 -07:00
Sebastian Hengst
32fca29117 Backed out changeset 199b3fe8114f (bug 1348981) 2017-10-04 01:00:15 +02:00
Sebastian Hengst
92808dbe0e Backed out changeset 8dda8bbcf385 (bug 1348981) 2017-10-04 01:00:09 +02:00
Robert Helmer
1ab3aa8dea Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP
2017-10-02 18:41:20 -07:00
Robert Helmer
475010a53d Bug 1348981 - provide method to re-initialize URLPreloader for xpcshell tests r=kmag
MozReview-Commit-ID: rnjEJc1Uir
2017-09-21 11:24:14 -07:00
Ian Moody
ea9561c069 Bug 1258797 - Catch error when trying to open save as dialog to invalid path. r=Gijs
MozReview-Commit-ID: GbMgcfOgVaq
2017-09-30 17:51:05 +01:00
Sebastian Hengst
06ddeaa1bb Backed out changeset e900a3d074b8 (bug 1258797) for failing eslint at toolkit/mozapps/downloads/DownloadLastDir.jsm:150. r=backout 2017-10-01 00:36:43 +02:00
Ian Moody
1f9f0506af Bug 1258797 - Catch error when trying to open save as dialog to invalid path. r=Gijs
MozReview-Commit-ID: GbMgcfOgVaq
2017-09-30 17:51:05 +01:00
Mike Shal
3383b336e3 Bug 1402012 - Update buildconfig.py to use PartialConfigEnvironment; r=glandium
By using the PartialConfigEnvironment, the clients of buildconfig will
depend on config.statusd/ files instead of config.status directly.
Clients can access substs and defines using buildconfig.substs['FOO'] or
buildconfig.defines['BAR'], and then collect file-level dependencies for
make using buildconfig.get_dependencies(). All GENERATED_FILES rules
already make use of this because file_generate.py automatically includes
these dependencies (along with all python modules loaded).

As a result of this commit, re-running configure will no longer cause
the world to be rebuilt. Although config.status is updated, no build
steps use config.status directly and instead depend on values in
config.statusd/, which are written with FileAvoidWrite. Since those
files are not official targets according to the make backend, make won't
try to continually rebuild the backend when those files are out of date.
And since they are FileAvoidWrite, make will only re-run dependent steps
if the actual configure value has changed.

As a result of using JSON to load data from the config.statusd
directory, substs can be unicode (instead of a bare string type).
generate_certdata.py converts the subst manually to a string so the
value can be exported to the environment without issue on Windows.

Additionally, patching the buildconfig.substs dict no longer works, so
the unit-symbolstore.py test was modified to patch the underlying
buildconfig.substs._dict instead.

The other files that needed to be modified make use of all the defines
for the preprocessor. Those that are used during 'mach build' now use
buildconfig.defines['ALLDEFINES'], which maps to a special
FileAvoidWrite file generated for the PartialConfigEnvironment.

MozReview-Commit-ID: 2pJ4s3TVeS8
2017-08-24 22:52:01 -04:00
Mark Goodwin
0671ec68d0 Bug 1359428 - Remove preference to select OneCRL update mechanism r=keeler,leplatrem,rhelmer
MozReview-Commit-ID: A6CwZrIDmTn
2017-09-29 10:47:27 +01:00
Wes Kocher
4253ce7dce Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Sebastian Hengst
1468880569 merge mozilla-central to autoland. r=merge a=merge 2017-09-28 12:16:20 +02:00
Sebastian Hengst
ca4367eb46 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 74cERYrHFIG
2017-09-28 11:44:21 +02:00
Andrew Swan
80ae253355 Bug 1401584 Properly cancel local installs of incompatible extensions r=rhelmer
MozReview-Commit-ID: EmRZQZeh0jQ
2017-09-22 14:27:20 -07:00
Paolo Amadini
0d0c9d5f71 Bug 1402279 - Part 2 - Unify the usage of the DownloadPaths module. r=mak,aswan
MozReview-Commit-ID: HEhwkyxtYTP
2017-09-27 12:13:07 +01:00
Paolo Amadini
414b47f537 Bug 1402279 - Part 1 - Move the DownloadPaths module to the jsdownloads folder. r=mak
MozReview-Commit-ID: 91ZqKef6NIE
2017-09-22 15:45:39 +01:00
Mark Striemer
fe77dbab6f Bug 1390276 - Make the options_ui background transparent r=rhelmer
MozReview-Commit-ID: Imowx5I5YK4
2017-09-20 12:31:37 -05:00
sajattack
e8ecb18770 Bug 1364333 - remove leftover code and strings from standalone about:addons UI r=rhelmer
MozReview-Commit-ID: SmDGrX0fz5
2017-09-14 13:44:36 -07:00
Sebastian Hengst
29da5de0e1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-28 12:17:21 +02:00
Kris Maglione
5a9116a4e2 Bug 1402944: Part 8 - Avoid X-ray overhead when cloning event handler responses. r=mixedpuppy
MozReview-Commit-ID: 4CHP80WymuA
2017-09-23 13:30:52 -07:00
Chris Peterson
ce551e51b9 Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
MozReview-Commit-ID: G1GhyvD29WK
2017-09-06 01:13:45 -07:00
Mark Striemer
9683887900 Bug 1400379 - Crop category labels in about: pages r=rhelmer
MozReview-Commit-ID: JJ50aIIWbSI
2017-09-19 22:24:24 -05:00
Mark Striemer
a1d21c0eb7 Bug 1400379 - Backed out changeset e0fe9ab6917b r=rhelmer
MozReview-Commit-ID: 891WMgch0A3
2017-09-19 22:23:49 -05:00
Chris Manchester
a1d5721f0c Bug 1373395 - Upload chrome-map.json during code coverage builds. r=mshal
MozReview-Commit-ID: 37UxsMQoB7q
2017-09-20 10:55:14 -07:00
Wes Kocher
98effee31d Merge inbound to central, a=merge
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
Joel Maher
01f32fd80d Bug 1398766 - Disable toolkit/mozapps/extensions/test/browser/browser_gmpProvider.js on linux debug for frequent failures. r=me, a=test-only 2017-09-19 12:15:46 -04:00
Andrew Swan
9d999d926e Bug 1395892 Fix legacy badge in details view r=andym
MozReview-Commit-ID: 2RQOvJYHLzm
2017-09-18 15:34:32 -07:00
Andrew Swan
dccef3093f Bug 1401018 Don't let about:addons steal keypresses from options pages r=kmag
Revise the bug 1381032 fix to work whether or not oop webextensions
are enabled.

MozReview-Commit-ID: EIfli8D5I7H
2017-09-18 14:29:17 -07:00
Tim Huang
a1f591cc41 Bug 1384330 - Part 1: Blocking the mozAddonManager when pref 'privacy.resistFingerprinting.block_mozAddonManager' is true. r=arthuredelstein,mossop
This patch adds a hidden pref 'privacy.resistFingerprinting.block_mozAddonManager',
which is false by default. When this is true, the navigator.mozAddonManager will
be blocked even the website is AMO.

The purpose of this pref is for Tor browser can disable navigator.mozAddonManager
through this.

MozReview-Commit-ID: Lf37gHXETCz
2017-09-14 15:11:21 +08:00
Andrew Swan
6f5b76c6e4 Bug 1384608 Show complete themes with legacy extensions r=rhelmer
MozReview-Commit-ID: 6jiQZ8SQpzI
2017-09-13 13:23:39 -07:00
Andy McKay
c24336b6d3 Bug 1395720 fix Error calls to have just one argument r=mossop
MozReview-Commit-ID: i603CDTrmO
2017-09-14 15:48:22 -07:00