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

308 Коммитов

Автор SHA1 Сообщение Дата
Liang-Heng Chen 1431c1b046 Bug 1634306 - add new cookieBehavior case `BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN`; r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D73609
2020-05-05 14:40:21 +00:00
Shane Caraveo 211ea5dc73 Bug 1548011 support proxy as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71118
2020-04-26 22:03:16 +00:00
Shane Caraveo cb8a65428f Bug 1444294 implement browser.permissions onAdded/Removed r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D71231
2020-04-27 16:20:12 +00:00
Cosmin Sabou 58b8c2e82b Backed out 5 changesets (bug 1630414, bug 1444294, bug 1630417, bug 1630418, bug 1548011) for failures on test_ext_all_apis.html. CLOSED TREE
Backed out changeset 1dde649fe4e0 (bug 1548011)
Backed out changeset 87d571004699 (bug 1630418)
Backed out changeset 0a2dafa70692 (bug 1630414)
Backed out changeset a127af3c4cd1 (bug 1630417)
Backed out changeset b35022051d3d (bug 1444294)
2020-04-27 00:52:27 +03:00
Shane Caraveo 15d2acc180 Bug 1548011 support proxy as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71118
2020-04-26 18:37:32 +00:00
Shane Caraveo c46b9b5698 Bug 1444294 implement browser.permissions onAdded/Removed r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D71231
2020-04-26 20:11:10 +00:00
Rob Wu 3a06d4dda0 Bug 1631771 - Add guard to clearPrimedListeners in ext-backgroundPage.js r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71990
2020-04-23 10:13:13 +00:00
Tomislav Jovanovic 50139dfc2e Bug 1624235 - Simplify handling of persistent listeners for runtime messaging r=robwu
Persistent listeners for onMessage and onConnect are special because they
don't have parent EventManagers, so we have a lot of custom code just to keep
track of which extensions have registered them during previous runs.

In this patch, I simplify all that logic to always assume that any extension
which sends messages from content scripts has those listeners setup properly.

The only observable difference is that some poorly written extensions which
were previously broken by delayed startup will now "work" by being started
earlier if a message from a content script arrives during browser startup.

Additionally, unconfuse two different meanings of the "startup" event.
Bonus, avoid some logspam during tests.

Differential Revision: https://phabricator.services.mozilla.com/D70955
2020-04-22 20:03:28 +00:00
Andrea Marchesini 279c5b07d7 Bug 1628755 - Better min/max TLS versions pref handling in the webExtension privacy API, r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D70828
2020-04-20 19:01:00 +00:00
Andrea Marchesini 637fa9bcf5 Bug 1630865 - Implement nsICookieService::getCookieStringForPrincipal() - part 4 - remove nsICookieService::getCookieString(), r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D71278
2020-04-20 10:03:43 +00:00
Geoff Lankow c7a24ee34a Bug 1623704 - Fix saveAs option of browser.downloads.download on Thunderbird. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D70470

--HG--
extra : moz-landing-system : lando
2020-04-15 10:43:18 +00:00
Andrea Marchesini 9bea58365a Bug 1624146 - Cookie code refactoring - part 10 - CookieService under mozilla::net, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D67759

--HG--
rename : netwerk/cookie/nsCookieService.cpp => netwerk/cookie/CookieService.cpp
rename : netwerk/cookie/nsCookieService.h => netwerk/cookie/CookieService.h
extra : moz-landing-system : lando
2020-04-06 12:26:14 +00:00
Myeongjun Go ddadd4ff59 Bug 1585290 - Preserve theme from other extension upon theme.reset() r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D52148

--HG--
extra : source : f9f7b5b1e6ec897fc1009fc5278fe7a650d57018
2020-03-27 15:37:46 +00:00
Narcis Beleuzu 1d3048baf5 Backed out changeset f9f7b5b1e6ec (bug 1585290) for bc failures on Database.jsm . CLOSED TREE 2020-03-27 19:17:41 +02:00
Myeongjun Go 09a0a25b55 Bug 1585290 - Preserve theme from other extension upon theme.reset() r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D52148

--HG--
extra : moz-landing-system : lando
2020-03-27 15:37:46 +00:00
Sylvestre Ledru be18fd4dba Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D67319

--HG--
extra : moz-landing-system : lando
2020-03-19 13:47:51 +00:00
Masatoshi Kimura 3df19bc1d4 Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen
Only 3 callers are using a non-UTF-8 charset as the first parameter.
* MediaDocument.cpp: This does not make sense because the "filename" part of
  URLs will always be encoded with UTF-8.
* nsContextMenu.js: This is wrong because "mailto:" URLs don't care about the
  document charset.
* Finder.jsm: This caused bug 1623222.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 10:45:28 +00:00
Luca Greco 66ccf945b0 Bug 1606903 - Record DOMException name for unexpected errors raised while executing a storage.local API call. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D66301

--HG--
extra : moz-landing-system : lando
2020-03-12 22:10:03 +00:00
Myeongjun Go 7c2632b661 Bug 1581886 - let theme.getCurrent() return an empty Theme instead of an empty object by default r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D60803

--HG--
extra : moz-landing-system : lando
2020-03-16 16:35:41 +00:00
Agi Sferro bf7b46f3d1 Bug 1621385 - Account for unaccesible tabs in mobile's WindowTracker.getAll. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D66310

--HG--
extra : moz-landing-system : lando
2020-03-13 18:12:08 +00:00
Luca Greco dd4c74e1b7 Bug 1594592 - Fix intermittent failure on test_ext_identity due to request to redirect_uri not yet cancelled. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D66377

--HG--
extra : moz-landing-system : lando
2020-03-12 19:04:24 +00:00
Mike Conley 8ba260392e Bug 1619992 - Split AboutNewTabService into AboutNewTabParentService and AboutNewTabChildService. r=perftest-reviewers,Mardak,sparky
This patch does the following:
* Moves most logic for initiating about:home / about:newtab into AboutNewTab.jsm
* Makes AboutNewTab the API surface for overriding the default about:newtab URLs.
* Reduces the surface of nsIAboutNewTabService, and makes the properties read-only
* Splits the remaining code in the nsIAboutNewTabService into an implementation for
  the parent process, and one for content processes.

This split will hopefully help reduce confusion about which code in
AboutNewTabService is running in which process.

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

--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTabService.js => browser/components/newtab/test/xpcshell/test_AboutNewTab.js
extra : moz-landing-system : lando
2020-03-11 03:10:29 +00:00
Dorel Luca 6c6fc9f3dc Backed out changeset 9160f18bc24e (bug 1619992) for XPCshell failures in newtab/test/xpcshell/test_AboutNewTab.js
--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTab.js => browser/components/newtab/test/xpcshell/test_AboutNewTabService.js
2020-03-11 04:20:31 +02:00
Mike Conley 4cb59612e3 Bug 1619992 - Split AboutNewTabService into AboutNewTabParentService and AboutNewTabChildService. r=perftest-reviewers,Mardak,sparky
This patch does the following:
* Moves most logic for initiating about:home / about:newtab into AboutNewTab.jsm
* Makes AboutNewTab the API surface for overriding the default about:newtab URLs.
* Reduces the surface of nsIAboutNewTabService, and makes the properties read-only
* Splits the remaining code in the nsIAboutNewTabService into an implementation for
  the parent process, and one for content processes.

This split will hopefully help reduce confusion about which code in
AboutNewTabService is running in which process.

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

--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTabService.js => browser/components/newtab/test/xpcshell/test_AboutNewTab.js
extra : moz-landing-system : lando
2020-03-11 01:25:31 +00:00
Luca Greco 5588906cc7 Bug 1616596 - Use ChannelWrapper and nsIHttpActivityDistributor to detect when identity.launchWebAuthFlow dialog is being navigated to the redirect_uri. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D64389

--HG--
extra : moz-landing-system : lando
2020-03-09 19:17:51 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Shane Caraveo a15443be18 Bug 1618399 make privacy permission work as an optional permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D64491

--HG--
extra : moz-landing-system : lando
2020-03-02 19:58:32 +00:00
Shane Caraveo c63fd232cc Bug 1618398 fix browserSettings use as an optional permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D64490

--HG--
extra : moz-landing-system : lando
2020-03-02 19:58:54 +00:00
dw-dev 83b5c5059d Bug 1286953 - Add new browserSettings APIs; r=mixedpuppy,Fallen
Add new zoomSiteSpecific and zoomFullPage settings in browserSettings API

Updated description of zoomSiteSpecific in brower_settings.json

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

--HG--
extra : moz-landing-system : lando
2020-02-25 12:56:02 +00:00
Mihai Alexandru Michis 8486885f18 Backed out changeset 1494b28cea80 (bug 1581886) for causing failures in browser_ext_themes_getCurrent_differentExt.js
CLOSED TREE
2020-02-21 19:36:30 +02:00
Myeongjun Go da6aebccfa Bug 1581886 - let theme.getCurrent() return an empty Theme instead of an empty object by default r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D60803

--HG--
extra : moz-landing-system : lando
2020-02-21 16:34:52 +00:00
ajitesh 32393abc70 Bug 1592831 - browser.themes.reset should not reset the global theme unless the current global theme was created by the extension r=robwu
Summary
Before the changes, if an mozilla addons theme was applied and an theme extension api has been called which call theme.reset() from background.js script then the browser theme was getting reset, which
should'nt happen. Code changes made in toolkit/components/extension/parent/ext-theme.js

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

--HG--
extra : moz-landing-system : lando
2020-02-05 20:13:07 +00:00
Andrea Marchesini 89ede87cf3 Bug 1608373 - proxy webExtension API should not expose respectBeConservative only to privileged extensions, r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D59504

--HG--
extra : moz-landing-system : lando
2020-01-22 22:43:29 +00:00
Kendall Werts 7f966c7fbf Bug 1606265 - Work on new tab containers menu popup. r=fluent-reviewers,Gijs,flod
Added right click on new tab button to open containers menu.
Removed long press and added option to enable left click in preferences menu.
Renamed privacy.userContext.longPressBehavior to privacy.userContext.newTabContainer.enabled

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

--HG--
extra : moz-landing-system : lando
2020-01-23 22:28:30 +00:00
Agi Sferro 25e16c8e74 Bug 1609226 - Don't use Services.policies if it's not defined. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D60267

--HG--
extra : moz-landing-system : lando
2020-01-17 18:10:33 +00:00
Andrea Marchesini 0d9952af9f Bug 1607371 - Limit TLS versions that can be set by extensions to >=TLS 1.2, r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D59476

--HG--
extra : moz-landing-system : lando
2020-01-13 23:14:25 +00:00
Gijs Kruitbosch 81c7e499cf Bug 969282 - don't copy http proxy values to socks proxy now that we use it for websocket connections, r=mixedpuppy,mkaply,fluent-reviewers,flod
I also took the opportunity to fix the SSL proxy label - we shouldn't label
things "SSL" anymore in 2019, unless they really are. All the comments in
bug 969282, bug 1577862 and bug 1601871 use 'HTTPS'.

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

--HG--
extra : moz-landing-system : lando
2020-01-02 12:51:40 +00:00
Narcis Beleuzu eaf9da2674 Backed out changeset 97679241a744 (bug 969282) for xpcshell failures on test_ext_proxy_config.js 2019-12-31 03:30:02 +02:00
Gijs Kruitbosch 16ba4e5886 Bug 969282 - don't copy http proxy values to socks proxy now that we use it for websocket connections, r=mixedpuppy,mkaply,fluent-reviewers,flod
I also took the opportunity to fix the SSL proxy label - we shouldn't label
things "SSL" anymore in 2019, unless they really are. All the comments in
bug 969282, bug 1577862 and bug 1601871 use 'HTTPS'.

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

--HG--
extra : moz-landing-system : lando
2019-12-30 22:20:02 +00:00
Andreea Pavel 0e150555e0 Backed out changeset 92914b96908c (bug 1585290) for failing bc at browser_ext_themes_dynamic_getCurrent.js on a CLOSED TREE 2019-12-14 02:04:42 +02:00
Myeongjun Go 27b2e355ce Bug 1585290 - theme.reset clears window theme even if another extension had called r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D52148

--HG--
extra : moz-landing-system : lando
2019-12-13 22:40:15 +00:00
Shane Caraveo 4b0ab4643c Bug 1601357 prevent self-monitoring in activityLog api r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D55841

--HG--
extra : moz-landing-system : lando
2019-12-05 14:21:52 +00:00
Nazım Can Altınova e92cf6b787 Bug 1590706 - Part 1: Add a field inside ActivePS to hold the active BrowsingContext ID. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D54144

--HG--
extra : moz-landing-system : lando
2019-11-27 14:27:39 +00:00
Mihai Alexandru Michis 096946a25f Backed out 2 changesets (bug 1590706) for causing bustages in gtest/GeckoProfiler.cpp CLOSED TREE
Backed out changeset c98daf6c7687 (bug 1590706)
Backed out changeset 4c2af658ce76 (bug 1590706)
2019-11-27 15:42:55 +02:00
Nazım Can Altınova 372b36e229 Bug 1590706 - Part 1: Add a field inside ActivePS to hold the active BrowsingContext ID. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D54144

--HG--
extra : moz-landing-system : lando
2019-11-27 12:54:13 +00:00
Shane Caraveo 38d51e8a42 Bug 1599205 Part 2: fix onChange event details object r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D54639

--HG--
extra : moz-landing-system : lando
2019-11-26 19:43:38 +00:00
Shane Caraveo 234c7eb128 Bug 1599205 Part 1: add onChange to captive url setting api r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D54793

--HG--
extra : moz-landing-system : lando
2019-11-26 19:43:00 +00:00
Andrea Marchesini 0933c7dc21 Bug 1593635 - Expose TLS min/max versions as browser-settings properties, r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D51582

--HG--
extra : moz-landing-system : lando
2019-11-26 17:31:41 +00:00
Shane Caraveo 1c6b57f5bb Bug 1410412 implement browser setting onChange event r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D51324

--HG--
extra : moz-landing-system : lando
2019-11-20 01:22:38 +00:00