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

1033 Коммитов

Автор SHA1 Сообщение Дата
Henry Chang eec96acbf0 Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku
We add a new "on-off" protocol PURLClassifierLocal which calls
nsIURIClassifier.asyncClassifyLocalWithTables on construction and
calls back on destruction. Pretty much the same design as PURLClassifier.

In order to avoid code duplication, the actor implementation is templatized
and |MaybeInfo| in PURLClassifier.ipdl is moved around.

Test case is included and the custom event target is not in place for labelling.
The custom event target will be done in Bug 1353701.

MozReview-Commit-ID: IdHYgdnBV7S

--HG--
extra : rebase_source : ab1c896305b9f76cab13a92c9bd88c2d356aacb7
2017-04-07 14:15:16 +08:00
Aaron Klotz b836337e81 Bug 1303060: Changes to a11y to enable the serving of a COM handler; r=tbsaunde
MozReview-Commit-ID: GTQF3x1pBtX

A general outline of the COM handler (a.k.a. the "smart proxy"):

COM handlers are pieces of code that are loaded by the COM runtime along with
a proxy and are layered above that proxy. This enables the COM handler to
interpose itself between the caller and the proxy, thus providing the
opportunity for the handler to manipulate an interface's method calls before
those calls reach the proxy.

Handlers are regular COM components that live in DLLs and are declared in the
Windows registry. In order to allow for the specifying of a handler (and an
optional payload to be sent with the proxy), the mscom library allows its
clients to specify an implementation of the IHandlerProvider interface.

IHandlerProvider consists of 5 functions:

* GetHandler returns the CLSID of the component that should be loaded into
  the COM client's process. If GetHandler returns a failure code, then no
  handler is loaded.
* GetHandlerPayloadSize and WriteHandlerPayload are for obtaining the payload
  data. These calls are made on a background thread but need to do their work
  on the main thread. We declare the payload struct in IDL. MIDL generates two
  functions, IA2Payload_Encode and IA2Payload_Decode, which are used by
  mscom::StructToStream to read and write that struct to and from buffers.
* The a11y payload struct also includes an interface, IGeckoBackChannel, that
  allows the handler to communicate directly with Gecko. IGeckoBackChannel
  currently provides two methods: one to allow the handler to request fresh
  cache information, and the other to provide Gecko with its IHandlerControl
  interface.
* MarshalAs accepts an IID that specifies the interface that is about to be
  proxied. We may want to send a more sophisticated proxy than the one that
  is requested. The desired IID is returned by this function. In the case of
  a11y interfaces, we should always return IAccessible2_3 if we are asked for
  one of its parent interfaces. This allows us to eliminate round trips to
  resolve more sophisticated interfaces later on.
* NewInstance, which is needed to ensure that all descendent proxies are also
  imbued with the same handler code.

The main focus of this patch is as follows:

1. Provide an implementation of the IHandlerProvider interface;
2. Populate the handler payload (ie, the cache) with data;
3. Modify CreateHolderFromAccessible to specify the HandlerPayload object;
4. Receive the IHandlerControl interface from the handler DLL and move it
   into the chrome process.

Some more information about IHandlerControl:

There is one IHandlerControl per handler DLL instance. It is the interface that
we call in Gecko when we need to dispatch an event to the handler. In order to
ensure that events are dispatched in the correct order, we need to dispatch
those events from the chrome main thread so that they occur in sequential order
with calls to NotifyWinEvent.

--HG--
extra : rebase_source : acb44dead7cc5488424720e1bf58862b7b30374f
2017-04-04 15:23:55 -06:00
Markus Stange 7c6c13efdf Bug 1348426 - Add profiler labels to RecvSync/Async/RpcMessage that include the message name. r=billm
MozReview-Commit-ID: F7MZhgV12DZ

--HG--
extra : rebase_source : c97e4914f4292ac52338a691dc44810f7dda7486
2017-03-29 17:43:21 -04:00
Andrea Marchesini d99a7dac26 Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
Kan-Ru Chen 8ba424eabb Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley
This is the most important part of the patch series. It removes the
PScreenManager protocol and use ScreenManager directly in the content
processes.

Initial and subsequent updates are sent via PContent::RefreshScreens.
struct ScreenDetails are kept to serialize Screen over IPC.

nsIScreenManager::ScreenForNativeWidget is removed because
nsIWidget::GetWidgetScreen can replace it. nsIScreen::GetId is removed
because it's not useful for the more general Screen class.

MozReview-Commit-ID: 5dJO3isgBuQ

--HG--
extra : rebase_source : 06aa4e4fd56e2b2af1e7483aee7c0cc7f35bdb97
2017-03-09 19:30:26 +08:00
Kan-Ru Chen 841c421ce8 Bug 1194751 - Part 1. Remove nsIScreenManager::GetNumberOfScreens. r=jimm
It's not used anywhere. Remove it will make removing PScreenManager
easier.

MozReview-Commit-ID: 5dn8kDhTZVl

--HG--
extra : rebase_source : 96b8ddb18deee94ca256bfa118b60ceacfd2d677
2017-03-09 19:16:24 +08:00
Michael Layzell ba95fb3f71 Bug 1337056 - Part 2: Replace the synchronous ReadPermissions API with async APIs, r=baku
These APIs are intended to use the mechanism defined in Part 1.

Part 3 implements the usage of these APIs to synchronize permissions.

MozReview-Commit-ID: HNKyDPtoaHl
2017-03-21 11:08:03 -04:00
Gabor Krizsanits 9ea5f7a83d Bug 1341008 - Stop rebroadcasting BlobURLUnregistration. r=baku 2017-03-21 12:58:41 +01:00
Ehsan Akhgari 4482865081 Bug 1346987 - Part 1: Introduce the asynchronous ContentChild::AsyncOpenAnonymousTemporaryFile() API; r=billm 2017-03-19 01:42:00 -04:00
Sebastian Hengst 409b7d9ed9 Backed out changeset 3a6cb84f8cf8 (bug 1341008) for frequently failing toolkit/components/extensions/test/xpcshell/test_ext_i18n.js on Windows. r=backout 2017-03-16 17:29:49 +01:00
Gabor Krizsanits c49bd7ffcf Bug 1341008 - Stop rebroadcasting BlobURLUnregistration. r=baku 2017-03-16 11:22:29 +01:00
Sebastian Hengst 162864127d Backed out changeset fc94903b628a (bug 1341008) for reftest failures on debug after asserting at nsLayoutStylesheetCache.cpp:253. r=backout 2017-03-15 13:47:54 +01:00
Gabor Krizsanits c5b50620ad Bug 1341008 - Stop rebroadcasting BlobURLUnregistration. r=baku 2017-03-15 12:59:13 +01:00
Phil Ringnalda dd44ef2360 Backed out 3 changesets (bug 1346987) for media, blob, and temporaryfile failures
CLOSED TREE

Backed out changeset d24fa1b4553b (bug 1346987)
Backed out changeset 34701b9ed4ba (bug 1346987)
Backed out changeset f24f4fdc5cc8 (bug 1346987)
2017-03-14 20:03:31 -07:00
Ehsan Akhgari cac5d34f3c Bug 1346987 - Part 1: Introduce the asynchronous ContentChild::AsyncOpenAnonymousTemporaryFile() API; r=billm 2017-03-14 20:20:52 -04:00
Sebastian Hengst 1bb61f6114 Backed out changeset 2d2d603dbdaf (bug 1337056) 2017-03-15 00:46:35 +01:00
Michael Layzell e7fb4ee297 Bug 1337056 - Part 2: Replace the synchronous ReadPermissions API with async APIs, r=baku
These APIs are intended to use the mechanism defined in Part 1.

Part 3 implements the usage of these APIs to synchronize permissions.

MozReview-Commit-ID: HNKyDPtoaHl
2017-03-14 14:55:49 -04:00
Carsten "Tomcat" Book fb74131fe7 Merge mozilla-central to mozilla-inbound 2017-03-14 14:26:07 +01:00
Andrea Marchesini f9cbf66dfd Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
--HG--
rename : ipc/glue/SendStreamAlloc.h => ipc/glue/IPCStreamAlloc.h
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamChild.cpp
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamDestination.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamDestination.h
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamParent.cpp
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamSource.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamSource.h
rename : ipc/glue/PChildToParentStream.ipdl => ipc/glue/PParentToChildStream.ipdl
2017-03-14 12:29:43 +01:00
Andrea Marchesini 6ced9f8a25 Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
Andrew McCreight b46bfc918b Bug 1345978, part 2 - Check build ids early in content startup. r=billm
If Firefox is updated while it is running, the content process can end
up being a different version than the parent process. This can cause
odd crashes, that will happen repeatedly until the user restarts
Firefox. To handle this better, this patch adds a special build ID
message that is sent early in content process startup. The parent
process intentionally crashes if the build ID for the child process
does not match that of the parent process.

MozReview-Commit-ID: 7D3ggkaLxNS

--HG--
extra : rebase_source : 1f8d917ce01919524f949dd5bedfbbbd557f7ed3
2017-03-10 17:01:38 -08:00
Stone Shih 229b4ba331 Bug 606885 - Fire drag events with keyboard modifiers. r=enn
--HG--
extra : rebase_source : c6e4ac37ea2397d86368cb59b0a68aa3a9f43d79
2017-02-17 11:29:42 +08:00
Ehsan Akhgari e559e3333d Bug 1343731 - Remove the sync IPC during DataStorage initialization; r=keeler,billm
Instead of initializing DataStorage objects on demand in the content
process, we initialize them at content process startup by getting the
parent to send down the information about the existing DataStorages at
child process startup.  After that point, the dynamic change
notifications added in bug 1215723 will take care of keeping the
information in sync.
2017-03-10 22:35:07 -05:00
Andrea Marchesini 12b54aa0f5 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Ehsan Akhgari abea0f3af0 Bug 1332036 - Avoid the sync IPC message added in bug 1331676; r=dvander 2017-03-07 08:56:26 -05:00
Andrea Marchesini 4d21d3a57a Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
Andrew Sutherland 8f55b3a3a3 Bug 1285898 - [e10s-multi] fixup PContent ordering via immediate event dispatch. r=baku
--HG--
extra : rebase_source : 2c905ab2a4d3d758e7cee8ba8ad4752b5f05aa65
extra : source : 15b3b9feb54f294171eaf86e7ad4b13c73e11d25
2017-01-31 03:42:38 -05:00
Andrea Marchesini d32aa97041 Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
--HG--
extra : rebase_source : 724b38c52139dee1c6f746152fefff05333dfc24
extra : intermediate-source : e56108122b9088555f29a28e6086d4d117a68c4e
extra : source : 6681b50c1f6d0d2d22d5f631234402e020c0b78a
2017-02-19 22:16:48 -05:00
David Anderson 996fbd349e Switch PContent from PCrashReporter to shmem-based CrashReporter. (bug 1338308, r=billm) 2017-02-16 18:44:16 -08:00
Sylvestre Ledru cc93431772 Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/ipc r=baku
MozReview-Commit-ID: Fyx3eryjsgQ

--HG--
extra : rebase_source : 451323fb715b1c7940e71e0c4033b758614a86cd
2017-02-09 10:31:03 +01:00
Bill McCloskey c9fa914e2b Bug 1334572 - Move Activate/Deactivate messages from PBrowser to PContent (r=smaug)
MozReview-Commit-ID: IMSK1sjeAJb
2017-02-13 17:02:39 -08:00
Andrea Marchesini 615347eb79 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 2 - code, r=smaug 2017-02-08 10:19:01 +01:00
Martin Stransky 97b5e78aac Bug 1336048 - Add display detection to dom/ipc/ContentChild.cpp, r=glandium
MozReview-Commit-ID: CwcGXFiIl4e

--HG--
extra : rebase_source : 04a6b70562cf292f2d5ba45b8e72788684f3baa8
2017-02-07 14:34:23 +01:00
Carsten "Tomcat" Book 092e5dc5f1 merge mozilla-inbound to mozilla-central a=merge 2017-02-07 14:08:46 +01:00
Brad Lassey a5e07b93bf bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
Haik Aftandilian 2171e6dee8 Bug 1333681 - Part 1 - Normalize profile path before use in sandbox rules to avoid symlink issues; r=gcp
MozReview-Commit-ID: 1vHJePZ8CPy

--HG--
extra : rebase_source : aa1414ce23f7b29be559e3361cc97effe4268bd5
2017-01-24 20:06:35 -08:00
Sebastian Hengst 122ebc553b Backed out changeset e9d8a75a0dcc (bug 1303096) for failing various tests on Android 4.3 debug (e.g. test_saveHeapSnapshot_e10s_01.html). r=backout 2017-02-05 10:26:28 +01:00
Brad Lassey ecdf363246 bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
Phil Ringnalda b1aadb3572 Backed out 5 changesets (bug 1285898) for causing the crashes of bug 1336242
Backed out changeset 15b3b9feb54f (bug 1285898)
Backed out changeset 1d0bfb02d6c0 (bug 1285898)
Backed out changeset bc99844772ee (bug 1285898)
Backed out changeset 8bbe285cf5c0 (bug 1285898)
Backed out changeset e56108122b90 (bug 1285898)
2017-02-02 22:02:24 -08:00
Andrew McCreight 6d0b08993a Bug 1333917 - Make ContentBridge use endpoints, not bridges. r=kanru
MozReview-Commit-ID: IPFX2pVblD7

--HG--
extra : rebase_source : b704fa496be227f3bd9e660fa73c851d845cbe71
2017-01-26 14:40:17 -08:00
Sebastian Hengst 2e0afbcbee Backed out changeset 2ad6a2821772 (bug 1335536) 2017-02-01 19:07:36 +01:00
Andrea Marchesini ff2e202053 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 2 - code, r=smaug 2017-02-01 17:13:56 +01:00
Andrew Sutherland 246770dae0 Bug 1285898 - [e10s-multi] fixup PContent ordering via immediate event dispatch. r=baku
--HG--
extra : rebase_source : 5cb6cd38cd099abbbc9fa9c73e3726cc729b6bf5
2017-01-31 03:42:38 -05:00
Andrea Marchesini 1e58b980f5 Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
--HG--
extra : rebase_source : 9968fd96960aecd516bfcc5c239b9de85280ab8a
extra : source : 6681b50c1f6d0d2d22d5f631234402e020c0b78a
2017-01-17 15:43:12 -05:00
Gabor Krizsanits 882d1434a2 Bug 1324428 - Simplified preallocated process manager. r=billm 2017-02-01 13:34:24 +01:00
Andrew McCreight 87a0a37e72 Bug 1333915, part 2 - Stop using bridges and spawns in plugins. r=jimm
The old code would do the content process portion of the open by
immediately sending a message back to the content process, but this
has some weird issues with nesting and priorities. Instead of doing
that, I return the endpoint for the content process back to the
original sync call. This requires more code changes, to thread the
endpoint along, but it is conceptually simpler.

Once I removed the bridges and got it working, I was just able to
remove the spawns from the IPDL file and it worked.

MozReview-Commit-ID: 1tfiJrV4jbV

--HG--
extra : rebase_source : 1ce0012d3f51b0cdebb1954cf473811a9d6c47a7
2017-01-25 14:17:17 -08:00
Gian-Carlo Pascutto aa1bdaad34 Bug 1330326 - Make sandboxing policy more configurable via preferences. r=jld
MozReview-Commit-ID: 9P0bSLLKRWp

--HG--
extra : rebase_source : e1d2f34e5d0901614d88a583beecb704369ce478
2017-01-26 19:59:50 +01:00
Haik Aftandilian 9086ac87fb Bug 1332522 - Part 2 - Remove read restrictions from level 2 policy for file content processes; r=gcp
Update MacSandboxInfo struct to include file system read flag and remove
filesytem read restrictions from the file content process sandbox.

MozReview-Commit-ID: B9LPocvb0W3

--HG--
extra : rebase_source : 7c80335c28dbdb7146d2ad0b447959db5e06cf0f
2017-01-24 15:20:08 -08:00
Andrew McCreight 4499bcb90f Bug 1329797 - Convert PBackground to use endpoints instead of opens. r=billm
Instead of an opens, the child sends a new message InitBackground to
the parent to create the parent side.

Most of this is threading around the endpoints instead of the
transport stuff.

MozReview-Commit-ID: 2c5SrCEAGyY

--HG--
extra : rebase_source : 1ee3d6631c5a7755d8e43342932ab16d9da161cd
2017-01-24 11:49:13 -08:00
Sebastian Hengst e1d5db133e Backed out changeset e87ae43ca443 (bug 1330326) 2017-01-27 20:59:55 +01:00
Gian-Carlo Pascutto 0d2bf66dfd Bug 1330326 - Make sandboxing policy more configurable via preferences. r=jld
MozReview-Commit-ID: 9P0bSLLKRWp

--HG--
extra : rebase_source : ab7d7da81459bd08c6aec7d7c89949ca7207471f
2017-01-26 19:59:50 +01:00
David Anderson 694639356f Remove PMemoryReportRequest. (bug 1321492 part 3, r=erahm)
--HG--
rename : dom/ipc/PMemoryReportRequest.ipdl => dom/ipc/MemoryReportTypes.ipdlh
2017-01-26 16:35:54 -08:00
David Anderson b953cadaaa Remove the MemoryReportRequestChild dependency on ContentChild. (bug 1321492 part 2, r=erahm) 2017-01-26 16:35:53 -08:00
David Anderson 356cc23a9a Move PMemoryReportRequest classes to a separate source file. (bug 1321492 part 1, r=erahm) 2017-01-26 16:35:53 -08:00
David Parks 990402c301 Bug 1317735 - Consolidate env vars for logging. r=jimm
Assigns the preference security.sandbox.logging.enabled and the environment variable MOZ_SANDBOX_LOGGING to control whether or not sandbox violations are logged.  The pref defaults to true.  On Linux, only the environment variable is considered.

--HG--
extra : rebase_source : f67870a74795228548b290aec32d08552c068874
2017-01-23 12:46:49 -08:00
Nicholas Nethercote 22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Wes Kocher a65c1b1dfe Merge inbound to central, a=merge
MozReview-Commit-ID: BeGxZAeguBr
2017-01-24 16:08:16 -08:00
Sebastian Hengst c1f3d82f23 Backed out bdd2118235e9 (bug 1324428) for timing out in dom/browser-element/mochitest/priority/test_Simple.html. r=backout 2017-01-23 21:59:29 +01:00
Ehsan Akhgari 8cd12d74a2 Bug 1331685 - Ensure that the ContentChild constructor send methods return null when shutting down; r=billm
Otherwise, the IPC attempt will crash the content process.
2017-01-23 13:18:20 -05:00
Andrew McCreight 64fe15162a Bug 1331743 - Create CrossProcessCpowHolder even if there is no message manager. r=smaug
MozReview-Commit-ID: AtRfKQCHofe

--HG--
extra : rebase_source : fd7a7be3c99fcfe47316c863c4b9db0ddd43548b
2017-01-17 11:00:38 -08:00
Andrew McCreight 556961ac46 Bug 1321871, part 2 - Remove PContent opens of PGMPService. r=peterv
--HG--
extra : rebase_source : 8db0331e7f1296f96f171cbd573ff40848967c49
2017-01-05 12:55:57 -08:00
Gabor Krizsanits c0ff5e5593 Bug 1324428 - Simplified preallocated process mechanism. r=billm 2017-01-23 17:25:34 +01:00
Blake Kaplan f55394ad68 Bug 1303727 - Propagate whether we're dealing with a local file to the parent. r=jduell
MozReview-Commit-ID: GSx2WgNKN4T

--HG--
extra : rebase_source : 016787d933cb092300a10bbb179b773fc2e76e6b
2017-01-10 17:49:16 -08:00
David Parks 033c45c4ef Bug 1306239 - Add pref to toggle OS X sandbox violation debugging, default on. r=haik
Turns on sandbox denial logging if security.sandbox.logging.enabled is true.

Removes most sandbox violation messages but some related messages generated
by other processes will still get through.

--HG--
extra : rebase_source : 4f06e70d53b0f500cc85a869c5bd7f8ea20d8341
2017-01-17 15:47:13 -08:00
Ehsan Akhgari 1d71312175 Bug 1331676 - Avoid doing sync IPC to the parent process for getting gfx feature status; r=dvander 2017-01-18 08:57:14 -05:00
Ben Kelly 43bcf0875f Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth 2017-01-12 14:00:36 -08:00
Andrea Marchesini 359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Andrew McCreight 462f9b0e95 Bug 1321052 - Convert ProcessHangMonitor to use endpoints. r=billm
MozReview-Commit-ID: Ixj2b3ONLcc

--HG--
extra : rebase_source : 26220e66bd9da1acc83ab8ee4f067a1d32735ded
2017-01-05 12:54:52 -08:00
Andrea Marchesini bc98b07905 Bug 1322550 - Rename DOMStorage to Storage, r=smaug
--HG--
rename : dom/storage/DOMStorage.cpp => dom/storage/Storage.cpp
rename : dom/storage/DOMStorage.h => dom/storage/Storage.h
rename : dom/storage/DOMStorageCache.cpp => dom/storage/StorageCache.cpp
rename : dom/storage/DOMStorageCache.h => dom/storage/StorageCache.h
rename : dom/storage/DOMStorageDBThread.cpp => dom/storage/StorageDBThread.cpp
rename : dom/storage/DOMStorageDBThread.h => dom/storage/StorageDBThread.h
rename : dom/storage/DOMStorageDBUpdater.cpp => dom/storage/StorageDBUpdater.cpp
rename : dom/storage/DOMStorageDBUpdater.h => dom/storage/StorageDBUpdater.h
rename : dom/storage/DOMStorageIPC.cpp => dom/storage/StorageIPC.cpp
rename : dom/storage/DOMStorageIPC.h => dom/storage/StorageIPC.h
rename : dom/storage/DOMStorageManager.cpp => dom/storage/StorageManager.cpp
rename : dom/storage/DOMStorageManager.h => dom/storage/StorageManager.h
rename : dom/storage/DOMStorageObserver.cpp => dom/storage/StorageObserver.cpp
rename : dom/storage/DOMStorageObserver.h => dom/storage/StorageObserver.h
2017-01-04 14:53:01 +01:00
Bill McCloskey 563f66dae7 Bug 1318506 - Assign a TabGroup to every PBrowser (r=mystor,ehsan)
Every new PBrowser, whether it's created by the parent or the child, needs
to get a TabGroup assigned to it. That way IPC messages for the PBrowser will
be dispatched to that TabGroup.

For new PBrowsers created by the child, we just create a new TabGroup or reuse
the opener's TabGroup.

For PBrowsers created by the parent, the child needs to intercept the
PBrowserConstructor message and assign a TabGroup immediately. PBrowsers created
by the parent never have an opener so we can always create a new TabGroup.

In both cases, the nsGlobalWindow::TabGroupOuter logic needs to be updated to
read the TabGroup out of the IPC code. Otherwise the DOM and IPC code will get
out of sync about TabGroups.

MozReview-Commit-ID: D5iEdgirfvK
2016-12-23 11:48:13 -08:00
Bill McCloskey 86da1e11a4 Bug 1318506 - Initialize TabChild in constructor message, not allocation (r=dvander)
MozReview-Commit-ID: Iq1M4EeKHXg
2016-12-23 11:48:13 -08:00
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Ryan Hunt 5730889559 Bug 1320817 - Move child process PAPZ initialization into TabChild::InitRenderingState. r=kats
--HG--
extra : rebase_source : 89b21123943a039e31e787f41c344574efe7989f
2016-11-28 22:21:27 -06:00
Tomislav Jurin 348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Andrea Marchesini 8bbeee69cf Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/create_file_objects.js => dom/file/tests/create_file_objects.js
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_mozfiledataurl_audio.ogg => dom/file/tests/file_mozfiledataurl_audio.ogg
rename : dom/base/test/file_mozfiledataurl_doc.html => dom/file/tests/file_mozfiledataurl_doc.html
rename : dom/base/test/file_mozfiledataurl_img.jpg => dom/file/tests/file_mozfiledataurl_img.jpg
rename : dom/base/test/file_mozfiledataurl_inner.html => dom/file/tests/file_mozfiledataurl_inner.html
rename : dom/base/test/file_mozfiledataurl_text.txt => dom/file/tests/file_mozfiledataurl_text.txt
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileapi_chromeScript.js => dom/file/tests/fileapi_chromeScript.js
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_mozfiledataurl.html => dom/file/tests/test_mozfiledataurl.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 15:12:42 +01:00
Sebastian Hengst 2fff66aaac Backed out changeset d3ef6f3e9193 (bug 1321261) for build bustage (calling missing file BlobParent.h from dom/ipc/TabParent.cpp). r=backout on a CLOSED TREE
--HG--
rename : dom/file/BlobSet.cpp => dom/base/BlobSet.cpp
rename : dom/file/BlobSet.h => dom/base/BlobSet.h
rename : dom/file/File.cpp => dom/base/File.cpp
rename : dom/file/File.h => dom/base/File.h
rename : dom/file/FileList.cpp => dom/base/FileList.cpp
rename : dom/file/FileList.h => dom/base/FileList.h
rename : dom/file/FileReader.cpp => dom/base/FileReader.cpp
rename : dom/file/FileReader.h => dom/base/FileReader.h
rename : dom/file/MultipartBlobImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/file/MultipartBlobImpl.h => dom/base/MultipartBlobImpl.h
rename : dom/file/MutableBlobStorage.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/file/MutableBlobStorage.h => dom/base/MutableBlobStorage.h
rename : dom/file/MutableBlobStreamListener.cpp => dom/base/MutableBlobStreamListener.cpp
rename : dom/file/MutableBlobStreamListener.h => dom/base/MutableBlobStreamListener.h
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/base/nsHostObjectProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/base/nsHostObjectProtocolHandler.h
rename : dom/file/nsHostObjectURI.cpp => dom/base/nsHostObjectURI.cpp
rename : dom/file/nsHostObjectURI.h => dom/base/nsHostObjectURI.h
rename : dom/file/nsIDOMBlob.idl => dom/base/nsIDOMBlob.idl
rename : dom/file/nsIDOMFileList.idl => dom/base/nsIDOMFileList.idl
rename : dom/file/tests/create_file_objects.js => dom/base/test/create_file_objects.js
rename : dom/file/tests/file_blobURL_expiring.html => dom/base/test/file_blobURL_expiring.html
rename : dom/file/tests/file_mozfiledataurl_audio.ogg => dom/base/test/file_mozfiledataurl_audio.ogg
rename : dom/file/tests/file_mozfiledataurl_doc.html => dom/base/test/file_mozfiledataurl_doc.html
rename : dom/file/tests/file_mozfiledataurl_inner.html => dom/base/test/file_mozfiledataurl_inner.html
rename : dom/file/tests/file_mozfiledataurl_text.txt => dom/base/test/file_mozfiledataurl_text.txt
rename : dom/file/tests/file_nonascii_blob_url.html => dom/base/test/file_nonascii_blob_url.html
rename : dom/file/tests/fileapi_chromeScript.js => dom/base/test/fileapi_chromeScript.js
rename : dom/file/tests/fileutils.js => dom/base/test/fileutils.js
rename : dom/file/tests/test_blobURL_expiring.html => dom/base/test/test_blobURL_expiring.html
rename : dom/file/tests/test_blob_fragment_and_query.html => dom/base/test/test_blob_fragment_and_query.html
rename : dom/file/tests/test_blobconstructor.html => dom/base/test/test_blobconstructor.html
rename : dom/file/tests/test_file_from_blob.html => dom/base/test/test_file_from_blob.html
rename : dom/file/tests/test_file_negative_date.html => dom/base/test/test_file_negative_date.html
rename : dom/file/tests/test_fileapi.html => dom/base/test/test_fileapi.html
rename : dom/file/tests/test_fileapi_slice.html => dom/base/test/test_fileapi_slice.html
rename : dom/file/tests/test_ipc_messagemanager_blob.html => dom/base/test/test_ipc_messagemanager_blob.html
rename : dom/file/tests/test_nonascii_blob_url.html => dom/base/test/test_nonascii_blob_url.html
rename : dom/file/ipc/Blob.cpp => dom/ipc/Blob.cpp
rename : dom/file/ipc/BlobChild.h => dom/ipc/BlobChild.h
rename : dom/file/ipc/BlobParent.h => dom/ipc/BlobParent.h
rename : dom/file/ipc/BlobTypes.ipdlh => dom/ipc/BlobTypes.ipdlh
rename : dom/file/ipc/PBlob.ipdl => dom/ipc/PBlob.ipdl
rename : dom/file/ipc/PBlobStream.ipdl => dom/ipc/PBlobStream.ipdl
rename : dom/file/ipc/nsIRemoteBlob.h => dom/ipc/nsIRemoteBlob.h
2016-12-01 12:27:28 +01:00
Andrea Marchesini 5fa67a1046 Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/create_file_objects.js => dom/file/tests/create_file_objects.js
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_mozfiledataurl_audio.ogg => dom/file/tests/file_mozfiledataurl_audio.ogg
rename : dom/base/test/file_mozfiledataurl_doc.html => dom/file/tests/file_mozfiledataurl_doc.html
rename : dom/base/test/file_mozfiledataurl_img.jpg => dom/file/tests/file_mozfiledataurl_img.jpg
rename : dom/base/test/file_mozfiledataurl_inner.html => dom/file/tests/file_mozfiledataurl_inner.html
rename : dom/base/test/file_mozfiledataurl_text.txt => dom/file/tests/file_mozfiledataurl_text.txt
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileapi_chromeScript.js => dom/file/tests/fileapi_chromeScript.js
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 11:43:18 +01:00
Sebastian Hengst 3d3ca51d8d Backed out changeset 806c3d121dd4 (bug 1321261) for timing out in test_fileapi.html, test_mozfiledataurl.html and test_nonascii_blob_url.html on Linux x64 asan and debug. r=backout
--HG--
rename : dom/file/BlobSet.cpp => dom/base/BlobSet.cpp
rename : dom/file/BlobSet.h => dom/base/BlobSet.h
rename : dom/file/File.cpp => dom/base/File.cpp
rename : dom/file/File.h => dom/base/File.h
rename : dom/file/FileList.cpp => dom/base/FileList.cpp
rename : dom/file/FileList.h => dom/base/FileList.h
rename : dom/file/FileReader.cpp => dom/base/FileReader.cpp
rename : dom/file/FileReader.h => dom/base/FileReader.h
rename : dom/file/MultipartBlobImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/file/MultipartBlobImpl.h => dom/base/MultipartBlobImpl.h
rename : dom/file/MutableBlobStorage.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/file/MutableBlobStorage.h => dom/base/MutableBlobStorage.h
rename : dom/file/MutableBlobStreamListener.cpp => dom/base/MutableBlobStreamListener.cpp
rename : dom/file/MutableBlobStreamListener.h => dom/base/MutableBlobStreamListener.h
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/base/nsHostObjectProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/base/nsHostObjectProtocolHandler.h
rename : dom/file/nsHostObjectURI.cpp => dom/base/nsHostObjectURI.cpp
rename : dom/file/nsHostObjectURI.h => dom/base/nsHostObjectURI.h
rename : dom/file/nsIDOMBlob.idl => dom/base/nsIDOMBlob.idl
rename : dom/file/nsIDOMFileList.idl => dom/base/nsIDOMFileList.idl
rename : dom/file/tests/file_blobURL_expiring.html => dom/base/test/file_blobURL_expiring.html
rename : dom/file/tests/file_nonascii_blob_url.html => dom/base/test/file_nonascii_blob_url.html
rename : dom/file/tests/fileutils.js => dom/base/test/fileutils.js
rename : dom/file/tests/test_blobURL_expiring.html => dom/base/test/test_blobURL_expiring.html
rename : dom/file/tests/test_blob_fragment_and_query.html => dom/base/test/test_blob_fragment_and_query.html
rename : dom/file/tests/test_blobconstructor.html => dom/base/test/test_blobconstructor.html
rename : dom/file/tests/test_file_from_blob.html => dom/base/test/test_file_from_blob.html
rename : dom/file/tests/test_file_negative_date.html => dom/base/test/test_file_negative_date.html
rename : dom/file/tests/test_fileapi.html => dom/base/test/test_fileapi.html
rename : dom/file/tests/test_fileapi_slice.html => dom/base/test/test_fileapi_slice.html
rename : dom/file/tests/test_ipc_messagemanager_blob.html => dom/base/test/test_ipc_messagemanager_blob.html
rename : dom/file/tests/test_mozfiledataurl.html => dom/base/test/test_mozfiledataurl.html
rename : dom/file/tests/test_nonascii_blob_url.html => dom/base/test/test_nonascii_blob_url.html
rename : dom/file/ipc/Blob.cpp => dom/ipc/Blob.cpp
rename : dom/file/ipc/BlobChild.h => dom/ipc/BlobChild.h
rename : dom/file/ipc/BlobParent.h => dom/ipc/BlobParent.h
rename : dom/file/ipc/BlobTypes.ipdlh => dom/ipc/BlobTypes.ipdlh
rename : dom/file/ipc/PBlob.ipdl => dom/ipc/PBlob.ipdl
rename : dom/file/ipc/PBlobStream.ipdl => dom/ipc/PBlobStream.ipdl
rename : dom/file/ipc/nsIRemoteBlob.h => dom/ipc/nsIRemoteBlob.h
2016-12-01 11:05:56 +01:00
Andrea Marchesini 0606c6006d Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_mozfiledataurl.html => dom/file/tests/test_mozfiledataurl.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 09:21:54 +01:00
Carsten "Tomcat" Book dd36826044 Merge mozilla-central to mozilla-inbound 2016-11-24 16:46:19 +01:00
Bob Owen f5830d5e44 Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-24 15:08:31 +00:00
Bob Owen 6b86819989 Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-24 15:08:31 +00:00
Mike Conley ab867d5870 Bug 1318764 - Get rid of GetLookAndFeelCache sync IPC message, and send cache with GetXPCOMProcessAttributes instead. r=billm
MozReview-Commit-ID: 7BzG2WqNYLO

--HG--
extra : rebase_source : a6d2510b63cefe2895172a082d9a4c67c12944f5
2016-11-18 15:36:18 -05:00
Sebastian Hengst e44f8e0dfe Backed out changeset 360c780c0a95 (bug 1147911) 2016-11-23 18:32:54 +01:00
Sebastian Hengst 3e560293d1 Backed out changeset f8ff074e9145 (bug 1147911) 2016-11-23 18:32:50 +01:00
Bob Owen 3f62d10e4d Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-23 13:36:58 +00:00
Bob Owen b85bbccedd Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-23 13:36:58 +00:00
Ehsan Akhgari 187636a607 Bug 1318904 - Remove some b2g specific PContent IPC messages; r=baku 2016-11-22 11:23:22 -05:00
Ehsan Akhgari 7009c0e03a Bug 1318768 - Part 2: Make nsIURIClassifier::Classify() available in the content process; r=gcp,baku 2016-11-22 08:17:26 -05:00
Wei-Cheng Pan 8915c51723 Bug 1046166 - Send userContent.css URL to content processes. r=dbaron,haik
MozReview-Commit-ID: 4NTxwYeFGSU

--HG--
extra : rebase_source : 194c526eaf3270cf71de16065d425d1bb13f5847
2016-07-21 18:57:35 +08:00
Sebastian Hengst ea96126bb8 Backed out changeset 1a72c4919371 (bug 1147911) 2016-11-18 00:58:51 +01:00
Sebastian Hengst f02ffed0dd Backed out changeset f768dac3f7a9 (bug 1147911) 2016-11-18 00:58:51 +01:00
Valentin Gosu 51cb7b5e93 Bug 1317511 - Share captive portal state with the content process r=bagder
MozReview-Commit-ID: 5FnM9DNDWwL
2016-11-17 17:35:24 +01:00
Bob Owen ce1bc7d820 Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-17 15:48:53 +00:00
Bob Owen fb53b5987c Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-17 15:48:52 +00:00
Wes Kocher 609b9922f7 Merge m-c to autoland, a=merge 2016-11-16 17:29:05 -08:00
Michelangelo De Simone 4b90783184 Bug 1317853 - Remove DOM/speakermanager and related code. r=jst
MozReview-Commit-ID: AHkMHalG99K

--HG--
extra : rebase_source : 7f0f47374d1208de97fad90ac9f3098dd5b2b330
2016-11-16 13:14:36 -08:00
Jonathan Kew eb88ca57ad Bug 1314932 - Reduce content-process startup time on MacOSX by passing the system font list from chrome to content process via the GetXPCOMProcessAttributes message. r=mstange 2016-11-15 13:58:29 +00:00
Ehsan Akhgari 569f181508 Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Andi-Bogdan Postelnicu 65ae72060c Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu ae0295a290 Bug 1317241 - Replace string literals containing escaped characters with raw string literals in dom/. r=baku
MozReview-Commit-ID: FGjPRf0g3Yt

--HG--
extra : rebase_source : efe73faf1a5d3f26efea56e985bdbb586a6d1da8
2016-11-14 11:45:55 +02:00
Andi-Bogdan Postelnicu aaf2063029 Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
MozReview-Commit-ID: 12AHOhrpaNO

--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu 4df235170d Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
MozReview-Commit-ID: CST7fV4h20h

--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
David Anderson 35a5efddda Don't trigger a ProcessingError when we fail to send a PAPZConstructor. (bug 1314520 part 1, r=rhunt) 2016-11-14 14:58:18 -08:00
Matt Woodrow f880884b57 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Phil Ringnalda 27a5b8d2ae Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Matt Woodrow 7afb98ff2b Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Michelangelo De Simone 80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Chris Pearce 098c153601 Bug 1314858 - Remove PContent.NotifyGMPsChanged. r=gerald
MozReview-Commit-ID: FMb3AbEEnl5

--HG--
extra : rebase_source : 0adb2527cf71d0c43956b8051ce6a493becc3056
2016-11-03 16:26:54 +13:00
Chris Pearce ca6cc0c8f4 Bug 1314797 - Dispatch 'gmp-changed' notification after updating GMP capabilities. r=gerald
This ensures that when requests for keysystem access in the content process
retry, they do so on an up-to-date set of capabilities.

MozReview-Commit-ID: JxmlZnFhKYs

--HG--
extra : rebase_source : 6e02777be6a0692c7e157d3ab0a1952c3017c208
2016-11-03 11:18:29 +13:00
Chris Pearce 0a480d38f2 Bug 1312540 - Maintain a cache of GMPs capabilities in content processes. r=billm,gerald
In order to avoid doing a synchronous call from content process to chrome
process in order to determine what GMPs are usable, maintain a cache of GMP
capabilities in the content processes.

We must seed the cache when content processes are created, as the GMP service
is started up and GMPs are added to it before the first (or any subsequent)
content process is created.


MozReview-Commit-ID: Eb4Pu81XHmn

--HG--
extra : rebase_source : ef5de4dd17ee337ca378569691e55d4cfb7939ef
2016-11-01 16:25:19 +13:00
Phil Ringnalda 16522e6c40 Backed out changeset 27695ca9f8cd (bug 1310864) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html 2016-10-31 19:39:06 -07:00
Michelangelo De Simone 8b355547fc Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: 2tWZc6hMtk5

--HG--
extra : rebase_source : 609688dd1fa430827c18e1cd0095c07fb17fce67
2016-10-28 17:53:58 -07:00
Michelangelo De Simone 6314d37360 Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x

--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Andreas Farre 3aecf57375 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 6abd41c2de96b39004f1b2c3c740e81de570970c
2016-08-22 14:52:45 +02:00
Michael Layzell de29c95ed2 Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell f9eea2d135 Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Aaron Klotz 7689dc3caa Bug 1310833: Make nsAccessibilityService synchronously query for its MSAA content process ID if the ID is not yet present; r=tbsaunde
MozReview-Commit-ID: 9qZNzmwlBNC

--HG--
extra : rebase_source : c9135cb54dd223aef28189957701199f17d63e46
2016-10-27 12:40:50 -06:00
Aaron Klotz e97105dc3a Bug 1310833: Modify PContentParent::SendActivateA11y to accept the content process's MSAA ID as a parameter; r=tbsaunde
MozReview-Commit-ID: DCnYvWQRA5W

--HG--
extra : rebase_source : 7f1ebc6d4aabdaec3ea51421c26621f90c8e61e6
2016-10-20 12:34:16 -06:00
Phil Ringnalda 76f5d03bb6 Merge m-c to m-i
MozReview-Commit-ID: LUDPZ08eWBo
2016-10-26 18:58:54 -07:00
Matt Woodrow 4d0b10822d Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Jed Davis 13fea0b617 Bug 1268733 - Move sandbox telemetry / crash annotation code from mozsandbox to libxul. r=haik 2016-10-26 16:57:10 -06:00
Michelangelo De Simone 144c0a5d23 Bug 1309719 - Remove DOM/telephony and related code. r=ehsan+251051
MozReview-Commit-ID: Gv3vnyH4Csi

--HG--
extra : rebase_source : 6267f92bc9104bace982297474dc978a06dff5ba
2016-10-12 15:19:09 -07:00
Carsten "Tomcat" Book 1895ce466b Backed out changeset eb2606332cb8 (bug 1198381) 2016-10-25 12:32:54 +02:00
Andreas Farre 1380385c69 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 4bdd578b654d05cab600489d30d859452d1bc888
2016-08-22 14:52:45 +02:00
Ryan Hunt 1f39364320 Bug 1311786 - Ignore LayerAllocated messages when the GPU process is crashed. r=dvander
MozReview-Commit-ID: DivHp3U1EGz
2016-10-21 08:15:00 -04:00
Michelangelo De Simone 07411b2cc6 Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA

--HG--
extra : rebase_source : a178eee07034fb2aa1415b64bec1946230fd1c5e
2016-10-17 17:26:51 -07:00
Michelangelo De Simone 42dd1f7367 Bug 1309723 - Remove DOM/voicemail and related code. r=Ehsan
MozReview-Commit-ID: JDSqQnYD6xL

--HG--
extra : rebase_source : 43008cd2eaf97d77d32a6faa9fb4854e3d1f29a8
2016-10-13 15:11:41 -07:00
Ehsan Akhgari 75d4b96af8 Bug 1306800 - Remove support for app theming; r=myk,baku 2016-10-13 13:23:03 -04:00
Michelangelo De Simone a35ec87644 Bug 1306779 - Remove DOM/fmradio and related code. r=jst
MozReview-Commit-ID: EAoALauFEco

--HG--
extra : rebase_source : fd3b9963f27f2fd2ae76538eff489d9783eee6a6
2016-10-03 16:22:41 -07:00
Michelangelo De Simone 3e5861c1f3 Bug 1306772 - Remove DOM/cellbroadcast and related code. r=jst
MozReview-Commit-ID: EWBjamnhAyC

--HG--
extra : rebase_source : 84bc99a7fd0f9d74b5b25d3ddc295c132e51d987
2016-09-30 16:03:21 -07:00
Matt Woodrow 6b75399b35 Bug 1297826 - Override FatalError for IPDL protocols that access the GPU process and make it non-fatal. r=billm 2016-10-04 21:31:27 +13:00
Xidorn Quan 52de92c14c Bug 1304692 - Make puppet widget get coordinate rounding from parent. r=smaug
MozReview-Commit-ID: A3ornUMDmt8
2016-09-27 16:37:07 +10:00
Andrea Marchesini db15f776a7 Bug 1288997 - memory blob should not be shared across processes - part 1 -PSendStream should use nsIContentChild, r=jld, f=bkelly 2016-09-21 12:27:26 +02:00
David Anderson f2cfe86ef2 Recreate PLayerTransactions for TabChildren when the compositor restarts. (bug 1300936 part 4, r=mattwoodrow, r=billm)
--HG--
extra : rebase_source : ea92ecc5738e830a86f3b323d262f3537afe4534
2016-09-20 01:19:32 -07:00
David Anderson 81234feb8d Recreate content compositor endpoints when the GPU process dies. (bug 1300936 part 3, r=mattwoodrow,billm)
--HG--
extra : rebase_source : 054937d0adf92ab90c0a630034808e5069b6a956
2016-09-20 01:18:50 -07:00
David Anderson 27c5a863e6 Send content compositor bridges atomically rather than individually. (bug 1300936 part 1, r=billm)
--HG--
extra : rebase_source : 3d642f674ecb21c4a1c95ad9312c7afd87c5931a
2016-09-20 01:15:49 -07:00
Haik Aftandilian 9de1898bc2 Bug 1290619 - Content sandbox rules should use actual profile directory, not Profiles/*/ regex's; r=jimm
Passes the profile dir to the content process as a -profile CLI
option so that the correct profile dir can be used in the OS X content
sandbox rules.  Only enabled on OS X for now.

On Nightly, profile directories will now be read/write protected
from the content process (apart from a few profile subdirectories) even
when they don't reside in ~/Library.

xpcshell tests invoke the content process without providing a
profile directory. In that case, we don't need to add filesystem
profile dir. read/write exclusion rules to the sandbox.

This patch adds two new macros to the content sandbox rule set:
|profileDir| holds the path to the profile or the emptry string;
|hasProfileDir| is a boolean (1 or 0) that indicates whether or
not the profile directory rules should be added. If |hasProfileDir|
is 0, profile directory exclusion rules don't need to be added
and |profileDir| is not used.

MozReview-Commit-ID: rrTcQwTNdT

--HG--
extra : rebase_source : 3d5b612c8eb3a1d0da028eba277cd9d6f0c9ac00
2016-08-30 13:32:21 -07:00
Kan-Ru Chen 8d637c482f Bug 1301339 - Annotate content shutdown hang due to nested event loop in RecvShutdown. r=billm
We currently allow nested event loop to delay ContentChild::RecvShutdown
which in turn might cause content process shutdown hang. This patch
attempts to annotate the crash report that a shutdown hang was after we
have received RecvShutdown but never reach SendFinishShutdown or the
hang happened before or after RecvShutdown.

MozReview-Commit-ID: 8pGqwzLlYpK

--HG--
extra : rebase_source : 78fdec0c29ded1abbd6651c67fe5c97f63555635
2016-09-08 17:23:57 +08:00
Nicholas Nethercote 34dcc7b852 Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.

In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.

> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));

In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.

> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");

This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
  be true" sense used in assertions.

A common variation on the side-effect-free case is the following.

> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");

--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Bill McCloskey 64d9762e21 Bug 1277582 - Don't send HTTP constructor when content process has started to shut down (r=mrbkap) 2016-09-06 11:13:33 -07:00
Sebastian Hengst 25133e96c1 Backed out changeset 6e9706730af8 (bug 1298831) for crashing in js::TraceLoggerThread. r=backout 2016-09-05 14:32:04 +02:00
Hannes Verschore e4d2b1fbca Bug 1298831: Still flush the TraceLogger traces whenever using QuickExit to kill the content process, r=billm 2016-09-05 12:19:41 +02:00
Nicholas Nethercote 819433bae0 Bug 1299389 - Replace some raw pointers in nsThreadManager. r=froydnj.
nsThreadManager::get() can return a reference. This lets us remove some
redundant assertions.

nsThreadArray elements can be NotNull<>s.

--HG--
extra : rebase_source : fd49010167101bc15f7f6d01bf95fd63b81d60fb
2016-06-10 16:04:49 +10:00
Gabriele Svelto fe73634c76 Bug 1296579 - Remove the SimplePush API r=kitcambridge,baku 2016-09-01 20:17:03 +02:00
Ehsan Akhgari d05eb37eea Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00
Yura Zenevich ddff7f9c94 Bug 527003 - make a11y service store info about its consumers. Only shut down a11y when there are no more consumers remaining. r=surkov, tbsaunde
MozReview-Commit-ID: KF5d6xaO83E
2016-08-30 12:04:20 -04:00
Jed Davis 1b607c3e60 Bug 1295622 - Don't crash the content process if a memory report fails. r=njn
--HG--
extra : rebase_source : 29ced38de24d132f502c844f912a27fc04e473cb
2016-08-26 21:29:00 -04:00
Wes Kocher ecea29f6a3 Backed out changeset 0f53bc1a9aea (bug 1290619) a=merge 2016-08-29 17:40:59 -07:00
Haik Aftandilian 3c44a5f111 Bug 1290619 - Content sandbox rules should use actual profile directory, not Profiles/*/ regexes. r=jimm
Passes the profile dir to the content process as a -profile CLI option so
that the correct profile dir can be used in the OS X content sandbox rules.
Only enabled on OS X for now.

On Nightly, profile directories will now be read/write protected from the
content process (apart from a few profile subdirectories) even when they
don't reside in ~/Library.

MozReview-Commit-ID: rrTcQwTNdT

--HG--
extra : rebase_source : d91d8939cabb0eed36b640766756548a790a301c
2016-08-25 15:19:52 -07:00
Wes Kocher f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Ryan VanderMeulen e5adfbffe6 Merge m-c to autoland. a=merge
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Sebastian Hengst 0def5edaa6 Backed out changeset 1c7162137f66 (bug 1289650) 2016-08-24 23:15:44 +02:00
Sebastian Hengst c476223d98 Backed out changeset 4bc6e2713327 (bug 1289650) 2016-08-24 23:15:35 +02:00
Wes Kocher 3343f6c576 Backed out changeset b357fab2feb4 (bug 1290619) for osx e10s crashes a=backout CLOSED TREE 2016-08-24 10:59:04 -07:00
Ryan Hunt 58795e939e Bug 1289650 - Convert APZChild into a wrapper around GeckoContentController. r=kats
MozReview-Commit-ID: L7ZG7EWKWEo
2016-08-10 16:51:45 -07:00
Ryan Hunt 4ce3ba3d7e Bug 1289650 - Convert APZChild into a wrapper around GeckoContentController. r=kats
MozReview-Commit-ID: L7ZG7EWKWEo
2016-08-10 16:51:45 -07:00
Ryan Hunt 20ed2e2fd0 Bug 1289650 - Move PAPZ from PContent to PCompositorBridge. r=kats
MozReview-Commit-ID: GzU1iEVqSx6
2016-08-01 23:59:00 -07:00
Ryan Hunt 76cbe77abe Bug 1289650 - Move PAPZ from PContent to PCompositorBridge. r=kats
MozReview-Commit-ID: GzU1iEVqSx6
2016-08-01 23:59:00 -07:00
Haik Aftandilian d1e8cf113e Bug 1290619 - Content sandbox rules should use actual profile directory, not Profiles/*/ regex's. r=jimm
Passes the profile dir to the content process as a -profile CLI option so
that the correct profile dir can be used in the OS X content sandbox rules.
Only enabled on OS X for now.

On Nightly, profile directories will now be read/write protected from the
content process (apart from a few profile subdirectories) even when they
don't reside in ~/Library.

--HG--
extra : rebase_source : 7bf426f14f31b35c8b541e6d21183226db9836c7
2016-08-22 11:58:18 -07:00
Nicholas Nethercote c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Kan-Ru Chen a498d8e3c8 Bug 1269036 - Never call PBrowserChild::Send__delete__ in content process. r=smaug
Automatically destroy TabParent if *aResult is not NS_OK
or *aWindowIsNew is false.

We should never call PBrowserChild::Send__delete__ directly in content
process because the parent side needs to do some cleanup first. In this
case if OpenWindowWithTabParent failed but the TabParent has been
associated with a nsFrameLoader we could crash on trying to destroy a
already destroyed TabParent.

MozReview-Commit-ID: E2KFn6yA1Fm

--HG--
extra : rebase_source : 8ea668099969f1753e699630a0f763f95a1c1f4f
2016-08-24 18:49:42 +08:00
Kan-Ru Chen f221acffb2 Bug 1295103 - Check OriginAttributes::PopulateFromSuffix return value in TabContext and ContentChild. r=smaug
MozReview-Commit-ID: JWtO5rqJGBF

--HG--
extra : rebase_source : d5309aa211f4c85d9e25bc7a912cdfe48f35ca27
2016-08-15 18:21:53 +08:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Sebastian Hengst fdc5082122 Backed out changeset d1d614497fbf (bug 1046166) on request of developer for crashes. r=backout a=backout
MozReview-Commit-ID: IHG3TraKy6n
2016-08-19 12:35:34 +02:00
Wei-Cheng Pan 192781cb4a Bug 1046166 - Send userContent.css URL to content processes. r=dbaron
MozReview-Commit-ID: 4NTxwYeFGSU

--HG--
extra : rebase_source : 2e6b1c147acd9f38ffe3d8867bc2b98c2e1f6c33
2016-07-21 18:57:35 +08:00
JW Wang 296eb5268a Bug 1290318 - listen to "cacheservice:empty-cache" to clear media cache. r=mayhemer
MozReview-Commit-ID: 7t4FPCxOUYl

--HG--
extra : rebase_source : 3c10840d2559e7fb2db47cbb3c439a7a8ddc5792
2016-08-08 11:04:55 +08:00
Yura Zenevich 7d6abb5975 Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Aaron Klotz 2bbffe8138 Bug 1273635: Enable alertable waits in content process main thread; r=jimm
MozReview-Commit-ID: 2qGdGj41M0n

--HG--
extra : rebase_source : e404ba43a47151d38330052c9ac93e7b252ad0f4
2016-08-03 11:54:35 -06:00
David Anderson 9e49bc37bb Introduce gfxVars for sharing graphics variables across processes. (bug 1288259 part 2, r=jrmuizel,billm)
--HG--
extra : rebase_source : cbac742f7165a2fbdec3e4d1179c9ed49324579f
2016-08-04 11:33:42 -07:00
Alexandre Lissy 0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Cervantes Yu 77dc3c4848 Bug 1281223 - Debug instrumentation for catching accidental destruction of the ContentChild instance. r=billm
MozReview-Commit-ID: 5LozIBYXLeO

--HG--
extra : rebase_source : 1ddb8af09653225a164acb3b8e7dc4700d74a915
2016-07-29 15:13:10 +08:00
Carsten "Tomcat" Book e8726fe213 Backed out changeset d45c9f5c4bc8 (bug 1281223) for bustage on a CLOSED TREE 2016-07-28 13:35:02 +02:00
Cervantes Yu b7b5f41252 Bug 1281223 - Debug instrumentation for capturing accidental destruction of the ContentChild instance. r=billm
MozReview-Commit-ID: 5LozIBYXLeO

--HG--
extra : rebase_source : 512e6cde2a66fb12db9fe7a8abc099672e0f5dfe
2016-07-28 19:17:04 +08:00
Haik Aftandilian 8f7ffc84b7 Bug 1274540 - Record sandboxing status in crash reports; r=gcp
Adds content sandbox metadata to parent and child crash reports:
Includes the value of pref security.sandbox.content.level,
whether or not the system is capable of sandboxing, if the
sandbox was successfully turned on, and (on Linux systems)
the sandbox capabilities flags.

New crash report keys:
"ContentSandboxLevel" in parent and content
"ContentSandboxCapable" in parent
"ContentSandboxEnabled" in content
"ContentSandboxCapabilities" in content on Linux
2016-07-25 13:21:00 +02:00
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Chris Pearce d183d8433b Bug 1288976 - Use gmp-changed rather than gmp-path-added to retry MediaKeys requests. r=gerald
We're already routing the "gmp-changed" observer service notification over from
the chrome process to the content process, and it fires at pretty much the same
time as the "gmp-path-added" notification (and a few more) so we can just switch
to have the MediaKeySystemAccessManager listen on that notification instead, and
we'll be e10s compatible.




MozReview-Commit-ID: EowFDfdWgAJ

--HG--
extra : rebase_source : ad01990278cf9005f6676ef0b7fa0acbf69249eb
2016-07-25 10:18:34 +12:00
Wei-Cheng Pan fd87664d8e Bug 1264566 - Part 2: Refactor all usage of FileDescriptor. r=valentin
Callers should use a UniquePtr to hold the platform handle.

MozReview-Commit-ID: 6BWnyAf4b3a

--HG--
extra : transplant_source : %26%CA%0D%28%08%9BT%97Z%A1%3Dq%CD%21%A1_%EFE%83%0E
extra : histedit_source : 77f8ed3d0fdec6cce0c95469130ade0fb547bb91
2016-05-27 16:12:51 +08:00
Mike Conley 3216b9ba06 Bug 1261842 - Stop sending the window name to ContentParent when opening a new window. r=smaug
By the time that the parent is being asked to create a new window, the name
really doesn't matter anymore.

MozReview-Commit-ID: 4IKrEEylaLY

--HG--
extra : rebase_source : bcb7e316534c522a5ff8d7be336c940eccffbe3e
extra : source : e91913cd64b8bebe80c661935adee644f24c6055
2016-06-08 15:31:01 -04:00
Andrea Marchesini 8183e57459 Bug 1279493 - Use blob URLs exclusively rather than having mediastream and mediasource URLs, r=smaug 2016-07-21 14:31:43 +02:00
David Anderson 38864a48be Open content VRManagers using endpoints. (bug 1287597 part 1, r=billm) 2016-07-21 00:14:59 -07:00
David Anderson 6aca1d9865 Use Endpoints for content-process ImageBridges. (bug 1287366 part 2, r=billm)
--HG--
extra : rebase_source : 388c44e8df0ff45eb32e12d2b98c654cb0592bf0
2016-07-20 00:18:30 -07:00
Carsten "Tomcat" Book d8b9227dbe Backed out 25 changesets (bug 1261842, bug 1278985) breaking firefox-ui tests
Backed out changeset bb6c6889b802 (bug 1261842)
Backed out changeset c14ccfac7b4b (bug 1261842)
Backed out changeset d6ffc9db5346 (bug 1261842)
Backed out changeset 2a1acfd17baf (bug 1261842)
Backed out changeset 968e7b3b73fb (bug 1261842)
Backed out changeset 8d708922e47a (bug 1261842)
Backed out changeset 0a08398b5087 (bug 1261842)
Backed out changeset b2e910bb1d72 (bug 1261842)
Backed out changeset f6062f113911 (bug 1261842)
Backed out changeset 07b259eb7121 (bug 1261842)
Backed out changeset 970cbbb3a658 (bug 1261842)
Backed out changeset b6f7395d2bbf (bug 1261842)
Backed out changeset 20eb3987a721 (bug 1261842)
Backed out changeset 6eaa642a93e1 (bug 1261842)
Backed out changeset 855931929739 (bug 1261842)
Backed out changeset 1240345f5624 (bug 1261842)
Backed out changeset ce46ebf231c1 (bug 1261842)
Backed out changeset 8d34b61fbfb3 (bug 1261842)
Backed out changeset 9d8a382c5b1d (bug 1261842)
Backed out changeset e2472a4cc209 (bug 1261842)
Backed out changeset e91913cd64b8 (bug 1261842)
Backed out changeset 4cf843a05a68 (bug 1261842)
Backed out changeset cbdc0deb92bd (bug 1261842)
Backed out changeset a94e6a85c931 (bug 1261842)
Backed out changeset 3b5b92f04ea5 (bug 1278985)
2016-07-19 09:12:58 +02:00
Mike Conley 55f3d91910 Bug 1261842 - Stop sending the window name to ContentParent when opening a new window. r=smaug
By the time that the parent is being asked to create a new window, the name
really doesn't matter anymore.

MozReview-Commit-ID: 4IKrEEylaLY

--HG--
extra : rebase_source : de7fd2a3b9a6f5841ae0cec54474a2129f8d8a96
2016-06-08 15:31:01 -04:00
Andrea Marchesini a3d12cc23a Bug 1279186 - Blob URLs in multi-e10s - part 3 - Remove all the blobURLs when the child goes away, r=me 2016-07-18 11:13:31 +02:00
Andrea Marchesini 0c1a08fce6 Bug 1279186 - Blob URLs in multi-e10s - part 1 - BlobURLs broadcasted, r=gabor 2016-07-17 16:50:50 +02:00
David Anderson cce407eb5f Send content compositor bridges using endpoints rather than Opens. (bug 1282348 part 7, r=billm) 2016-07-17 21:24:28 -07:00
Iris Hsiao 296ca81daa Backed out changeset effbc83efa08 (bug 1279186) 2016-07-18 12:11:07 +08:00
Andrea Marchesini 109557fed5 Bug 1279186 - Blob URLs in multi-e10s - part 1 - BlobURLs broadcasted, r=gabor 2016-07-17 16:50:50 +02:00
Andrea Marchesini 00723cb370 Bug 1186932 - Implement support for form submission of a picked directory - part 6 - GetFilesHelper executed on the parent process, r=smaug 2016-07-14 09:04:21 +02:00
Andrea Marchesini d3dcd9a2a2 Bug 1286126 - Move ServiceWorker initialization early in the ContentChild startup, r=gabor 2016-07-13 10:34:24 +02:00
Lee Salzman 0e1e833b40 Bug 1286317 - part 2 - remove Qt widget usage from plugins. r=jrmuizel 2016-07-12 20:28:31 -04:00
Alexandre Lissy fd4d75f34b Bug 1285157 - Remove SetTransport(aChannel) for NUWA r=cyu
MozReview-Commit-ID: HR8r9flyJDQ

--HG--
extra : rebase_source : bc0e284f6469292a0495501dc71017902247ddd3
2016-07-07 10:07:24 +02:00
Andrea Marchesini 32377c0fb9 Bug 1285947 - Rename BrowserConfiguration to ServiceWorkerConfiguration, r=gabor
--HG--
rename : dom/ipc/BrowserConfiguration.ipdlh => dom/ipc/ServiceWorkerConfiguration.ipdlh
2016-07-11 16:04:04 +02:00
Andrea Marchesini ddb0a1be85 Bug 1279503 - part 2 - moving BrowserConfiguration in the ContentChild::InitXPCOM, r=gabor 2016-07-11 00:28:13 +02:00
Fabrice Desré f855149768 Bug 1284455 - Remove the System Messages API, Gecko part r=me
MozReview-Commit-ID: 1mhzddSLkuu

--HG--
extra : rebase_source : f230538d50f7c944825e1833c97ee0f56ecb86f8
2016-04-20 19:04:13 +02:00