Commit Graph

19034 Commits

Author SHA1 Message Date
Gijs Kruitbosch
22172a0279 Bug 1441039 - same-document changes should cause empty URL bar to fill back up for current tab, r=mak
Make URLBarSetURI more explicit about what it's looking for in `value`,
and ensure the tabbrowser's progress listeners reset the userTypeValue if it's
empty already and there's a same-site document change.

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

--HG--
extra : moz-landing-system : lando
2018-07-19 10:47:23 +00:00
Dão Gottwald
8941462ca7 Bug 1470394 - Make bookmark panel width localizable. r=mak
MozReview-Commit-ID: 5vtMOxxlQH6

--HG--
extra : rebase_source : 25b8c413fe5c65d65b0d2712e299e256a5a18af6
2018-07-18 14:08:53 +02:00
Gurzau Raul
8a871a6c46 Merge inbound to mozilla-central. a=merge 2018-07-19 12:54:18 +03:00
Gijs Kruitbosch
3c7235e904 Bug 1476035, r=jkt
--HG--
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.html => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.html
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.js => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.js
extra : rebase_source : 3322967a084f771186a0de05eaadc98059e399c5
2018-07-17 15:36:43 +01:00
shindli
6cdfd81b2e Merge inbound to mozilla-central. a=merge 2018-07-19 00:45:25 +03:00
Abdoulaye O. Ly
b5f60976d9 Bug 1458049 - Implement ability to move a selection of tabs into a new window through tab context menu. r=jaws
MozReview-Commit-ID: KrjavwyoF4s

--HG--
extra : rebase_source : 57ef831467cc648b8f5c81e38704c5466955c3a7
2018-07-13 19:30:58 +00:00
Johann Hofmann
e4580d39d9 Bug 1476317 - Fix identity popup display for pages with exceptions that have blocked content. r=nhnt11
The identity popup will now show that there's an exception on the site instead of being confused.

We previously didn't handle this state because I assumed it wouldn't be possible to enter.
Turns out if you open the same (tracking) site in two tabs and then add an exception in one tab,
the other tab will be in this state until reload.

MozReview-Commit-ID: GVVdNpsAm6h

--HG--
extra : rebase_source : 3ace3cd4f99094edf3c678c56a39adebdc37d1f3
2018-07-18 16:33:06 +02:00
Cosmin Sabou
8cd0e59ac5 Merge mozilla-central to inbound. a=merge 2018-07-18 20:23:16 +03:00
Trisha Gupta
dd4332f07c Bug 1475025 - Vertically center the various error pages r=johannh
--HG--
extra : rebase_source : 3f43e92511c39a58e7bcb1e524175490dcf24639
2018-07-17 21:36:53 +05:30
Margareta Eliza Balazs
fb3762edac Merge inbound to mozilla-central. a=merge 2018-07-18 12:33:29 +03:00
Tiberius Oros
d385db1af9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-18 00:57:55 +03:00
Tiberius Oros
d701ae940f Merge inbound to mozilla-central. a=merge 2018-07-18 00:55:33 +03:00
Johann Hofmann
b945779700 Bug 1476002 - Update Tracking Protection animation icon colour to Purple 30 in Dark theme. r=ntim
MozReview-Commit-ID: Aaw5kvCK2qb

--HG--
extra : rebase_source : d29e2dffd338887bff69657effb7103efd1eae30
2018-07-17 15:07:47 +02:00
Dão Gottwald
36e378f88a Bug 1475537 - Clean up addTab parameter handling. r=mikedeboer
MozReview-Commit-ID: JF9hNLmd3bF

--HG--
extra : rebase_source : 3c1368c275719ec6d4812950154b6c266af4f98a
2018-07-17 13:54:23 +02:00
Coroiu Cristina
49f35eaa07 Backed out changeset 1d9cd6db7f77 (bug 1475537) for devtools failures at devtools/client/netmonitor/test/browser_net_open_request_in_tab.js on a CLOSED TREE 2018-07-17 14:20:12 +03:00
Abdoulaye O. Ly
ce5ee236b1 Bug 1458067 - Implement ability to bookmark a selection of tabs. r=Gijs
MozReview-Commit-ID: 4KE3qSf3j0y

--HG--
extra : rebase_source : e4a30f6706c455f08d9519e86b61ea389eb89ed5
2018-07-12 00:25:35 +00:00
Dão Gottwald
29d6f89109 Bug 1475537 - Clean up addTab parameter handling. r=mikedeboer
MozReview-Commit-ID: FuTHVHN43XA

--HG--
extra : rebase_source : 0c60d8f92304aa7a6521c592362ac19a24e3e8bf
2018-07-13 15:24:09 +02:00
Bogdan Tara
1a6ffb9e1e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-17 01:02:10 +03:00
Coroiu Cristina
f3162b921c Merge mozilla-central to mozilla-inbound a=merge on a CLOSED TREE 2018-07-17 12:48:47 +03:00
Kris Maglione
da381d04b7 Bug 1474155: Part 5 - Null out frame script singleton init methods after they're called. r=mconley
Believe it or not, the memory these references hold alive is significant.
Nulling them out saves 5-10K per process.

MozReview-Commit-ID: JONjE48yE8I

--HG--
extra : rebase_source : 49adc538070eecb9183e6e052e6e43db9c4c7a99
extra : histedit_source : 699f49fad1bfa69b8c511bf96187096e751c8606
2018-07-07 20:49:30 -07:00
Kris Maglione
e13b4d0e20 Bug 1474155: Part 4 - Move ClickEventHandler to a separate JSM. r=mconley
MozReview-Commit-ID: Agroe5P3vim

--HG--
rename : browser/base/content/content.js => browser/modules/ClickEventHandler.jsm
extra : rebase_source : f87aa3c390836d86b266478b59c3313e3fa476b5
extra : histedit_source : d6ea61b389fc45080d370b915c3eb2d879da59e4
2018-07-07 20:28:32 -07:00
Kris Maglione
12038802ae Bug 1474131: Don't load ContentRestore.jsm before it's needed. r=mconley
MozReview-Commit-ID: 6ftGscrrdRb

--HG--
extra : rebase_source : 84c764beba61ec7e761a67dd008cbe5c2912e2ed
extra : histedit_source : 7847481d5a07e8e40ca5c744e63d46f86dcce1a3
2018-07-07 15:43:42 -07:00
Tim Nguyen
f5a293984d Bug 1476322 - Make browser_parsable_css.js parse more types of rules. r=jaws
MozReview-Commit-ID: HZmMUEJsROz

--HG--
extra : rebase_source : 00fd2dd98397375d596677f8025012e8ad3d48bc
2018-07-17 16:53:03 +01:00
Tiberius Oros
d6492ca47e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-18 00:59:21 +03:00
Kirk Steuber
35440f6dd0 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 : ea2e0f157dccc02eece585d3d15ebb67a38813d8
extra : intermediate-source : 00f6d87c63dfb940c439b49c8310b3a91be3a912
extra : source : 83c69c5f289572aee6ff5a8c85237bbeaac3cb8b
2018-05-21 14:58:34 -07:00
Abdoulaye O. Ly
34a90a1c34 Bug 1474704 - Enable the multiselect tabs feature by default on Nightly builds. r=jaws
MozReview-Commit-ID: CAWYr0RM96Z

--HG--
extra : rebase_source : 990626e0068f2dc0e47e7161cb524f908d69954f
2018-07-16 04:29:19 +00:00
Brian Grinstead
a2384c2234 Bug 1475304 - Remove broadcasters that only have one observer;r=Gijs,johannh
MozReview-Commit-ID: KbYBy2RjK1i

--HG--
extra : rebase_source : 285700446cd9c183fbf6589d461c88b755d4af8c
2018-07-16 11:47:58 -07:00
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