Commit Graph

3751 Commits

Author SHA1 Message Date
Rajesh Kathiriya
7c0507b30e Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
MozReview-Commit-ID: AH9ArRkjh78
2017-06-13 00:23:54 +05:30
Edouard Oger
4ab7e3d713 Bug 1368383 part 2 - Handle the Sync-not-ready state in page action send to device. r=markh
MozReview-Commit-ID: JYPCw3OVGXo
2017-06-01 16:52:40 -04:00
Dão Gottwald
5e90cba995 Bug 1371218 - Move browser.js' stray DOMContentLoaded handler into gBrowserInit. r=mconley
MozReview-Commit-ID: 8P7uSKdNGWK
2017-06-08 11:24:30 +02:00
Gijs Kruitbosch
2c8f60b5f8 Bug 1368194 - add tooltiptext to 'send to device' items in the page action menu, r=adw
MozReview-Commit-ID: JZDgR0d4puz
2017-06-08 12:51:06 +01:00
Gijs Kruitbosch
a5e58b1afb 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
2017-06-08 11:17:55 +01:00
Michael Layzell
a8091e0a2a 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
1b7222fed5 Bug 1370240 - Enable the ESLint no-control-regex rule across mozilla-central. r=mossop
MozReview-Commit-ID: IN7YMk7yhAO
2017-06-05 15:43:09 +01:00
Marco Bonardo
4a869f12cd Bug 1337858 - Replace CopyFavicon in the Docshell with a proper favicons API. r=standard8
MozReview-Commit-ID: 8wjSbj0FTwE
2017-05-18 16:48:23 +02:00
Andrea Marchesini
69e7e93d4f Bug 1369761 - ContextualIdentityService should not be initialized before first paint, r=florian 2017-06-13 13:04:49 +02:00
Mike de Boer
f331197d01 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
2017-06-01 19:36:04 +02:00
Ryan VanderMeulen
aff17c1bb0 Backed out changeset ff5590f1750d (bug 1367450) for browser_CaptivePortalWatcher.js failures. 2017-06-01 10:47:44 -04:00
Nihanth Subramanya
845c0a6218 Bug 1367450 - Defer initialization of CaptivePortalWatcher to just before completion of delayed startup. r=florian
MozReview-Commit-ID: I9NKOYEYc5g
2017-06-01 06:23:10 +05:30
Ryan VanderMeulen
5971155148 Backed out changeset a2b294e57559 (bug 1367450) for ESLint failures. 2017-06-01 10:04:57 -04:00
Nihanth Subramanya
3f5ed00296 Bug 1367450 - Defer initialization of CaptivePortalWatcher to just before completion of delayed startup. r=florian
MozReview-Commit-ID: 2nqIoDABm0a
2017-06-01 06:23:10 +05:30
Christoph Kerschbaumer
dafda3db17 Bug 1363975 - Have loadOneTab() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-31 20:59:02 +02:00
Timothy Guan-tin Chien
4c88727425 Bug 1363850, Part III, Set pref to make new about:preferences Nightly only, r=jaws,mconley
MozReview-Commit-ID: Khanjh79tPd
2017-05-25 18:12:00 +08:00
Ryan VanderMeulen
af21933227 Merge m-c to autoland. a=merge 2017-05-30 16:10:23 -04:00
Ryan VanderMeulen
6c81ed5efa Merge inbound to m-c. a=merge 2017-05-30 16:09:14 -04:00
Ryan VanderMeulen
e37bd512e7 Merge m-c to autoland. a=merge 2017-05-30 12:59:41 -04:00
Johann Hofmann
63c2efeb74 Bug 1365912 - Add a pref for enabling compact and touch mode. r=dao
MozReview-Commit-ID: 1hmTdl0zSKB
2017-05-30 14:09:54 +02:00
Carsten "Tomcat" Book
f49ecb7335 Merge mozilla-central to mozilla-inbound 2017-05-30 11:53:26 +02:00
Christoph Kerschbaumer
90915a5766 Bug 1365232 - Have _delayedStartup() provide the correct triggeringPrincipal. r=gijs 2017-05-16 15:29:14 +02:00
Christoph Kerschbaumer
436065ccac Bug 1363977 - Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-29 21:32:21 +02:00
Carsten "Tomcat" Book
1d3abb096a Backed out changeset 2b92af4575ae (bug 1357386) 2017-05-30 08:51:22 +02:00
Christoph Kerschbaumer
3bf6e7c868 Bug 1357386: Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-30 08:31:08 +02:00
Dan Mosedale
8d78d0ef86 Bug 1367119 - make BrowserOpenTab fire browser-open-newtab-start observer, r=Mardak
MozReview-Commit-ID: KDuG5X8yMAR
2017-05-23 16:30:50 -07:00
Drew Willcoxon
d28a56eefb Bug 1363183 - Add a "bookmark" item to the page action menu. r=mikedeboer
MozReview-Commit-ID: 9RR4U3X3gIT
2017-05-25 16:19:02 -07:00
Gijs Kruitbosch
369b50c7b1 Bug 1368370 - remove leftover page action hiding, r=dao
MozReview-Commit-ID: KEaOIYhKL6G
2017-05-29 11:40:41 +01:00
Drew Willcoxon
baa4c61b44 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
2017-05-24 15:49:43 -07:00
Sebastian Hengst
a3e07c288c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-24 11:27:29 +02:00
Paolo Amadini
efed284f45 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
2017-05-23 17:08:01 +01:00
Doug Thayer
89a15e6773 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
2017-05-19 08:56:22 -07:00
Mike de Boer
8b168d2e08 Bug 1354108 - Add the edit controls (cut, copy, paste) to the static menu panel. r=Gijs
MozReview-Commit-ID: Dudscy7dSB1
2017-05-23 12:03:00 +02:00
Carsten "Tomcat" Book
008278365e Merge mozilla-central to mozilla-inbound 2017-05-18 14:59:47 +02:00
Bob Owen
0cc06f3f6c 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
b65b937e10 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
bbbe1ef6e3 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
Bob Owen
fb46714a11 Bug 1351358 Part 2: Limit the http pages that will load in the file content process with allowLinkedWebInFileUriProcess pref. r=Gijs, r=mystor
This change means that any related http pages driven through content (window.open, links, etc.) will continue to be loaded in the file content process.
Same-origin loads via the UI will also remain in the file content process.
Cross-origin loads via the UI will cause a process switch.
History navigation will stay in the process, if it was originally loaded in that process.
2017-05-18 12:08:56 +01:00
Matthew Wein
947bca800c Bug 1266012 - Add identity indication for the moz-extensions scheme r=mixedpuppy
MozReview-Commit-ID: BtbRGPJbsHs
2017-05-10 15:14:15 -04:00
Carsten "Tomcat" Book
6be2d718f0 Backed out changeset a9ac97cc2efa (bug 1347791) for test failures in browser_ext_sessions_restore.js | restored tab has the expected url - Got about:blank, expected about:config 2017-05-17 08:11:47 +02:00
Alastor Wu
82279da901 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: EAmq6OuBYjq
2017-05-17 11:55:54 +08:00
Andreas Tolfsen
0be217c55f Bug 1355890 - Add visual cue to urlbar when under remote control r=Gijs
This patch adds a visual UX cue to visually distinguish the user agent
sessions that are under remote control from those used for normal
browsing sessions.  The new hue helps the user identify windows that
are under automation.

browser/base/content/browser.js will now query Marionette to find out if
the remote protocol is running when starting a new <xul:browser>.

The remote-control system notification will also be sent when the
Marionette remote protocol is running, activating any already opened
<xul:browser>s.  The message is sent from testing/marionette/server.js.

MozReview-Commit-ID: AsjGmLL1Rl1
2017-04-27 23:21:43 +01:00
Drew Willcoxon
f0a5124c1c Bug 1355323 - Create action menu panel with initial "copy URL" and "email link" items. r=mikedeboer
MozReview-Commit-ID: LpR63K7riho
2017-05-16 10:25:22 -07:00
Fischer.json
b2508dd4e6 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Kris Maglione
e63348d011 Bug 1356826: Part 6 - Wait for delayed startup before checking for side-loads. r=aswan
MozReview-Commit-ID: IpuRNbdUXmE
2017-04-15 14:09:41 -07:00
Florian Quèze
ff53eb9a63 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
Chris Pearce
6d56dc6942 Bug 1362212 - Remove canPlayTelemetry from _delayedStartup. r=dao
Calling HTMLMediaElement.canPlayType() on the main thread will cause
us to do disk I/O to load system decoding libraries, so we shouldn't
do it on the main thread, let alone on the parent process' main thread.

I moved the telemetry into an idle service observer off main thread
into Gecko in the previous patch.


MozReview-Commit-ID: CH6LNNLzreJ
2017-05-05 17:38:40 +12:00
Dão Gottwald
3cb52f881d Bug 1364090 - Detach the reload and stop buttons from the location bar. r=johannh
MozReview-Commit-ID: Ltp6EghiI44
2017-05-11 19:16:05 +02:00
Wes Kocher
01722415ae Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC
2017-05-10 10:45:18 -07:00
Fischer.json
fb54da55cf Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00