Commit Graph

90 Commits

Author SHA1 Message Date
Haik Aftandilian
81b56d13a8 Bug 1431441 - Part 3 - Start the Mac content sandbox earlier r=Alex_Gaynor
Pass sandbox parameters to content processes on the command line allowing for early sandbox startup.

Pref'd off behind "security.sandbox.content.mac.earlyinit" until it's ready to be enabled by default.

Once early startup is enabled by default and considered stable, the original sandbox startup code can be removed.

Depends on D6719

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

--HG--
extra : moz-landing-system : lando
2018-10-19 18:23:16 +00:00
Narcis Beleuzu
a2990eb898 Backed out 7 changesets (bug 1431441) as per haik`s request.
Backed out changeset 1dfdc7ba998d (bug 1431441)
Backed out changeset fb1a4ddbf9bf (bug 1431441)
Backed out changeset b59b1651fc15 (bug 1431441)
Backed out changeset 1e2bb579b824 (bug 1431441)
Backed out changeset 2a635530dfa3 (bug 1431441)
Backed out changeset 262da0be2fed (bug 1431441)
Backed out changeset b9cfda58fed3 (bug 1431441)

--HG--
extra : rebase_source : 7baf60c49683b419c0603979b0dff3befb2fbaf0
2018-10-14 18:20:01 +03:00
Haik Aftandilian
b9bdcdedb1 Bug 1431441 - Part 3 - Start the Mac content sandbox earlier r=Alex_Gaynor
Pass sandbox parameters to content processes on the command
line allowing for early sandbox startup. Limited to Nightly
until confirmed to be stable and ready to ride the trains.

Enable early sandbox startup by default on Nightly and use
pref "security.sandbox.content.mac.earlyinit" to disable
early startup for debugging purposes.

Once early startup is stable, the original sandbox startup
code can be removed.

Depends on D6719

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

--HG--
extra : moz-landing-system : lando
2018-10-11 22:44:25 +00:00
Tiberius Oros
3edd9afbe3 Backed out 5 changesets (bug 1431441) for failing devtools at client/debugger/new/test/mochitest/browser_dbg_rr_breakpoints-01.js on OSX opt a=backout
Backed out changeset 94a1d1d67191 (bug 1431441)
Backed out changeset be7ec7438701 (bug 1431441)
Backed out changeset db6b7ee04187 (bug 1431441)
Backed out changeset f61ec0f140c2 (bug 1431441)
Backed out changeset ac51f86f5cac (bug 1431441)
2018-10-03 09:39:01 +03:00
Haik Aftandilian
ef9150c083 Bug 1431441 - Part 3 - Start the Mac content sandbox earlier r=Alex_Gaynor
Pass sandbox parameters to content processes on the command
line allowing for early sandbox startup. Limited to Nightly
until confirmed to be stable and ready to ride the trains.

Enable early sandbox startup by default on Nightly and use
pref "security.sandbox.content.mac.earlyinit" to disable
early startup for debugging purposes.

Once early startup is stable, the original sandbox startup
code can be removed.

Depends on D6719

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

--HG--
extra : moz-landing-system : lando
2018-10-02 20:29:46 +00:00
Sebastian Hengst
d34c7d9a48 Bug 1490322 - Use new "Toolkit :: Blocklist Implementation" bugzilla component as default for blocklist related files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5570

--HG--
extra : moz-landing-system : lando
2018-09-11 19:25:55 +00:00
Mike Hommey
cd06f032af Bug 1079662 - Always enable PIE. r=froydnj
Last attempt, a few years ago, blatantly failed because nautilus (the
GNOME file manager) can't start PIE executables, which look like shared
libraries, and that it thus considers not being executables.

Downstreams don't actually have the problem, because users won't be
launching Firefox from a file manager, but for mozilla.org builds, it is
a problem because users would download, then extract, and then likely
try to run the Firefox executable from a file manager.

So for mozilla.org builds, we still need to find a way around the
nautilus problem.

A .desktop file could be a solution, but .desktop files have not
actually been designed for this use case, which leads to:
- having to use an awful one-liner shell wrapper to derive the path
  to the executable from that of the .desktop file,
- not even being able to associate an icon,
- the .desktop file not being copiable to a location where .desktop
  files would normally go, because it would then fail to find the
  executable.

Another possibility is to go back to using a shell wrapper, but that's
not entirely appealing.

What we chose here is similar, where we have a small `firefox` wrapper
that launches the real `firefox-bin` (which is still leftover from those
old times where we had a shell wrapper, for reasons).

The small `firefox` wrapper is a minimalist C executable that just
finds the path to the `firefox-bin` executable and executes it with the
same args it was called with. The wrapper is only enabled when the
MOZ_NO_PIE_COMPAT environment variable is set, which we only take into
account on Linux. The variable is only really meant to be used for
mozilla.org builds, for the nautilus problem. Downstreams will just pick
the default, which is changed to build PIE.

On other platforms, PIE was already enabled by default, so we just
remove the --enable-pie configure flag.

Differential Revision: https://phabricator.services.mozilla.com/D5109
2018-09-08 07:41:21 +09:00
Aaron Klotz
71a38f164a Bug 1445025: Part 1 - Move launcher code into browser/app/winlauncher; r=mhowell
--HG--
rename : browser/app/LaunchUnelevated.cpp => browser/app/winlauncher/LaunchUnelevated.cpp
rename : browser/app/LaunchUnelevated.h => browser/app/winlauncher/LaunchUnelevated.h
rename : browser/app/LauncherProcessWin.cpp => browser/app/winlauncher/LauncherProcessWin.cpp
rename : browser/app/LauncherProcessWin.h => browser/app/winlauncher/LauncherProcessWin.h
rename : browser/app/ProcThreadAttributes.h => browser/app/winlauncher/ProcThreadAttributes.h
2018-06-05 15:18:13 -06:00
Cosmin Sabou
1cda6f4992 Backed out 6 changesets (bug 1445025) for browser chrome failures on browser_checkdllblockliststate.js. CLOSED TREE
Backed out changeset a1203eb4cee9 (bug 1445025)
Backed out changeset 64b003dceafb (bug 1445025)
Backed out changeset a6cff2b478da (bug 1445025)
Backed out changeset 4dbc7fbb3361 (bug 1445025)
Backed out changeset 1ad82650ca1c (bug 1445025)
Backed out changeset 5c63001e1ce6 (bug 1445025)

--HG--
rename : browser/app/winlauncher/LaunchUnelevated.cpp => browser/app/LaunchUnelevated.cpp
rename : browser/app/winlauncher/LaunchUnelevated.h => browser/app/LaunchUnelevated.h
rename : browser/app/winlauncher/LauncherProcessWin.cpp => browser/app/LauncherProcessWin.cpp
rename : browser/app/winlauncher/LauncherProcessWin.h => browser/app/LauncherProcessWin.h
rename : browser/app/winlauncher/ProcThreadAttributes.h => browser/app/ProcThreadAttributes.h
2018-06-07 12:09:22 +03:00
Aaron Klotz
13346176a4 Bug 1445025: Part 1 - Move launcher code into browser/app/winlauncher; r=mhowell
--HG--
rename : browser/app/LaunchUnelevated.cpp => browser/app/winlauncher/LaunchUnelevated.cpp
rename : browser/app/LaunchUnelevated.h => browser/app/winlauncher/LaunchUnelevated.h
rename : browser/app/LauncherProcessWin.cpp => browser/app/winlauncher/LauncherProcessWin.cpp
rename : browser/app/LauncherProcessWin.h => browser/app/winlauncher/LauncherProcessWin.h
rename : browser/app/ProcThreadAttributes.h => browser/app/winlauncher/ProcThreadAttributes.h
extra : rebase_source : 1820ebb1fa305f886eaed1f7d43cfea256aa9fb2
2018-06-05 15:18:13 -06:00
Aaron Klotz
0437885e5c Bug 1430092: Make the bootstrap process re-launch itself it it is running at a high integrity level; r=jimm
--HG--
extra : rebase_source : da77dc905a065fd7d50445815f6a036a87707ca6
2018-04-25 17:38:58 -06:00
Aaron Klotz
415cd5e05e Bug 1454745: Skeletal bootstrap process; r=mhowell 2018-04-17 13:48:21 -06:00
Tim Nguyen
92c9a958e1 Bug 1372694 - Stop making the default theme a heavyweight theme. r=kmag,aswan
MozReview-Commit-ID: 30wMauuc9oo

--HG--
rename : browser/base/content/default-theme-icon.svg => toolkit/mozapps/extensions/content/default-theme-icon.svg
extra : rebase_source : 5e4cf784135f4a8e40a2ed8357ba651e7fce9728
2018-04-01 13:53:31 +02:00
Sebastian Hengst
d247fb5f4e Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe

--HG--
extra : rebase_source : c8f1dc45041132252e28869ada6a386270267431
2018-03-14 21:44:46 +01:00
Tom Ritter
6d070e11bd Bug 1235982 Add CFG to firefox.exe and mozglue, and a mochitest to ensure a crash r=glandium,mconley
MozReview-Commit-ID: EYKgDyGtw8m

--HG--
extra : rebase_source : 76166d4fca452674d0a442778290e40106ce339c
2018-01-25 12:15:40 -06:00
Chris Manchester
79b8f529d2 Bug 1431342 - Move channel-prefs.js processing back to Makefile.in to avoid changing its content. r=rstrong
MozReview-Commit-ID: A7kR8WPB4TQ

--HG--
extra : rebase_source : 5d8188273d8708e360f1228468b981c88349296a
2018-01-18 14:00:02 -08:00
Sylvestre Ledru
5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
shindli
a9fa53057b Backed out 3 changesets (bug 1415481) for failing bcs in browser/base/content/test/general/browser_tabbar_big_widgets.js r=backout on a CLOSED TREE
Backed out changeset a00865a5bd43 (bug 1415481)
Backed out changeset 4d8dc538cb2d (bug 1415481)
Backed out changeset 53463889cdb6 (bug 1415481)
2017-11-15 14:00:54 +02:00
Martin Stransky
60af96377b Bug 1415481 - set browser.tabs.drawInTitlebar to true on windows, cocoa and gtk3 widgets, r=dao,glandium
Enable browser.tabs.drawInTitlebar on platforms where CAN_DRAW_IN_TITLEBAR is set instead of the UNIX_BUT_NOT_MAC hack.

MozReview-Commit-ID: 9lko61izj4r

--HG--
extra : rebase_source : 98c1d9b8a89ec91c119634724187c614ea1d04f2
2017-11-08 10:38:34 +01:00
Chris Manchester
2a7dac5996 Bug 1415742 - Move channel-prefs.js installation to moz.build. r=nalexander,ted
This was awkward because it doesn't want to end up under dist/bin/browser,
but DIST_SUBDIR is exported here. firefox.exe doesn't want to end up under
dist/bin/browser either, so we unset DIST_SUBDIR for this directory and
move the files that need it to a different directory.

MozReview-Commit-ID: Jr1RLUIj0HM

--HG--
extra : rebase_source : 37bbea6792196895316c081176b64db233fe62e1
2017-11-09 11:39:27 -08:00
Chris Manchester
d66bafce2c Bug 1403346 - Convert sse flags filtering in browser/app/Makefile.in to mozbuild. r=glandium
MozReview-Commit-ID: D10cPf6v0d2
2017-10-25 15:12:10 -07:00
David Burns
c3e04fb1e5 Bug 1374263 - Make sure build places geckodriver binary in correct directory. r=froydnj
The geckodriver binary is not being moved to correct directory which is required
to be able to run web platform tests successfully.

MozReview-Commit-ID: HTxnACX2FLR

--HG--
extra : rebase_source : 816dc27bfad7d9e93ca1074f9ab05ba1c0bb578b
2017-10-09 21:09:09 +01:00
Chris Manchester
e059037e2b Bug 1386876 - Add classes to handle compile flags computed by moz.build with templates, convert 'DISABLE_STL_WRAPPING' to use them. r=glandium
MozReview-Commit-ID: 3PYOtX4E8OC

--HG--
extra : rebase_source : 162999582bc2ef078680ce6feae628d5b1f4e857
2017-04-28 16:35:19 -07:00
Joel Maher
583be02ed0 Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop 2017-08-25 13:08:45 -04:00
Dan Banner
229f42c417 Bug 631271 - Don't ship with defaults/profile/prefs.js r=bsmedberg
MozReview-Commit-ID: 1wz3BHEZa8N

--HG--
extra : rebase_source : 2398f3e19d70b7a6a47ba9a80c17029dad1276f0
2017-04-18 14:56:15 +01:00
Jim Blandy
b4c089eb34 Bug 1347360 - Remove unnecessary USE_LIBS directive. r=glandium 2017-03-14 17:10:13 -07:00
Wes Kocher
6d2e245da8 Backed out changeset 5bbf6972b904 (bug 1235982) for landing prematurely a=backout
MozReview-Commit-ID: Fy7NwUoMipw
2017-03-15 14:00:47 -07:00
Tom Ritter
db3ff2c559 Bug 1235982 Add CFG to firefox.exe and mozglue, and a mochitest to ensure a crash r=glandium,mconley
MozReview-Commit-ID: 1XnHH3NeGnJ

--HG--
extra : rebase_source : 3bbf02779cb4ee0a04dcea851fe81a96faec2494
2017-03-15 11:14:22 -05:00
Mike Hommey
7523430127 Bug 1330533 - Use FuzzerDriver directly instead of wrapping it in a libfuzzer_main function. r=decoder
Going further from the previous changes, all libfuzzer_main really does
is call the init function, and then proceed to call the fuzzer driver
with the testing function.

So instead of calling that function for it to do all that, the
LibFuzzerRunner can just call the init function itself, and then
call the fuzzer driver with the testing function.

--HG--
extra : rebase_source : 2eb1a2ae763ef21827471cd32addceacefc1ac5d
2017-01-12 14:44:18 +09:00
Mike Hommey
767b76f0ff Bug 1319351 - Bustage followup; r=gps 2016-11-22 14:58:20 -08:00
Mike Hommey
b5ee6f1c8c Bug 1319351 - Avoid splash.rc depending on files in dist/branding. r=mshal
--HG--
extra : rebase_source : 410f94ff78fb179aa5cb3b4ece38818a86ae4b4e
2016-11-22 16:59:43 +09:00
Henri Sivonen
0ca8bb3905 Bug 1300843 - Print an error on 32-bit Linux in the absence of SSE2. r=glandium.
MozReview-Commit-ID: EEmAhXaeDeX
2016-09-14 12:40:53 +03:00
Christian Holler (:decoder)
3c7149e85d Bug 1289194 - Experimental LibFuzzer integration. r=glandium
MozReview-Commit-ID: 9njDcbltyow

--HG--
extra : rebase_source : 774d25f2ac4e4b1a876e48159333188bc722f940
2016-09-01 15:07:01 +02:00
Sebastian Hengst
a66df0b0c2 Backed out changeset 95e68b473e91 (bug 1289194) for failure to process moz.build file. r=backout a=backout
MozReview-Commit-ID: GhfzNoiE808
2016-09-07 18:45:40 +02:00
Christian Holler (:decoder)
055c4fb1dd Bug 1289194 - Experimental LibFuzzer integration. r=glandium
--HG--
extra : histedit_source : a632f3ff76e07562d1854bc68b50499e4b4667a0
2016-09-01 15:07:01 +02:00
Carsten "Tomcat" Book
8b6316ec5f Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
Thomas Zimmermann
6c1b3c2bc2 Bug 1250922: Use gpsd for Geolocation, r=jdm,glandium
This patch adds the gpsd location provider to |nsGeolocationService|.

On release builds, the new provider is *not* used by default, as GPS
is slow to start and unreliable indoors. To enable gpsd, users with a
supported GPS receiver must set the preference 'geo.location.use_gpsd'
to 'true'.

On non-release builds, the gpsd location provider is enabled by default
to give it some testing.

MozReview-Commit-ID: I0tj1GmmFNP
2016-07-22 11:52:09 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Aaron Klotz
cca20d7ddd Bug 1285356: Fix blocklist initialization regressions; r=bsmedberg
MozReview-Commit-ID: AlWyzVhtPLL

--HG--
extra : rebase_source : 865aff712f83a567c16b81f4512e072a04f7c6df
2016-07-07 17:00:23 -06:00
Bob Owen
e809e9f918 Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3

--HG--
extra : rebase_source : 40966d98ca6c37f30884639d648907b4760ae240
2016-05-15 16:41:40 +01:00
Bob Owen
e4d6d84741 Bug 1035125 Part 5: Back out changeset baa3f852133b and associated subsequent changes. r=glandium
The original changeset that is being backed out had comment:
Bug 1023941 - Part 1: Static-link the CRT into firefox.exe.

MozReview-Commit-ID: FPqXvdajdo3

--HG--
extra : rebase_source : 9bdc9c7e1a34419c6812a5908f29f568fb9fe94b
2016-05-15 16:23:57 +01:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Mike Shal
5efa4c6448 Bug 1264162 - Move branding installation to branding-common.mozbuild; r=glandium
MozReview-Commit-ID: LCUkgGPDmHq

--HG--
extra : rebase_source : f473dbb39729fc0b352ef8009a376d989ec3bcf9
2016-04-14 14:40:33 -04:00
Mike Shal
e0fb9deb3f Bug 1261474 - Remove custom install rules in browser/app/Makefile.in; r=chmanchester
MozReview-Commit-ID: K2FTdBaIWPI
2016-03-31 17:12:11 -04:00
Mike Hommey
a010adbc6a Fixup missing double quotes in bug 1244999, busting Windows builds on a CLOSED TREE. r=me 2016-02-03 10:07:31 +09:00
Mike Hommey
7c80aeddb7 Bug 1244999 - Move icon-related DEFINES to moz.build in browser/app. r=mshal 2016-02-03 08:41:17 +09:00
Mike Hommey
5ea47b3101 Bug 1229241 - Differentiate preprocessed and non-preprocessed JS pref files. r=gps 2015-12-01 13:57:52 +09:00
Mike Hommey
d11a49f869 Bug 1224000 - Install defaults/permissions file under browser/ instead of under browser/chrome/browser. r=mshal,r=MattN
And restore resource://app/ to its true meaning.
2015-11-24 11:29:14 +09:00
Mike Hommey
762aba02cd Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00