Commit Graph
45 Commits
Author SHA1 Message Date
Christoph Kerschbaumer 6dec8a1a75 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950
2019-09-26 16:22:41 +00:00
Christoph Kerschbaumer 8a7b56bee1 Bug 1497203: Apply Meta CSP to about:plugins. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37727
2019-07-12 06:47:42 +00:00
Bogdan Tara db37c830ff Backed out changeset 93cfc2131ea5 (bug 1497203) for config/tests/test_mozbuild_reading.py related build bustages CLOSED TREE 2019-07-11 21:40:20 +03:00
Christoph Kerschbaumer fdb326bb4d Bug 1497203: Apply Meta CSP to about:plugins. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37727
2019-07-11 16:36:11 +00:00
Brian Grinstead 3dd68e7775 Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222

Differential Revision: https://phabricator.services.mozilla.com/D28559
2019-04-24 19:43:57 +00:00
Kris Maglione 856fa07b17 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -08:00
Qinghao_Jack_Song 2b3c42016b Bug 1511454 - Migrate about:plugins to use Fluent for localization r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D13681
2018-12-05 16:06:15 +00:00
Christoph Kerschbaumer 5afd502bd2 Bug 1463663 - Prefix exported functions of the RemotePageManager with RPM. r=mossop 2018-06-27 09:08:32 +02:00
Florian Quèze f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Andrew McCreight 272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione 0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian 483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione 683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Mark Banner 62d89b0f75 Bug 1417940 - Change various instances of manually calling getService to use Services.jsm in toolkit/. r=mossop
MozReview-Commit-ID: 8eEhjFZc4mT
2017-11-09 16:36:57 +00:00
Andreea Pavel 4d905c03dd Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE
Backed out changeset 2c2f807e23b5 (bug 1417940)
2017-11-17 18:08:45 +02:00
Mark Banner 0841e15072 Bug 1417940 - Change various instances of manually calling getService to use Services.jsm in toolkit/. r=mossop
MozReview-Commit-ID: 8eEhjFZc4mT
2017-11-09 16:36:57 +00:00
Frederik Braun 96b2642639 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Mark Banner 0172a32b29 Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2
2017-02-07 10:52:06 +00:00
Florian Quèze 0a4ee94a29 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Benjamin Smedberg 6017922e4d Bug 1311420 - Add a notice to the addon manager and about:plugins about NPAPI deprecation, r=felipe
MozReview-Commit-ID: HuHbCASJiux
2016-11-22 15:36:32 -05:00
Benjamin Smedberg b6342360ed Bug 1277905 - Remove in-product links to plugincheck. Also remove support for startup prompting about outdated plugins, since that's annoying to users. r=Gijs r=mconley
MozReview-Commit-ID: 69tMivPVxuW
2016-07-01 11:01:07 -04:00
Dave Townsend 9970a902e5 Bug 1257246: Fix some failures in html tests. r=gijs
We aren't intending to write to window.status here.

MozReview-Commit-ID: 7BRfgsO9NDr
2016-03-16 12:32:00 -07:00
Dave Townsend 6a16e35911 Bug 1068087: Switch about:plugins to run remotely. r=mconley 2015-01-08 12:40:14 -08:00
Francesco Lodolo [:flod] 6bac34e96a Bug 878154 - about:plugins: plugin status is not localizable. r=bsmedberg 2013-06-07 15:21:13 -04:00
Maria Grazia Alastra b8d28ecba2 Bug 866081 - Change two labels and their names in plugins.properties, replacing "enabled" with "installed". r=bsmedberg 2013-04-30 15:12:54 -04:00
Tom Schuster d820e2dca4 Bug 661961 - change about:plugins to add the path for every extension. r=bsmedberg 2013-02-28 13:46:42 +01:00
Mike de Boer 57ee1260bc Bug 845022 - Remove outdated links from about:plugins. r=dolske
DONTBUILD
2013-02-26 16:54:54 +01:00
Sunny 6c34842503 Bug 831533 - Show the enabled/disabled/blocklisted state of plugins in about:plugins. r=bsmedberg 2013-01-26 12:59:31 -05:00
Chris Peterson be4c846278 Bug 831188 - Don't list inactive plugins (blocklisted or disabled) on about:plugins. r=bsmedberg 2013-01-16 11:06:35 -08:00
Chris Peterson aabd945059 Bug 757726 - Part 1: Update about:plugins to use document.createElement() and AddonManager. r=joshmoz 2012-10-14 11:21:00 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Saint Wesonga 7daa0b28a8 Bug 548481 - about:plugins page title should be "Enabled Plugins", not "Installed Plugins". ui-r=faaborg, r=josh 2010-03-09 08:49:22 +01:00
Saint Wesonga 1b0304b634 Bug 526454 - Link to plugin check page from about:plugins. r=josh, ui-r=faaborg 2010-03-03 09:51:58 +01:00
Saint Wesonga 18a6c98e2a Bug 180568 - Remove "Enabled" column from about:plugins. ui-r=faaborg r=jst,josh 2010-02-03 13:44:13 +01:00
Saint Wesonga bceffe1b8d Bug 496198 - about:plugins lies when all plugins are disabled, r=joshmoz, ui-r=faaborg 2010-01-17 15:23:00 -08:00
Josh Aas a0aa981b6b Simplify code for exposing plugin file names vs. full path. Second landing. b=488181 r/sr=jst,bz 2009-06-10 16:47:49 -04:00
Josh Aas 43dcb286a0 Backed out changeset 7cd22106e8d9. Simplify code for exposing plugin file names vs. full path. b=488181 2009-05-16 21:09:48 -04:00
Josh Aas e64bc2f992 Simplify code for exposing plugin file names vs. full path. b=488181 r/sr=jst 2009-05-15 18:26:21 -04:00
Dave Townsend 7fb3ab9bf2 Bug 427744: List plugin file version number under about:plugins. r=josh, sr=jst 2009-04-22 12:13:10 -07:00
Ehsan Akhgari 9fa0115db3 Bug 437844 - [RTL] about:plugins is hardcoded to LTR; r=bz 2009-01-30 11:43:17 +03:30
ebf2ce4e3c Fix bug 399402, make about:plugins without CSS more readable. r=gemal, sr=neil rashbrook, a=damon. 2007-11-09 14:30:06 -08:00
3988c8c17b Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
[email protected] b3cf1ca36c Bug 328678 - XULRunner should include about:plugins, r=neil@p 2006-08-07 16:06:03 +00:00