Commit Graph

542 Commits

Author SHA1 Message Date
Felipe Gomes
0f344c77d4 Bug 1407351 - Remove nightly-only e10s testing features from the main browser window. r=mikedeboer
The only thing that I didn't remove was the process ID on the tab tooltip, which I find to be super helpful. For that, I changed the check from E10S_TESTING_ONLY to NIGHTLY_BUILD.

MozReview-Commit-ID: 2qNWebBpsMY
2017-10-17 13:39:50 -02:00
Ryan VanderMeulen
99112e9931 Backed out 5 changesets (bug 1407351) for causing bug 1409395 and breaking nightlies.
Backed out changeset e6ee25ad6a9f (bug 1407351)
Backed out changeset 8e04412824b5 (bug 1407351)
Backed out changeset effeee94316e (bug 1407351)
Backed out changeset a53f34a45f9b (bug 1407351)
Backed out changeset 86a360e12b8a (bug 1407351)
2017-10-17 10:07:55 -04:00
Felipe Gomes
3f29526da6 Bug 1407351 - Remove nightly-only e10s testing features from the main browser window. r=mikedeboer
The only thing that I didn't remove was the process ID on the tab tooltip, which I find to be super helpful. For that, I changed the check from E10S_TESTING_ONLY to NIGHTLY_BUILD.

MozReview-Commit-ID: 8wbjdYIC3gb
2017-10-16 14:00:30 -02:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Julian Descottes
e33357b027 Bug 1361080 - filter out hidden devtools menu items in customizableui test;r=jaws
DevTools are adding a hidden menuitem "Enable DevTools..." that will be used to
propose an onboarding screen to users. This hidden button makes a customizable ui
test fail. It needs to be filtered out.

MozReview-Commit-ID: IX4SlpDHdsT
2017-10-11 17:04:22 +02:00
Erica Wright
9c350e6d69 Bug 1406191 - Cleanup browser_widget_animation.js, remove event listener and close panel correctly. r=johannh
MozReview-Commit-ID: 6IjrdxnWPqa
2017-10-10 15:59:14 -04:00
Dão Gottwald
d09618162c Bug 1406625 - Remove leftover code and styling for <toolbarbutton type="menu-button"> r=mikedeboer
MozReview-Commit-ID: 8wBsluIMZHq
2017-10-07 20:10:24 +02:00
Erica Wright
495e08000d Bug 1390313 - Item added to the overflow menu should scale down and fade out. ui-r=epang r=Gijs
MozReview-Commit-ID: 5PxydbSfhpz
2017-09-18 16:15:24 -04:00
Gijs Kruitbosch
a70af3db06 Bug 1405720 - ensure only 1 theme is ever shown as selected in customize mode, r=jaws,johannh
The previous code here always set the `isActive` property on all themes. When writing the
patch for bug 1402981 I ran into issues because the default theme has an `isActive` property
anyway (it's a different type of object). So I tried to avoid setting `isActive` if it was
already present. Unfortunately, the result was that `isActive` values, once set, weren't
correctly updated. Worse, these values are (and were, prior to bug 1402981) persisted in
some cases.

There's no point persisting these values, all that will happen is that they'll start
mismatching the 'real' state of the world (LightweightThemeManager.currentTheme). So instead,
let's just not set the `isActive` property at all, and rely solely on the ID of the current
theme (or the default theme's ID, now that we no longer support non-lightweight-themes) to
establish whether any of the themes should appear selected or not.

MozReview-Commit-ID: 7rajS71FoQR
2017-10-05 15:17:12 +01:00
Edouard Oger
8d9ed38c2f Bug 1397744 - Show the Sync animation immediately after clicking the manual sync button. r=markh
MozReview-Commit-ID: AIBjAZZlYX6
2017-09-20 13:16:19 -04:00
Sebastian Hengst
3ea44cf653 Backed out changeset 9ab9bde4021f (bug 1397744) for failing browser-chrome's browser/components/customizableui/test/browser_synced_tabs_menu.js. r=backout 2017-10-04 21:49:30 +02:00
Edouard Oger
f50c2aabd4 Bug 1397744 - Show the Sync animation immediately after clicking the manual sync button. r=markh
MozReview-Commit-ID: AIBjAZZlYX6
2017-09-20 13:16:19 -04:00
Sebastian Hengst
f9eadf482f Backed out changeset 97fdb9d392e5 (bug 1397744) for failing browser-chrome's browser/components/customizableui/test/browser_synced_tabs_menu.js. r=backout 2017-10-04 21:12:32 +02:00
Edouard Oger
5e1c52df77 Bug 1397744 - Show the Sync animation immediately after clicking the manual sync button. r=markh
MozReview-Commit-ID: AIBjAZZlYX6
2017-09-20 13:16:19 -04:00
Gijs Kruitbosch
21beddb96d Bug 1396423 - make it possible to drop items in what visually looks like the palette but isn't, r=mikedeboer
MozReview-Commit-ID: AqBwn9ovTjT
2017-09-29 15:40:48 +01:00
Gijs Kruitbosch
bec818f3cb Bug 1402981 - add light and dark themes to the list of themes in customize mode by default, r=jaws
MozReview-Commit-ID: 4GxPEm119Yc
2017-09-27 22:37:19 +01:00
Mike de Boer
3f2ca69f96 Bug 1401991 - Ensure that we don't hide panelviews that are already reparented to another multi-view and ensure to hide other panels consistently. r=Gijs
* Harden the new `hideAllViewsExcept()` to not do erroneous things if called when
   the binding is already gone.
 * Generalize things into `hideAllViewsExcept(thisOne)`:
    - Clear `_viewShowing` in there and do the descriptionHeightWorkaround thing
      in there too,
    - For Photon panels, do all the 'current' attribute setting in there. To show
      a panel during transition, I introduced the 'in-transition' attribute.
 * I had to make sure not to over-eagerly dispatch 'ViewShowing' events, because
   that confuses some,
 * Move the temporary panel handling, which contains an ephemeral panelmultiview
   instance, internally. This cleans up the hacky, duplicate PanelUI.js code nicely.
 * Keep a local copy of `_transitionDetails` to ensure it's still there after transition,
 * Harden `_cleanupTransitionPhase()` to only clear the phase that belongs to a
   specific transition, _if_ that's passed in as an argument. This resolves any
   potential raciness that might occur when `showSubView()` is called again mid-transition.
 * Skip the UITour element visibility check when it's inside a panelview, because
   too many things need to happen and that check is too simple to be useful in
   that case.

MozReview-Commit-ID: 5HpJKs1Ny5j
2017-09-29 13:51:51 +02:00
Sebastian Hengst
f146d54210 Backed out changeset 8855ba3f65ba (bug 1397744) for failing browser-chrome's browser/components/customizableui/test/browser_synced_tabs_menu.js. r=backout 2017-09-28 20:27:50 +02:00
Edouard Oger
84e93c925e Bug 1397744 - Show the Sync animation immediately after clicking the manual sync button. r=markh
MozReview-Commit-ID: AIBjAZZlYX6
2017-09-20 13:16:19 -04:00
Mike de Boer
3f03abccde Bug 1388422 - Clean up all traces of the 'browser.uiCustomization.disableAnimation' pref used to disable Customize Mode transitions in unit tests. r=Gijs
MozReview-Commit-ID: 44Q9NbKEJeC
2017-09-20 14:25:58 +02:00
Andrew Halberstadt
454052d2b2 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F
2017-08-22 16:56:02 -04:00
Gijs Kruitbosch
4d8b290d17 Bug 1399517 - CustomizableUI shouldn't try to insert items next to nodes that aren't in the right container, r=mikedeboer
MozReview-Commit-ID: H9KY7YQwmlQ
2017-09-18 16:36:46 +01:00
Gijs Kruitbosch
9f4f621edb Bug 1391280 - store last sidebar command irrespective of whether sidebar was open, r=bgrins,mixedpuppy
MozReview-Commit-ID: HBfdW5vEZaD
2017-08-23 14:06:26 +01:00
Johann Hofmann
7d223531dc Bug 1349552 - Part 3 - Add a test for drag space in customize mode. r=nhnt11
MozReview-Commit-ID: AiqY1J5WwYo
2017-09-10 20:39:21 +02:00
Gijs Kruitbosch
89bf690512 Bug 1397447 - ensure the button is in the navbar by default, r=mak
MozReview-Commit-ID: H6r3dAEg4r1
2017-09-08 14:07:05 +01:00
Gijs Kruitbosch
d48e2eaf65 Bug 1397447 - make downloads button autohide by default, r=mak
MozReview-Commit-ID: E9izQpa4fFZ
2017-09-08 14:16:36 +01:00
Sebastian Hengst
5c208f4475 merge mozilla-central to autoland. r=merge 2017-09-07 12:40:32 +02:00
Sebastian Hengst
1197f950f9 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Paolo Amadini
7c101fe117 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P
2017-09-06 13:09:27 +01:00
Gijs Kruitbosch
42c734b8a8 Bug 1396966 - fix dnd in a test to work in small screens, r=mystor
MozReview-Commit-ID: 7xqfLc1M0PA
2017-09-06 19:39:53 +01:00
Gijs Kruitbosch
7bcdebbdbc Bug 1393574 - fix flexible spacers not being removable in some circumstances, r=jaws
The goal of this patch is to ensure that:
- in default placements, specials have no unique ids
- in actual placements as stored by CUI, they do
- we reset the counter for those unique ids on reset.
- we re-number specials when building an area (like on startup, or when resetting),
  ensuring that the actual nodes always match the placements for a given area.
- we force saves after resetting, to ensure that the gNewElementCount is always persisted correctly.

This last part will also fix bug 1393661

MozReview-Commit-ID: HAS5J5ZSgB5
2017-09-06 10:02:44 +01:00
Ricky Chien
6bbcb028a8 Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Sebastian Hengst
c97c631ff5 Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout 2017-08-31 16:58:32 +02:00
Ricky Chien
4dd95d9a6c Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Gijs Kruitbosch
663af591de Back out changeset 97f7f5175b2f (bug 1371765) because we're changing the plan for the downloads button, rs=backout,firebot,paolo
MozReview-Commit-ID: FTvFDV5nuG6
2017-08-25 13:32:47 +01:00
Gijs Kruitbosch
80b3114c43 Bug 1393133 - wait for the overflow button to be visible before activating it in tests, r=jaws
MozReview-Commit-ID: 58GGrPVufZ3
2017-08-24 17:25:24 +01:00
Gijs Kruitbosch
4ee6535fb7 Bug 1389625 - clean up subview headers now that we use the title of the view instead, r=adw
The panel-subview-header is always hidden in photon (sub)panels, and so we now never show it.
Removing it avoids having to readd the old label for the bookmarks view, remove some unused
strings, and I noticed that we accidentally left the PanelUI-sidebar container which is
unused since bug 1360282.

MozReview-Commit-ID: 4ProWA1sUUs
2017-08-24 14:03:15 +01:00
Wes Kocher
68ddef6d5c Backed out changeset e774700fe070 (bug 1392787) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: FRRUDa6rIuS
2017-08-24 13:58:52 -07:00
Andrew Halberstadt
c8dc976a1e Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F
2017-08-22 16:56:02 -04:00
Jared Wein
6a7b8fa8ba Bug 1387313 - Allow dragging non-removable items (url bar, back/forward buttons) within their toolbar. r=Gijs
MozReview-Commit-ID: 1EQxMcLJn9J
2017-08-21 14:20:40 -04:00
Gijs Kruitbosch
89a0e2f431 Bug 1371765 - make downloads button non-customizable, r=jaws,Paolo
MozReview-Commit-ID: E9izQpa4fFZ
2017-08-16 15:54:36 +01:00
Gijs Kruitbosch
6ffac91d02 Bug 1391616 - make migration of existing hamburger panel contents actually work, r=jaws
MozReview-Commit-ID: 4YC4BWI10YW
2017-08-18 13:59:32 +01:00
Gijs Kruitbosch
1ef5a1589f Bug 1366207 - remember previous view's selection when keyboard navigating panels, r=mikedeboer
MozReview-Commit-ID: 14U7hkrBbJq
2017-08-15 15:21:15 +01:00
Gijs Kruitbosch
7f033e8096 Bug 1390260 - remove old customize test, add test that checks it works in main window, r=mkaply
MozReview-Commit-ID: 9Tm8kLjxukB
2017-08-15 17:42:16 +01:00
Stone Shih
b32cc04ebf Bug 1351148 Part8: Revise browser_1008559_anchor_undo_restore.js to continue the test after processing the mouse event. r=smaug.
MozReview-Commit-ID: BYF94RsKhR6
2017-07-16 12:38:13 +08:00
Sebastian Hengst
3443590645 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
Gijs Kruitbosch
e49aca3ee2 Bug 1389285 - check that clicking history items actually works, r=mikedeboer
MozReview-Commit-ID: 2WKqYaO8Iht
2017-08-11 14:05:48 +01:00
Gijs Kruitbosch
eea295f174 Bug 1388990 - avoid breaking the broadcast/listener relationships of the back/fwd buttons when customizing, r=dao
MozReview-Commit-ID: EsH3lv8QXfJ
2017-08-12 11:56:22 +01:00
Andrew Halberstadt
1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda
5e91797776 Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00