Commit graph

128 commits

Author SHA1 Message Date
Victor Porof
f9f5914039 Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00
Dão Gottwald
b72f7996d5 Bug 1560398 - Merge appMenu-fxa-status with appMenu-fxa-container. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D35470

--HG--
extra : moz-landing-system : lando
2019-06-24 20:29:46 +00:00
Boris Zbarsky
9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Edouard Oger
d3751d4293 Bug 1555771 - Update Sync and FxA illustrations. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33234

--HG--
extra : moz-landing-system : lando
2019-06-05 17:46:54 +00:00
Coroiu Cristina
598c42a9d2 Backed out changeset 8aca39389e35 (bug 1555771) for browser-chrome failures at browser/components/extensions/test/browser/browser_ext_tabs_events.js 2019-06-04 03:22:59 +03:00
Edouard Oger
6387709163 Bug 1555771 - Update Sync and FxA illustrations. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33234

--HG--
extra : moz-landing-system : lando
2019-06-03 21:24:42 +00:00
shindli
7849b17acb Backed out changeset 7f8884b7de4e (bug 1555771) for causing perma browser chrome failures in browser/base/content/test/sync/browser_sync.js CLOSED TREE 2019-06-03 22:14:42 +03:00
Edouard Oger
52eba7cee8 Bug 1555771 - Update Sync and FxA illustrations. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33234

--HG--
extra : moz-landing-system : lando
2019-06-03 17:33:47 +00:00
Cosmin Sabou
6095e3c3c4 Backed out changeset 69f10997c98f (bug 1555771) for build bustages. CLOSED TREE 2019-06-01 01:13:36 +03:00
Edouard Oger
d94afcd4dc Bug 1555771 - Update Sync and FxA illustrations. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D33234

--HG--
extra : moz-landing-system : lando
2019-05-31 21:23:19 +00:00
Vijay Budhram
313d36d38b Bug 1542334 - Add telemetry for FxA app menu r=eoger,janerik
Differential Revision: https://phabricator.services.mozilla.com/D28347

--HG--
extra : moz-landing-system : lando
2019-04-30 19:47:36 +00:00
Vijay Budhram
91d2d394b2 Bug 1546599 - Reset FxA avatar menu title on logout r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28712

--HG--
extra : moz-landing-system : lando
2019-04-24 22:41:27 +00:00
Vijay Budhram
39576bf48c Bug 1542334 - Add FxA toolbar menu to app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26377

--HG--
extra : moz-landing-system : lando
2019-04-19 14:05:24 +00:00
Vijay Budhram
cc01c2ca14 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225

--HG--
extra : moz-landing-system : lando
2019-04-09 13:30:59 +00:00
Mark Hammond
6375e0ba3a Bug 1534699 - ensure new windows default to 'setup sync' state. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D24665

--HG--
extra : moz-landing-system : lando
2019-03-25 21:47:10 +00:00
Vijay Budhram
a94082a5db Bug 1537648 - remove change avatar button from FxA menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24527

--HG--
extra : moz-landing-system : lando
2019-03-22 20:52:47 +00:00
Vijay Budhram
ff0633b2d0 Bug 1536895 - Disable send tab on Fxa avatar menu for unsupported pages, r=gijs
Differential Revision: https://phabricator.services.mozilla.com//D24430

--HG--
extra : rebase_source : 2df1723386e36a92f4350d38df37135529988732
2019-03-21 21:14:34 +00:00
Vijay Budhram
631f8208ac Bug 1537647 - fix focus on FxA menu when activated via keyboard r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24381

--HG--
extra : moz-landing-system : lando
2019-03-21 18:22:49 +00:00
Vijay Budhram
2c33b42b2c Bug 1536467 - bind callbacks to this for Send Tab to Device subview so they work when we're waiting for the initial sync r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24068

--HG--
extra : moz-landing-system : lando
2019-03-19 19:25:01 +00:00
Gijs Kruitbosch
718ffb7d51 Bug 1524665 - update sync now item when syncing, r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com//D23695
2019-03-18 15:44:28 +00:00
Vijay Budhram
b326d15f68 Bug 1524665 - Add send tab to device button, r=gijs
Differential Revision: https://phabricator.services.mozilla.com//D23387

--HG--
extra : rebase_source : 2f41fc8a0f78149105b32b87017e1d9035cc5d3e
2019-03-13 20:31:59 +00:00
Vijay Budhram
de28a9888d Bug 1524665 - Add FxA avatar toolbar menu, r=gijs,eoger
Differential Revision: https://phabricator.services.mozilla.com//D20433

--HG--
extra : rebase_source : b5d3d213eb130d46b6786a8445a85944bfef32e2
2019-02-23 17:56:19 +00:00
Edouard Oger
ff5f53617b Bug 1528622 - Debounce FxA Send Tab commands. r=markh,rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D21286

--HG--
extra : moz-landing-system : lando
2019-03-12 01:05:03 +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
Edouard Oger
40fc208fc3 Bug 1516997 p2 - Use hasSyncedThisSession to determine if Send Tab is configured and loading. r=markh
Depends on D15657

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

--HG--
extra : moz-landing-system : lando
2019-01-03 22:29:03 +00:00
Art-Vanderlay
76fda25cc2 Bug 1507836 - Use long style in "last sync" date formatted r=eoger
Changed format style in "last sync" date from short to long.

Hovering over listed devices in 'send tab to device' on the page action menu shows the last sync date in the short style (last synced: 1 min ago). Changed this to display date in the long style (last synced: 1 minute ago).

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

--HG--
extra : moz-landing-system : lando
2018-12-02 18:46:47 +00:00
Edouard Oger
c6eabb1525 Bug 1507294 - Display all compatible FxA devices in send tab menu. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D11955

--HG--
extra : moz-landing-system : lando
2018-11-16 03:03:13 +00:00
Jared Wein
b08075b904 Bug 1492702 - Send the contextual link to the device, not the selected tab when a link is right-clicked. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D6980

--HG--
extra : moz-landing-system : lando
2018-09-27 07:49:05 +00:00
Abdoulaye O. Ly
f39692c1fe Bug 1470555 - Implement ability to send a selection of tabs. r=flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D3126

--HG--
extra : moz-landing-system : lando
2018-09-04 14:36:05 +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
Paolo Amadini
9ea46d2e0b Bug 1482645 - Part 2 - Don't use a broadcaster element to store sync state. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3147

--HG--
extra : rebase_source : 34dc6f38f7d8a5ad0e8ed570c9e7efb0c78ca219
2018-08-11 16:46:30 +01:00
Paolo Amadini
10acfef229 Bug 1482645 - Part 1 - Don't use broadcaster elements to show or hide sync interface elements. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3146

--HG--
extra : rebase_source : cf109b83c572b183cd69390ae0f6ef2c4c0339fa
2018-08-20 07:38:40 +01:00
Edouard Oger
7a730215d7 Bug 1483979 - Enable fxa commands r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3569

--HG--
extra : moz-landing-system : lando
2018-08-17 17:56:52 +00:00
Brian Grinstead
abf1620630 Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw

--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
Dave Townsend
389a969138 Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D2489

--HG--
extra : moz-landing-system : lando
2018-07-31 19:13:38 +00:00
Edouard Oger
6ebb7fced3 Bug 1466933 - Implement FxA commands. r=markh,rfkelly
MozReview-Commit-ID: EXLO3vnu9vB

--HG--
extra : rebase_source : 75660e909647ef0dd4f56326d38fbe4c1e5f7716
2018-05-30 17:23:56 -04:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Edouard Oger
783ac499bc Bug 1442133 - FxA messages client implementation. r=markh,tcsc
MozReview-Commit-ID: EWYlZLdyUA0

--HG--
extra : rebase_source : ac540a5d1c26067c95314d07a32db8994f3dcee6
2018-03-07 13:38:12 -05:00
Amy Chan
d494f855f6 Bug 1446975 - Replace synced Tabs sidebar device icons. r=eoger
MozReview-Commit-ID: GnawrVrfpEz


--HG--
rename : browser/themes/shared/icons/device-mobile.svg => browser/themes/shared/icons/device-phone.svg
2018-04-12 19:22:38 -04:00
Gurzau Raul
50d002961a Backed out 2 changesets (bug 1446975) for failing xpcshell on sync/tests/unit/test_syncedtabs.js and browser-chrome failures e.g. test/urlbar/browser_page_action_menu.js on a CLOSED TREE
Backed out changeset 69653800c483 (bug 1446975)
Backed out changeset 44e3e7446b02 (bug 1446975)

--HG--
rename : browser/themes/shared/icons/device-phone.svg => browser/themes/shared/icons/device-mobile.svg
2018-04-13 01:28:22 +03:00
Amy Chan
711220e6e7 Bug 1446975 - Replace synced Tabs sidebar device icons. r=eoger
MozReview-Commit-ID: GnawrVrfpEz


--HG--
rename : browser/themes/shared/icons/device-mobile.svg => browser/themes/shared/icons/device-phone.svg
2018-04-12 16:18:22 -04:00
Jonathan Kingston
ff73ac0338 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja

--HG--
extra : rebase_source : 29d337e111d82e9c5729b5a59e1a16d06e67774c
2018-02-21 14:28:48 +00:00
Kit Cambridge
94aaf48948 Bug 1448929 - Fix first sync check in gSync.syncConfiguredAndLoading. r=eoger
MozReview-Commit-ID: 8Xk6DMHroTm

--HG--
extra : rebase_source : eba433ff16f9b3088958878cdc7223ec68f68e18
2018-03-26 09:35:29 -07:00
arthur.iakab
7dab3e47c9 Backed out changeset a687dfe9f2de (bug 1448929) for failing browser chrome tests on browser/base/content/test/urlbar/browser_page_action_menu.js on a CLOSED TREE 2018-03-26 22:40:23 +03:00
Kit Cambridge
1fdb02785a Bug 1448929 - Fix first sync check in gSync.syncConfiguredAndLoading. r=eoger
MozReview-Commit-ID: 8Xk6DMHroTm

--HG--
extra : rebase_source : 4dc5bbf2a2c70fb96872d6f9c68570241e6e2438
2018-03-26 09:35:29 -07:00
Edouard Oger
9b6026748b Bug 1184265 - Make last sync date be relative. r=markh
MozReview-Commit-ID: 2hB9F7Elynh

--HG--
extra : rebase_source : dbf962b1fd3f4121f0bcc8276e932f0c49ab90b3
2018-03-20 17:08:16 -04:00
Edouard Oger
4aea0be2d6 Bug 1439777 p2 - Remove weave:ui:* related code. r=markh,tcsc
MozReview-Commit-ID: D1H36YeiJCS

--HG--
extra : rebase_source : 16b7f01ed6f9b03534945d718c567dad0daa4ff3
2018-02-22 16:30:39 +08:00
Narcis Beleuzu
8c7d795b53 Backed out 2 changesets (bug 1439777) for xpcshell failures on /test_errorhandler_2.js
Backed out changeset d99402ad9ecc (bug 1439777)
Backed out changeset 1af3426dc956 (bug 1439777)
2018-03-06 04:43:41 +02:00
Edouard Oger
934abf11b3 Bug 1439777 p2 - Remove weave:ui:* related code. r=markh,tcsc
MozReview-Commit-ID: D1H36YeiJCS

--HG--
extra : rebase_source : dd7218b5f0bd36dc4c71d2a7c95a92bba4da2d12
2018-02-22 16:30:39 +08:00
shindli
51dcc3d916 Backed out 2 changesets (bug 1439777) for browser chrome in browser/components/customizableui/test/browser_remote_tabs_button.js and xpc-shell failures in services/sync/tests/unit/test_errorhandler_2.js on a CLOSED TREE
Backed out changeset 6e83f07e8f2f (bug 1439777)
Backed out changeset 8856efbc78a7 (bug 1439777)

--HG--
extra : histedit_source : 6472e71267b81d2ed8782eeb900c8e12b3e58e52
2018-03-05 18:59:03 +02:00