Narcis Beleuzu
e09f2e2622
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-10-12 06:53:11 +03:00
divyansh
a5939cf925
Bug 1478694 - Ensure that WebExtensions alarms set in the past are fired immediately. r=rpl
...
Bug 1478694 - Ensure that WebExtensions alarms set in the past are fired immediately.
Differential Revision: https://phabricator.services.mozilla.com/D7287
--HG--
extra : moz-landing-system : lando
2018-10-11 19:22:21 +00:00
Gijs Kruitbosch
3fd8c2aca5
Bug 1497364 - allow browser_ext_themes_dynamic_getCurrent.js to work if window focus becomes more async, r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D8078
--HG--
extra : moz-landing-system : lando
2018-10-10 12:14:16 +00:00
Tomislav Jovanovic
7910836509
Bug 1496532 - Stop running content scripts on preallocated new tab page r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D7976
--HG--
extra : moz-landing-system : lando
2018-10-08 19:40:20 +00:00
Neil Deakin
f659f51906
Bug 1310193 - Remove wrapping of nsISupports as nsISupportsInterfacePointer in transferables. r=smaug
...
--HG--
extra : rebase_source : 562b3bcd621ad348b7e2ada8151775b188ba58ff
2018-10-07 16:33:07 +02:00
Luca Greco
f46cd9fd49
Bug 1496163 - Add installTelemetryInfo to the webext themes installed using the management.install API method. r=zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D7709
--HG--
extra : moz-landing-system : lando
2018-10-04 18:34:44 +00:00
Matt Howell
bac0d13b5d
Bug 1494709 - Check for native messaging host registrations in both the 32-bit and 64-bit registry views. r=aswan
...
This brings us into line with Chrome's behavior. Like Chrome, we check the
32-bit view first and check HKEY_CURRENT_USER before HKEY_LOCAL_MACHINE.
This patch only adds code affecting HKEY_LOCAL_MACHINE because the registry
does not use a 32-bit view in the HKEY_CURRENT_USER\Software key.
Differential Revision: https://phabricator.services.mozilla.com/D7779
--HG--
extra : moz-landing-system : lando
2018-10-04 20:36:04 +00:00
shindli
dc4495a98b
Backed out changeset 0d3748a0ad24 (bug 1420744) for c4 failures in toolkit/components/extensions/test/mochitest/test_chrome_ext_downloads_saveAs.htm
2018-10-02 04:18:05 +03:00
Arshad Kazmi
bea20ae425
Bug 1420744 - Extensions downloads.download api with saveAs flag, skips file picker in android r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D7118
--HG--
extra : moz-landing-system : lando
2018-10-01 16:59:10 +00:00
Alexandre Poirot
d13f51a0cb
Bug 1494281 - Fix possible race around devToolsTarget promise creation r=rpl
...
MozReview-Commit-ID: DlB05jFPtGL
Differential Revision: https://phabricator.services.mozilla.com/D6939
--HG--
extra : moz-landing-system : lando
2018-10-01 14:45:11 +00:00
Shane Caraveo
e7fedf66f4
Bug 1494328 fix launchWebAuthFlow to use default redirect_uri r=aswan
...
Some oauth services require the redirect uri be configured on their service,
and the reject the redirect_uri param if we send it. Chrome works fine in this scenario,
but we have been requiring the redirect_uri be provided. This addresses that requirement
by using our own default redirect url, which would be the url used to configure the
oauth service.
Differential Revision: https://phabricator.services.mozilla.com/D6945
--HG--
extra : moz-landing-system : lando
2018-09-28 13:18:00 +00:00
Tomislav Jovanovic
7cb46fea7c
Bug 1484980 - Add selective canvas tainting for content scripts r=bzbarsky
...
Reviewers: bzbarsky
Bug #: 1484980
Differential Revision: https://phabricator.services.mozilla.com/D6999
2018-09-26 20:29:36 +02:00
Gabriele Svelto
7089fe7369
Bug 1493955
- Store floating-point preferences in a locale-independent way r=njn
...
Differential Revision: https://phabricator.services.mozilla.com/D6796
--HG--
extra : moz-landing-system : lando
2018-09-28 20:54:09 +00:00
Ciure Andrei
4cd1cc463e
Backed out 1 changesets (bug 1492519) for tps perma failures a=backout
...
Backed out changeset f2b2b043c046 (bug 1492519)
2018-09-28 14:50:45 +03:00
Ciure Andrei
819cd31a93
Merge inbound to mozilla-central. a=merge
2018-09-28 11:53:32 +03:00
Brian Grinstead
eaaac5ca03
Bug 1460982 - Convert <searchbar> to a Custom Element;r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D5912
--HG--
rename : browser/components/search/content/search.xml => browser/components/search/content/searchbar.js
extra : moz-landing-system : lando
2018-09-27 23:09:55 +00:00
Bogdan Tara
8449b1c489
Backed out changeset ba1fef7b14eb (bug 1493955
) for GTest failures CLOSED TREE
2018-09-28 02:42:20 +03:00
Rob Wu
fd1f17a6e3
Bug 1280347 - Require a permission for the API r=mixedpuppy
...
The new permission is added to make it easier to audit the usage of the
API. It is an optional permission, in case we ever decide to introduce
a permission warning for it.
Differential Revision: https://phabricator.services.mozilla.com/D6771
--HG--
extra : moz-landing-system : lando
2018-09-27 08:21:07 +00:00
Rob Wu
a69fd162a2
Bug 1280347 - Normalize local ExtensionErrors r=mixedpuppy
...
Normalize errors thrown by extension API implementations in content
processes to ensure that extension code can read the error message
if the error is an instance of ExtensionUtils.ExtensionError.
This code path is triggered in browser_ext_menus_replace.js and
browser_ext_menus_replace_menu_permissions.js.
Depends on D6625
Differential Revision: https://phabricator.services.mozilla.com/D6626
--HG--
extra : moz-landing-system : lando
2018-09-27 08:21:06 +00:00
Gabriele Svelto
4d700e555a
Bug 1493955
- Store floating-point preferences in a locale-independent way r=njn
...
Differential Revision: https://phabricator.services.mozilla.com/D6796
--HG--
extra : moz-landing-system : lando
2018-09-27 20:41:39 +00:00
Dão Gottwald
1a784b026b
Bug 1492519 - lightweightThemes.selectedThemeID default should be "default-theme@mozilla.org" rather than "". r=aswan
2018-09-21 16:22:30 +02:00
Rob Wu
57241a942a
Bug 1487478 - Move MatchPattern normalization into classifyPermission r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D4707
2018-09-27 11:27:54 +02:00
Andrew Swan
5abc00958c
Bug 1498311 Handle content scripts properly on platforms without oop extensions r=zombie
...
--HG--
extra : rebase_source : 35e207d45979b5166833ad47c9e8b5892af15186
extra : source : 1cec1e9365524792ae0aeb11e53c33885f77f44e
2018-10-11 11:31:40 -07:00
shindli
620ed51b95
Backed out changeset 1cec1e936552 (bug 1498311) for ES linting failure
2018-10-12 00:10:59 +03:00
Andrew Swan
631def558c
Bug 1498311 Handle content scripts properly on platforms without oop extensions r=zombie
...
--HG--
extra : rebase_source : 96f10978d9f19c2a8ec007a725643cd58395ccb6
2018-10-11 11:31:40 -07:00
Luca Greco
c1af242594
Bug 1492963 - Avoid data migration and/or loading ContextualIdentityService right after extension startup. r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D6571
--HG--
extra : moz-landing-system : lando
2018-09-25 21:20:24 +00:00
Andrea Marchesini
61a7f9a598
Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 1 - nsICookieManager.add(), r=ehsan
2018-09-24 11:37:56 +02:00
Rob Wu
a86e2882bc
Bug 1393570 - Move cookieStoreId validator to ext-tabs-base.js r=rpl
...
This is a preparation to support cookieStoreId in the windows.create.
Depends on D4920
Differential Revision: https://phabricator.services.mozilla.com/D4928
--HG--
extra : moz-landing-system : lando
2018-09-15 18:42:48 +00:00
Dragana Damjanovic
9cadc84486
Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
...
--HG--
extra : rebase_source : be79870960953ef9535ccb6a440515ec4a8232d5
extra : histedit_source : 8096ab2eaf246cbbeb97bace0531b86b8c69ff66
2018-09-22 23:54:11 +03:00
Andreea Pavel
1cdcfb64dc
Bug 1489771 - disable test_ext_subframes_privileges.html on android r=gbrown
2018-09-20 19:02:00 +03:00
Zibi Braniecki
83ea94f5ba
Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
...
Depends on D5924
Differential Revision: https://phabricator.services.mozilla.com/D6339
--HG--
extra : moz-landing-system : lando
2018-09-21 15:30:37 +00:00
Ehsan Akhgari
f8ef224ee2
Bug 1493057 - Make sure test_ext_privacy.js doesn't depend on the default value of the network.cookie.cookieBehavior preference r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D6456
--HG--
extra : moz-landing-system : lando
2018-09-21 15:12:10 +00:00
Gurzau Raul
07d30b811f
Backed out changeset dc225279994a (bug 1473736) for web platform leaks
2018-09-21 04:30:10 +03:00
Dragana Damjanovic
70e0646d75
Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
...
Implement necko part of ESNI
Differential Revision: https://phabricator.services.mozilla.com/D2716
--HG--
extra : moz-landing-system : lando
2018-09-20 20:53:28 +00:00
Drew Willcoxon
dfefffa15d
Bug 1483033 - Fix LegacyExtensionsUtils comments and pass startup reason to Extension constructor. r=kmag
...
The jsdoc params for `EmbeddedExtension.startup` and `shutdown` don't seem to be right. These methods expect string reasons, not numeric reasons.
Also, when `startup` creates a new `Extension`, it passes only one argument, the add-on data, and when it calls `extension.startup`, it passes a reason, but that's wrong. `Extension`'s constructor expects the reason as its second argument, and `startup` doesn't take any arguments at all.
Differential Revision: https://phabricator.services.mozilla.com/D6113
--HG--
extra : moz-landing-system : lando
2018-09-20 21:58:46 +00:00
Andreea Pavel
c8f8e2da0d
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-09-21 01:00:46 +03:00
Andreea Pavel
f5f6c0b588
Merge mozilla-inbound to mozilla-central. a=merge
2018-09-21 00:54:47 +03:00
Luca Greco
5f865f59f4
Bug 1491274 - Split content script-only userScripts API from ext-userScripts.js and user_scripts.json. r=robwu,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D6156
--HG--
rename : toolkit/components/extensions/child/ext-userScripts.js => toolkit/components/extensions/child/ext-userScripts-content.js
rename : toolkit/components/extensions/schemas/user_scripts.json => toolkit/components/extensions/schemas/user_scripts_content.json
extra : moz-landing-system : lando
2018-09-20 17:25:03 +00:00
Luca Greco
28fc8336c0
Bug 1491272 - Lock experimental userScripts API behind a pref and make it enabled by default on Nightly. r=mixedpuppy
...
Depends on D6146
Differential Revision: https://phabricator.services.mozilla.com/D6147
--HG--
extra : moz-landing-system : lando
2018-09-20 17:10:37 +00:00
Luca Greco
792d7cbf1b
Bug 1491272 - Require user_scripts manifest property to have access to the userScripts API namespace. r=robwu,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D6146
--HG--
extra : moz-landing-system : lando
2018-09-20 17:09:11 +00:00
Kris Maglione
1a563ea4f2
Bug 1464938: Add extension lifecycle state information to shutdown blocker for better diagnostics. r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D6419
--HG--
extra : rebase_source : ea4a337017e34c788241eb1432afff39c64c8492
2018-09-20 11:18:39 -07:00
Luca Greco
e834e90cb2
Bug 1433335 - Send telemetry events for each AddonManager action on an extension. r=aswan
...
- Added definitions for the new telemetry events
- Send telemetry events for each AddonManager action on an extension.
- Ensure that telemetry events are sent also for the extension prompts.
Differential Revision: https://phabricator.services.mozilla.com/D4448
--HG--
extra : moz-landing-system : lando
2018-09-19 16:43:11 +00:00
Jonathan Kingston
c7c96baf75
Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4563
--HG--
extra : source : 390737876a61c5da48a1957d284d3c315fbd541a
extra : intermediate-source : f0b190c1cfb5d2df482f1051bbc0ff98de71235b
2018-08-29 15:49:12 +01:00
Brindusan Cristian
1db0587c0e
Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
...
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
55aa31a10b
Bug 1485305 - toolkit/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4563
--HG--
extra : source : 47f9b77e7e560818234862c97eef1f7124d6da4c
2018-08-29 15:49:12 +01:00
Narcis Beleuzu
94e37e71ff
Merge inbound to mozilla-central. a=merge
2018-09-19 13:00:20 +03:00
Andrew Swan
8d649d392e
Bug 1492352 Avoid keeping xpis open after an update to a disabled webextension r=kmag
...
--HG--
extra : rebase_source : a16a016cb1c5e9b5d188c9fdfc13a09b344b5ab6
2018-09-18 19:20:17 -07:00
Arshad Kazmi
8494711fea
Bug 1463487 - Use urldecoded filename by default in downloads.download r=robwu,aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D5558
--HG--
extra : moz-landing-system : lando
2018-09-19 03:51:55 +00:00
Luca Greco
747f4cbfca
Bug 1491782 - Allow unrecognized user_scripts manifest properties. r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D6016
--HG--
extra : moz-landing-system : lando
2018-09-17 20:47:58 +00:00
Luca Greco
633796a0fc
Bug 1491388 - Clear userScripts revoked urls and refresh sharedData contentScripts on register/unregister. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D5885
--HG--
extra : moz-landing-system : lando
2018-09-15 20:38:43 +00:00