Commit Graph

635 Commits

Author SHA1 Message Date
Oriol Brufau
62eb4954f7 Bug 1401610 - Add "Remove Extension" context menu item to browserAction. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D3565
2018-09-05 10:02:52 +00:00
Mark Banner
462116b7f9 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
2018-08-31 05:59:17 +00:00
Brendan Dahl
532fe1f6b0 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
2018-08-25 00:16:27 +00:00
Paolo Amadini
e56ec246f8 Bug 1482648 - Part 1 - Convert the offline broadcaster to a command. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3148
2018-08-06 15:38:04 +01:00
Paolo Amadini
4ef12bc366 Bug 1482645 - Part 2 - Don't use a broadcaster element to store sync state. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3147
2018-08-11 16:46:30 +01:00
Paolo Amadini
eec651d551 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
2018-08-20 07:38:40 +01:00
Paolo Amadini
9bb8406b1b Bug 1482610 - Part 2 - Move the remaining attributes and remove the sidebar broadcasters. r=jaws,mixedpuppy
This also fixes unintended behavior for which clicking the selected item in the sidebar selector would hide the sidebar.

Differential Revision: https://phabricator.services.mozilla.com/D3145
2018-08-19 19:54:02 +01:00
Johann Hofmann
eb0e78896d Bug 1483314 - Un-hide the appMenu separator for the content blocking section. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D3445
2018-08-16 02:04:48 +00:00
Brian Grinstead
c8b3483e82 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275
2018-08-14 16:22:44 +00:00
Paolo Amadini
1b4a4d3c71 Bug 1481813 - Part 3 - Remove bookmarkThisPageBroadcaster. r=Standard8,bgrins
The PageActions API is now used to assign a title to the bookmark action.

This also prevents some tooltips from being set unnecessarily on menu items.

Differential Revision: https://phabricator.services.mozilla.com/D3010
2018-08-13 17:25:28 +01:00
Johann Hofmann
2ec685d3c3 Bug 1476224 - Update the Tracking Protection section in the main menu for Content Blocking. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D2978
2018-08-09 01:33:38 +02:00
Johann Hofmann
4f70cfcab3 Bug 1476218 - Part 1 - Update Tracking Protection section in the identity popup for Content Blocking. r=nhnt11
This commit switches the identity popup to use "Content Blocking" as a top-level section
instead of Tracking Protection, which is now demoted to a category of Content Blocking.

To keep this change halfway reviewable, I avoided renaming variables, classNames, ids, etc.
that use the term trackingProtection if they were otherwise unaffected by this patch. There
will be other patches that can do this in the future

Differential Revision: https://phabricator.services.mozilla.com/D2775
2018-08-06 12:43:59 +02:00
Brian Grinstead
1c86f46ecd 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
2018-08-08 15:22:53 -07:00
Paolo Amadini
5bfedd8bf1 Bug 1473748 - Part 1 - Use the type of element instead of the "subviewbutton" and "subviewkeynav" classes to initialize the list of navigable elements. r=johannh
MozReview-Commit-ID: IgxwGRNLsct
2018-07-26 14:58:43 +01:00
Johann Hofmann
4908fb989e Bug 1468249 - Avoid resizing the TP toggle in the main menu in touch mode. r=dao
This also fixes bug 1468311, because it made the touch control significantly more
annoying. Now, the TP toggle in the main menu has the right size, but tapping outside
of it still doesn't trigger it, though at least the menu is not closed so the user can
easily tap again.

MozReview-Commit-ID: eRfAEwXype
2018-06-27 21:45:41 +02:00
Brian Grinstead
15d73c3684 Bug 1475304 - Remove broadcasters that only have one observer;r=Gijs,johannh
MozReview-Commit-ID: KbYBy2RjK1i
2018-07-16 11:47:58 -07:00
Johann Hofmann
0b1292dd60 Bug 1472535 - Put the main menu tracking protection toggle behind a pref. r=mikedeboer
This is assuming we want to pref off for 62 and pref on again for 63, simply delaying the feature by one release.

MozReview-Commit-ID: 7Q4uD7QJDFc
2018-07-09 13:09:53 +02:00
ui.manish
0b3c055389 Bug 1474335 - Remove toolbar.toolbarName XBL property. r=Gijs 2018-07-09 18:10:53 +02:00
ui.manish
b4ca7109ce Bug 1474240 - Remove overflowedDuringConstruction field from toolbar.xml. r=Gijs 2018-07-09 17:08:10 +02:00
Mark Striemer
bec92cae1b Bug 1446101 - Part 2: Convert the all tabs panel to photon styles r=dao
MozReview-Commit-ID: 3VzqnG6X5rw
2018-06-06 15:48:21 -05:00
Johann Hofmann
de90cae4e7 Bug 1462470 - Part 2 - Alert about trackers when Tracking Protection is off in the identity popup. r=Paolo
This commit changes the tracking protection UI to always be present in the
identity popup (control center) UI. Following the UI spec in
https://mozilla.invisionapp.com/share/RSIY1B8GMC2#/screens/297824891,
we are now warning about trackers even when TP is disabled and alter the
button that shows up in this case to open the TP settings in about:preferences.

MozReview-Commit-ID: 6g8rzWVRaua
2018-05-24 13:12:30 +02:00
Johann Hofmann
5ce05b6cd0 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Dorel Luca
52818bfb04 Backed out changeset bc39ccd992a4 (bug 1462468) for Browser-chomre failures on browser/base/content/test/trackingUI/browser_trackingUI_appMenu.js 2018-05-28 19:11:14 +03:00
Johann Hofmann
0c98acca87 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau
2018-05-22 16:26:55 +02:00
Emilio Cobos Álvarez
dc10606c82 Bug 1451256: Remove extends from toolbarpaletteitem. r=dao
Right now it uses extends="xul:button" so that the element it wraps doesn't get
mouse events. There's a way to do that with CSS, using pointer-events: none on
the child.

MozReview-Commit-ID: GKLG62HDD7l
2018-05-22 22:00:05 +02:00
Paolo Amadini
c766d617b5 Bug 1450816 - Combine the "toolbarpaletteitem" bindings in the "browser" folder. r=Gijs
MozReview-Commit-ID: BW4kDvP13Tj
2018-05-22 14:04:45 +01:00
Oriol Brufau
a6446f33a9 Bug 1457474 - Add 'Manage Extension' in browserAction context menu r=Gijs,mixedpuppy
MozReview-Commit-ID: 3iA7fCeXLVs
2018-05-14 22:23:21 +02:00
Gijs Kruitbosch
4e9eb5f188 Bug 1438490 - move overflow/underflow event handling out of toolbar.xml, r=jaws
MozReview-Commit-ID: CwkCOIm9wNk
2018-05-01 15:44:19 +01:00
Mark Striemer
0789fc45b3 Bug 1438363 - Show a doorhanger when an extension first hides a tab r=aswan,dao
MozReview-Commit-ID: DQCr3SSaZTV
2018-04-24 09:07:32 -05:00
Mark Striemer
8b1d36978f Bug 1397809 - Part 2: Add a doorhanger when an extension changes the homepage r=aswan,Gijs
MozReview-Commit-ID: CwZ3E32xROS
2018-01-11 18:59:32 -06:00
Mark Striemer
fe7abfc02e Bug 1397809 - Part 1: Convert New Tab doorhanger to a generic class r=aswan,Gijs
MozReview-Commit-ID: 40RwrXjtsJJ
2017-12-19 13:56:04 -06:00
Paolo Amadini
7f627ce196 Bug 1391948 - Don't use checkboxes for the "View Bookmarks Toolbar" and "View Bookmarks Sidebar" items in the Bookmarks button menu. r=mak
MozReview-Commit-ID: 2P3yV6xHLxi
2018-04-11 12:42:18 +01:00
Jonathan Kingston
9b880fdc20 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja
2018-02-21 14:28:48 +00:00
Paolo Amadini
959218fdcb Bug 1444392 - Part 3 - Simplify the PanelUI.show method. r=Gijs
In addition to removing the unnecessary return value and the logic that may anchor the panel to anything other than the main menu button, this also fixes the asynchronous error handling.

MozReview-Commit-ID: KaUKYUhrUoc
2018-04-04 11:34:49 +01:00
Dão Gottwald
0a8e016dc7 Bug 1450279 - Replace CAN_DRAW_IN_TITLEBAR with a run-time check. r=Gijs
MozReview-Commit-ID: Iedpcu5K74m
2018-03-30 17:36:01 +02:00
Edouard Oger
8578b6545b Bug 1184265 - Make last sync date be relative. r=markh
MozReview-Commit-ID: 2hB9F7Elynh
2018-03-20 17:08:16 -04:00
Mark Striemer
6f8e4be3ac Bug 1444149 - Revert string name change r=flod 2018-03-14 13:55:15 -05:00
Mark Striemer
4b976a2d75 Bug 1444149 - Include addon name and icon in New Tab doorhanger r=aswan
MozReview-Commit-ID: 2Mpn1iKVPbF
2018-03-09 15:23:01 -06:00
Paolo Amadini
47cfc52406 Bug 1441284 - Part 7 - Remove the "_ephemeral" property. r=Gijs
The "ephemeral" attribute was not actually used anymore, because it is redundant with the "viewCacheId" attribute.

MozReview-Commit-ID: 6zxf2DmcEfI
2018-02-26 19:50:19 +00:00
Edouard Oger
1a12c1fce4 Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s
2018-02-15 11:24:44 +08:00
Paolo Amadini
2721462de9 Bug 1437512 - Part 2 - Remove the "panelmultiview" binding. r=Gijs
MozReview-Commit-ID: H9R7ahkCr2U
2018-02-25 18:43:55 +00:00
Paolo Amadini
96c2add862 Bug 1437512 - Part 1 - Remove the "panelmultiview" binding construction. r=Gijs
MozReview-Commit-ID: 3oCvOe5th0B
2018-02-25 18:41:45 +00:00
Cosmin Sabou
bb25b037bd Backed out changeset a2147499c437 (bug 1434706) for frequent mochitest browser chrome failures on browser_contextmenu_sendpage.js 2018-02-23 22:15:08 +02:00
Edouard Oger
23fa89126c Bug 1434706 - Add identity.fxaccounts.enabled pref to disable Sync and FxA. r=markh
MozReview-Commit-ID: 4UuppJyOi5s
2018-02-15 11:24:44 +08:00
Paolo Amadini
3480d5905c Bug 1439358 - Part 7 - Close the main view synchronously before opening it in a different panel. r=Gijs
This also updates the AppMenu mozscreenshots module to work with the Photon main menu.

MozReview-Commit-ID: FciQH815F95
2018-02-22 11:25:10 +00:00
Paolo Amadini
770c924b9b Bug 1437811 - Part 2 - Prepare the main view just before opening the panel. r=Gijs
This allows the ViewShowing event for the main view to prevent the panel from opening. It also avoids setting up the main view if the panel is not opened.

MozReview-Commit-ID: LK8tBcz6lkK
2018-02-16 15:03:18 +00:00
Timothy Guan-tin Chien
e95cb5e817 Bug 1422386 - Remove toolbardecoration, toolbar, and toolbar-base binding, r=Paolo
The only purpose of these bindings was to insert a stylesheet, which has been
moved to be included in toolkit/content/components.css.

MozReview-Commit-ID: 23jqkIrbVvi
2018-02-13 22:12:18 +08:00
Edouard Oger
32e2bc7287 Bug 1434670 - Synced tabs panels adjustments. r=dao
MozReview-Commit-ID: 8HrlWciU2Rg
2018-01-31 13:28:28 -05:00
Paolo Amadini
ff1ddd6adf Bug 1434883 - Part 2 - Use an asynchronous API to open PanelMultiView panels. r=Gijs
MozReview-Commit-ID: 3VzoxJ3Ociy
2018-02-06 09:02:27 +00:00
Florian Quèze
fe6f6eb240 Bug 1434945 - toolbar.xml should ignore overflow/underflow events that don't come from its customization target, r=Gijs. 2018-02-08 19:40:16 +01:00