Commit graph

18627 commits

Author SHA1 Message Date
Kris Maglione
359bb8002c Bug 1471025: Follow-up: Bump pref access expectations for nonexistent preferences again. r=bustage,test-only DONTBUILD
--HG--
extra : amend_source : 38793b694f7a81dc802b0159b228a0e45515b78f
2018-07-14 01:45:09 -07:00
Kris Maglione
9b5cf7e9da Bug 1471025: Part 1 - Store preference access counts in a separate hashtable. r=njn
Once the majority of preferences are stored in a read-only shared map, it
won't be possible to modify the access counts in their entries. Which means we
need a separate map for the access counts.

Fortunately, this code is only active in debug builds, so it shouldn't affect
release users. And the net impact on memory usage of this patchset will still
be decidedly downward.

MozReview-Commit-ID: EuLXlMQJP1M

--HG--
extra : intermediate-source : c490838c8329f6b0c21fa57ef078c44bf7a9ba8d
extra : absorb_source : 37a0f7a5fecba6c28bd6ce30644543c6d60ac823
extra : source : 4a8fbb472c91f13554cac3d0ea638cf9f368ff11
extra : histedit_source : 0e5a5f1cded97bcc959be15aa7194c017fd7efcc%2Cc0ae2011b9b40e6445ee366303f8ec4bb10cc87b
2018-07-02 23:33:28 -07:00
Noemi Erli
9793ca2da4 Merge inbound to mozilla-central. a=merge 2018-07-14 00:52:51 +03:00
Brindusan Cristian
a68383b333 Backed out 12 changesets (bug 1471025) for build bustages on dom/ipc/ContentProcess.cpp. CLOSED TREE
Backed out changeset 398ccedc20dc (bug 1471025)
Backed out changeset 599895de063e (bug 1471025)
Backed out changeset dc7ec17179d1 (bug 1471025)
Backed out changeset 5051f15fc200 (bug 1471025)
Backed out changeset faef4df47b20 (bug 1471025)
Backed out changeset d344247b8706 (bug 1471025)
Backed out changeset 83d98ea5ebac (bug 1471025)
Backed out changeset 38f690f30e78 (bug 1471025)
Backed out changeset 4b7a8a35ed95 (bug 1471025)
Backed out changeset e3bbc87b71af (bug 1471025)
Backed out changeset 68bb03c63b3c (bug 1471025)
Backed out changeset 4a8fbb472c91 (bug 1471025)
2018-07-13 22:11:24 +03:00
Paolo Amadini
da419e0e8e Bug 1472748 - Convert the listbox in "editBookmarkPanel.inc.xul" to "richlistbox". r=mak
This uses the same event handling as the "listbox" and "listitem-checkbox" bindings that are scheduled for removal, and copies the required styles locally.

There is no need to preserve the scroll position explicitly anymore, because "richlistbox" handles scrolling like regular elements, and we don't want to persist the position when the selector is closed and reopened.

MozReview-Commit-ID: 4gYhwlprPN7

--HG--
extra : source : a92f9683c6cdaeb5541b85eb77adf46448716a7b
2018-07-13 15:37:31 +01:00
Kris Maglione
ea9eafabda Bug 1471025: Part 1 - Store preference access counts in a separate hashtable. r=njn
Once the majority of preferences are stored in a read-only shared map, it
won't be possible to modify the access counts in their entries. Which means we
need a separate map for the access counts.

Fortunately, this code is only active in debug builds, so it shouldn't affect
release users. And the net impact on memory usage of this patchset will still
be decidedly downward.

MozReview-Commit-ID: EuLXlMQJP1M

--HG--
extra : rebase_source : 6a32f03c37622093c67e7ee7a0e935d1e63c4fc8
2018-07-02 23:33:28 -07:00
Paolo Amadini
7555809ad6 Bug 1470870 - Load "menu.css" as a document stylesheet. r=bgrins
The specificity of some Windows rules is reduced to match other platforms.

MozReview-Commit-ID: 28oUf7b6vCW

--HG--
extra : source : 3c131dac495ed46d524f4de2f92cfe79049aff8f
extra : intermediate-source : 7c1de225e4ab5dff9443c763ad59f5aecd72a593
2018-07-13 10:20:21 +01:00
Margareta Eliza Balazs
448f792f96 Merge inbound to mozilla-central. a=merge 2018-07-13 11:52:00 +03:00
Marco Bonardo
d932936d53 Bug 1475276 - Remove some no more necessary usage of promiseItemGuid. r=lina
Some code is unnecessarily using promiseItemGuid

Differential Revision: https://phabricator.services.mozilla.com/D2100

--HG--
extra : moz-landing-system : lando
2018-07-12 21:38:21 +00:00
Andreea Pavel
1e8d2e6f7d Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE
Backed out changeset 5a46a221b6e8 (bug 1420514)
Backed out changeset 48ed6dfe8772 (bug 1420514)
Backed out changeset 01bf643c77e5 (bug 1420514)
Backed out changeset 5791b17ccb82 (bug 1420514)
Backed out changeset 416e398d942f (bug 1420514)
Backed out changeset de4a4592dbd9 (bug 1420514)
Backed out changeset d3399edf0197 (bug 1420514)
2018-07-12 21:22:32 +03:00
Ehsan Akhgari
fb93671fb6 Bug 1474384 - Memoize the nsIURI object returned from the currentURI getter for lazy <xul:browser> objects; r=dao 2018-07-12 13:11:00 +03:00
Johann Hofmann
45ac034b6e Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 60040607f91cd0477fbf98c49b77b8ee09112a17
2018-07-05 23:45:34 +02:00
Abdoulaye O. Ly
c9f1e7bcbf Bug 1472910 - Close all unselected tabs except those pinned with gBrowser.removeAllTabsBut(aTab) when aTab is multi-selected. r=jaws
MozReview-Commit-ID: 9gqSJmiBbCs

--HG--
extra : rebase_source : 902c72d83f3169a62e8109147fbd913dc050248f
2018-07-12 06:49:04 +00:00
Kirk Steuber
d906cf0adb Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong
Getting rid of this pref allowed some other code to be removed:
 - Changed nsIUpdateService::stopChecking(duration) to nsIUpdateService::stopCurrentCheck() and got rid of the constants representing durations. The available durations were CURRENT_CHECK, CURRENT_SESSION, and ANY_CHECKS, but only CURRENT_CHECK was ever used.
 - nsIUpdateChecker::stopChecking(CURRENT_SESSION) and nsIUpdateChecker::stopChecking(ANY_CHECKS) were the only mechanisms for setting Checker::_enabled to false, so Checker::_enabled and Checker::enabled were removed. References to Checker::enabled were replaced with checks for nsUpdateService::canCheckForUpdates.
 - In browser/base/content/aboutDialog-appUpdater.js, the updateDisabledAndLocked() function was renamed to updateDisabledByPolicy, since the old name is no longer accurate and the new function name is a better description of the function's actual use.

MozReview-Commit-ID: 4wwqo4ROr1V

--HG--
extra : rebase_source : 036099b7cd1f5fc74284ae8800ec30b3037f0d4a
extra : source : 83c69c5f289572aee6ff5a8c85237bbeaac3cb8b
2018-05-21 14:58:34 -07:00
Johann Hofmann
957ac4d783 Bug 1474891 - Reset tracking protection state when visiting about: pages. r=ewright
MozReview-Commit-ID: CsXj95KDVaD

--HG--
extra : rebase_source : b1a197ac1eb452e3ce55c998ae7dc6075761767f
2018-07-11 23:41:33 +02:00
Johann Hofmann
17c3a96af9 Bug 1472535 - Put the main menu tracking protection toggle behind a pref. r=mikedeboer
This is assuming we want to pref off for 62 and pref on again for 63, simply delaying the feature by one release.

MozReview-Commit-ID: 7Q4uD7QJDFc

--HG--
extra : rebase_source : 5839daaac17384fdca8969e750af2bb76b6403fb
2018-07-09 13:09:53 +02:00
Coroiu Cristina
d429af947c Backed out changeset 27335463acd1 (bug 1471713) for browser-chrome failures at browser/components/uitour/test/browser_trackingProtection.js 2018-07-12 14:57:30 +03:00
Johann Hofmann
365f7536ea Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 2d101873b071911763a0ccd7574cbc04026cc89f
2018-07-05 23:45:34 +02:00
Coroiu Cristina
d1d4997c18 Backed out changeset 66d9b0f57c81 (bug 1471713) for build bustage on a CLOSED TREE 2018-07-12 10:25:04 +03:00
Johann Hofmann
47d3860672 Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 1623e497e03ff178f98657a9e8d36d0692a31fe1
2018-07-05 23:45:34 +02:00
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