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

120 Коммитов

Автор SHA1 Сообщение Дата
mcrawford@mozilla.com 0654ce0e37 Bug 1566861 - Revise Tracking Protection Panel UI in Preferences r=fluent-reviewers,Pike,johannh
This updates various strings across the privacy panel.
- Update mulitple text strings in Enhanced Tracking Protection panel
- Add additional icons/revise order of strings in panel UI
- Hide "Change Block List" ui in Custom option of ETP behind pref: browser.contentblocking.customBlockList.preferences.ui.enabled;true

Differential Revision: https://phabricator.services.mozilla.com/D38345

--HG--
extra : moz-landing-system : lando
2019-08-09 19:31:04 +00:00
Coroiu Cristina 5db4923320 Backed out changeset 2aee1f1d976c (bug 1566861) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE 2019-08-08 22:19:24 +03:00
mcrawford@mozilla.com 6a63cdac35 Bug 1566861 - Revise Tracking Protection Panel UI in Preferences r=fluent-reviewers,Pike,johannh
This updates various strings across the privacy panel.
- Update mulitple text strings in Enhanced Tracking Protection panel
- Add additional icons/revise order of strings in panel UI
- Hide "Change Block List" ui in Custom option of ETP behind pref: browser.contentblocking.customBlockList.preferences.ui.enabled;true

Differential Revision: https://phabricator.services.mozilla.com/D38345

--HG--
extra : moz-landing-system : lando
2019-08-08 16:58:17 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Victor Porof 1f830c96da Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042

--HG--
extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
2019-07-05 09:53:32 +02:00
Dale Harvey b46d6e8925 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135

--HG--
extra : moz-landing-system : lando
2019-06-06 09:06:09 +00:00
Andreea Pavel 516073f4fd Backed out changeset 2dacf7539a2f (bug 1543812) for multiple failures e.g bc at browser_autoplay_blocked.js on a CLOSED TREE 2019-06-05 19:29:20 +03:00
Dale Harvey 87fa55e513 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135

--HG--
extra : moz-landing-system : lando
2019-06-05 01:03:14 +00:00
Daniel Varga 3bc762bcf1 Backed out changeset d64cb52ebf88 (bug 1543812) for xpcshell failure at parser/xml/test/unit/test_sanitizer.js. On a CLOSED TREE 2019-06-05 03:50:16 +03:00
Dale Harvey 6066384ce3 Bug 1543812 - Add ability to block all autoplay. r=johannh,alwu,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D30135

--HG--
extra : moz-landing-system : lando
2019-06-04 17:33:06 +00:00
Carolina Jimenez Gomez d327e86e71 Bug 1510960 - Fix the problem when the user removes all permissions from cookies permission and then try to add the same before clicking on "Save Changes". r=johannh
The problem was that it only apply changes when the user clicks on save button, so, some times there is a permission that has to be added but is also in the permissions to delete, so, the solution is just delete all the permissions it has to delete first and then add the permissions that has to be added. r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D23952

--HG--
extra : moz-landing-system : lando
2019-04-01 12:41:51 +00:00
Noor Afshan Fathima 5b8f768977 Bug 1537535 - Changed the string replace method with trim() method. r=johannh
Summary:
Changed the string replace method with trim() method

Issue fixed

Reviewers: johannh

Reviewed By: johannh

Bug #: 1537535

Differential Revision: https://phabricator.services.mozilla.com/D24344

--HG--
extra : rebase_source : 10ed7e9dddb9b12bde40fcd2c470d2e237c1b2d1
extra : amend_source : 03939cad17159874b150695677dbf9f8b1ac5d65
2019-03-23 04:32:17 +02:00
Ian Moody 67fb55f3b9 Bug 1536653 - browser/ automated ESLint no-throw-literal fixes. r=Gijs
Result of running:
$ mach eslint -funix browser/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D24110

--HG--
extra : moz-landing-system : lando
2019-03-20 10:17:42 +00:00
Carolina Jimenez Gomez 236160af79 Bug 1442179 - If the user enters something that can not be parsed as a URL, appends http:// and https:// and adds permission for both of them. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21138

--HG--
extra : moz-landing-system : lando
2019-03-19 14:14:03 +00:00
Jared Wein 204b7efe37 Bug 1524258 - Sort the permission capabilities based on their localization ID so we don't have to wait for the asynchronous localization. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18372

--HG--
extra : moz-landing-system : lando
2019-02-05 21:01:08 +00:00
Dorel Luca 257f1a33b0 Backed out changeset 5983bd842b52 (bug 1524258) for Browser-chrome failures in browser/components/preferences/in-content/tests/browser_cookies_exceptions.js. CLOSED TREE 2019-02-05 01:40:16 +02:00
Jared Wein 042d371291 Bug 1524258 - Localized strings need to be applied on the permission rows before we can sort them by their values. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18372

--HG--
extra : moz-landing-system : lando
2019-02-04 21:54:54 +00:00
Kris Maglione e930b89c34 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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Andrea Marchesini ae7e7d4c3a Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod 2019-01-23 19:19:19 +01:00
Razvan Maries 7ccb4bf803 Backed out 2 changesets (bug 1521051) for xpcshell fails on extensions/cookie/test/unit/test_cookies_thirdparty.js. CLOSED TREE
Backed out changeset 90bb620dd870 (bug 1521051)
Backed out changeset 483fa314e45e (bug 1521051)
2019-01-23 22:09:32 +02:00
Andrea Marchesini 8e0c688733 Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod 2019-01-23 19:19:19 +01:00
Paolo Amadini 42a990b0fc Bug 1516442 - Move "listheader" outside of "richlistbox". r=bgrins
The only uses of "listheader" are part of in-content preferences, and they are updated to use adjacent elements. This is in preparation for the removal of the inner scrollbox in the "richlistbox" binding.

Differential Revision: https://phabricator.services.mozilla.com/D15387

--HG--
extra : rebase_source : 0def7dd7417d65449c7d4f8f35bb7361e243783e
2018-12-26 17:00:31 +00:00
Paolo Amadini 24c49f1473 Bug 1466817 - The "Edit Pop-up Blocker Options/Preferences" command should open the in-content preferences. r=jaws
Instead of opening the pop-up permissions dialog with the origin already populated, this command now highlights the pop-up permission row in the preferences. This doesn't remove any functionality because the only action that would be available for the origin in the permissions dialog is "Allow", which is equivalent to the "Allow pop-ups for" command in the notification bar menu.

Differential Revision: https://phabricator.services.mozilla.com/D15066

--HG--
extra : rebase_source : 064b3d39dc2a8c4d6a3c0949a51ab361ed6e71dd
2018-12-23 20:52:15 +00:00
Jack Smith 50bf6ce556 Bug 1491676 - Moves permissions strings r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D9917

--HG--
extra : moz-landing-system : lando
2018-11-14 23:11:24 +00:00
Cosmin Sabou 7f37bee189 Backed out 4 changesets (bug 1491676) for causing browser chrome failures on browser_storagePressure_notification. CLOSED TREE
Backed out changeset 08cbaa2f9183 (bug 1491676)
Backed out changeset fae949de1ed5 (bug 1491676)
Backed out changeset aeb045b90321 (bug 1491676)
Backed out changeset e75c59f129ea (bug 1491676)
2018-11-07 20:53:48 +02:00
Jack Smith ad577bba2b Bug 1491676 - Moves permissions strings r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D9917

--HG--
extra : moz-landing-system : lando
2018-11-07 18:06:42 +00:00
Ciure Andrei c5b96773e4 Backed out 4 changesets (bug 1491676) for browser-chrome permissions failures CLOSED TREE
Backed out changeset e860d0d115d0 (bug 1491676)
Backed out changeset 04b83b7977c4 (bug 1491676)
Backed out changeset eb19b384d908 (bug 1491676)
Backed out changeset 76ea995336dc (bug 1491676)
2018-11-07 13:44:26 +02:00
Jack Smith f5a2150894 Bug 1491676 - Moves permissions strings r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D9917

--HG--
extra : moz-landing-system : lando
2018-11-07 10:21:50 +00:00
Michael Kohler 948e4dc4dd Bug 1496244 - Change 'Tracking Protection' to 'Content Blocking' in Exceptions Dialog under Content Blocking r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D8791

--HG--
extra : moz-landing-system : lando
2018-10-17 14:56:13 +00:00
Dorel Luca 6c423021f3 Backed out changeset 5aff488dd9e9 (bug 1496244) for Browser chrome failures in browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_2.js 2018-10-15 16:10:00 +03:00
Michael Kohler ac301cd115 Bug 1496244 - Change 'Tracking Protection' to 'Content Blocking' in Exceptions Dialog under Content Blocking r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D8430

--HG--
extra : moz-landing-system : lando
2018-10-15 10:56:36 +00:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Brendan Dahl f6923ccc24 Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
Preparing for transitioning to XHTML.

MozReview-Commit-ID: JLlmUxsvhIB

Differential Revision: https://phabricator.services.mozilla.com/D4265

--HG--
extra : moz-landing-system : lando
2018-08-25 00:16:27 +00:00
Kris Maglione 80327d3561 Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729

--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Dale Harvey 28d91dd061 Bug 1484188 - Rephrase title for autoplay exceptions prompt. r=flod
MozReview-Commit-ID: HmFoCcD6P9p
2018-08-20 15:16:01 +01:00
Dale Harvey 8776031416 Bug 1476889 - Update autoplay copy. r=flod
MozReview-Commit-ID: D8Ss2U2gZ9q

--HG--
extra : rebase_source : 4987f9365b0a8eec31a7031cd2ffea342187aa84
2018-07-23 12:20:30 +01:00
Paolo Amadini 95b335127c Bug 1446362 - Part 2 - Remove "tree" from the permission preferences. r=johannh
MozReview-Commit-ID: 9IYpH8SvsCw

--HG--
extra : rebase_source : bf625a793c01da4bcc45e8b92214e6ee73cc6cc5
2018-06-22 14:13:53 +01:00
Paolo Amadini ae2cc7ca99 Bug 1467713 - Part 4 - Replace "var" with "let" and remove the parameter prefix. r=jaws
MozReview-Commit-ID: 61k7xS2MlKr

--HG--
extra : rebase_source : 32cddf29916beff5e03abf9dc599890fd08b3fe3
2018-06-05 17:30:43 +01:00
Paolo Amadini 367e78dac1 Bug 1467713 - Part 3 - Remove the unused setOrigin function. r=jaws
MozReview-Commit-ID: 3CpU7zY9JFJ

--HG--
extra : rebase_source : 68e6e3fd56a0f8c48ceeffa27f8ecf72f5256378
2018-06-05 15:27:24 +01:00
Paolo Amadini f1f4ef76c6 Bug 1467713 - Part 2 - Reorder "permissions.js" to match "sitePermissions.js". r=jaws
Reordering the functions makes it easier to port the implementation across the files and merge them eventually.

MozReview-Commit-ID: EkVbTA0YEQ5

--HG--
extra : rebase_source : 160157df7aaebf502449a9daf1b7dbfc9195aa41
2018-06-05 15:26:14 +01:00
Paolo Amadini e895567b26 Bug 1467713 - Part 1 - Rename functions in "permissions.js" to match "sitePermissions.js". r=jaws
MozReview-Commit-ID: KeF5mcVvVHl

--HG--
extra : rebase_source : 39ef7ada1138a3bc3c87e20fca958aa26c7fff95
2018-06-05 15:12:39 +01:00
Dale Harvey 7cab5a8d5a Bug 1458249 - Add autoplay item to about:preferences. r=flod,johannh
MozReview-Commit-ID: AldNoElwH1O

--HG--
extra : rebase_source : b1c3d441ea69d09f287bdca0aac97872eb805231
2018-05-03 07:55:53 +01:00
Trisha Gupta 7ae9b423fe Bug 1442303 - The arrow for sort is missing in Exceptions dialogues r=johannh
MozReview-Commit-ID: CntCTeVC91U

--HG--
extra : rebase_source : deb07b78e61ecfc4554ba7257dbfc18f9e4b1ec2
2018-05-25 22:53:43 +08:00
Zibi Braniecki 93ac8e7357 Bug 1461048 - Convert Fluent API calls to FluentDOM 0.3.0. r=mossop
MozReview-Commit-ID: K3eA8blcP2x

--HG--
extra : rebase_source : 8aca3e850d9c8f87e13aa5d1dcad588b9a272a94
2018-05-14 12:37:41 -07:00
Zibi Braniecki 412cd3be9d Bug 1457021 - Fix a mangled message ID order in a Preferences::Permissions JS dialog. r=Gijs
MozReview-Commit-ID: JeAxaSTWllA

--HG--
extra : rebase_source : 8d35cc551911ca38d278b8a8779755e747637c41
2018-04-27 15:38:22 -07:00
Zibi Braniecki fcea421df8 Bug 1457948 - Migrate in-content/privacy.js to Fluent. r=flod,jaws
MozReview-Commit-ID: 7K7Wgm5ahTL

--HG--
extra : rebase_source : c87b39226e1566a4c085cab06b1c559bd31a54c8
2018-04-30 10:29:18 -07:00
Dorel Luca 559b69d4ad Backed out changeset fba5e06d6365 (bug 1457948) for Browser-chrome failures on multipe files. CLOSED TREE 2018-05-08 10:54:13 +03:00
Zibi Braniecki e0a4c31651 Bug 1457948 - Migrate in-content/privacy.js to Fluent. r=flod,jaws
MozReview-Commit-ID: 7K7Wgm5ahTL

--HG--
extra : rebase_source : 2824d6207614b4425c67507b0ae57f78feeaa837
2018-04-30 10:29:18 -07:00
Trisha 3e583258c2 Bug 1444868 - use .textContent to override the intro text directly in permissions.js. r=johannh 2018-03-14 00:59:35 +08:00
Florian Quèze c714053d73 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