Commit graph

1310 commits

Author SHA1 Message Date
Mike Conley
581e75b68f Bug 1362866 - Rearrange tab focusing behaviour to avoid extra potential reflows. r=Felipe
MozReview-Commit-ID: F1S179A1GH6

--HG--
extra : rebase_source : 411989442c931efd2d9fe5c475b32b487aa6c987
2017-05-23 13:08:11 -04:00
Mike de Boer
870e1626b0 Bug 1365647 - Make sure that the panel height never shrinks below the height of the main view in panelviews, like the main menu. r=Gijs
MozReview-Commit-ID: EhjDg3Sci1y

--HG--
extra : rebase_source : bf943bbab5b8d77e73c4957dfe9cb87c64ad5659
2017-05-23 12:07:50 +02:00
Mike de Boer
96546e2ad2 Bug 1354108 - Add the edit controls (cut, copy, paste) to the static menu panel. r=Gijs
MozReview-Commit-ID: Dudscy7dSB1

--HG--
extra : rebase_source : 42ac8e4c57b19b03bcf965d40b65c81dde790fba
2017-05-23 12:03:00 +02:00
Gijs Kruitbosch
d4da052d31 Bug 1354084 - add sync / Firefox account button to hamburger panel, r=mikedeboer
MozReview-Commit-ID: 8YOFAY5VpQl

--HG--
extra : rebase_source : a4b4121fd729072ff9d2d37b01b6bea7ae27948a
2017-05-09 15:56:19 -04:00
Mike de Boer
af01a5fa65 Bug 1354144 - add support for keyboard navigation inside panel views. r=Gijs
MozReview-Commit-ID: GVMyXroGmAn

--HG--
extra : rebase_source : 146eae8a189b2536d2d3774466e2252315e3f1a1
2017-05-22 12:53:43 +02:00
Doug Thayer
1ef099e6e8 Bug 1361358 - Change update restart panel banner text r=rstrong
This keeps the banner text in sync with the doorhanger text.

MozReview-Commit-ID: Hwm3fvLZUHR

--HG--
extra : rebase_source : f115b493e8df4b8dc8c8f29f14de98a4c1d60c94
2017-05-23 16:08:49 -07:00
Ryan VanderMeulen
1734a80650 Merge m-c to inbound. a=merge 2017-05-23 11:15:49 -04:00
Paolo Amadini
dd078671da Bug 1364911 - Wait for the history subview to be populated before opening it. r=Gijs
MozReview-Commit-ID: 7F1zPhYjVnL

--HG--
extra : rebase_source : 3817f2df04090423d1d793f1e6de1da4bf07c911
extra : source : 50ae03b3ffa1d7189a673f5ebd988cfd2582931e
2017-05-15 15:03:48 +01:00
Gijs Kruitbosch
693fc8a6f8 Bug 1365294 - swap position of the fixed overflow list, r=mikedeboer
MozReview-Commit-ID: 9LlTxRLuOkx

--HG--
extra : rebase_source : bc97a85cf5e2f1f8bc10cc5e5e8883875490c2de
2017-05-17 15:05:36 +01:00
Mike de Boer
29b1cec867 Bug 1364672 - take the padding of the views into account when calculating the height of each sub view. r=Gijs
It's ok to cache the padding size of the main view and re-use it in this case,
because the padding is maintained for each view consistently.
The performance characteristics are therefore maintained.

MozReview-Commit-ID: GYT59NIiBET

--HG--
extra : rebase_source : 5bf7962367f1ff48f4e61a20535a4fbda82f419e
2017-05-17 18:05:58 +02:00
Mike de Boer
72c1387c7b Bug 1354119 - Add a Find in Page and Help subview button and panel to the photon app menu. r=Gijs
MozReview-Commit-ID: EU1QiAkGkZo

--HG--
extra : rebase_source : 733a0c0348bafa38d13c507023d117686c498937
2017-05-17 12:16:37 +02:00
Carsten "Tomcat" Book
6095625a0e Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Carsten "Tomcat" Book
99e95f665f merge autoland to mozilla-central a=merge 2017-05-16 12:33:48 +02:00
Carsten "Tomcat" Book
44cc861d1a Backed out changeset aed8ff339114 (bug 1364911) for memory leaks and making Bug/test failure bug 1340425 perma fail 2017-05-16 12:18:46 +02:00
Wes Kocher
274ba1a154 Merge inbound to central, a=merge
MozReview-Commit-ID: AFMOzsYBEjc
2017-05-15 16:22:21 -07:00
Paolo Amadini
132e133c40 Bug 1364911 - Wait for the history subview to be populated before opening it. r=Gijs
MozReview-Commit-ID: 7F1zPhYjVnL

--HG--
extra : rebase_source : fb175b80ec45dc2a1f901403bd8aa5cc2b4ffd69
extra : source : 9c81323fba749d1a209c1e5ee34b5705ec2418cc
2017-05-15 15:03:48 +01:00
Mike de Boer
eb5eb63cb7 Bug 1354128 - Add Web Developer button to the photon app menu. r=Gijs
MozReview-Commit-ID: 9hq6qX7JpSp

--HG--
extra : rebase_source : 26755f09798997233519e38e1bf5ec7d9d80c594
2017-05-12 12:38:23 -04:00
Wes Kocher
476feed09f Merge m-c to inbound, a=merge
MozReview-Commit-ID: 6IorAN8i9Ot
2017-05-15 16:34:36 -07:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Fischer.json
c0472057e4 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : e8b4399bd1e3fc5e5b220e80d6694c00a4b7e482
2017-05-09 10:43:48 -04:00
Mike de Boer
1b6021c0de Bug 1363753 - Add an option for panelmultiviews to keep the width of the mainView synchronized across all other subviews. r=Gijs
MozReview-Commit-ID: ALgU1xWydWB

--HG--
extra : rebase_source : 2825b93ec67b4d841df39ef0a61a9de429ceac9d
2017-05-15 15:02:32 +02:00
Johann Hofmann
5f95ff6cfd Bug 1364166 - Only update combined buttons style in the customizableUI panel. r=Gijs
This Photon-specific workaround styles the zoom and edit
button combinations when the user switches back to the
old menu panel. Before this patch, it used to apply the
panel style even if the buttons were in the toolbar.

This patch fixes that by not even updating the style if
the buttons are not in the panel.

MozReview-Commit-ID: JZZUTudSDeZ

--HG--
extra : rebase_source : 6ea20aba09bfe12a558dc20a6e65f324292ca0f2
2017-05-11 22:05:01 -04:00
Florian Quèze
97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Quèze
2e2f358aa9 Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Mike de Boer
9c6cf33558 Bug 1354127 - Add a 'More' toolbar button to the Photon app menu. r=Gijs
This also improves the styling of checkbox buttons inside the menu and improves
support for adopting panelviews into the app menu from another area properly.

MozReview-Commit-ID: 1I9CeBx3zrz

--HG--
extra : rebase_source : 2db487c3e8fb56bca20f8bf51367b724c677b10f
2017-05-11 16:23:16 -04:00
Ryan VanderMeulen
ff1d6f6f88 Merge m-c to autoland. a=merge 2017-05-11 11:30:47 -04:00
Sebastian Hengst
db8f56dd23 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HWYxZeNWish
2017-05-11 16:50:12 +02:00
Phil Ringnalda
680d3c0bb4 Backed out changeset 18f88f090a65 (bug 1358363) for failures in browser_panelUINotifications.js
CLOSED TREE

MozReview-Commit-ID: 3pkGasvy9tf
2017-05-10 19:27:59 -07:00
Doug Thayer
f6aa4fb856 Bug 1358363 - Update notification focuses another window. r=rstrong
Right now notifications displayed in non-focused windows are causing that window to be focused. This is annoying. We could work to make the doorhangers not focus the other windows, but a simpler solution is to just not show the doorhanger until the window is focused. This has the added benefit of ensuring that the doorhangers entry animation is seen by the user, increasing the likelihood that they will notice it.
Additionally, some existing tests involving extra windows were refactored. I stripped the old tests of their extra windows and created new tests specifically to test the behavior of background windows. These tests were modeled off of the background window tests of PopupNotifications.jsm, which create a new window knowing that this will cause the existing window to be the background, rather than explicitly manipulating the focus of the two windows.
2017-05-10 17:35:22 -07:00
Gijs
dec20c821e Bug 1354094 - show the overflow button when there are items in the permanent overflow menu, r=mikedeboer
This also disables the menu button and overflow button correctly in
customize mode, and fixes an issues where the overflow button state
would stay 'open' when closing the panel by clicking the button
a second time.

MozReview-Commit-ID: BNTkE6zvv9Q

--HG--
extra : rebase_source : caa6ca5376c0b0e6c5d3190ffaed0b34e5292fb4
2017-05-10 12:36:05 -04:00
Gijs
f12b067e8a Bug 1354082 - rm space because it's 'async function()' but 'function* ()', rs=bustage on a CLOSED TREE 2017-05-10 14:17:50 -04:00
Gijs Kruitbosch
b2a18e6463 Bug 1354082 - part 2: make overflow panel show up in customize mode and make dragging work correctly, r=mikedeboer
This reuses the logic we have for toolbar dragging and uses it for the photon panel (ie overflow panel)
to do vertical space-making animations.

It explicitly doesn't address the styling or permanently showing the overflow button (for which we have other bugs on file).


MozReview-Commit-ID: 4qrWC0H30xi

--HG--
extra : rebase_source : 57c413620aff496069b8cf371b8980a1fa432d72
extra : histedit_source : 60f65f3cb81ba0c64553bdac4dc502a6a704be90
2017-05-05 19:26:55 +01:00
Gijs Kruitbosch
9631be649d Bug 1354082 - part 1: make toggling the photon structure pref at runtime not break the panels, r=mikedeboer
This is unfortunate, but in order to keep automated tests working when we flip the pref,
it would be nice to be able to flip the pref at runtime and have things Just Work. This
tries to make that happen. We can remove most of this code post-Photon.

MozReview-Commit-ID: 8zbgCGJautO

--HG--
extra : rebase_source : 2b6df54d24d35294cc547be0b7abe5396ddec6b6
extra : histedit_source : a9b4654bbddc10a933f83a08f34d809a58b80ad9
2017-05-05 19:25:37 +01:00
Gijs
233681e912 Bug 1354082 - part 0: set prefs in all the tests that need it, r=mikedeboer
MozReview-Commit-ID: D1YDY5NvdYJ

--HG--
extra : rebase_source : 06b2b1e31efdf77b9eced71db930b6e291175e3d
extra : histedit_source : 11449e9985fea4b5f0a51fd1c73a1c41a79d66e3
2017-05-10 06:54:44 -04:00
Wes Kocher
02015c2300 Merge m-c to autoland a=merge CLOSED TREE
MozReview-Commit-ID: 5T8pxvbfKXv
2017-05-10 17:29:04 -07:00
Mike de Boer
62d93fdf1a Bug 1353360 - implement Photon design spec for panel menus. r=Gijs
MozReview-Commit-ID: BPMkiiP31BP

--HG--
extra : rebase_source : b36c5580f11f0d3ad6f4451eb2e2d60cb792e053
2017-05-10 17:29:36 -04:00
Mark Banner
2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst
95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Doug Thayer
5361205f4d Bug 1358363 - Show PanelUI notifications when window focused r=rstrong
Right now notifications displayed in non-focused windows are
causing that window to be focused. This is annoying. We could work
to make the doorhangers not focus the other windows, but a simpler
solution is to just not show the doorhanger until the window is
focused. This has the added benefit of ensuring that the doorhangers
entry animation is seen by the user, increasing the likelihood that
they will notice it.

Additionally, some existing tests involving extra windows were
refactored. I stripped the old tests of their extra windows and
created new tests specifically to test the behavior of background
windows. These tests were modeled off of the background window
tests of PopupNotifications.jsm, which create a new window knowing
that this will cause the existing window to be the background,
rather than explicitly manipulating the focus of the two windows.

MozReview-Commit-ID: 1fjrDOhEKCw

--HG--
extra : rebase_source : 954ace7e43da90fcee3da2d70c4bdbcda8456d77
2017-04-21 08:57:28 -07:00
Mike de Boer
9dae7f8028 Bug 1354141 - Introduce a new binding for Photon panels that allows for more granular control in behavior and to fork the styles entirely. r=Gijs
MozReview-Commit-ID: CDzn5r0YmYO

--HG--
extra : rebase_source : 45a7bd3d75b23af7c8e9ea812a0e66870902eaef
2017-05-10 16:05:05 -04:00
Wes Kocher
ea3b6b9f1e Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC

--HG--
extra : rebase_source : 29e2b567cd0bc75cc4e0b22af20c7efaeb73a259
2017-05-10 10:45:18 -07:00
Sebastian Hengst
8c67cb83ed Backed out changeset 3e704f6d9476 (bug 1354141) for failing mochitest browser_ext_browserAction_popup_resize.js. r=backout on a CLOSED TREE 2017-05-10 19:34:14 +02:00
Fischer.json
7102edfb97 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : 68ed5ae4ff04c79aab70e288276ca527a807a435
2017-05-09 10:43:48 -04:00
Mike de Boer
ca1311454d Bug 1354141 - Introduce a new binding for Photon panels that allows for more granular control in behavior and to fork the styles entirely. r=Gijs
MozReview-Commit-ID: CDzn5r0YmYO

--HG--
extra : rebase_source : 85496d5acc4303a2076210c470b670f36869dc83
2017-05-10 11:06:06 -04:00
Gijs Kruitbosch
c2bb6816bb Bug 1354113 - add library,add-ons,preferences,customize items, r=jaws
MozReview-Commit-ID: 3bfi30tvUTB

--HG--
extra : rebase_source : a8f393493b036c096e265b608a82ba85ac068c19
2017-05-09 11:58:59 -04:00
Mike de Boer
b15749b719 Bug 1363178 - Move the panelmultiview JS implementation to a separate module. r=Gijs
MozReview-Commit-ID: 92GCeTOp2cP

--HG--
rename : browser/components/customizableui/content/panelUI.xml => browser/components/customizableui/PanelMultiView.jsm
extra : rebase_source : a7ce301d6a3bbec13cc29ee618e06cf3864e499e
2017-05-08 16:42:16 -04:00
Gijs Kruitbosch
32b0b9df1f Bug 1355020 - part 3: add notification container and styling for photon hamburger panel, r=mikedeboer
MozReview-Commit-ID: 4Jajbo9pzg5

--HG--
extra : rebase_source : ea83b92bb8626e0449f76a00099e86ae78e0a7ef
2017-05-03 16:15:42 +01:00
Gijs Kruitbosch
cf021da921 Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S

--HG--
extra : rebase_source : c6bad5785235738161637e9f080faefd4ce2db04
2017-05-03 14:53:07 +01:00
Gijs Kruitbosch
1c3d0e4047 Bug 1355020 - part 1: disentangle update notifications from 'PanelUI' and hardcoded IDs, r=dthayer
MozReview-Commit-ID: EqLtDuRC8EH

--HG--
extra : rebase_source : 4508af1a155193ae556c0b9261aeb13a71afb0e9
2017-05-04 12:56:11 +01:00
Edouard Oger
b3b3ff9cc5 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : dcba087df94d06b15c9f073ff2df3324fd646c57
2017-04-18 14:15:43 -04:00
Sebastian Hengst
18253e3fa2 Backed out changeset 0a0138825fb5 (bug 1353571)
--HG--
rename : browser/base/content/test/sync/accounts_testRemoteCommands.html => browser/base/content/test/general/accounts_testRemoteCommands.html
rename : browser/base/content/test/sync/browser_fxa_web_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/sync/content_aboutAccounts.js => browser/base/content/test/general/content_aboutAccounts.js
2017-05-03 21:56:44 +02:00
Edouard Oger
c11e66021d Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : aa6cb209d312c6ef3f45589b0fd8fa8a39c612e3
2017-04-18 14:15:43 -04:00
Julian Descottes
3953540654 Bug 1183962 - stop installing webide button in menu or navbar automatically;r=jryans
MozReview-Commit-ID: CACgml3Xijf

--HG--
extra : rebase_source : 6fc322700f3d2113c813f2a33c09abc3ba865405
2017-05-02 22:56:40 +02:00
Gijs Kruitbosch
9941e89ec3 Bug 1354079 - add sticky / permanent part to overflow panel, r=mikedeboer
MozReview-Commit-ID: 7wv43JWLx8Q

--HG--
extra : rebase_source : d8532f3b6d15baea124480cab2f55d4944417b27
2017-04-22 10:41:03 +01:00
Iris Hsiao
1401934d7b merge mozilla-inbound to mozilla-central a=merge 2017-05-02 11:04:36 +08:00
Neil Deakin
cf77cf0e03 Bug 1356587, update the gEditUIVisible flag when the panelUI is opened and closed so that the command updating optimization actually applies. Currently it never applies once the panel has been opened at least once, r=gijs 2017-05-01 10:42:33 -04:00
Carsten "Tomcat" Book
e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Jared Wein
7dbb0e91c3 Bug 1347413 - Remove the unused browser-fullZoom:zoomReset and browser-fullZoom:zoomChange notifications. r=dao,mccr8
MozReview-Commit-ID: GeqfVngo9QT
2017-03-15 11:26:57 -04:00
Carsten "Tomcat" Book
8f4e4ca99b merge mozilla-inbound to mozilla-central a=merge 2017-04-26 08:41:31 +02:00
Robert Strong
c25c257057 Bug 1359128 - Change restart string in new app update UI and in the about window to 'Restart to update &brandShorterName;'. r=Gijs 2017-04-25 16:06:43 -07:00
Gijs Kruitbosch
7bd286889b Bug 1354116 - add open, save, page setup, print buttons to main hamburger panel, r=mikedeboer
MozReview-Commit-ID: 7mq4QpsoSPK

--HG--
extra : rebase_source : f533cba0b6af81d44f5cd472ff2acf74c369c9eb
2017-04-20 17:21:26 +01:00
Edouard Oger
b62965aebc Bug 1334430 - Keep the Synced Tabs panel open when not opening a tab in the current tab. r=markh
MozReview-Commit-ID: 6KNGjtp1yPN

--HG--
extra : rebase_source : a68421ade8e5838425e5f2598eada9671e57cf0f
2017-04-22 21:24:20 -04:00
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Iris Hsiao
0adc572c43 merge mozilla-inbound to mozilla-central a=merge 2017-04-24 11:35:45 +08:00
Florian Queze
012fd2ffcb Bug 1358173 - Removing a non-existent panelUI notification shouldn't be expensive, r=Gijs. 2017-04-22 11:20:20 +02:00
Doug Thayer
6c660b95af Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102,rstrong
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : 4609fbc2d0bd38fe16a23151d94d265761cd57b0
2017-04-10 11:11:45 -07:00
Gijs Kruitbosch
6f2b808f63 Bug 1354071 - test that using subviews in the overflow panel works, and that non-subview panels also work, r=mikedeboer
MozReview-Commit-ID: 4mzMQ2BBYLs

--HG--
extra : rebase_source : c4c236e74e8fd24745371937c9ca0c4ef5471bd0
2017-04-19 11:50:21 +01:00
Gijs Kruitbosch
6e172a32c1 Bug 1354071 - make sure context menu continues to work correctly, r=mikedeboer
MozReview-Commit-ID: DZiwogYyDBv

--HG--
extra : rebase_source : ea3a2f6914b02738c02878e75717d3d02548d0d7
2017-04-19 11:21:12 +01:00
Gijs Kruitbosch
0d9f28833b Bug 1354071 - use a panelmultiview for the overflow panel, r=mikedeboer
MozReview-Commit-ID: ERZuwC6eYQf

--HG--
extra : rebase_source : bb000fcd948897ff0694de8943223651e1e061ca
2017-04-18 12:16:47 +01:00
Kristina Kurshakova
3a5bee3b71 Bug 1344900 - Center remote tabs panel when tab syncing disabled. r=eoger
MozReview-Commit-ID: 1dBHLnP7OsE

--HG--
extra : rebase_source : 300a9892ad00c3023a66e6073120602cf0961935
2017-04-19 20:56:23 +02:00
Gijs Kruitbosch
d7d806af44 Bug 1354095 - add new {,private} window buttons to photon panel r=mikedeboer
MozReview-Commit-ID: EZ8GtGIPpNL

--HG--
extra : rebase_source : 0e0611e544ee3c03cbd4a2de7195b4901bae7180
2017-04-11 22:52:13 +01:00
Jeff Walden
c543ba16aa Bug 1350613 - Don't repeatedly create DateTimeFormat instances for the exact same set of options, but instead use cached formatters. r=markh
MozReview-Commit-ID: 6FteRerCH2x

--HG--
extra : rebase_source : 32139573340ee4fa9c331756a35e92eac9718bfd
2017-04-14 13:29:02 -07:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Marco Bonardo
19cfdf37f2 Bug 977177 - Update favicons API consumers. r=adw
Updates consumers to the new behavior.
Some consumers are changed to use  the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.

The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.

Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.

Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.

The system only supports square icons, so icons are resized based on their larger side.

This doesn't include new tests, those will be in a following changeset.

MozReview-Commit-ID: JUkpquhpS8y

--HG--
rename : toolkit/components/places/tests/unit/test_svg_favicon.js => toolkit/components/places/tests/favicons/test_svg_favicon.js
extra : rebase_source : fa49c4a81d6ab6b34a2f19ee4175e889a6e9d734
2016-09-28 16:14:30 +02:00
Iris Hsiao
9493a7eab5 Backed out changeset a9fb56b87d01 (bug 1348396) for frequent customizableui browser_panelUINotifications.js failures 2017-04-12 18:07:29 +08:00
Doug Thayer
b8c7cfa79c Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : 4d7f0880b2b4e8bd9424302bca16ef706e2fca25
2017-04-10 11:11:45 -07:00
Sebastian Hengst
12bbf7f45f Backed out changeset d6d5806e5695 (bug 1348396) for frequently failing modified test. r=backout 2017-04-11 21:31:41 +02:00
Doug Thayer
7810cd0dda Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : d0ddc7395115287620ed4c9532297e825996be1d
2017-04-10 11:11:45 -07:00
Gijs Kruitbosch
bd805725b6 Bug 1354083 - create a photon structure pref and a panel for photon hamburger menu use, r=mikedeboer
MozReview-Commit-ID: CKdxucwQfXV

--HG--
extra : rebase_source : 9fbce69b7600a1f38e9de8affb526a43b153c2d7
2017-04-10 20:02:43 +01:00
Doug Thayer
f463069928 Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX

--HG--
extra : rebase_source : ee0c1e00fe3f99e16388f0de17274ff97a3b9fcf
2017-03-21 13:50:09 -07:00
Mark Banner
585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Gijs Kruitbosch
29bf378255 Bug 1341562 - fix CustomizableUI's overflow insertion to not break if buttons aren't where we expect them, r=jaws
MozReview-Commit-ID: Fs9IYC4bvL9

--HG--
extra : rebase_source : af948f85e4675b0e83abbe6e554646b13603111a
2017-03-22 19:50:53 +00:00
Zibi Braniecki
3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst
0a04f3b9e2 Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
c2cd68a689 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Mike Conley
8903636fae Bug 1347514 - Regression test. r=dao
MozReview-Commit-ID: 98EE9BUsVtz

--HG--
extra : rebase_source : 5993a816fd71371b5e159dc79bc05a76a2f93df9
2017-03-20 12:00:33 -04:00