Commit Graph

18524 Commits

Author SHA1 Message Date
Gijs Kruitbosch
0ca6e1b639 Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy
2018-03-12 14:01:44 +00:00
Coroiu Cristina
d6640f68b6 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-03-16 01:43:13 +02:00
Coroiu Cristina
b2190285b2 Backed out changeset 7833a7b4a73f (bug 1429160) for browser-chrome failures at enterprisepolicies/tests/browser/browser_policies_sorted_alphabetically.js 2018-03-15 23:35:58 +02:00
Kirk Steuber
ecd7db4c98 Bug 1429160 - Create enterprise policy to disable PDFjs r=dthayer,Felipe
MozReview-Commit-ID: 4Ir407Qjdoq
2018-03-07 13:17:07 -08:00
Ed Lee
fb96c98681 Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4
2018-03-15 10:38:18 -07:00
Brindusan Cristian
a6e62d8ce3 Backed out 2 changesets (bug 1358815) for bc failures on browser_pdfjs_main.js CLOSED TREE
Backed out changeset 880736d97de3 (bug 1358815)
Backed out changeset a2a0a0990e1a (bug 1358815)
2018-03-15 21:23:12 +02:00
Zibi Braniecki
43f71f91b6 Bug 1415733 - Migrate the "Search" section of Preferences to the new Localization API. r=flod,Gijs
MozReview-Commit-ID: ltXNOkdnOV
2018-03-12 17:17:13 -07:00
Zibi Braniecki
eaa72923c7 Bug 1445084 - Migrate search results pane of Preferences to Fluent. r=flod,Gijs
MozReview-Commit-ID: BNeocrSY5Fa
2018-03-12 16:27:32 -07:00
Gijs Kruitbosch
54e2568278 Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy
2018-03-12 14:01:44 +00:00
Punam
48ce497195 Bug 1444521 - Preferences UI save to cloud downloads event listener r=jaws
MozReview-Commit-ID: LbKr1rpXn4q
2018-03-13 17:54:18 -07:00
Noemi Erli
f31b8ec798 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 19:44:05 +02:00
Brendan Dahl
8a8bb26748 Bug 1442302 - Remove placesOverlay.xul. r=Gijs,mak,standard8
The overlay was responsible for script loading and defining three elements
(bhTooltip, placesCommands, placesContext). In the majority of places where
the overlay was included only part of it was used. To remove the overlay, the
elements were each split into include files and moved into where they
were used. For the scripts, a JS file was added that defines all the lazy
modules and then this script, globalOverlay.js and utilityOverlay.js were
inlined to everywhere that would have included them from the overlay.

MozReview-Commit-ID: 8T5D46oYWLn
2018-03-12 10:43:35 -07:00
Marco Bonardo
0d3410c17d Bug 474043 - Part 5 - Remove the json suffix from nsHandlerService. r=Paolo
MozReview-Commit-ID: C7H7VlYO25i
2018-03-15 14:44:00 +01:00
Mark Striemer
d9f8c529a8 Bug 1414029 - Include learn more link on New Tab doorhanger r=aswan
MozReview-Commit-ID: 8FhsOOqZcMu
2018-03-09 10:35:27 -06:00
Margareta Eliza Balazs
71e26c30ef Merge inbound to mozilla-central. a=merge 2018-03-13 01:10:10 +02:00
Mark Banner
db677b4cc5 Bug 1444599 - Fix opening bookmark folders from the sidebar by middle/ctrl/cmd clicking. r=mak
MozReview-Commit-ID: 4B611oRaCOH
2018-03-12 12:33:32 +00:00
manikishan
02874947cf Bug 1431050 - Replace NS_ASSERT with conditional exceptions/console.assert and remove the debug.js module. r=mak
console.assert keeps the same semantics as NS_ASSERT in that it doesn't throw an exception,
but a lot of the places code was using it in a way that would be better served by throwing
an exception when the condition is false.

MozReview-Commit-ID: DEF5HSfYO36
2018-02-03 11:32:25 +05:30
Ciure Andrei
ad4bc48a6f Backed out 2 changesets (bug 1440574) for failing browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js on OS X a=backout on a CLOSED TREE
Backed out changeset f003e2175222 (bug 1440574)
Backed out changeset 1962477d8dc7 (bug 1440574)
2018-03-12 17:48:45 +02:00
Sebastian Hengst
2323548e2a Bug 1440574 - Policy: Disable commands to send feedback: Replace tab character with whitespaces. r=eslint-fix on a CLOSED TREE 2018-03-12 15:50:05 +02:00
YUKI Piro Hiroshi
d14726591e Bug 1440574 - "Policy: Disable commands to send feedback" r=Felipe 2018-03-12 05:58:00 +02:00
Joel Maher
cfcdf2b508 Bug 1439332 - disable browser/components/preferences/in-content/tests/browser_siteData.js for frequent failures on Linux. r=jmaher 2018-03-10 17:38:00 +02:00
Michael Webster
3788634df5 Bug 1418749 - Add a TaskbarProgress implementation for gtk3/x11. r=paolo,karlt
This adds support for download progress reporting via the XApp
method currently used in the Cinnamon desktop, by establishing a new
X11 window property to be supported/read by the window manager.

See https://github.com/linuxmint/xapps/blob/master/libxapp/xapp-gtk-window.c,
as well as https://github.com/linuxmint/muffin/commit/39045da0ea06f
for more details.

The property-setting code lives in nsWindow - it's a small and stable
enough chunk that it made more sense to do this than actually depend on
another external library.  As nsWindow is already using x11 calls, this
seemed the safest place for it, without affecting the build.

The TaskbarProgress instance is initialized via the DownloadsTaskbar
js module, and is handed a pointer to the current main window to call
SetProgress on.  Most of the javascript side of this is in line with
how the other platforms are handled.

Without a supporting window manager/desktop environment (currently just
Cinnamon/Muffin 3.6,) the simplest way to observe working behavior is
by calling 'xprop -spy' on the browser window being testing and watching
for updates during a download.
2018-03-08 18:43:00 +02:00
Noemi Erli
78a06363c0 Merge inbound to mozilla-central. a=merge 2018-03-10 11:58:34 +02:00
Zibi Braniecki
23ddae7949 Bug 1444564 - Fix a typo in Preferences main.xul. r=gandalf
MozReview-Commit-ID: 5X8crQ5dXb1
2018-03-09 17:12:44 -08:00
Shane Caraveo
44937af05c Bug 1443749 only reload sidebar when the url has changed r=kmag
Regression from bug 1398713.  Before that, we reloaded the entire webext-panel.xul if the
sidebar changed.  This verifies we don't reload unecessarily as well as discards
the browser to force a runtime disconnect for the extension if it does change.

MozReview-Commit-ID: LuYxmj9mSb7
2018-03-09 16:30:49 -06:00
Michael Kaply
c52f2aea15 Bug 1442749 - Add back line accidentally removed in bug 1432355. r=Gijs
MozReview-Commit-ID: B6BfCzwfeuc
2018-03-09 15:30:33 -06:00
Mike Conley
c61c0c4adc Bug 1442020 - Make PanelMultiView's description height workaround account for the possibility that panels have closed before a refresh driver tick. r=Paolo
MozReview-Commit-ID: IIjGYjoxMx5
2018-03-08 14:24:18 -05:00
Luca Greco
f237100d39 Bug 1435959 - Fix missing network requests in netmonitor panel for oop extensions. r=ochameau
MozReview-Commit-ID: F8jzwBveACm
2018-02-19 18:00:35 +01:00
Kris Maglione
1d4e106467 Bug 1444338: Make sure weak progress listener is not collected too early. r=mconley
MozReview-Commit-ID: GAwko5pkcc8
2018-03-09 08:44:37 -08:00
Dorel Luca
b6bf33a37c Merge mozilla-central to mozilla-inbound. a=merge 2018-03-09 12:01:54 +02:00
Gurzau Raul
3d427471e3 Backed out changeset 4e5253710464 (bug 1427186) for failing ss tests on /mozscreenshots/primaryUI/browser_primaryUI.js and for failing bc tests on /privatebrowsing/test/browser/browser_privatebrowsing_windowtitle.js on a CLOSED TREE 2018-03-09 01:52:11 +02:00
Gijs Kruitbosch
97c3b183c4 Bug 1427186 - stop ever showing 'new tab' as a title for about:privatebrowsing in private windows, r=dao
There are 3 issues here:
- the runtime changing of the title causes issues where the content title is
  not set. This is fixed by setting it to the private title by default;
  there is very little (if any) UI that allows users to even open
  about:privatebrowsing in 'normal' windows so we care a lot less about
  flicker there. To be able to include this title in the markup, we switched
  to a dtd.
- the 'empty tab' title we set on the tab initially is set when the tab is
  created. This has been updated to check for private windows, and default to
  'Private Browsing' instead. This will obviously also affect other new tabs
  in private browsing, but that seems desirable/consistent.
- Likewise, we use this title when updating a tab's title that we don't yet
  have a content title for (which can still happen while about:privatebrowsing
  is loading because e10s), and so that is updated, too.

MozReview-Commit-ID: nVfXD2M6UZ
2018-03-07 20:13:54 +00:00
Ed Lee
4c62b211f7 Bug 1429964 - Re-enable browser_packaged_as_locales.js with dynamically testing app locales. r=gandalf
MozReview-Commit-ID: FDyzUg0sq3W
2018-03-08 11:12:50 -08:00
Brindusan Cristian
c1e366687d Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Paolo Amadini
6d49378793 Bug 1443189 - Places subviews are not updated while they are open. r=Gijs
MozReview-Commit-ID: 5WHDqKsHjDJ
2018-03-07 22:01:58 +00:00
Dão Gottwald
07c12fda38 Bug 1443360 - Fix browser_panelUINotifications_fullscreen.js intermittent failure. r=Gijs
MozReview-Commit-ID: FTP3NXqW0oy
2018-03-08 10:24:10 +01:00
Cosmin Sabou
2d25f0942c Backed out changeset 5521f4a9012d (bug 1440578) for ESlint failure on browser/components/enterprisepolicies/Policies.jsm 2018-03-08 06:17:19 +02:00
Cosmin Sabou
b18abd7587 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-08 06:05:36 +02:00
Cosmin Sabou
ada3bae617 Merge inbound to mozilla-central. a=merge 2018-03-08 05:59:30 +02:00
shindli
032434e425 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-08 02:27:35 +02:00
shindli
4e6bac8c6c Merge inbound to mozilla-central. a=merge 2018-03-08 02:20:08 +02:00
Michael Kaply
49a69b5c69 Bug 1442738. Fix test reference removed engine. r=bustag CLOSED TREE 2018-03-07 11:03:45 -06:00
Andreea Pavel
fabfa22f25 Backed out 2 changesets (bug 1440574) for failing browser chrome at browser/components/enterprisepolicies/tests/browser/browser_policy_disable_feedback_commands.js on a CLOSED TREE
Backed out changeset 3a87db9282d8 (bug 1440574)
Backed out changeset 7afca6992b72 (bug 1440574)
2018-03-07 17:43:04 +02:00
Sebastian Hengst
41f650437a Bug 1440574 - Policy: Disable commands to send feedback: Fix eslint errors by adding semicolons. r=eslint-fix 2018-03-07 17:24:28 +02:00
Andreea Pavel
4ca8c99a69 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-07 17:21:25 +02:00
Michael Kaply
2a08262428 Bug 1442738 - Update default search config. r=mconnor 2018-03-07 08:03:05 -06:00
YUKI Piro Hiroshi
910c051f91 Bug 1440578 - Policy: "block" under "cookies" should clear already-stored cookies. r=felipc, r=jdm 2018-03-05 19:36:00 -05:00
YUKI Piro Hiroshi
81f15132df Bug 1440574 - Policy: Disable commands to send feedback. r=felipc 2018-03-05 19:13:00 -05:00
Bogdan Tara
9293384432 Merge inbound to mozilla-central. a=merge 2018-03-07 12:03:48 +02:00
shindli
42b413a4cb Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-08 02:26:38 +02:00