Commit graph

3714 commits

Author SHA1 Message Date
Erica Wright
de48536bed Bug 1377182 - Fix animation for tabbar session restore button. r=Gijs
MozReview-Commit-ID: 9bkpvelpQEw

--HG--
extra : rebase_source : b7bcfef89c40bf94489751de26121b1329237760
2017-06-29 11:31:59 -07:00
Johann Hofmann
e57999a689 Bug 1350210 - Part 1 - Add UI density settings to customize mode. r=jaws
MozReview-Commit-ID: C0g6aFPW2pX

--HG--
extra : rebase_source : 9802bba188043c04796cf13e0741396ec1447a8d
2017-06-27 18:50:34 +02:00
Alastor Wu
ade6cb9314 Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: 58U7DJSMtss

--HG--
extra : rebase_source : 762bfd2be06e21a964fd93076867b4f72a085adc
2017-06-29 04:48:38 -07:00
Johann Hofmann
ac6ab2ed0f Bug 1364896 - Part 4 - Add a popupshowing listener to the entire document instead of individual elements. r=nhnt11
MozReview-Commit-ID: Fypw3TSziyk

--HG--
extra : rebase_source : 8578cfce32f163c487beae78733ea9a0c9d2b7cf
2017-06-27 23:05:10 +02:00
Johann Hofmann
52fae80746 Bug 1364896 - Part 2 - Increase margin of all context menus that are triggered through touch. r=dao
MozReview-Commit-ID: ISc3ZyS1njY

--HG--
extra : rebase_source : 8bbf0390a2c0dc82cfe6bb073ee0e6447f4afc81
2017-06-09 14:47:50 +02:00
Ryan VanderMeulen
309d4a291b Backed out 3 changesets (bug 1364896) for causing bug 1376466.
Backed out changeset 5c870a786e94 (bug 1364896)
Backed out changeset 134d9ee1e545 (bug 1364896)
Backed out changeset 8f52f28a9eaa (bug 1364896)
2017-06-27 14:32:07 -04:00
Johann Hofmann
8c3112beb4 Bug 1364896 - Part 2 - Increase margin of all context menus that are triggered through touch. r=dao
MozReview-Commit-ID: ISc3ZyS1njY

--HG--
extra : rebase_source : 1fb615686b4221be53fcd769e8075c2f1ca75a30
2017-06-09 14:47:50 +02:00
Erica Wright
8f442c723b Bug 1219725 - Add a button for session restore to the tab bar. r=dao,Gijs,mikedeboer,whimboo ui-r=shorlander
MozReview-Commit-ID: 6zrEbIxXp8c

--HG--
extra : rebase_source : 20ba3acdb18e98940e90f099f18c02934dee0e8b
2017-06-20 11:33:55 -07:00
Bob Owen
82095a15a7 Bug 1374997 Part 1: Make sure changing the tab is allowed, before we switch back after print preview. r=Gijs 2017-06-21 15:03:31 +01:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Rajesh Kathiriya
fafb858b26 Bug 1370225 - Enabled the ESLint comma-style rule across mozilla-central. r=standard8
MozReview-Commit-ID: 9OhLgBpYS4L

--HG--
extra : rebase_source : 5155e715934e7acd2ffadb4856eb91f481cbf56c
2017-06-15 18:24:17 +01:00
Johann Hofmann
219252fd4b Bug 1355771 - Automatically enable Firefox touch mode in Windows Tablet mode. r=dao
MozReview-Commit-ID: 1KLFdsNlib1

--HG--
extra : rebase_source : c91fe7e86c36fa388a6fbc72c69f9b0d0b44474f
2017-06-07 12:54:39 +02:00
Wes Kocher
ebf35623cd Merge mozilla-central to autoland a=merge
UPGRADE_NSS_RELEASE
2017-06-13 18:57:32 -07:00
Rajesh Kathiriya
6d3eb2c851 Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
MozReview-Commit-ID: AH9ArRkjh78

--HG--
extra : rebase_source : bdd4c4f8a4779ea373479a9cba772c036e00e816
2017-06-13 00:23:54 +05:30
Edouard Oger
2ade684a77 Bug 1368383 part 2 - Handle the Sync-not-ready state in page action send to device. r=markh
MozReview-Commit-ID: JYPCw3OVGXo

--HG--
extra : rebase_source : db403e81360a38c813aa3566a53548262a7ba487
2017-06-01 16:52:40 -04:00
Dão Gottwald
71c056b229 Bug 1371218 - Move browser.js' stray DOMContentLoaded handler into gBrowserInit. r=mconley
MozReview-Commit-ID: 8P7uSKdNGWK

--HG--
extra : rebase_source : 85b5448b15cf90dc26348211653f8e62d99fda00
2017-06-08 11:24:30 +02:00
Gijs Kruitbosch
0dd04f177f Bug 1368194 - add tooltiptext to 'send to device' items in the page action menu, r=adw
MozReview-Commit-ID: JZDgR0d4puz

--HG--
extra : rebase_source : 2bd0facf1b2697efb2c449a99701c81a4a471ecb
2017-06-08 12:51:06 +01:00
Gijs Kruitbosch
b9c12b59fb Bug 1367012 - update edit UI visibility checks for photon, r=mikedeboer
This ensures we update edit UI visibility state when opening/closing the
overflow panel, as well as ensuring we do so if/when the edit controls
get over/underflowed. It then updates the test to ensure we correctly
check the overflow panel, both for overflown items and for items
put there by the user when photon is enabled.

MozReview-Commit-ID: AjRH8wz5Pla

--HG--
extra : rebase_source : 706063645062f52333d5491907ea9ba857bcabe7
2017-06-08 11:17:55 +01:00
Michael Layzell
ac7ba92fd5 Bug 1368046 - Part 1: Propagate window.name across processes for RecvCreateWindowInDifferentProcess, r=smaug
MozReview-Commit-ID: 6xmLN9pbCKd
2017-06-07 12:54:53 -04:00
Mark Banner
c93c2a1504 Bug 1370240 - Enable the ESLint no-control-regex rule across mozilla-central. r=mossop
MozReview-Commit-ID: IN7YMk7yhAO

--HG--
extra : rebase_source : be0a9cae6eae14d4f097eced2e231a96c89c9c47
2017-06-05 15:43:09 +01:00
Marco Bonardo
dd81367ed0 Bug 1337858 - Replace CopyFavicon in the Docshell with a proper favicons API. r=standard8
MozReview-Commit-ID: 8wjSbj0FTwE

--HG--
extra : rebase_source : 9957affac43f7e04dcd94d2fa9cf2d973cd327de
2017-05-18 16:48:23 +02:00
Andrea Marchesini
3750b8cf84 Bug 1369761 - ContextualIdentityService should not be initialized before first paint, r=florian 2017-06-13 13:04:49 +02:00
Mike de Boer
86a57ab6f4 Bug 1354105 - Add zoom controls - zoom in, zoom reset, zoom out and fullscreen - buttons to the Photon app menu. r=Gijs
MozReview-Commit-ID: 8cJg4vbdYgL

--HG--
extra : rebase_source : e3276709b64aa71d884c391be4f4fa75607676f1
2017-06-01 19:36:04 +02:00
Ryan VanderMeulen
d2c439025d Backed out changeset ff5590f1750d (bug 1367450) for browser_CaptivePortalWatcher.js failures. 2017-06-01 10:47:44 -04:00
Nihanth Subramanya
6e982ab4d4 Bug 1367450 - Defer initialization of CaptivePortalWatcher to just before completion of delayed startup. r=florian
MozReview-Commit-ID: I9NKOYEYc5g

--HG--
extra : rebase_source : 156974e79c638bbbd2d6fc73ee9bde3490f2028f
2017-06-01 06:23:10 +05:30
Ryan VanderMeulen
b02794c62d Backed out changeset a2b294e57559 (bug 1367450) for ESLint failures. 2017-06-01 10:04:57 -04:00
Nihanth Subramanya
993b5198ec Bug 1367450 - Defer initialization of CaptivePortalWatcher to just before completion of delayed startup. r=florian
MozReview-Commit-ID: 2nqIoDABm0a

--HG--
extra : rebase_source : 36529b88cf0ca7ee305e9db220f6a42eca5ddbb6
2017-06-01 06:23:10 +05:30
Christoph Kerschbaumer
0944826c8a Bug 1363975 - Have loadOneTab() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-31 20:59:02 +02:00
Timothy Guan-tin Chien
0d616cb6d0 Bug 1363850, Part III, Set pref to make new about:preferences Nightly only, r=jaws,mconley
MozReview-Commit-ID: Khanjh79tPd

--HG--
extra : rebase_source : 84d197b1b1915d767049bfc0280c070e89c286d1
2017-05-25 18:12:00 +08:00
Ryan VanderMeulen
1c7a54d579 Merge m-c to autoland. a=merge 2017-05-30 16:10:23 -04:00
Ryan VanderMeulen
bd262b8cd1 Merge inbound to m-c. a=merge 2017-05-30 16:09:14 -04:00
Ryan VanderMeulen
af691573d4 Merge m-c to autoland. a=merge 2017-05-30 12:59:41 -04:00
Johann Hofmann
2b3b15148f Bug 1365912 - Add a pref for enabling compact and touch mode. r=dao
MozReview-Commit-ID: 1hmTdl0zSKB

--HG--
extra : rebase_source : ff11c96e23d80cf943d7b22173cf996d8d5dff51
2017-05-30 14:09:54 +02:00
Carsten "Tomcat" Book
c9c84e3b6a Merge mozilla-central to mozilla-inbound 2017-05-30 11:53:26 +02:00
Christoph Kerschbaumer
6d2ca8d657 Bug 1365232 - Have _delayedStartup() provide the correct triggeringPrincipal. r=gijs 2017-05-16 15:29:14 +02:00
Christoph Kerschbaumer
3fc12a8c6e Bug 1363977 - Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-29 21:32:21 +02:00
Carsten "Tomcat" Book
bdfe9a25bf Backed out changeset 2b92af4575ae (bug 1357386) 2017-05-30 08:51:22 +02:00
Christoph Kerschbaumer
74a7c96cd0 Bug 1357386: Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-30 08:31:08 +02:00
Dan Mosedale ext:(%3E)
98c3ffc703 Bug 1367119 - make BrowserOpenTab fire browser-open-newtab-start observer, r=Mardak
MozReview-Commit-ID: KDuG5X8yMAR

--HG--
extra : rebase_source : aa84a69015a7ff8fd7709b5107c8847659cf3504
2017-05-23 16:30:50 -07:00
Drew Willcoxon
83efe33bc6 Bug 1363183 - Add a "bookmark" item to the page action menu. r=mikedeboer
MozReview-Commit-ID: 9RR4U3X3gIT

--HG--
extra : rebase_source : b2307c2c64a2913fd2c0fc3d2225164fcd6d0cba
2017-05-25 16:19:02 -07:00
Gijs Kruitbosch
26219bb139 Bug 1368370 - remove leftover page action hiding, r=dao
MozReview-Commit-ID: KEaOIYhKL6G

--HG--
extra : rebase_source : 60bf711ab0332f640035e277a843aba87f85161e
2017-05-29 11:40:41 +01:00
Drew Willcoxon
547921aa65 Bug 1363182 - Add a "send to device" subview to the page action menu. r=eoger,mikedeboer
Add a Send to Device subview to the page action panel.  When the page isn't
sendable, disable the Send to Device menu item.  When the user doesn't have any
devices, show a menu item that opens the Firefox Account preferences pane.

Generalize gSync.populateSendTabToDevicesMenu() so that it can be used to
populate any kind of container, not only a menupopup with menuitems.

Add an SVG that shows a phone and an SVG that shows a desktop.

MozReview-Commit-ID: EZQKAEAr08q

--HG--
extra : rebase_source : bda87f105712a6c6ba83da1a78179eee93b5f4d0
2017-05-24 15:49:43 -07:00
Sebastian Hengst
d1ec3e6aa9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-24 11:27:29 +02:00
Paolo Amadini
33ebc4466d Bug 1009116 - Redo resizing architecture of panelmultiview. r=Gijs
The height of the "panelmultiview" binding is now determined by the stack layout code, and doesn't have to be calculated manually via JavaScript anymore. This allows the removal of mutation and overflow observers, and reduces the number of synchronous layouts being made.

There is still a workaround included for wrapping blocks not being taken into account in height calculations.

MozReview-Commit-ID: 9rrPU5O5hUx

--HG--
extra : rebase_source : b872c14a553c4293ac476d5d22c634a5a0f6cb24
extra : intermediate-source : bf96469b6ea7daee29eb75a60d11f017a1c86a64
extra : source : 719bb4e7286fbd3baf32061929e4b7d9f953c671
2017-05-23 17:08:01 +01:00
Doug Thayer
82301632cc Bug 1359733 - (pt. 2) Refactor gMenuButtonUpdateBadge r=rstrong
Since we now have a store of notifications that is global across
all windows, it no longer makes sense to consume the API from
within browser.js. This patch moves the browser.js logic out into
a jsm file that is wired up through nsBrowserGlue, such that it
will be lazily instantiated on the first update event it would
receive[1].

We decided to move this into toolkit, as this piece of the
system is fairly generic and shouldn't differ between
applications.

[1]: There is a change to nsBrowserGlue to use "global[module]"
instead of this[module]. This mirrors the code for all the other
types of notifications, and I suspect it was just a latent bug,
since the original diff that includes this line makes no use of
it.

MozReview-Commit-ID: 8EQdM9BOpgl

--HG--
rename : browser/base/content/test/appUpdate/.eslintrc.js => toolkit/mozapps/update/tests/browser/.eslintrc.js
rename : browser/base/content/test/appUpdate/browser.ini => toolkit/mozapps/update/tests/browser/browser.ini
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindow.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindow.js
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindowFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindowFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPrompt.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPrompt.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPromptNoStaging.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPromptNoStaging.js
rename : browser/base/content/test/appUpdate/browser_updatesCantApply.js => toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadSizes.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadSizes.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesDownloadFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesDownloadFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesMalformedXml.js => toolkit/mozapps/update/tests/browser/browser_updatesMalformedXml.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchWithBadPartialSize.js
extra : rebase_source : 24048650b23eff0a1da9679d1e9b5e1db1900287
2017-05-19 08:56:22 -07: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
Carsten "Tomcat" Book
067f1fa700 Merge mozilla-central to mozilla-inbound 2017-05-18 14:59:47 +02:00
Bob Owen
d01f9cd1f7 Bug 1175267 Part 1: Handle file:// URI xpi files in chrome code directly instead of routing through content browser. r=mossop 2017-05-18 13:31:44 +01:00
Bob Owen
15654b3b71 Bug 1351358 Part 4: Select correct remote type upfront when passed window arguments in browser.js onDCL. r=Gijs
This prevents short-lived processes when we are not at the maximum normal content process count and the new window's first tab is not going to load in that remote type.
2017-05-18 12:08:57 +01:00
Bob Owen
d0c57d84c1 Bug 1351358 Part 2.5: Move logic in the parent for switching in and out of Large Allocation process into browser.js RedirectLoad. r=mystor
This fixes a bug where we swap out of the Large Allocation process, when reloaded via the UI.
2017-05-18 12:08:56 +01:00