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

2430 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Blake Kaplan 3fa965430b Bug 1406212 - Remove references to extensions.e10sBlocksEnabling. r=Felipe
MozReview-Commit-ID: 11q3Go0IkPh

--HG--
extra : rebase_source : fdcf714d18effc964191665eb8422305bda92b65
2017-10-16 13:52:48 -07:00
Blake Kaplan 22ee7f1db9 Bug 1406212 - Remove multiprocessBlockPolicy. r=Felipe
MozReview-Commit-ID: F6P5fUPSc7L

--HG--
extra : rebase_source : 2663c37c2dfe853adc86ba36599fed715114b812
2017-10-12 11:16:46 -07:00
Blake Kaplan 448808fee2 Bug 1406212 - Remove browser.tabs.remote.autostart.N. r=Felipe
These are no longer needed.

MozReview-Commit-ID: C49R7GsWPDg

--HG--
extra : rebase_source : 3711365017bf48c1f53315ce48fa419ac2a89b3e
2017-10-10 16:12:20 -07:00
Blake Kaplan d85edbdb89 Bug 1406212 - Default to e10s on with 4 content processes. r=Felipe
MozReview-Commit-ID: CtBXBOgTuki

--HG--
extra : rebase_source : 5c4472e0c798f618f7a3ce644d506319b6ceed3c
2017-09-28 15:50:15 -07:00
Bob Owen 25f5a8b221 Bug 1372823 Part 5: Extend BaseThreadInitThunk thread start address verification to 64-bit. r=dmajor 2017-09-21 09:31:07 +01:00
Mark Banner a02deb60ef Bug 1408118 - Disable Mac's insertion of its own full screen menu item as we already provide one. r=spohl
MozReview-Commit-ID: EgCWL00ZfUT

--HG--
extra : rebase_source : b59ddbe9dd6d2e7335d9a414fa77baf3f78ccaed
2017-10-13 08:47:56 +01:00
Phil Ringnalda ecdb97c7dc Backed out 6 changesets (bug 1406212) for mass reftest failures
CLOSED TREE

Backed out changeset 1c9fe35de901 (bug 1406212)
Backed out changeset 1acc4c270bf9 (bug 1406212)
Backed out changeset d9ea9cff849f (bug 1406212)
Backed out changeset 5bf2f08f01f9 (bug 1406212)
Backed out changeset 1a050da96e9e (bug 1406212)
Backed out changeset 1b5e78113f06 (bug 1406212)

MozReview-Commit-ID: LizV8CD4IY4
2017-10-12 19:45:23 -07:00
Blake Kaplan cdfbbe4c70 Bug 1406212 - Remove multiprocessBlockPolicy. r=Felipe
MozReview-Commit-ID: F6P5fUPSc7L

--HG--
extra : rebase_source : 78b570ba97bcb452df3c96748c453a1517843244
2017-10-12 11:16:46 -07:00
Blake Kaplan a17f66b7ba Bug 1406212 - Remove browser.tabs.remote.autostart.N. r=Felipe
These are no longer needed.

MozReview-Commit-ID: C49R7GsWPDg

--HG--
extra : rebase_source : 9609ad56d497b59d530434d135692e454d4f772a
2017-10-10 16:12:20 -07:00
Blake Kaplan 43ff4cea89 Bug 1406212 - Default to e10s on with 4 content processes. r=Felipe
MozReview-Commit-ID: CtBXBOgTuki

--HG--
extra : rebase_source : 851c31405ec03ece1390bc338b6bd18ea39ba7f8
2017-09-28 15:50:15 -07:00
Nicholas Nethercote 8a68e6fb83 Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.

This patch greatly simplifies how things are exposed. The starting point is:

- GeckoProfiler.h can be #included unconditionally;

- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.

In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.

The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.

Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
Nicholas Nethercote 93c60b0d95 Bug 1403868 (part 1) - Remove argument from AutoProfilerInit(). r=mstange.
We can use |this| instead, as is already done in AutoProfilerRegisterThread().

--HG--
extra : rebase_source : c79716443cb8483f078d1d3d6a87d25a8d3d5445
2017-10-03 19:47:44 +11:00
Haik Aftandilian 6da29eda0b Bug 1393805 - Part 1 - Add XRE_USER_SYS_EXTENSION_DEV_DIR XRESysExtDev Key. r=bobowen,gcp
Adds a new directory provider key "XRESysExtDev" to be used by system extension
developers needing to load system extensions from a directory readable by
sandboxed content processes.

MozReview-Commit-ID: 4BKOZoPzCC3

--HG--
extra : rebase_source : 452db8d53a1f0248a080f858c48492978b5db808
2017-10-04 10:43:49 -07:00
Fischer.json 697de71c07 Bug 1403402 - Should not migrate profile for a fresh install, r=MattN
MozReview-Commit-ID: D9uMUXO2PV5

--HG--
extra : rebase_source : 15d73291206905e2e146200084b699434d2e1140
2017-09-28 11:44:59 +08:00
Mike Hommey 4fe7459180 Bug 1403366 - Stop requiring argv[0] for XRE_GetBinaryPath and the underlying BinaryPath::Get. r=froydnj
--HG--
extra : rebase_source : ac7bb0d7766fce5b6325c34c2868b26eec594e18
2017-09-28 10:37:27 +09:00
Mike Hommey bdf125352e Bug 1403366 - Remove GetXULRunnerStubPath. r=froydnj
The difference between GetXULRunnerStubPath and XRE_GetBinaryPath was
removed in bug 552864.

--HG--
extra : rebase_source : 20060486de82c04bc888fade5be1f42675bc5d07
2017-09-28 10:31:14 +09:00
Nathan Froyd ac2f2367a9 Bug 1405105 - remove Rust init hack now that we require 1.19; r=ccorcoran
We added this to avoid race conditions, but a fix which removes the need
for it has been landed in Rust 1.19+, which we now require.
2017-10-04 09:53:20 -04:00
Kai Engert 47d3b3ac0b Bug 730495, guarantee that sqlite3_config is called before any other SQLite function, r=asuth, r=froydnj, r=mak 2017-09-29 13:25:06 +02:00
Marco Castelluccio c34f5eafdb Bug 1403218 - Remove no longer used XRE_DONT_SUPPORT_XPSP2 definition. r=glandium
--HG--
extra : rebase_source : 487c724a6a14a4c9b9ee6c0438eda64b0d3ab9ff
2017-09-26 17:48:26 +02:00
Nicholas Nethercote 3aa25724fe Bug 1402255 - Change nsIBaseWindow::title from wstring to AString. r=janv.
Because nsAString is nicer to work with than char16_t*. The patch relatedly
changes nsIEmbeddingSiteWindow::title and nsIWindowMediator::updateWindowTitle
as well.

--HG--
extra : rebase_source : 0bf332dec3e09af6c39c676f8795b368768a6046
2017-09-25 13:10:51 +10:00
Chris Peterson b98afa1d19 Bug 870698 - Part 11: Replace Insert(NS_LITERAL_STRING("")) with InsertLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: L9UE3gXHG4Q

--HG--
extra : source : 37d74bf745b23542251cc6b021d6aabb5ffadea1
extra : intermediate-source : 0402b4bd34c293b44c76de22418899420c8e405b
2017-09-07 18:08:18 -07:00
Chris Peterson 9f4c1f5278 Bug 870698 - Part 1: Replace Assign("") with AssignLiteral(""). r=erahm
MozReview-Commit-ID: A0u9PP49OW3

--HG--
extra : rebase_source : 7d5286959f510eb4b7df1b7e32d5b9b58719c48b
extra : intermediate-source : f552b4a78236c42bc09030b3eb008725a3edb9c8
extra : source : 26ac4a1014f6661a70e3bf9f552407e12c2c3981
2017-09-03 22:12:56 -07:00
Sebastian Hengst 15ce5cb2db Backed out changeset 4dab43248f15 (bug 1372823) for crashing GTest on Windows 10 x64 debug. r=backout
MozReview-Commit-ID: 1u7TFtv6Mdv
2017-09-21 17:27:32 +02:00
Sebastian Hengst 7eec7a0a11 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: mr7OYuaLKE
2017-09-21 15:23:43 +02:00
Bob Owen 6e55dc3260 Bug 1372823: Extend BaseThreadInitThunk thread start address verification to 64-bit. r=dmajor 2017-09-21 09:31:07 +01:00
Tomislav Jovanovic 8a81eff787 Bug 1386427 - Part 1: Add XRE*NativeManifests locations to dirsvc r=kmag
MozReview-Commit-ID: DoJIP6QZ5AX

--HG--
extra : rebase_source : 8351f66a4ddbe8a7c5a7fdf0dcc96288d060f53a
2017-09-12 18:58:23 +02:00
Kris Maglione 78db258f72 Bug 1398895: Part 1 - Initialize user prefs before loading any JS components. r=florian
MozReview-Commit-ID: BAH7m0nLiIT

--HG--
extra : rebase_source : 683da4b48d45c399667c71a38058b60f3056b5f4
2017-09-14 11:35:01 -07:00
Benjamin Dahse 43dd2ccf35 Bug 1378010 - screenshot from command line with headless; r=mossop
Add a `--screenshot` argument that implies `--headless` and is used to take a screenshot of a page from the command line.
Default is a full page screenshot, but `--window-size=width[,height]` can change this.
A path for the screenshot can be supplied with `--screenshot=/path/to/file`.

MozReview-Commit-ID: 13tUjk2Yrsl

--HG--
extra : rebase_source : d26ed0856af882ad52a606941685b2c91577d3bf
2017-09-12 16:55:27 -07:00
Kartikaya Gupta b4ad327a0e Bug 1390488 - Pass the childProcessTmpDir from the parent process to the GPU process. r=froydnj
The GPU process doesn't have the directory service enabled, so it can't find
a tmp dir to put its .extra files for crash reports. Even if we do enable the
directory service, we still don't get the correct "content process tmp dir" in
the GPU process, because the UUID baked into that folder is passed via the
preferences service, and that isn't initialized in the GPU process either.
Rather than unneccessarily initialize all this stuff in the GPU process just
to get one folder name, we can pass that folder name directly in the argv list.

See comments 12-19 on the bug for further discussion of the various solutions
attempted/explored.

MozReview-Commit-ID: 1sFg27hIe7S

--HG--
extra : rebase_source : 78eb600a58fed45800b9df8303cc4d6898d96ae9
2017-09-13 11:26:25 -04:00
Sebastian Hengst 3066457971 Backed out changeset b80e267bdf30 (bug 1390488) 2017-09-13 16:36:56 +02:00
Kartikaya Gupta 36b2d6e26d Bug 1390488 - Pass the childProcessTmpDir from the parent process to the GPU process. r=froydnj
The GPU process doesn't have the directory service enabled, so it can't find
a tmp dir to put its .extra files for crash reports. Even if we do enable the
directory service, we still don't get the correct "content process tmp dir" in
the GPU process, because the UUID baked into that folder is passed via the
preferences service, and that isn't initialized in the GPU process either.
Rather than unneccessarily initialize all this stuff in the GPU process just
to get one folder name, we can pass that folder name directly in the argv list.

See comments 12-19 on the bug for further discussion of the various solutions
attempted/explored.

MozReview-Commit-ID: 1sFg27hIe7S

--HG--
extra : rebase_source : 62ff819c5b03f642cd4b9af7c89c84b790397372
2017-09-13 10:18:15 -04:00
Chris Manchester c0a229d4c3 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP

--HG--
extra : rebase_source : 3cdee7528846462c758e623d6bcd2e6e17dbabff
2017-09-11 11:33:26 -07:00
Jim Mathies 910a0df0c0 Bug 1385991 - Provide a chrome side notification informing the user about an incompatible version of JAWS screen reader. r=felipe 2017-09-08 16:05:06 -05:00
Jim Mathies 2a7901349f Bug 1387507 - Remove a11y e10s checks and preferences. r=felipe 2017-09-08 09:31:06 -05:00
Eric Rahm 0617c21c24 Bug 1393230 - Part 2: Fix more improper string usages. r=njn
This fixes improper usages of Find where an offset was actually being use for
the boolean ignore case flag. It also fixes a few instances of passing in a
literal wchar_t to our functions where a NS_LITERAL_STRING or char16_t should
be used instead.

--HG--
extra : rebase_source : 5de1e9335895d65e6db06c510e8887d27be3390f
extra : source : f762f605dd83fc6331161a33e1ef5d54cafbd08d
2017-08-31 15:52:30 -07:00
Andrew Sutherland 53d89ea1a9 Bug 1395827 - Eliminate NO_REMOTE_TYPE and default GetNewOrUsedBrowserProcess() remote type arg. r=billm
NO_REMOTE_TYPE seems to have been an artifact of introducing remote types and
not wanting to change things.  This eliminates the type, changing
GetNewOrUsedBrowserProcess() to no longer use a default argument so that
callers must think about the remote type they want.  Additionally, the existing
call-site used by xpcshell in nsEmbedFunctions.cpp is updated to use the
DEFAULT_REMOTE_TYPE of "web", as-is the unused nsAppRunner.cpp case.  (That is,
no one appears to call nsXULAppInfo::EnsureContentProcess directly or via its
XPCOM interface, and so it probably should be removed.  However, since I
potentially want this patch uplifted to beta 56 and legacy extensions exist
there, we're not addressing that in this patch.)

--HG--
extra : rebase_source : bb87ec781d041bcea49268585bb5b45522b19bc2
2017-09-01 02:24:47 -04:00
Jim Mathies 2b18fbc255 Bug 1393987 - Add in-process client information to Accessibility Instantiator support info. r=eeejay
MozReview-Commit-ID: 78w0zOsNm1J
2017-09-01 16:17:46 -05:00
Wes Kocher 4cf89b3423 Merge m-c to inbound, a=merge
MozReview-Commit-ID: FusyUW1CQ4s
2017-09-01 16:33:28 -07:00
Julian Descottes 10fc14905c Bug 1395990 - remove Services.appinfo.isOfficial;r=mossop
MozReview-Commit-ID: 1hohMqK7K90

--HG--
extra : rebase_source : 5503da20cf80e8c16960bd93d916128e8e1e5d2b
2017-09-01 18:57:43 +02:00
David Parks 73e3389fd5 Bug 1388903 - Part 1: Add PrintDlgW to x64 DLL Interceptor Test. r=jimm
We will hook PrintDlgW in another part.
2017-08-29 15:23:19 -07:00
Matthew Noorenberghe e92a849121 Bug 1388611 - Update mProfileName after a profile reset to handle multiple consecutive resets. r=Dolske
Follow-up to bug 1122124 to ensure `SaveWordToEnvIfUnset("XRE_PROFILE_NAME", mProfileName);` saves the updated profile name after reset takes the old profiles name.

MozReview-Commit-ID: MTJAQUKktM

--HG--
extra : rebase_source : 4cb6e762898c3dd459f6ef4049687cd1e4170558
2017-08-30 23:47:17 -07:00
Tom Ritter 8dbe002119 Bug 1393538 Clean up unused variables in toolkit/ r=smaug
MozReview-Commit-ID: I6r50dqJJHJ

--HG--
extra : rebase_source : f1f773db8f0ec44c1cf6f194973f870b08f6138b
2017-08-24 15:07:59 -05:00
Chris Pearce 008b91fc79 Bug 1392485 - Hook QueryDosDeviceW() in GMP process so it works inside the sandbox. r=bobowen,r=dmajor
We hook in kernelbase.dll rather than kernel32.dll, as hooking QueryDosDeviceW
kernel32.dll is failing on our Win8 tests, it seems because QueryDosDeviceW in
kernel32.dll redirects to kernelbase32.dll, and the redirect has insufficient
space for our hook in Win8. So hook in kernelbase.dll, where the redirect
redirects to instead.


MozReview-Commit-ID: JKRiKCd7Ibn

--HG--
extra : source : 635dedbff7ceebc1e71bf397228da87bf5c6a0dc
2017-08-23 10:56:41 +12:00
Bill McCloskey f90a87caa9 Bug 1350432 - Initial Quantum DOM scheduler implementation, disabled by default (r=froydnj)
MozReview-Commit-ID: JWBxz3bwgwD
2017-08-25 10:28:23 -07:00
Wes Kocher bd5fb0a92d Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHOFLdPkEou
2017-08-23 18:08:30 -07:00
Nicholas Nethercote f582d96b98 Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm.
This is straightforward, with only two notable things.

- `#include "nsXPIDLString.h" is replaced with `#include "nsString.h"`
  throughout, because all nsXPIDLString.h did was include nsString.h. The
  exception is for files which already include nsString.h, in which case the
  patch just removes the nsXPIDLString.h inclusion.

- The patch removes the |xpidl_string| gtest, but improves the |voided| test to
  cover some of its ground, e.g. testing Adopt(nullptr).

--HG--
extra : rebase_source : 452cc4a08046a1adb1a8099a7e85a1917de5add8
2017-08-17 15:29:03 +10:00
Eric Rahm a33f11e0f5 Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.

--HG--
extra : rebase_source : b2c7554e8632f078167ff2f609392e63a136c299
2017-08-16 16:48:52 -07:00
Andrew McCreight 03450c1c40 Bug 1340425 - Add back the magic GC in DoShutdown() to avoid intermittent leaks. r=smaug
MozReview-Commit-ID: CNkjPk9FLKj

--HG--
extra : rebase_source : 157fddbf60bfffe2ec7a5dece66c6121624a612e
2017-08-23 10:27:12 -07:00
Nicholas Nethercote 8a72cf2251 Bug 1390428 (part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm.
--HG--
extra : rebase_source : 69d58b0cfb56efc6b03d8e2d7be2ce3c3e6cd843
2017-08-21 20:01:27 +10:00