Граф коммитов

46179 Коммитов

Автор SHA1 Сообщение Дата
Matt Howell 64a247fee9 Bug 1354325 - Update the StartMenuInternet registry keys in PostUpdate. r=agashlin
MozReview-Commit-ID: COH5TM5ck7Y

--HG--
extra : rebase_source : 0baee4605d0b629fc4bb19b111ef298ad43155ff
2017-04-10 15:50:21 -07:00
Mark Banner 7e2d02b47d Bug 1346825 - Setup build configuration for Firefox Screenshots in Firefox (and disable screenshots by default). r=gps,Mossop
Screenshots is a system add-on imported from https://github.com/mozilla-services/screenshots/.

This is the initial build system patch for building screenshots. ESLint is ignored since Screenshots currently use their own version (this may change in the future).

MozReview-Commit-ID: 4OEcaduaeWE
2017-03-10 12:34:54 +00:00
Bill McCloskey 6aea6a4e29 Bug 1355997 - Remove Firefox 'add-ons' from CPOW whitelist (r=mrbkap)
MozReview-Commit-ID: HunklmWsWHf
2017-04-12 20:15:32 -07:00
Aaron Klotz 157a405af7 Bug 1355968: Ensure AccessibleHandler.dll is registered in PostUpdate; r=mhowell
MozReview-Commit-ID: 844rRTVvIIW

--HG--
extra : rebase_source : 471859db84d5c63318f488a0e70809344db39048
2017-04-12 14:46:05 -06:00
Kris Maglione 307bb6e57e Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot

--HG--
extra : rebase_source : 0c68bc16eaa016bc7d0e228a95e10d9348dda59f
2017-04-12 14:12:22 -07:00
Mike Hommey e6384ead02 Bug 1356927 - Remove unused macosx64 tooltool manifest for ASAN. r=gps
--HG--
extra : rebase_source : 1eb3a5f23018f051dcda97551be44f5940df4f0c
2017-04-17 08:11:34 +09:00
Mike Hommey a96c49d17d Bug 1356927 - Update non-cross mac builds to clang 3.9. r=gps
--HG--
extra : rebase_source : ddbd81837cf7bd0ee72d0b8d0fb8f2ba2b86e44f
2017-04-17 08:07:28 +09:00
Mike Hommey eba57cc76d Bug 1356929 - Refresh cctools used on mac builds. r=gps
The version we update to is the current result from the
macosx64-cctools-port toolchain job.
(gotten with `mach artifact toolchain --from-build macosx64-cctools-port --nounpack`
and uploaded to tooltool)

--HG--
extra : rebase_source : 5d980012de2dfab0556ccb7ed27c434047054523
2017-04-17 08:20:33 +09:00
Shane Caraveo f6660740ac Bug 1326298 implement off-main-thread delivery with start/stop/error listeners, r=kmag
MozReview-Commit-ID: Ke4NsthrbP2

--HG--
extra : rebase_source : 0324030e5f7f534256ff0c469bb486dc52e282c2
2017-04-18 15:50:53 -07:00
k88hudson b607e644b6 Bug 1350411 - Add Message Channel for Activity Stream system add-on r=mconley
MozReview-Commit-ID: DCcGDjKdIHh

--HG--
extra : rebase_source : e4cb58d733c159aa9299348f089e062aa2c2bdd2
2017-04-07 14:13:14 -04:00
Drew Willcoxon 376e3a8e45 Bug 1295460 - Update the background color of the one-off search buttons. r=florian
MozReview-Commit-ID: 3iKLQcb59aT

--HG--
extra : rebase_source : 8d8df6e3bef12d2baba2165cfc12b81cb29ced30
2017-04-10 19:07:57 -07:00
Blake Kaplan 68bfe109db Bug 1349363 - Run an experiment in beta for e10s-multi. r=Felipe
MozReview-Commit-ID: 8P0pbWZJ8uz

--HG--
extra : rebase_source : 73ce1bcd49165e74fca577b358c1b40b3b233c4d
2017-04-17 15:45:47 -07:00
Blake Kaplan c0d02b25be Bug 1349363 - Use a centralized function to tell if e10s-multi is on. r=Felipe
MozReview-Commit-ID: JQJtCanIv3a

--HG--
extra : rebase_source : e459489211499ccc65b3b834ed0ec4e4d751994e
2017-04-17 14:58:52 -07:00
Wes Kocher 9f7208991b Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout 2017-04-18 16:21:58 -07:00
Matt Howell 343a32dcce Bug 1357161 - Replace shortcut icons on application update. r=agashlin
MozReview-Commit-ID: LHrN4eXwRFt

--HG--
extra : rebase_source : 9ea8d0b3da94cbf111985c9a5033195d8180ee8b
2017-04-17 16:06:46 -07:00
Wes Kocher be39489f68 Merge m-c to autoland, a=merge 2017-04-18 14:40:48 -07:00
Mike Hommey 87c96634a2 Bug 1356932 - Use the same clang as asan builds in normal builds. r=froydnj
They are, in fact, the same version already, built from the same version
of clang-static-analysis-linux64.json, but one comes from a now expired
try build, and the other from a build on mozilla-central, that can still
be traced down:
https://tools.taskcluster.net/task-inspector/#Ro1bUCv4Svu2OWuQsOF_hA/0

--HG--
extra : rebase_source : 776314cecb3cba7043a02f4e1f2f4feb4b51731c
2017-04-17 08:29:22 +09:00
Matheus Longaray 89917b659f Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: 77pLXhdbpPp

--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Jared Wein f9d7bab84d Bug 1356508 - Buttons on the right-side of the preferences UI should be mainly uniform in width. r=mconley
MozReview-Commit-ID: I03pYYpYREv

--HG--
extra : rebase_source : 22cf2f7f7d3f9b3a029802e9561415156aadfa69
2017-04-14 17:09:01 -04:00
Dão Gottwald 35b9a98296 Bug 1356655 - Let adjustTabstrip return early if the tab strip is overflowing. r=florian
MozReview-Commit-ID: LKYuFidCHWa

--HG--
extra : rebase_source : 79102ec02ec5d604ec0bb29d04567d7100a798db
2017-04-16 17:08:42 +02:00
Aaron Klotz 92ce20591b Bug 1357194: Use MOZ_UPDATE_CHANNEL to distinguish between local/nightly and beta/release builds for AccessibleHandler CLSIDs; r=mhowell,mshal
MozReview-Commit-ID: Kp8x5o66nrY

I want AccessibleHandler.dll to use different UUIDs based on release channel.
The way I was doing it before wasn't working correctly because I also wanted
local builds to have their own set of UUIDs vs our regular Nightly/Beta/Release
builds.

I also want the beta channel to have its own set of UUIDs that are distinct
from release.

I'm using MOZ_UPDATE_CHANNEL to distinguish between the channels when
NIGHTLY_BUILD and BETA_OR_RELEASE are insufficient.

--HG--
extra : rebase_source : 8cb28a22a3cac16fb743a8fe81db5e120c1fdf6d
2017-04-17 14:47:41 -06:00
Dão Gottwald 24b6ac598b Bug 1356663 - Calculate the status panel's mouse target rectangle lazily in getMouseTargetRect. r=florian
MozReview-Commit-ID: 1g07rylDWkx

--HG--
extra : rebase_source : 4b2248d79e172e2096038d5ea83f7bdc3a15461e
2017-04-16 16:43:53 +02:00
Gijs Kruitbosch 08d6dac87a Bug 1352043 - attempt to fix intermittents by forcing an initial system load in HiddenFrames, r=kmag
MozReview-Commit-ID: 5iBIqPclToU

--HG--
extra : rebase_source : b10e0e64661dffe6058c01d40a50af7c8291a430
2017-04-10 15:55:53 +01:00
Fischer.json 1338acd53a Bug 1348252 - Disable buttons and display loading message in Site Data section while loading data, r=Gijs
MozReview-Commit-ID: 9EfG71hRoDe

--HG--
extra : rebase_source : 5163e88d3ebd7b7dd0578b27e9934e6a340bf6fb
2017-04-05 22:28:30 +08:00
Iris Hsiao adc828742f Backed out changeset efb859759339 (bug 1323311) for eslint failure 2017-04-10 11:12:20 +08:00
Prathiksha ad36dbc902 Bug 1333532 - Changed the permissions.js file to make the Page Info dialog work. r=johannh
MozReview-Commit-ID: 2zJeMhtYEds

--HG--
extra : rebase_source : 7db88f2451c740e1b5179d81f699ead14fbd585f
2017-04-09 16:50:02 +05:30
Andy McKay 0cfe55b71e bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
MozReview-Commit-ID: 9o4huF1f60g

--HG--
extra : rebase_source : 53e7b0830f7ee3ce7b99bea39d2ae7e2967596fb
2017-04-07 16:52:00 -07:00
Prathiksha 68df0b85af Bug 1224137 - List the 'allow pages from <example.com> to take you to their tab' permission (for alerts/prompts) in the site identity / permission panel. r=johannh
MozReview-Commit-ID: LIsJ8VG0stN

--HG--
extra : rebase_source : 975e6684f0872ea3f0e42bf073f1bceec12d5bc7
2017-04-09 11:45:01 +05:30
Mike Conley 7f712307f1 Bug 1349787 - Make sure browser_tabCloseProbes.js waits for tabs to be fully open before closing them. r=mossop
The tests in browser_tabCloseProbes.js were closing tabs without waiting for them
to be fully open, and when they're not fully open, closing occurs without animation.

This was intermittently breaking the test for the probe that checks that we add
a count to the right histogram when closing with animation.

MozReview-Commit-ID: 5Qz7mZvtbkB

--HG--
extra : rebase_source : 0d794faebc8e751bfcd15476ae849018dfb1f6c1
2017-04-07 10:45:56 -04:00
Sebastian Hengst 6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Dão Gottwald c951251cca Bug 1354782 - Re-use pinned tab width to avoid layout flush and invalidation loop in _positionPinnedTabs. r=florian
MozReview-Commit-ID: 98eGdDUXLm2

--HG--
extra : rebase_source : d454599f50aabbefd6144d7051cb293025e7e1ae
2017-04-08 09:17:03 +02:00
Dão Gottwald cac52d46df Bug 1354781 - Filter scrollbox overflow and underflow events more accurately. r=florian
MozReview-Commit-ID: 6GJjO89q2s2

--HG--
extra : rebase_source : 3446a64267234eb36cc9c358c4a88c5b30e6fe62
2017-04-08 09:02:40 +02:00
kernp25 656efd183a Bug 1339416 - contextMenus.OnClickData should have the frameId. r=mixedpuppy 2017-04-04 12:00:16 +02:00
ffxbld c288e8360e No bug, Automated blocklist update from host bld-linux64-spot-307 - a=blocklist-update 2017-04-07 09:18:33 -07:00
Carsten "Tomcat" Book e9a1efbf89 Backed out changeset d4b635aa0c2e (bug 893505) for eslint failure
--HG--
extra : rebase_source : 4d3d223400907e2ed63384a6cf457a0b41d2624e
2017-04-07 15:53:19 +02:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Tim Taubert 4da3a7f72e Bug 912717 - Tiny follow-up to fix ESLint bustage caused by a test file r=bustage 2017-04-07 15:09:46 +02:00
Tim Taubert afed0705da Bug 912717 - Don't let SessionCookie collection jank the chrome process r=mikedeboer
Current state:
--------------

Session cookies - those that have no Expires or Max-Age directive, sent as a
header or set via document.cookie - are meant to live for the duration of a
session. SessionStore is a feature that aims to enable users to resume where
they left off last time they closed the browser. So SessionStore will persist
and restore those cookies that the cookie service only keeps in memory.

SessionCookies.jsm registers observers with the cookie service and is thus
notified of cookie additions, deletions, and modifications as-it-happens. It
has its own internal storage that we could easily serialize and write to disk
together with the rest of the session data.

The hangs shown in various profiles stem from the fact that since the inception
of SessionStore as an add-on around Firefox 2, cookies have been tacked to
windows. This means that whenever we collect session data for a specific
window (i.e. tabs, their shistory entries, etc.) we have to iterate *all* its
tabs and *all* their shistory entries to enumerate the hosts contained in that
window. We will then ask the internal cookie store in SessionCookies.jsm to
give us all cookies for these hosts and then store them together with the
window. This way we filter out cookies from tabs/hosts that have no active
documents (BFCache counts as "active").

Changes in this patch:
----------------------

Instead of trying to only retain cookies from “active” documents, i.e. those
contained somewhere in the shistory of a tab, we now simply save all session
cookies of the session. This will surely reduce user complaints about us
"logging them out" too fast because we discard cookies from tabs they
open only once in a while, although those definitely belong to the
browsing session.

Instead of storing the cookies per each window we now have a top-level
"cookies" attribute that is a list of cookies. These get restored whenever we
restore a session. Legacy window.cookies attributes will still be restored to
support older session formats for a while.

The DEFER_SESSION startup mode is active by default when a user choses not to
restore their whole session automatically but they still have one or more
pinned tabs. These pinned tabs are restored automatically and split off of the
rest of the session. The rest can be restored manually if the user chooses to
do so.

In the past, we here extracted and restored only the pinned tabs' cookies from
the last session. This filtering also works against how some sites (e.g.
Google) use session cookies. It also means we have to iterate all windows,
tabs, shistory entries, and cookies to find the data we want.

This patch changes our past behavior so that we now restore only pinned tabs
but all session cookies. So we don't have to filter, and pages will break less
likely. We hereby assume that a user having pinned tabs wants to continue their
browsing session partially, although without Firefox remembering the exact list
of tabs. Or they simply like starting off of a clean slate.
2017-04-07 14:41:38 +02:00
Johann Hofmann 9cd3d14848 Bug 1337772 - Part 2 - Explicitly trigger a mousedown event before opening the context menu in browser_context_menu.js. r=MattN
MozReview-Commit-ID: ADTskzMoK9t

--HG--
extra : rebase_source : 6133986c9e3c470f6e2fb3c5a172a82c0f07fd8a
2017-04-06 11:00:11 +02:00
Phil Ringnalda cb5344f715 Backed out changeset 228a6487d0c1 (bug 1350781) for eslint failures
CLOSED TREE
2017-04-06 21:16:03 -07:00
Ehsan Akhgari 3ee2f84634 Bug 1350781 - Avoid recomputing gBrowserThumbnails._topSiteURLs for 1 minute after computing it to speed up session restore; r=markh 2017-04-06 23:26:08 -04:00
Doug Thayer 765003669c Bug 893505 - Simplify the application update UI. r=Gijs, r=enndeakin, r=rstrong, data-r=bsmedberg
There are quite a few changes in here. At a high level, all we're trying to do is to replace the old update popup with a less intrusive and more modern doorhanger (set of doorhangers) for various update success and failure conditions.
2017-04-06 17:20:36 -07:00
Sebastian Hengst 3f2001d7b9 Backed out 2 changesets (bug 893505) for failing eslint. r=backout
Backed out changeset 5880d471d75c (bug 893505)
Backed out changeset 3246d7cb2729 (bug 893505)
2017-04-07 01:04:54 +02:00
Robert Strong 8f137a0e86 Followup eslint fix for Bug 893505. r=me 2017-04-06 15:50:20 -07:00
Wes Kocher 7da1f4c235 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Doug Thayer 06dfd98d7d Bug 893505 - Simplify the application update UI. r=Gijs, r=enndeakin, r=rstrong, data-r=bsmedberg
There are quite a few changes in here. At a high level, all we're trying to do is to replace the old update popup with a less intrusive and more modern doorhanger (set of doorhangers) for various update success and failure conditions.
2017-04-06 15:09:16 -07:00
Wes Kocher 0c3144c6f6 Merge inbound to central, a=merge 2017-04-06 15:01:34 -07:00
Ryan VanderMeulen 91cbca3e88 Backed out changeset 5de79bf87514 (bug 1354081) 2017-04-06 09:50:40 -04:00
Ryan VanderMeulen 2ad48ad061 Bug 1354081 - Update pdf.js to version 1.7.418. r=bdahl 2017-04-06 15:32:15 +02:00
Sebastian Hengst 1074351606 Backed out changeset 3fd845171474 (bug 1354081) for rooting hazard. r=backout 2017-04-06 15:24:10 +02:00
Ryan VanderMeulen f1e573b0c7 Bug 1354081 - Update pdf.js to version 1.7.418. r=bdahl 2017-04-06 08:43:36 -04:00
Joel Maher 16ec3a15a0 Bug 1341980 - Intermittent browser/components/sessionstore/test/browser_819510_perwindowpb.js - disable on osx. r=gbrown
MozReview-Commit-ID: J3IL8cHAmau
2017-04-06 07:29:53 -04:00
Carsten "Tomcat" Book 207b516e89 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Mark Banner 585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Mark Banner 92c422a2d6 Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.

MozReview-Commit-ID: 1LLFbn6fFJR

--HG--
extra : rebase_source : 82a6934d90bbbbd25f91b7b06bf4f9354e38865a
2017-04-05 10:00:25 +01:00
Mark Banner 427e3b23dc Bug 1342459 - Fix various no-undef issues in browser/base. r=mossop
MozReview-Commit-ID: CRYxu7copKb

--HG--
extra : rebase_source : bc176c5e6890ffc6a4e26cb9bc9d441d9486ce7b
2017-04-04 13:42:33 +01:00
Phil Ringnalda 3654f8f62b Backed out changeset 0a3044dc01d2 (bug 1354342) for eslint bustage 2017-04-06 20:26:36 -07:00
Andy McKay da7650dff2 bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
MozReview-Commit-ID: 86V6vFjO66C

--HG--
extra : rebase_source : b6017ed9a4f50008d20fc6c5684a70a4a740aef7
2017-04-06 17:12:57 -07:00
Masayuki Nakano 14608ddcac Bug 1353699 <menulist> for default font should use onsyncfrompreference r=jaws
When font.name.*.* is set to false, "value" attribute of <preference> is removed.  Then, <preference>.setElementValue() with an element which doesn't have onsyncfrompreference tries to set null.  Then, <menulist> selects nothing.

In such case, <menulist> should select the item whose value is "". If there is onsyncfrompreference attribute and it returns empty string, <preference>.setElementValue()  works as expected.

MozReview-Commit-ID: 54KIe3JxwyA

--HG--
extra : rebase_source : 8b94ff9a790cb5f771901cbfea72240d6d8df554
2017-04-06 10:04:04 +09:00
Ting-Yu Chou 19c3b373bc Bug 1333003 part 8 - Include ASan runtime dll and LLVM symbolizer in jsshell package. r=glandium
Update also the similar logic in browser/installer/package-manifest.in. The
reason I added the symbolizer is because it'd be useful when someone conduct
jsshell testing/fuzzing.

MozReview-Commit-ID: J9IqFWsnskS

--HG--
extra : rebase_source : db461065f778fc025576b1fc7612642181d94dcd
2017-03-24 16:58:27 +08:00
Doug Thayer f463069928 Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX

--HG--
extra : rebase_source : ee0c1e00fe3f99e16388f0de17274ff97a3b9fcf
2017-03-21 13:50:09 -07:00
Blake Kaplan 971ced558b Bug 1353910 - Fix intermittents in webrtc tests while removing code duplication. r=florian
MozReview-Commit-ID: 83XSsnQ0bBY

--HG--
extra : rebase_source : f476470a9d78b1d820a1aa23263e5b289c1e77fa
2017-04-06 11:41:02 -07:00
Andrew McCreight 757620ca9d Bug 1354328 - Lazily load the inline spell checker. r=Felipe
It isn't needed until we create a context menu.

MozReview-Commit-ID: 4kCfq9PzVPV

--HG--
extra : rebase_source : 51907d6aa28d5bd2a9fb8a0acb28cac719888292
2017-04-06 15:46:09 -07:00
Andrew McCreight 78ab774d55 Bug 1352522, part 3 - Remove the unused listener for webrtc:StartBrowserSharing. r=florian
MozReview-Commit-ID: 780LNGx1p15

--HG--
extra : rebase_source : 89d346d0f14ace7f80d842ee780e121c223788f9
2017-04-06 14:39:02 -07:00
Andrew McCreight f4badf6dde Bug 1352522, part 2 - Use a shim for ContentWebRTC message listeners. r=florian
This avoids importing ContentWebRTC.jsm unless webrtc is actually
being used, which reduces memory usage.

MozReview-Commit-ID: GlMo1WIZEFD

--HG--
extra : rebase_source : 25476c825bef1948f22d0e6dae67dc01ab41f886
2017-03-31 11:19:27 -07:00
Andrew McCreight a4e17048dd Bug 1352522, part 1 - Add ContentWebRTC observers in ContentObservers.js. r=florian
This avoids importing ContentWebRTC.jsm just to register observers
that may never observe anything. Avoiding importing .jsms reduces
memory usage.

ContentObserver.js gets loaded once per content process, so I think
the ._initialized stuff is not needed in the process script.

MozReview-Commit-ID: 5r9L3bfFS0U

--HG--
extra : rebase_source : 0fe6e14c2963efccf21bd1606885098902fed598
2017-04-07 08:48:58 -07:00
Phil Ringnalda 7acd88c933 Backed out changeset 3d1ad05d7b99 (bug 1353104) for Android bustage in test_chrome_ext_hybrid_addons.html 2017-04-07 13:39:54 -07:00
Phil Ringnalda d40c8778b0 Backed out changeset 389893c52830 (bug 1349787) for timeouts in browser_tabCloseProbes.js 2017-04-07 13:36:11 -07:00
Sebastian Hengst 548852b3a4 merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Gijs Kruitbosch 035ae179d1 Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H

--HG--
extra : rebase_source : 4dda587bc7ed850594754cab9ea0a02f0114d4d0
2017-04-03 21:25:16 +01:00
Mike Conley b1321366a3 Bug 1349787 - Make sure browser_tabCloseProbes.js waits for tabs to be fully open before closing them. r=mossop
The tests in browser_tabCloseProbes.js were closing tabs without waiting for them
to be fully open, and when they're not fully open, closing occurs without animation.

This was intermittently breaking the test for the probe that checks that we add
a count to the right histogram when closing with animation.

MozReview-Commit-ID: 5Qz7mZvtbkB

--HG--
extra : rebase_source : 3533f2c43091829723463f8943cf43e722bbd70c
2017-04-07 10:45:56 -04:00
Mike Shal 290404b519 Bug 1352982 - clobber OSX .app directory before rsyncing files in; r=ted
The .app directory for OSX builds is created piecemeal by several
commands in browser/app/Makefile.in, however it isn't normally cleaned
by a build. If a file is removed from the tree, it's possible that an
incremental build will still have a copy in the .app dir and get
packaged up in the final dmg. It's simple to just rm -rf this directory
beforehand.

MozReview-Commit-ID: 2Zr97o9dTn8

--HG--
extra : rebase_source : 2c9995991c58ee9724464514ec8285c31ab8d062
2017-04-05 15:25:30 -04:00
Andy McKay 9d4cc67f87 bug 1354342 allow a relativeUrl for homepage r=mixedpuppy
MozReview-Commit-ID: 86V6vFjO66C

--HG--
extra : rebase_source : e692822b0b60ac553b63671406c8f6ffd7a06714
2017-04-07 09:14:08 -07:00
Ryan VanderMeulen 6ca4bae63d Bug 1354081 - Update pdf.js to version 1.8.173. r=bdahl
--HG--
extra : amend_source : f9c411dd1c63a7308f391d8d4ff90239c9408a03
2017-04-07 13:32:57 -04:00
Andrew McCreight 8aedac1cad Bug 1352218, part 2 - Avoid PdfJs.enabled call. r=Gijs
This avoids a sync IPC message from child to parent.

Changes entirely from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: 3Egayok3DBZ

--HG--
extra : rebase_source : e02829e2508bb75caf44c0a3c86b06fac3bf167f
2017-03-30 14:52:09 -07:00
Andrew McCreight fec8ba650f Bug 1352218, part 1 - Split pdf.js boot strap file. r=Gijs
One is always run, the other is only run when PdfJs.enabled is true in
the parent process. This refactoring enables the next patch.

The extensions changes are from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: HwQ3yk8Jck4

--HG--
extra : rebase_source : 94f1516989685176a95e235f2d3ef8658adaf8b7
2017-03-30 14:43:04 -07:00
k88hudson 6fcdd4aa89 Bug 1350409 - Add Store, Actions, and Reducers to Activity Stream system add-on r=ursula
MozReview-Commit-ID: 5lCFGBCtH2e

--HG--
extra : rebase_source : 01e7ae01e1dd03de9fbe84fa1fbc7797323ed475
2017-04-04 12:57:53 -04:00
Rex Lee 2a6a2e2288 Bug 1347504 - [jsplugins][UI] Support opening external links in PDF files. r=evelyn,lochang, f=lchang, f=lochang
MozReview-Commit-ID: CIrC4ise4Zs

Hotkeys works like normal DOM links, except "Open in background tab" (which corresponds to ctrl/command + click)
open tabs in foreground due to limitation from outside chrome process.

--HG--
extra : rebase_source : 6a3b43c518e23c61fe3c48cc4317b813a39acc7a
2017-04-06 16:14:23 +08:00
Ting-Yu Chou 337e68fa28 Bug 1333003 part 4 - Package the binary of llvm-symbolizer also on Windows. r=ted
MozReview-Commit-ID: 4nhVgQTJ7Bz

--HG--
extra : rebase_source : 4df3d39da1847ff40927ec3d1f11f76916181a46
2017-03-10 12:24:02 +08:00
Ting-Yu Chou 270fef8c41 Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
MozReview-Commit-ID: KuXcyL6yqH7

--HG--
extra : rebase_source : 8e77a7858f28f4b8f4052c3235c7b5daee828053
2017-03-10 14:13:07 +08:00
Mike Hommey 3deb62f2b2 Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=chmanchester,karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : 071a9cb1769f013717357458df24e2fd9570ccf4
2017-04-05 13:48:52 +09:00
Tomislav Jovanovic 357f3dea5b Bug 1328758 - Better error messages for tabs.executeScript r=kmag
MozReview-Commit-ID: PQhltZVepj

--HG--
extra : rebase_source : 1e18dc65864bcc715436a3ff003d2279a6e7b087
2017-04-02 01:05:37 +02:00
Iris Hsiao 15a34cacd2 Backed out 3 changesets (bug 1344038) for bustage
Backed out changeset 4befea89d81b (bug 1344038)
Backed out changeset c859506b2e4e (bug 1344038)
Backed out changeset 5d28a6382285 (bug 1344038)

--HG--
rename : netwerk/protocol/gio/moz.build => extensions/gio/moz.build
rename : netwerk/protocol/gio/nsGIOProtocolHandler.cpp => extensions/gio/nsGIOProtocolHandler.cpp
2017-04-06 10:35:56 +08:00
Mike Hommey 753d2ac01e Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : fe3c9480cee468aa2a24fd34e569b58e4f2c9c9a
2017-04-05 13:48:52 +09:00
Mark Striemer bd06793922 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 023e4ad41f0c2457238503e169472393f325ae30
2017-02-28 15:26:12 -06:00
Mathieu Leplatre 8c1fcfd11b Bug 1351675 - Add certificates pinning initial JSON to package r=florian
MozReview-Commit-ID: EYT0s7xUyKN

--HG--
extra : rebase_source : 8ca5a1bd776c8611a6797ac437c4455b744a918d
2017-04-10 16:50:41 +02:00
Doug Thayer 7810cd0dda Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : d0ddc7395115287620ed4c9532297e825996be1d
2017-04-10 11:11:45 -07:00
Matthew Noorenberghe f80e60fc76 Bug 1279805 - Add UTM information to the release notes link from the browser. r=florian
MozReview-Commit-ID: Fe0D0KQfun9

--HG--
extra : rebase_source : a8bd9644c0da4d16e82a3e1cc2a90f3dd0e09313
2017-04-10 18:24:12 -04:00
Matthew Noorenberghe 7a5289d1ca Bug 1279805 - Use app.releaseNotesURL to control release notes in the about dialog. r=florian
MozReview-Commit-ID: 7sqDACxFfJQ

--HG--
extra : rebase_source : ec87655250dc1899213c5073112ceff270d0395d
2017-04-10 18:26:23 -04:00
Gijs Kruitbosch b8e6b96d70 Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
MozReview-Commit-ID: CfR9xMPVr9H

--HG--
extra : rebase_source : c50b354c9b7df2e31aa295d65eecfbeaa78c2c8f
2017-04-03 21:25:16 +01:00
Gijs Kruitbosch bd805725b6 Bug 1354083 - create a photon structure pref and a panel for photon hamburger menu use, r=mikedeboer
MozReview-Commit-ID: CKdxucwQfXV

--HG--
extra : rebase_source : 9fbce69b7600a1f38e9de8affb526a43b153c2d7
2017-04-10 20:02:43 +01:00
Francesco Lodolo (:flod) 8170633fd0 Bug 1355070 - Add Burmese(my) to shipped-locales r=Pike
MozReview-Commit-ID: JRRJY9TpRgN

--HG--
extra : rebase_source : 667a3c85e4cf692c376a98fd69bf0aab9f924da7
2017-04-10 15:23:04 +02:00
Sebastian Hengst 75ef19148e merge mozilla-central to autoland. r=merge a=merge 2017-04-11 11:33:40 +02:00
Fischer.json 2f7b2ff390 Bug 1309123 - Show persistent-storage permission request notification, r=florian
MozReview-Commit-ID: H3YAalEyWME

--HG--
extra : rebase_source : 486c5ed353d048c832baf3d6ec81e74c617b5761
2017-04-11 12:07:29 +08:00
Iris Hsiao 05ad633169 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Ryan VanderMeulen a09005c936 Bug 1357069 - Update pdf.js to version 1.8.229. r=bdahl
--HG--
extra : histedit_source : e48c60969151f177d3d841834e06c437ee463c77%2Cd981da974d30238357ffc03d4262e5bb4f4c87e4
2017-04-17 09:28:32 -04:00
Ted Mielczarek adf4bd2737 bug 1354048 - update sccache to rev 7a3847276d05deb564cb84a16b8c551b690aaa3e. r=mshal
MozReview-Commit-ID: C7o9uRGAeqd

--HG--
extra : rebase_source : a432ff8bba31d3d33afe45d4a5d613a294106533
2017-04-10 06:55:15 -04:00
Ted Mielczarek a8bba22342 bug 1355099 - Disable sccache on clang-cl builds. r=mshal
sccache doesn't actually support clang-cl currently, so we're just making
our clang-cl builds slower by enabling it. Also, I'm trying to update to
a newer version of sccache and something broke running sccache+clang-cl
entirely so my try builds are busted, so disabling it entirely until
we actually support this configuration seems sensible.

MozReview-Commit-ID: LMkVuBRclCp

--HG--
extra : rebase_source : 76357d16190a6d2b2c5f177874de00ed3e636a76
2017-04-10 11:16:47 -04:00
Shane Caraveo da56d950c3 Bug 1331507 remove release/beta restriction on injecting sidebar button, r=kmag
MozReview-Commit-ID: 9pzyaWQGFn5

--HG--
extra : rebase_source : 1b22a1be71e1081cd36020ed7a29f6ce4d2f0840
2017-04-14 13:40:35 -07:00
Drew Willcoxon edf816f89a Bug 1353831 - OneOff block in search bar doesn't update text if Customize was opened at least once. r=florian
MozReview-Commit-ID: Iu7xhCbCh6B

--HG--
extra : rebase_source : 9a953c8fd6bfe80e38da7dac2079f27a5d1058de
2017-04-11 07:17:27 -07:00
Sean Lee bf7ca2eb65 Bug 1347176 - Implement label element extraction logic of an input field for filling form.; r=MattN
MozReview-Commit-ID: 5uGo1jBBFsC

--HG--
extra : rebase_source : 0788e302aae21c481706c5dcfdb6a74fc017e3ec
2017-03-31 17:43:47 +08:00
Jared Wein 06d3c649d5 Bug 1356009 - Fix inconsistencies with strings in about:preferences#sync. r=Gijs
MozReview-Commit-ID: CG2IxP4wO2f

--HG--
extra : rebase_source : cbb036c03f6a505bbfd1733841f8572c7800f7d6
2017-04-14 00:35:37 -04:00
Jared Wein 5b52e7a5e8 Bug 1356008 - Fix inconsistencies with strings in about:preferences#applications. r=Gijs
MozReview-Commit-ID: 5VN48CyHbvx

--HG--
extra : rebase_source : b62c252db47e4e224a573431316778476ecb67b8
2017-04-14 00:23:53 -04:00
Jared Wein abb7f51b68 Bug 1356006 - Fix inconsistencies with strings in about:preferences#general. r=Gijs
MozReview-Commit-ID: 8hUKm1DeGgr

--HG--
extra : rebase_source : 52f5b89cd33569d078d1ade4f8f9646d81ca4277
2017-04-14 00:09:57 -04:00
Jared Wein 15d7f903a8 Bug 1355522 - Move scripts for spell-checking, hardware acceleration, and on-screen keyboards to main.js since the prefs moved to the main category. r=florian
MozReview-Commit-ID: ExZDYWx92XD

--HG--
extra : rebase_source : bbcae715a16778f8414aaae94da3646fa96840d1
2017-04-12 11:08:46 -04:00
Jared Wein 70423b9a34 Bug 1355522 - Move Telemetry and Health Report prefs to Privacy & Security section. r=florian
MozReview-Commit-ID: 1Ybpr68SKC0

--HG--
extra : rebase_source : ffb1c0430105dd30a6d406fbebdbb9b84bca245d
2017-04-12 10:14:51 -04:00
Kris Maglione c279528885 Bug 1357137: Make sure all content scripts for the same page load into the same sandbox. r=mixedpuppy
MozReview-Commit-ID: xB8kZ2KZdz

--HG--
extra : amend_source : 05eb10e99b8cd1a2857c53750d6fb928d6100d7f
2017-04-17 10:24:43 -07:00
Phil Ringnalda bf4625c652 Backed out changeset 2a98180ffc2f (bug 1334642) for Win8 failures in browser_toolbariconcolor_restyles.js
CLOSED TREE
2017-04-11 18:59:02 -07:00
Doug Thayer b8c7cfa79c Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : 4d7f0880b2b4e8bd9424302bca16ef706e2fca25
2017-04-10 11:11:45 -07:00
Drew Willcoxon cc637153bc Bug 1295458 - Rework key and mouse handling for the one-off search buttons. r=florian
MozReview-Commit-ID: DKbU8r2BrA8

--HG--
extra : rebase_source : 9f0ff5241907455516ddec24f22e6c7f5e52105d
2017-04-11 08:40:11 -07:00
Jared Wein 29cbea21ed Bug 1355078 - Restore scroll position after updating select popup. r=mossop
MozReview-Commit-ID: 7HfuUCymDz

--HG--
extra : rebase_source : ca73fb30b6f77ddfd7718a6dd3fc747a8533bc8c
2017-04-11 01:36:07 -04:00
Jared Wein 169ec2a84e Bug 1354196 - Forward the text-shadow CSS property to the select popup for styling. r=mossop
MozReview-Commit-ID: 3jzZOIiJyXT

--HG--
extra : rebase_source : 1c223d7c90c72c32386a46dccaa745fd19418fae
2017-04-10 16:03:03 -04:00
Jared Wein e0f097b470 Bug 1353808 - Only show the 'Search' preferences when the Manage Search Engines button is clicked. r=mconley
MozReview-Commit-ID: 2sVbayD6tPf

--HG--
extra : rebase_source : 222a1d8553c4580dc21992867735c4b91d5ed691
2017-04-05 23:38:30 -04:00
Jared Wein bb639760df Bug 1353805 - Allow showing only subcategories of a section to make finding prefs easier. r=mconley
This is a temporary measure until we have search complete and shipped (1353954).

MozReview-Commit-ID: KFeOefJ1RGM

--HG--
extra : rebase_source : 326a61f43e3e6f6d771b5bab713454945c9ee060
2017-04-05 23:03:10 -04:00
Jared Wein 9f7350e7ff Bug 1354887 - The Tracking Protection exceptions and block list dialogs should always be visible within the tracking protection section. r=mconley
A couple other hidden="false" attributes were removed since they are unnecessary and shouldn't have been there. The changes to the downloadsGroup are because it is now nested inside of #applicationsContent.

MozReview-Commit-ID: IHZuKZUNYcR

--HG--
extra : rebase_source : f251849fd5a10bff8ad78554b96dc67c69a0ac78
2017-04-11 10:41:39 -04:00
Mike Hommey 5fc0411975 Bug 1354395 - Update sixgill to a rebuild that links against GMP statically. r=sfink
The mercurial revision of sixgill listed in the manifest doesn't exist,
so I took what looks like corresponds to the last change to the tooltool
manifests, in order to avoid any other difference than GMP linkage.

This was built manually on a one-click-loaner.

--HG--
extra : rebase_source : 5ea830e48a6424a6ded9beab0628d0e562251c47
2017-04-11 17:28:10 +09:00
Mike Conley 41ed537637 Bug 1354800 - Account for re-entry to removeTab function for tab close timing probes. r=dao
MozReview-Commit-ID: G47xEqSgB7d

--HG--
extra : rebase_source : 7433c0e204085a09c36c85dff671df292c87dab8
2017-04-11 14:59:08 -04:00
Kirk Steuber 6d0283fc61 Bug 1349823 - Populate bookmark panel before showing it r=enndeakin+6102,mak
When panel behavior became asynchronous, |StarUI._doShowEditBookmarkPanel| needed to be changed to wait for the panel to finish opening before initializing it. Although the content of the panel can be changed successfully before the panel opens, the element focus at the end of initialization fails. This prevents the capturing of certain events, such as an Esc keypress (which should close the panel).

However, this introduced the problem where there is a short delay between when the bookmark panel opens and when the correct content is displayed in it. To fix this, the initialization function |gEditItemOverlay.initPanel| will now be called before the panel opens, but the element focus code will wait for the panel's popupshown event.

MozReview-Commit-ID: 6SrcCz963qW

--HG--
extra : rebase_source : c45f16913597b336dcae2717c0f902dbbe8025f2
2017-04-05 15:38:37 -07:00
Sam Foster 4f20cc9f80 Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window
* Use toolbar.id and window state to store and retrieve values from cache
* Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows
* inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache
* Create new windows test directory for browser-window-specific tests like this
* Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate

MozReview-Commit-ID: JDJ3RtL4Lge

--HG--
extra : rebase_source : 7b49921bc653d57117f1c08212acc6c2db537984
extra : source : dd2d15dc577d9ec1ec16eb69d823c793dd1e9db0
2017-04-06 10:50:09 -07:00
Aaron Klotz 33a8823b8b Bug 1354208: Add AccessibleHandler.dll to installer; r=mhowell
MozReview-Commit-ID: 4EMkQMhS3B2

--HG--
extra : rebase_source : 15f9283e2fc4c41d708b6349c36c70600d0731d1
2017-02-14 16:33:48 -07:00
Zibi Braniecki a1a4f0b7c9 Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst 7d471b721c Backed out changeset abaa83873b88 (bug 1334642) for failing browser_toolbariconcolor_restyles.js. r=backout on a CLOSED TREE 2017-04-18 00:54:25 +02:00
Sebastian Hengst 7b30105d39 Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki cce53c69bc Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Mike Hommey cf644edb0d Bug 1356951 - Build mac cross toolchains with clang 3.9. r=ted
Also use the same cctools as cross-mac builds of Firefox.

Do dummy changes to the corresponding build scripts so that the builds
are force triggered (toolchain builds are not triggered automatically
when the tooltool manifest they use changes yet).

--HG--
extra : rebase_source : 699143de819c29c98ca31308ac502f9331123403
2017-04-17 14:33:09 +09:00
Sam Foster b29b823ee9 Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window
* Use toolbar.id and window state to store and retrieve values from cache
* Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows
* inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache
* Create new windows test directory for browser-window-specific tests like this
* Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate
* Skip test for windows 8, follow-up filed as bug 1356684

MozReview-Commit-ID: JDJ3RtL4Lge

--HG--
extra : rebase_source : e97bb5c09b2e6d7b264363ccba1b34bf666f31e9
2017-04-06 10:50:09 -07:00
Wes Kocher 998e7faaec Merge m-c to autoland, a=merge 2017-04-17 13:05:21 -07:00
Mike Conley 08b409645b Bug 1350324 - Be more rigorous about ignoring the initial about:blank load for tab progress listeners. r=Gijs
The initial about:blank that we load in a new <xul:browser> is not a load we usually
care about. We have code in tabbrowser.xml that ignores the state changes for that
initial load, but I guess it's not perfect - there's a case where we were getting
a STATE_STOP for that initial about:blank load (since the DocShell will call
Stop() on itself before loading that initial about:blank), and then a STATE_START
once the about:blank actually started to load. The initial STATE_STOP was ignored,
but cleared the "ignore" flag for the STATE_START to come through and show the
loading throbber. Then, when flipping remoteness, the "busy" state was not cleared.

This patch makes it so that we ignore that initial STATE_STOP (differentiated from
other STATE_STOPS because we notice that no loads were currently in progress).

MozReview-Commit-ID: IPTxuVGsCYN

--HG--
extra : rebase_source : c4a574f33c39813bdecdd660e3f5be1bcc96532f
2017-04-10 17:45:28 -04:00
Wes Kocher 264adb55c2 Merge m-c to autoland, a=merge 2017-04-05 14:20:01 -07:00
Wes Kocher 3d900a5d7e Merge inbound to central, a=merge 2017-04-05 14:16:37 -07:00
Tim Taubert 63d25c5647 Bug 1353533 - Don't create maps for non-session cookies when reloading all cookies r=mikedeboer
When initializing the service in SessionCookies.jsm,
SessionCookies._reloadCookies() currently iterates all cookies held by the
coookie service and calls _updateCookie() to add them. _updateCookie() however
is supposed to deal with cookie modifications, including session cookies being
converted to longer-lived ones, and thus handles deletion too.

This patch ensures a fast startup path by ignoring cookie deletion, we only
ever need to add new session cookies when initializing on startup. It also
changes the "cookie added" notification handler to ignore deletion.

Additionally, CookieStore.delete() is a little more intelligent now and avoids
the creation of maps only to find out the cookie didn't exist after all.
2017-04-05 16:05:46 +02:00
Carsten "Tomcat" Book c5364b4b43 Merge mozilla-central to mozilla-inbound 2017-04-05 14:50:28 +02:00
Carsten "Tomcat" Book 7a670cdd01 merge mozilla-inbound to mozilla-central a=merge 2017-04-05 14:33:35 +02:00
Jared Wein ee69536ac3 Bug 1353845 - Remove unused CSS now that some of the preference categories have been merged. r=mconley
MozReview-Commit-ID: DJtNLHUe0vZ

--HG--
extra : rebase_source : 3d86da5531e504d1e8739e28f08fde6f1c41eba3
2017-04-05 15:51:16 -04:00
Jared Wein 017442145e Bug 1353848 - Add the 'searchresults' category to the telemetry histogram bucket list. r=mconley
We need to run toLowerCase() on the category name because the searchresults category is actually searchResults.

MozReview-Commit-ID: 1AgSULER7N4

--HG--
extra : rebase_source : 64dd5aa30cf03666c829c3a8bd1aafa2d1f61860
2017-04-05 15:40:13 -04:00
Jared Wein b3dc11cee9 Bug 1353846 - Add missing #searchResults-native to the native styling on Windows. r=mconley
MozReview-Commit-ID: D2iuCBQAR0a

--HG--
extra : rebase_source : e0e3dc1894a53ed3e2fd324f117c308807784ff2
2017-04-05 15:31:15 -04:00
Mike Conley e80d1e033b Bug 1351677 - Fix a race in browser_394759_purge.js. r=mikedeboer
MozReview-Commit-ID: J1z8Y5Zbwgz

--HG--
extra : rebase_source : 31cbee03b926e60f914ad2f9914ebd9bd6953c4f
2017-04-04 16:02:06 -04:00
Mike Conley 56cf3663de Bug 1351677 - Update browser_remoteness_flip_on_restore test to account for initial tab swapping. r=mikedeboer
MozReview-Commit-ID: 152bkpjVsPv

--HG--
extra : rebase_source : e32116c6f3baef212bc366a758cde6ad8b0494c5
2017-04-04 16:01:28 -04:00
Mike Conley 32226bd237 Bug 1351677 - When restoring a window, swap the initially selected tab with the desired selected tab instead of tab switching. r=mikedeboer
When restoring a window, it's cheaper if we move the initially selected tab to the
index of the tab that's supposed to be selected in the restored state, rather than
switching to that tab.

If it turns out that moving that tab is not possible (if, for example, the user
context IDs of the two tabs to swap don't match, since the userContextIds are
set at tab construction time), then we fall back to tab switching.

MozReview-Commit-ID: L3qP40K5DaJ

--HG--
extra : rebase_source : 0954dac2f17af74418817ed45c5ab5dee7796511
2017-04-04 15:58:02 -04:00
manotejmeka d0454ad41d Bug 1335905 - Add Preferences search feature, preffed off by default. r=jaws,mconley
Code written by Manotej Meka <manotejmeka@gmail.com> and Ian Ferguson <fergu272@msu.edu>
This is the initial landing of the search feature, and is preffed off behind
browser.preferences.search.

MozReview-Commit-ID: 7iaeRsIIV3Y

--HG--
extra : rebase_source : 5e875ed0777397ecc6d98731179a1dfbd1f073df
2017-04-04 16:33:34 -04:00
Francesco Lodolo (:flod) bac5d6f7ce Bug 1353506 - Add all Aurora active locales to browser/all-locales for Firefox Nightly r=Pike
MozReview-Commit-ID: 26tAVdh4CDs

--HG--
extra : rebase_source : 792d6063b02a718921a25f57200284e72bce2765
2017-04-04 22:03:42 +02:00
David Keeler 7034d3800d bug 1353789 - unship deployment-checker r=Felipe,jcj
MozReview-Commit-ID: 3Q5v97JVs2X

--HG--
extra : rebase_source : 978054d6bbc1a1d2a1adcd8edf606c0bdc8150de
2017-04-05 09:56:26 -07:00
Jared Wein 0117fd004b Bug 1348828 - Only prevent default behavior of scroll event if the tree is scrollable. r=enndeakin+6102
MozReview-Commit-ID: AGS103gy08O

--HG--
extra : rebase_source : f262d6df34d44ee5f4aa758c49d0f3795f1194ae
2017-04-03 21:51:11 -04:00
Andreas Tolfsen 914224d736 Bug 1350887 - Include Marionette prefs amongst defaults; r=ted,whimboo
The Marionette component ships in Firefox, but is not enabled by default.
We want to facilitate activating Marionette at runtime by flipping
the marionette.enabled preference, and showing the Marionette related
preferences in about:config helps discoverability.

It is also useful to rely on the preferences' default values so that
they do not have to be hardcoded in the component.

When Marionette is enabled by setting marionette.enabled to true, a set of
recommended automation preferences found in testing/marionette/server.js
are set if the user has not overriden/user-defined one of them and
marionette.prefs.recommended is true (default).  When Marionette is
stopped, the altered preferences are reset.

MozReview-Commit-ID: 3HLnEI0TEBB

--HG--
extra : rebase_source : 8be91ed46c443dd120cbc4b42c729cf3ae250b5f
2017-03-29 18:25:55 +01:00
Iris Hsiao e9db7e1f92 Backed out changeset 28f8a3519d73 (bug 1267480) for mochitest bc6 perma-failing 2017-04-05 14:23:13 +08:00
Jared Wein 9ab8b29624 Bug 1267480 - Split up browser_security.js due to the test timing out. r=Gijs
MozReview-Commit-ID: Frqzb2fQDs7

--HG--
extra : rebase_source : ef3e97e908e399521211badf687b2b2ece48d66a
2017-04-04 15:29:22 -04:00
Andrew McCreight 62c6243f05 Bug 1353174, part 2 - Fix up ContentObservers.js. r=Gijs
This is split into a separate patch in an attempt to get a better
diff.

MozReview-Commit-ID: L9AI3VD2pbV

--HG--
extra : rebase_source : 6dc47abd27d8f66886af4cbb458b6d00e8d5c7ee
2017-04-04 11:25:05 -07:00
Andrew McCreight 2f83bee3a7 Bug 1353174, part 1 - Turn ContentObservers.jsm into a process script. r=Gijs
This retains the advantage of running only once per process, while
avoiding the per-process overhead of a jsm.

MozReview-Commit-ID: 1N53MvRwUpg

--HG--
rename : browser/modules/ContentObservers.jsm => browser/modules/ContentObservers.js
extra : rebase_source : 6a502cff26fcb55526f97385274bbae871f5cc6c
2017-04-04 11:21:48 -07:00
Gijs Kruitbosch 9280fcd667 Bug 1353373 - fix Edge readinglist imports, r=jaws
MozReview-Commit-ID: Fu9n3FIrxf6

--HG--
extra : rebase_source : d438f2ef4c13f998ee8928a218f504dd4cc43471
2017-04-04 16:18:17 +01:00
Francesco Lodolo (:flod) 1566e8d6d6 Bug 1335809 - Update shortName in wikipedia-sl.xml to match Wikipedia's searchplugin r=mkaply
MozReview-Commit-ID: K33zDWHDZ8d

--HG--
extra : rebase_source : 1b539d7ebbe69172ef1cf513a07d6d79c4acb525
2017-04-04 08:43:14 +02:00