Commit graph

18607 commits

Author SHA1 Message Date
Tim Nguyen
20257bbe6d Bug 1413144 - Make accentcolor and textcolor optional. r=jaws
MozReview-Commit-ID: 3jERl4H9vcv

--HG--
extra : rebase_source : 833dcbb8c21a930e7b09119545ce623664237528
2018-07-10 13:27:55 +01:00
Brindusan Cristian
4d556d4962 Backed out changeset 97d4a22307ac (bug 1473910) for browser-chrome failures on browser/components/places/tests/browser/browser_toolbar_overflow.js. CLOSED TREE 2018-07-11 17:46:08 +03:00
Brian Grinstead
d00d7afe7f Bug 1473160 - Move the startup and shutdown functions out of gBrowserInit;r=Gijs
They don't rely on anything from that object, so simplify things and remove the
cross-file reference by making them normal functions.

MozReview-Commit-ID: 6iAjBWsO5zo

--HG--
extra : rebase_source : cf9b066bc99b116a0f39d87cf8cf366bc215883f
2018-07-11 06:47:19 -07:00
Brian Grinstead
916ffe84c9 Bug 1473160 - Move non browser window startup and shutdown functionality into a separate JS file;r=Gijs
These are mac-only functions used to support the dock and application menu for
non browser windows (anything that includes macWindow.inc.xul). Make this more
straightforward by splitting the code out into a new script file that gets loaded
directly by macWindow.inc.xul rather than unconditionally adding the functions
and only calling them when needed.

MozReview-Commit-ID: 8y3rij5vqyh

--HG--
extra : rebase_source : 4e9aae343a41ed497e7da1e2c7acab3d42fea8a2
2018-07-11 06:47:16 -07:00
Paolo Amadini
3e9249538d Bug 1473910 - Load "tabprompts.css" as a document stylesheet in the browser window. r=bgrins,dao
MozReview-Commit-ID: HEf70HtNiqQ

--HG--
extra : rebase_source : 8a81b8da19e5506629626c34dd17a2032d4fcafe
2018-07-09 10:09:17 +01:00
Mark Striemer
37c6bf8035 Bug 1473974 - Fix opening all tabs panel with cycle recent tabs r=dao
MozReview-Commit-ID: EGYJo8AAF2K

--HG--
extra : rebase_source : 28014b84626ff9ae8a748609060091c36fb07782
2018-07-10 13:48:57 -05:00
Marco Bonardo
021fc63b95 Bug 1388123 - Make autocomplete handle Enter on keydown. r=MattN
Some pages, like the Google login form, submit information on keydown, that
causes us to not autocomplete, because we handle keypress instead.
The patch changes autocomplete to happen on keydown.
Unfortunately formautofill also uses keydown and tries to access popup data too
late, thus it needs some hacks to work properly.
In general the formautofill code has too many indirections due to e10s, and that
makes the fix more fragile than we'd want. Ideally content autocomplete should
have its own codebase, rather than sharing the same controller as chrome code.

MozReview-Commit-ID: oAyASmDFm1

--HG--
extra : rebase_source : 64c1e7c85b203904b59e3a1e019e7f52f290cfea
2018-06-22 12:37:09 +02:00
Cosmin Sabou
26e792fe42 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
Kris Maglione
a4453fc75f Bug 1474140: Don't load FormAutofillUtils.jsm at content process startup. r=MattN
MozReview-Commit-ID: 2bOyTPU9QbX

--HG--
extra : rebase_source : 8f8c7e216612437f853df2b5cc8dd5fb3174d10b
2018-07-07 17:49:34 -07:00
Andreea Pavel
41fc51d32b Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-07-10 19:38:34 +03:00
Andreea Pavel
a80651653f Merge mozilla-inbound to mozilla-central. a=merge 2018-07-10 19:33:22 +03:00
Manish Kumar
a0dd20f6ee Bug 1473585 - Remove restoreLastSession function. r=dao
--HG--
extra : rebase_source : 422c8b774459e9869d504c1e7c907e55fc454602
2018-07-07 20:29:56 +02:00
Johann Hofmann
5f6d7909f1 Bug 1473685 - When a user "disables protection" on a site, and no trackers are detected, indicate that TP is turned off instead of on. r=nhnt11
MozReview-Commit-ID: 9JjCK1GYMbC

--HG--
extra : rebase_source : 86096c64d2fa533dc8d8632660b16e18e0b6995c
2018-07-09 12:34:44 +02:00
Ciure Andrei
79aa5c6ec9 Merge inbound to mozilla-central. a=merge 2018-07-10 00:59:02 +03:00
Paolo Amadini
99fbb28d42 Bug 1473275 - Remove the details expander in the Clear Recent History dialog. r=johannh
MozReview-Commit-ID: 99XDExBbRkp

--HG--
extra : source : 12fca1ba05db3a3eefe4a293e42f642dd6e217cc
2018-07-04 17:27:15 +01:00
Andreea Pavel
c815b24ed0 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-08 00:52:14 +03:00
Mike Conley
7c04616db1 Bug 1473598 - Remove "browser-window.css" since the workaround isn't needed anymore. r=paolo
MozReview-Commit-ID: 7sCL6k9yYTh

--HG--
extra : rebase_source : 0978948f8dd914387c8201338c324883da79df3b
extra : source : 05a2c620f8e34fcfab99d95cdcd439fc08810381
2018-07-06 08:41:48 +01:00
Bogdan Tara
f06fbe92ac Merge inbound to mozilla-central. a=merge 2018-07-07 01:00:41 +03:00
Felipe Gomes
e0fdc4c396 Bug 1471674 - Support non-required items in the whitelist from browser_startup_content.js. r=florian
MozReview-Commit-ID: BmHWFqxkry9

--HG--
extra : rebase_source : 2b3acf712b6bca9a025e46ca6f6fdbde07c2f7b5
2018-07-05 16:07:03 -03:00
Mike Conley
7364b9f659 Bug 1473034 - Ignore the gfx sanitytest window when recording start-up paints. r=florian
MozReview-Commit-ID: 9cI20Z4RbbL

--HG--
extra : rebase_source : bf13458dade67220ea06f40d82a72d3b25c8f118
2018-07-05 15:02:46 -04:00
Florian Quèze
b3566f60bb Bug 1448241 - disable browser_urlbar_keyed_search.js and browser_urlbar_search.js on Windows 32 due to intermittent OOM failures, r=mconley.
--HG--
extra : rebase_source : a8ae2cd87187defece1a92ef6fd958a925050305
2018-07-05 12:08:54 +02:00
Dão Gottwald
04dcfe28d9 Bug 1473309 - Move TabContextMenu and stray usercontext-related functions from browser.js to tabbrowser.js. r=bgrins
MozReview-Commit-ID: CA3F65x08Kg

--HG--
extra : rebase_source : 5383ad0d4365cbba53a33c835677b5fcc5facc22
2018-07-04 16:24:37 +02:00
Dão Gottwald
27cfb0f382 Bug 1442960 - Remove workaround for bug 1438504. r=bgrins
MozReview-Commit-ID: 9IdoPCF3LA5

--HG--
extra : rebase_source : 8f94397908abf3d7bdfcb1fd2b38ae4c4c201903
2018-07-04 21:53:53 +02:00
Abdoulaye O. Ly
736b4868e2 Bug 1473187 - Add support for using both Shift and Ctrl/Cmd at the same time to select tabs. r=Gijs
MozReview-Commit-ID: 3zqyjSAyIve

--HG--
extra : rebase_source : a12d31b2d41528c028899a5c3ca2e4dfc37905de
2018-07-07 03:22:23 +00:00
Dão Gottwald
343857e754 Bug 1473862 - Remove URL and title arguments from PlacesCommandHook.bookmarkPage. r=standard8
MozReview-Commit-ID: MYERqUTpD6

--HG--
extra : rebase_source : 7501a2a5c1cb163e5ffc2cb52490f8dd11405235
2018-07-06 14:08:03 +02:00
Manish Kumar
f453080096 Bug 1473253 - Stop setting onerror attribute on tabs. r=dao 2018-07-09 20:03:57 +02:00
Johann Hofmann
e7b9853987 Bug 1467385 - Use PanelMultiView APIs for keyboard navigation in the identity popup. r=Paolo
PanelMultiView has its own concept of "selected", so we should use this rather than move focus
using advanceFocusIntoSubTree.

MozReview-Commit-ID: DW2JqqggLl1

--HG--
extra : rebase_source : ec7a6f83fdda176f3286cf4395dc72de6cad2466
2018-07-02 14:34:25 +02:00
Abdoulaye O. Ly
7e388f04c4 Bug 1472074 - Fix behavior for multiselection using shift key to match other popular apps such as Chrome or Windows Explorer. r=Gijs
MozReview-Commit-ID: 8vWJJcGMOwA

--HG--
extra : rebase_source : d5b681625db23971cda2ae6f301994c3d6cc4e57
2018-06-30 03:11:31 +00:00
Gijs Kruitbosch
a68567a1a8 Bug 1473507 - fix crash in nsILoadInfo::GetOriginAttributes when passing no principal to SavePrivacyAwareURI, r=mccr8
Enforce that callers pass triggering principals through to any persist APIs,
which all delegate to SaveURIInternal.

Also add the missing principal information to the saveURL call in the page
info dialog code, which was triggering crashes in this way.

MozReview-Commit-ID: L9pNE7BxGws

--HG--
extra : rebase_source : 957d765f965aa4f942532c693cae36addd8b781d
2018-07-05 23:50:45 +01:00
James Teh
33c82e5cba Bug 1473200: Provide accessibility context for permission controls in the identity popup. r=johannh
The containers are given an ARIA role of group and labels are associated using aria-labelledby.
For example, this allows screen reader users to know which permission each control is associated with.
Otherwise, they might hear only "Clear this permission and ask again  button", with no knowledge of what the permission is.

MozReview-Commit-ID: LeiOmz6go9l

--HG--
extra : rebase_source : 66920efd9d0f72375561c5b10d4bbd765306abf1
2018-07-04 12:13:51 +10:00
James Teh
4a18ee1601 Bug 1473199: Make permission controls tabbable again in the identity popup. r=johannh
Now that the PanelMultiView keyboard navigation code is being used for the identity popup, these need a class of subviewkeynav in order to be tabbable.

MozReview-Commit-ID: 47drdy78s4F

--HG--
extra : rebase_source : 963eca07939e5f0ce808f72262bc8f2dbe353f18
2018-07-04 12:24:40 +10:00
Paolo Amadini
6312e2d6a5 Bug 1472744 - Remove the listbox in "browser/base/content/sanitize.xul". r=johannh
Support for "listitem" in preferences is also removed, in preparation for the removal of the "listbox" element and binding.

MozReview-Commit-ID: JQgdITzKoUz

--HG--
extra : source : f85e8811f574e7e75ffbbe2b9782ef601251db93
2018-07-04 12:14:17 +01:00
Axel Hecht
5bdc727943 Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws
Also changes the tooltip on the home button to be independent of the URLs
it opens, per dolske.

Some tests explicitly set browser.startup.homepage, but only through
SpecialPowers.putPrefEnv. That's a good compromise, given the extra
functionality there.

MozReview-Commit-ID: FPLxzi3jQAP

--HG--
extra : rebase_source : c2b014f2fb1c78ce04859344bd1803ef48d5d68d
2018-05-28 12:38:01 +02:00
Tim Nguyen
e6c156f9ed Bug 1347204 - Implement the colors.ntp_background and colors.ntp_text properties. r=mconley
MozReview-Commit-ID: En8HajryiJS

--HG--
extra : rebase_source : 97b007626fc9c9ed6f49b3153b02a883b293ca08
2018-04-12 16:48:23 -04:00
Cosmin Sabou
4d56fa5458 Backed out 2 changesets (bug 1347204) for ESlint failure on browser_ext_themes_ntp_colors. CLOSED TREE
Backed out changeset 29caa8009784 (bug 1347204)
Backed out changeset 46922541d170 (bug 1347204)
2018-07-06 01:13:43 +03:00
Tim Nguyen
7620721be3 Bug 1347204 - Implement the colors.ntp_background and colors.ntp_text properties. r=mconley
MozReview-Commit-ID: En8HajryiJS

--HG--
extra : rebase_source : b0b321418a68c134772616cc47ab883f8ffb9078
2018-04-12 16:48:23 -04:00
Brian Grinstead
2d00c754b4 Bug 1445764 - Remove redundant Places imports from pages that load browser.js;r=standard8
MozReview-Commit-ID: JsPiKMA21Fj

--HG--
extra : rebase_source : 3ada5cfcb0218d9c3ca798dd78ce1f6c7f1ec3f8
2018-07-03 14:26:51 -07:00
Ciure Andrei
2198f99f97 Merge inbound to mozilla-central. a=merge 2018-07-05 12:51:41 +03:00
Kris Maglione
e1e8de61c8 Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA

--HG--
extra : source : dbea1942a32f8bd565f3d500d79fa19db8916fcc
extra : absorb_source : e50ef26aa346f7890d135637411b8988925b9700
2018-07-04 12:43:21 -07:00
Coroiu Cristina
b204063b4b Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js
Backed out changeset dbea1942a32f (bug 1470333)
Backed out changeset 440ee3fab72a (bug 1470333)
2018-07-05 00:24:27 +03:00
Kris Maglione
5540b0b58f Bug 1470333: Part 2 - Avoid creating ConsoleAPI instances when debug logging is not enabled. r=MattN
MozReview-Commit-ID: Edck1SgCcDA

--HG--
extra : rebase_source : 1152d01ba7456d06a6f66ac65ceba2ef85e4747d
2018-07-04 12:43:21 -07:00
Coroiu Cristina
85d1eae068 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-05 03:33:16 +03:00
Drew Willcoxon
b6ae98cf37 Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj

--HG--
extra : rebase_source : e95bf70b9de576fe464d21f17aa0eeb27decb60b
2018-07-04 14:01:28 -07:00
Paolo Amadini
b4b62f90c9 Bug 1472153 - Load the "tabbrowser.css" content stylesheet right after "browser.css". r=dao
MozReview-Commit-ID: 7IHOn7rfych

--HG--
extra : rebase_source : 79f78a37ab7366d041ef6b2e770786378bcf978f
extra : intermediate-source : c25115854b1586761a553dc522eba3938066c974
extra : source : 839c17021ae03dd14eef2dfa10b9208250f5cfff
2018-07-02 08:52:17 +01:00
Paolo Amadini
bf4924de4a Bug 1421433 - Load the "global.css" and "browser.css" skin stylesheets earlier. r=dao
MozReview-Commit-ID: JbEHlM9XpFs

--HG--
extra : rebase_source : 4804ce5fec16b5e03aa4663f0e1462dd43305ab3
extra : intermediate-source : 1efb74e05dc52cfb62b94c6acc7610feba843e8d
extra : source : 4503f56bf96f55eb665b27df95b7d5108a9f96dc
2018-07-02 08:51:05 +01:00
Gurzau Raul
6ef785903f Merge inbound to mozilla-central. a=merge 2018-07-04 19:30:07 +03:00
Paolo Amadini
cd89e744c5 Bug 1472616 - Import all the static browser stylesheets from "browser-window.css". r=dao
This prevents a specific failure in the "browser_startup_flicker.js" test on Windows 10 only, surfaced by bug 1421433. The compact theme stylesheet is kept separate because it can be disabled independently.

MozReview-Commit-ID: 3WDkrYqZtqN

--HG--
extra : rebase_source : d4c98fb5c5f2f5ce7170ddf0592b99ca18254058
2018-07-02 08:44:54 +01:00
Gurzau Raul
03062dd04b Merge inbound to mozilla-central. a=merge 2018-07-04 12:58:33 +03:00
shindli
1384968ccc Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
2018-07-04 01:35:17 +03:00
Gijs Kruitbosch
09a107bc24 Bug 1469916, r=ckerschb,jkt
--HG--
extra : rebase_source : 180442deeef92f0e9202d76c5e4e46b630072d99
extra : source : be11a32900298eb6fd4d18ad21b9a699995254c3
2018-06-22 15:41:39 +01:00