Commit Graph

2489 Commits

Author SHA1 Message Date
Jim Mathies
5253bc7729 Bug 1124933 - follow up to fix a bad inbound merge. r=bustage CLOSED TREE 2015-02-03 06:19:38 -06:00
Jim Mathies
78b2097606 Bug 1124933 - Add a generic api for annotating KillHard calls. r=billm 2015-02-03 05:59:10 -06:00
chunminchang
ff8d42e65e Bug 1102060 - Part2: Change the way to send/rcv for ScreenForBrowser. r=smaug 2015-02-03 16:03:28 +08:00
chunminchang
20fe9672ed Bug 1102060 - Part1: Add two new functions to get TabParent in ContentProcessManager by given ContentParentId and TabId. r=kanru 2015-02-03 16:03:29 +08:00
David Zbarsky
6969ea7c90 Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Carsten "Tomcat" Book
3b0a21143c Backed out changeset 5d32ab2da8a6 (bug 1127189) for m11 crashes 2015-02-09 13:22:46 +01:00
Ting-Yu Chou
f77506a08e Bug 1127189 - part 1 - Avoid redundant observers from ParticularProcessPriorityManager. r=khuey 2015-02-09 14:11:34 +08:00
Jim Mathies
5900d85d78 Bug 1130842 - Prior to aborting the child process due to an ipc processing error, annotate the child's crash report with the ipc failure reason text. r=billm 2015-02-08 12:37:21 -06:00
Andrea Marchesini
46bf4d6259 Bug 939509 - File constuctor should use lastModified attribute, r=bz 2015-02-07 18:29:22 +00:00
Olli Pettay
9fc98fd805 Bug 1124245, nsGlobalWindow::IsActive shouldn't depend on the state in nsFocusManager, r=Enn 2015-02-06 18:26:29 +02:00
Phil Ringnalda
c865152e04 Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
d9876086c9 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Carsten "Tomcat" Book
9e96698d8a Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00
David Parks
75b7fa4b98 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
Change the PuppetWidget from defining screen coordinates from
tab-content-relative to being based on actual screen geometry.
PuppetWidgets can have position.  In the parent process, the
widget has a position and a separate client position (that
includes OS window chrome... on Linux and Windows as others have no
chrome).  In the child process, the widget (non-origin) position,
whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
c75eab55ac Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
Math for window chrome calculation was off on Linux.  Removed redundant,
and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
2786fdf5c6 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
TabParents now register for the MozUpdateWindowPos event on the chrome
TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on
its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos
event.
2015-01-26 11:45:54 -08:00
Carsten "Tomcat" Book
341e2dae13 Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
Andrea Marchesini
ed0dd64625 Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm 2015-02-11 10:10:23 +01:00
Mike Conley
d3711501d5 Bug 1047603 - Make TabParent::AnswerCreateWindow force the initial browser to be remote in a new window. r=smaug. 2015-01-13 17:24:52 -05:00
Andrew McCreight
a38ee3890e Back out Bug 1127201 (part 1) for various problems. 2015-02-06 15:05:08 -08:00
Andrew McCreight
1ee96e7527 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Kartikaya Gupta
e5b1c423c3 Bug 1130535 - Remove codepath that does an APZ untransform on events in RenderFrameParent. r=dvander,botond CLOSED TREE 2015-02-06 13:46:46 -08:00
Kartikaya Gupta
027f507e48 Bug 1130129 - Better handle a case where the APZ hit-test disagrees with the main-thread hit-test results. r=botond 2015-02-06 09:26:44 -05:00
Robert O'Callahan
7464c67b7f Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies 2015-02-05 20:35:25 +13:00
Jim Mathies
22560ed956 Bug 1129575 - In the PPluginWidget Create handler fail via return result vs. abort the child process when there's no parent window available. r=roc 2015-02-05 15:48:44 -06:00
Kan-Ru Chen (陳侃如)
8dba892982 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 16:47:32 -05:00
Nicholas Nethercote
0a02b5d31c Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Nicholas Nethercote
f9f2575aa6 Bug 1127201 (part 1) - Let MOZ_ASSERT take a string variable as the second arg. r=Waldo.
ASSERT_UNLESS_FUZZING() (which is defined multiple times!) caused problems due
when __VA_ARGS__ was empty which is most of the time. So I just disallowed the
optional string, which was only used in a small fraction of the occurrences.

I don't particularly like this patch. I'm not convinced its any better than
just removing the nsPrintfCString()s like I did earlier, but I've done it to at
least show what's involved.
2015-02-04 19:42:29 -08:00
Ryan VanderMeulen
d8c6df0517 Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046. 2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
4a4042f903 Bug 1129311 - Don't use sNestedTabChildMap directly. r=smaug 2015-02-05 17:24:39 +08:00
Kan-Ru Chen (陳侃如)
d1351de810 Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm 2015-02-05 17:18:22 +08:00
David Zbarsky
f29e757aa4 Bug 1125040 - Use LayoutDeviceIntPoint in IME code r=botond 2015-02-04 15:21:03 -05:00
Botond Ballo
5c39206193 Bug 1005815 - Extract TabChild::FireSingleTapEvent and its helpers into APZCCallbackHelper. r=kats,smaug 2015-01-21 19:46:27 -05:00
Ryan VanderMeulen
6f2e997e08 Merge m-c to inbound. a=merge 2015-01-30 12:32:49 -05:00
Jim Mathies
12ee8a591d Bug 1127374 - Make ContentParent::RecvLoadPlugin less failure prone. r=billm 2015-01-30 10:37:03 -06:00
Jim Mathies
a1ee08cca3 Bug 1127379 - Make TabParent::GetWidgetNativeData less failure prone. r=roc 2015-01-30 10:37:03 -06:00
Kan-Ru Chen (陳侃如)
544b2c6bfc Bug 1112989 - Part 3. Remove sync PContent::GetVolumes() r=dhylands 2015-01-30 11:43:32 +08:00
Kan-Ru Chen (陳侃如)
0c55d69367 Bug 1112989 - Part 2. Forward device-storage volumes info to ContentChild before app startup. r=dhylands 2015-01-30 11:43:31 +08:00
Kan-Ru Chen (陳侃如)
1043dea8b9 Bug 1112989 - Part 1. Forward know info to ContentChild before app startup. r=fabrice 2015-01-30 11:43:31 +08:00
Wes Kocher
978d3dbecf Merge m-c to b2g-inbound a=merge 2015-01-29 15:30:55 -08:00
Mike Habicher
6074723c39 Bug 1127470 - include GfxMessageUtils.h in PScreenManager.ipdl, r=bent 2015-01-29 14:31:40 -05:00
Jim Mathies
7cb466492e Bug 1095754 - Provide a way to force an update on a plugin window asyncronously from chrome. Trigger an update when we adjust the widget configurations. r=aklotz 2015-01-29 13:41:56 -06:00
Jim Mathies
2ad782a16d Bug 1095754 - Update PPluginWidget shutdown logic. r=aklotz 2015-01-29 13:41:56 -06:00
Jim Mathies
bcbf42bd66 Bug 1095754 - Remove obsolete PPluginWidget apis and code. r=aklotz 2015-01-29 13:41:56 -06:00
Bill McCloskey
9d1e4a1ca7 Bug 1126042 - Use different window IDs for different processes (r=smaug) 2015-01-28 11:53:46 -08:00
Bill McCloskey
0eaeb7c104 Back out 47de36ef3ab4 (bug 1075670) for breaking context menu in e10s CLOSED TREE 2015-01-28 16:11:56 -08:00
jp111
525798f482 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r=ted 2015-01-28 06:17:00 -05:00
Bill McCloskey
19d59d9b7d Bug 1109884 - Stop using intr messages in PContent (r=bent) 2015-01-28 11:53:46 -08:00
David Parks
79588131cc Bug 1075670 - Update window position in TabParent when window widget is moved. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome
TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on
its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos
event.
2015-01-26 11:45:54 -08:00
Bill McCloskey
fdd07237e8 Bug 1123461 - Rename CpowIdHolder to CrossProcessCpowHolder (r=dvander) 2015-01-26 13:32:31 -08:00
Bill McCloskey
69189e8a1d Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-26 13:32:18 -08:00
Ehsan Akhgari
ceca8787f1 Bug 1125178 - Mark some functions in dom as override; r=baku 2015-01-23 14:27:12 -05:00
Jim Mathies
ab733699c7 Bug 1092121 - Get plugin quirks modes and nsPluginInstanceOwner::GetNetscapeWindow working with remote content. r=billm 2015-01-23 04:10:52 -06:00
Ehsan Akhgari
4c4956892d Bug 1123016 - Clarify the ownership of DOMEventTargetHelper::mParentObject/mOwnerWindow; r=smaug
This patch converts DOMEventTargetHelper::mParentObject into an
nsWeakPtr, and adds fatal assertions to ensure that all future
nsIGlobalObject implementations support weak references.  It also marks
DOMEventTargetHelper::mOwnerWindow as a non-owning reference.
2015-01-23 08:37:37 -05:00
Alexandre Lissy
9d8eff2c9b Bug 1124102 - Fix preloading of mozSettings API. r=fabrice
In the past, we used to use |navigator.mozSettings| call in preload.js
to make sure the SettingsManager.js was loaded for improving access
time. Checking the behavior, it turns out that |navigator| in non
existent at this point and thus this was not helping at all. We fix this
by instead forcing creating an instance of settingsManager. Measurements
shows that this reduces the time spent for the call
|var settings = navigator.mozSettings| by 20ms on Flame, going from
~30ms to ~10ms.
2015-01-21 08:40:00 +01:00
Bill McCloskey
f6fe2ca433 Bug 1123090 - Pass URLs loaded during CreateWindow to content process (r=bent) 2015-01-22 20:00:18 -08:00
Wes Kocher
d19e92ad17 Backed out 3 changesets (bug 1123461, bug 1123090) for windows build bustage
Backed out changeset 2c442905d0af (bug 1123461)
Backed out changeset d7aa4c72ebab (bug 1123461)
Backed out changeset 8bb689ec8086 (bug 1123090)
2015-01-22 21:04:33 -08:00
Bill McCloskey
5b79f68845 Bug 1123461 - Rename CpowIdHolder to CrossProcessCpowHolder (r=dvander) 2015-01-22 20:00:19 -08:00
Bill McCloskey
eb95ab8e98 Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-22 20:00:19 -08:00
Bill McCloskey
170ac32581 Bug 1123090 - Pass URLs loaded during CreateWindow to content process (r=bent) 2015-01-22 20:00:18 -08:00
Bill McCloskey
237488a5ed Bug 1124387 - Don't report process hangs when debugger attached or in a DEBUG build (r=jimm) 2015-01-22 15:53:49 -08:00
Carsten "Tomcat" Book
2ee1cf52b6 Merge mozilla-central to b2g-inbound 2015-01-22 14:41:48 +01:00
Dimi Lee
af6dda2b28 Bug 1105666 - [BrowserAPI] Add an API to indicate this iframe could receive NFC event. r=smaug, kanru, yoshi 2015-01-22 17:40:17 +08:00
James Kitchener
6a912052bb Bug 1100184 - Flatten netwerk/base/{public,src}/ directories. r=mcmanus, r=poiru 2015-01-20 03:58:00 -05:00
David Parks
92a2bb76d6 Bug 1051842 - Part 2 - crash in -[ChildView keyDown:]. r=masayuki
In e10s, each nsFocusManger (main/chrome and content/tab) operates on its own content tree with its own InputContext.  They also communicate their InputContexts with the OS widget (nsChildView on mac, nsWindow on Windows).  Prior to this patch, the OS widgets didn't distinguish between main and content InputContexts.  When GetInputContext was called on the OS widget, it would return whatever InputContext it had set last.  This patch distinguishes between InputContexts in the widget.
2014-08-27 22:06:41 -07:00
Ben Turner
64a29bbf54 Bug 1122750 - Remove unnecessary destroy calls, r=khuey. 2015-01-21 11:08:31 -08:00
Bill McCloskey
75154191bc Bug 1051842 - Backout e1dd58a149d2 (bug 1051842) due to bug 1122208 2015-01-20 14:03:33 -08:00
Bill McCloskey
6ef30fb0e6 Bug 1051842 - Backout 734517b508b5 (bug 1051842) due to bug 1122208 2015-01-20 14:01:24 -08:00
Ben Turner
624fb06abc Bug 1120336 - Fix another hang with blobURL+workers+indexedDB+xhr, r=khuey. 2015-01-13 14:15:04 -08:00
George Wright
e6402aed9e Bug 1082127 - Implement TabChild::SetDimensions so that window.moveTo/resizeTo work with e10s r=smaug 2015-01-19 15:55:02 -05:00
Botond Ballo
ce5471f4e1 Bug 1122794 - Call SetResolutionAndScaleTo() instead of SetResolution() consistently in TabChild. r=kats 2015-01-16 18:49:42 -05:00
Botond Ballo
e628ffee79 Bug 1120566 - Adjust points sent from APZ to Gecko for the 'scale-to-resolution' transform in APZCCallbackHelper::ApplyCallbackTransform. r=kats 2015-01-16 13:48:33 -05:00
Bill McCloskey
895dd5b731 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Bill McCloskey
7cc975d82d Backout bug 1118618 on a CLOSED TREE 2015-01-16 14:46:05 -08:00
Aaron Klotz
9b1fe793b0 Bug 1117244: Prevent e10s plugin module bridging from preempting async init messages; r=jimm 2015-01-16 14:03:27 -07:00
Surabhi Anand
b65688d9ee Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Kyle Huey
2a6f8887b5 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey
7814ed5c4d Bug 1118618 - Make constructors explicit on a CLOSED TREE 2015-01-16 10:34:27 -08:00
Bill McCloskey
5d09feb86e Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-16 10:11:18 -08:00
Bill McCloskey
c66c93c95b Bug 567058 - Stop using intr messages for window.open (r=bent) 2015-01-16 10:07:50 -08:00
Bill McCloskey
f16f6fb178 Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent) 2015-01-16 10:06:56 -08:00
Andrea Marchesini
13941ecb36 Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-15 16:58:41 +00:00
Kartikaya Gupta
a5370fdb12 Bug 920036 - Send touch inputs through the APZ before sending them to the gecko thread. r=mwu,dvander,smaug 2015-01-15 10:37:54 -05:00
David Parks
915a43a7cd Bug 1051842 - Part 4 - crash in -[ChildView keyDown:]. r=masayuki
Make the PBrowser::SetInputContext message synchronous when remote browsing.
2014-08-20 23:34:18 -07:00
David Parks
e3be37acfb Bug 1051842 - Part 2 - crash in -[ChildView keyDown:]. r=masayuki
In e10s, each nsFocusManger (main/chrome and content/tab) operates on its own content tree with its own InputContext.  They also communicate their InputContexts with the OS widget (nsChildView on mac, nsWindow on Windows).  Prior to this patch, the OS widgets didn't distinguish between main and content InputContexts.  When GetInputContext was called on the OS widget, it would return whatever InputContext it had set last.  This patch distinguishes between InputContexts in the widget.
2014-08-27 22:06:41 -07:00
Ryan VanderMeulen
35882877b9 Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)

CLOSED TREE
2015-01-14 11:46:14 -05:00
Carsten "Tomcat" Book
abc43b0556 Merge mozilla-central to mozilla-inbound 2015-01-14 14:48:19 +01:00
Kartikaya Gupta
c313b86c49 Back out bug 1119497 and one patch from bug 920036 for causing bug 1121033. r=me 2015-01-13 21:16:51 -05:00
Andrew McCreight
18d62d8760 Bug 1091766 - Don't exit(0) when a message is dropped in the child process. r=bent 2015-01-13 12:32:34 -08:00
Ryan VanderMeulen
3f1ea40df0 Backed out changesets 6295dbaa06de, 66e037e5ff7d, and 4a1171cc4dac (bug 567058) for being the likely cause of the spike in e10s test_pluginstream_err.html crashes.
CLOSED TREE
2015-01-13 13:28:36 -05:00
Andrea Marchesini
58bd113b8c Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-14 11:50:35 +00:00
Carsten "Tomcat" Book
9ffd6720aa Backed out changeset 8ab6c26d26f5 (bug 1118618) 2015-01-13 08:43:32 +01:00
Bill McCloskey
21bc54764a Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-12 23:06:54 -08:00
Ehsan Akhgari
54e8c6a74a Bug 567058 follow-up: Mark the second occurrence of AutoUseNewTab as struct as well 2015-01-13 00:23:51 -05:00
Bill McCloskey
35a2a6ac7c Bug 567058 - Stop using intr messages for window.open (r=bent) 2015-01-12 20:36:42 -08:00
Bill McCloskey
c6d86504d2 Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent) 2015-01-12 20:36:04 -08:00
Carsten "Tomcat" Book
7a47f841cb merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Andrea Marchesini
b2bf53a267 Bug 1113062 - IndexedDB FileSnapshot not CCed, r=janv 2015-01-11 21:35:24 +00:00
Jim Chen
873186b0e0 Bug 1103036 - Don't send shutdown message to Nuwa processes; r=billm 2015-01-10 13:46:46 -05:00
Jim Chen
0cf835f5c2 Bug 1103036 - Use kill timer when shutting down ContentParent in shutdown observer; r=billm 2015-01-10 13:45:58 -05:00
Jim Chen
b931494a45 Bug 1103036 - Wait for ContentChild shutdown during profile-before-change; r=billm 2015-01-10 13:42:10 -05:00
Bill McCloskey
a5babb420a Bug 1103036 - Use nsITimer for ContentParent shutdown timer (r=bent) 2015-01-06 21:42:23 -08:00
Bill McCloskey
ce302860f3 Bug 1103036 - Ensure __delete__ message from TabChild doesn't get sent after ActorDestroy (r=bent) 2015-01-06 21:42:00 -08:00
Bill McCloskey
3808673910 Bug 1103036 - Follow-up to initial patch; r=jchen 2015-01-10 13:39:33 -05:00
Jim Chen
da383c16df Bug 1103036 - Allow ContentChild to perform tasks during shutdown; r=billm 2015-01-10 13:18:59 -05:00
Jim Chen
67f8ab8931 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Kartikaya Gupta
2cb41a5b7c Bug 920036 - Send touch inputs through the APZ before sending them to the gecko thread. r=mwu,dvander,smaug 2015-01-10 13:54:24 -05:00
Carsten "Tomcat" Book
23176a6312 Merge mozilla-central to b2g-inbound 2015-01-09 15:54:18 +01:00
Fernando Jimenez Moreno
cced55dfb5 Bug 1101029 - Overlay iframe on top of front-most app. r=roc, sicking 2015-01-09 09:55:18 +01:00
Makoto Kato
2e850a8b70 Bug 966157 - Part 2. Child process should listen NOTIFY_IME_OF_POSITION_CHANGE. r=masayuki 2014-12-15 18:37:00 +09:00
Makoto Kato
16cbf26cea Bug 966157 - Part 1. Implement remote NS_QUERY_EDITOR_RECT. r=masayuki 2014-12-15 18:21:20 +09:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Botond Ballo
614790f915 Bug 1076241 - Get rid of the nontransient async transform. r=kats 2014-12-19 18:53:05 -05:00
Phil Ringnalda
9ec0721ced Back out 3 changesets (bug 1103036) for b2g xpcshell bustage
CLOSED TREE

Backed out changeset e6ab63938473 (bug 1103036)
Backed out changeset 900bb5fcdd36 (bug 1103036)
Backed out changeset bc53d85bc1b2 (bug 1103036)
2015-01-06 23:33:50 -08:00
Bill McCloskey
467d8d8cae Bug 1103036 - Use nsITimer for ContentParent shutdown timer (r=bent) 2015-01-06 21:42:23 -08:00
Bill McCloskey
fe9086cf08 Bug 1103036 - Ensure __delete__ message from TabChild doesn't get sent after ActorDestroy (r=bent) 2015-01-06 21:42:00 -08:00
Jim Chen
56726b85c7 Bug 1103036 - Allow ContentChild to perform tasks during shutdown (r=billm) 2015-01-06 21:40:56 -08:00
Ehsan Akhgari
b6fefe8453 Bug 1118425 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/ipc; r=baku 2015-01-06 23:33:49 -05:00
Brad Lassey
b7e45f2061 bug 1097998 - Warn when using CPOWs when content process isn't in a safe state r=billm, bholley 2015-01-02 13:50:21 -05:00
Andrew McCreight
7a5759bb2e Bug 1105468 - In SendResponse, send an invalid FD to the child if we failed to open the file. r=bent 2015-01-09 13:10:14 -08:00
Andrew McCreight
99ba2dc1ba Bug 1105468 - OpenFileAndSendFDRunnable::OpenFile needs to ensure we don't release off main thread. r=bent 2015-01-09 13:10:14 -08:00
Aaron Klotz
e6c09cef43 Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm 2014-12-29 16:13:54 -07:00
Leonid V. Fedorenchik
f33fb69d70 Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats 2014-12-27 12:48:27 -05:00
CHUANG CHENYU
dde8a7257b Bug 1033952 - Implement "Removable" and "HotSwappable" APIs for device storage. r=dhylands, r=bzbarsky 2014-12-22 10:33:33 +08:00
Phil Ringnalda
7deecb5272 Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
CLOSED TREE

Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
43152cc1ba Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm 2014-12-24 17:57:03 -07:00
Mike Conley
2f5a547f31 Bug 1068349 - Follow-up: Disable KillHard timer for content processes for Mochitests. r=smaug.
The KillHard timeout seems to be getting triggered on some of our mochitest machines, which is
causing us to leave minidumps behind - so we disable the timeout for mochitests. We also disable
KillHard paired minidumps for B2G, because we were getting minidumps for some B2G Desktop tests
there for what are likely some intentional KillHard's, and at this point, we don't think it's
worth collecting for B2G.

--HG--
extra : rebase_source : adcad58bc3b893e30e71992514b8a966257f8bc0
extra : amend_source : 11fd95ac3e3a5ed1dbb55d450f480b9092d31528
2014-12-18 13:52:00 -05:00
Mike Conley
f42e8dfaad Bug 1068349 - IPC message handlers that return false cause child process to crash without a crash report. r=ted
--HG--
extra : rebase_source : b1cf6381b9a4f74cab75be8a2a903d26d83797dd
2014-11-24 12:05:45 -08:00
Ben Turner
37658e2d81 Bug 1113340 - Make sure blob urls can load same-prcess PBackground blobs, r=khuey. 2014-12-19 11:59:02 -08:00
Blake Kaplan
d3bf06c398 Bug 1113313 - Rename these functions to better reflect what they do. r=billm
--HG--
extra : rebase_source : ae61b3dd6dd5ce50a131a640060d7be57e562e4d
2014-12-19 12:07:04 -05:00
Bill McCloskey
27da4b054f Bug 1113006 - Screen manager ScreenForBrowser message should return primary screen as fallback (r=mconley) 2014-12-18 17:36:20 -08:00
Bill McCloskey
5f73e903de Bug 1105039 - Use high prio messages rather than intr for profiling (r=mconley) 2014-12-18 17:36:17 -08:00
Bill McCloskey
97dcfc55be Bug 1109883 - Use urgent messages for protocol bridging (r=bent) 2014-12-18 17:35:48 -08:00
Bill McCloskey
5c7191833d Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander) 2014-12-18 17:35:44 -08:00
Prabhjyot Singh Sodhi
ae1f78b662 Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
David Anderson
8a59420134 Handle in-process APZ events correctly on Windows. (bug 1111873 part 2, r=kats)
--HG--
extra : rebase_source : 8ca5156392705e3a1806fc6a15154dbaa380f438
2014-12-18 15:25:03 -08:00
David Anderson
9a6a40b662 Add a map from layers to TabParents. (bug 1111873 part 1, r=smaug)
--HG--
extra : rebase_source : 68d9d718969ddffcfbbf44f03acbfe6c545b0965
2014-12-18 15:23:39 -08:00
Chih-Kai (Patrick) Wang
1359f79b7f Bug 970307: Part 3: Reinitialize modules after fork. r=fabrice 2014-12-18 17:01:33 +08:00
Chih-Kai (Patrick) Wang
c0ae800cc6 Bug 970307: Part 2: Let Nuwa wait for all tasks of preload slow things to finish. r=cyu 2014-12-18 17:01:04 +08:00
Ryan VanderMeulen
87a3a74cb5 Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Prabhjyot Singh Sodhi
80d2d53284 Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00
Mike Conley
6542b4ea3e Bug 1111957 - Invalidate mDPI and mDefaultScale in TabChild when switching displays. r=fabrice.
Bug 1107259 made TabChild cache the display DPI and default scale more aggressively, and
we need to invalidate those caches when switching displays, otherwise we can get weird
scaling behaviours when switching between displays with different DPIs and scales.

--HG--
extra : rebase_source : cccbdae40113ae1a1b76d020ddc93e7b393fce61
extra : amend_source : d2664b4ea30342476e67da2a16315be4c1920abf
2014-12-16 11:25:15 -05:00
Carsten "Tomcat" Book
4ad2f2d2a8 merge b2g-inbound to mozilla-central a=merge 2014-12-17 12:57:09 +01:00
Dan Gohman
11daab0f14 Bug 1054671 - Constify static callback arrays r=ehsan 2014-12-16 16:30:39 -08:00
Ben Turner
a747f8ec34 Bug 1112716 - Blob runnable methods must be cancelable, r=khuey. 2014-12-17 13:52:43 -08:00
David Anderson
1707d2701c Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
Ben Turner
64376d8607 Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Fabrice Desré
0d0f27a8dd Bug 923897 - Extensibility support for b2g r=ferjm,bholley 2014-12-16 15:32:28 -08:00
Kartikaya Gupta
3d6f2cc6c9 Bug 1083818 - Bypass the 10ms delay if the element being activated won't visually change. r=botond 2014-12-15 13:59:02 -05:00
Carsten "Tomcat" Book
d049357567 Backed out changeset eb6981f3c136 (bug 966157) for m5 test failures on a CLOSED TREE 2014-12-15 12:27:36 +01:00
Carsten "Tomcat" Book
9547acbb98 Backed out changeset 212f295a955d (bug 966157) 2014-12-15 12:26:35 +01:00
Makoto Kato
721977ee2c Bug 966157 - Part 2. Child process should listen NOTIFY_IME_OF_POSITION_CHANGE. r=masayuki 2014-12-15 18:37:00 +09:00
Makoto Kato
d9f0075ad8 Bug 966157 - Part 1. Implement remote NS_QUERY_EDITOR_RECT. r=masayuki 2014-12-15 18:21:20 +09:00
Ehsan Akhgari
577b77e65e Follow-up to bug 1073081 - Fix the non-unified build bustage 2014-12-13 10:26:22 -05:00
Botond Ballo
f7b1897048 Bug 1073081 - Fix -Wreorder warnings. r=ehsan
--HG--
extra : source : bb7467946fb9144514a5460a7103956449595d21
2014-11-26 17:57:40 -05:00
Botond Ballo
ca3c178c12 Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
79bcb7c0d7 Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Botond Ballo
0315765d81 Bug 1073081 - Fix -Wdelete-non-virtual-dtor warnings by marking some classes as MOZ_FINAL. r=ehsan
--HG--
extra : source : 7a909c534cf723b252ea5b0a225a6656399b5b2e
2014-11-24 18:38:23 -05:00
Wes Kocher
1febf386ce Merge m-c to inbound a=merge 2014-12-12 17:39:12 -08:00
Wes Kocher
9b1ff9a408 Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
Ehsan Akhgari
20474e5ba7 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Trevor Saunders
6a533162fc bug 1098386 - Allow PDocAccessibleConstructor to be recieved when gAccessibilityService doesn't exist r=surkov
Talos causes accessibility to be instantiated only in the content
process.  That means PDocAccessibleConstructor messages can be recieved
by the parent when GetAccService() returns null.  The easiest way of
dealing with this is moving DocManager::mRemoteDocuments from a member
of the acc service singleton to its own global.  That means the parent
process can track accessible documents in child processes without
instantiating a11y in the parent process.
2014-12-08 20:08:15 -05:00
Benjamin Smedberg
4f44d7d032 Bug 1110818 - Measure crash and breakpad rates for subprocesses (plugin/gmplugin/content), r=gfritzsche
--HG--
extra : rebase_source : d5817f37804323f59d46c9c22c13f0588f2512fc
2014-12-12 14:13:28 -05:00
Fabrice Desré
62d8ded63c Bug 1107259 - Remove the sync IPC getDPI() and getDefaultScale() during app startup. r=thinker 2014-12-12 09:50:46 -08:00
Josh Aas
15ef066292 Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
Ehsan Akhgari
f818603dd9 Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku 2014-12-10 17:49:09 -05:00
Carsten "Tomcat" Book
73a6c54a83 Backed out changeset ac697e112134 (bug 1105468) for m5 test failures 2014-12-10 11:44:24 +01:00
Andrew McCreight
c27e9f09bf Bug 1105468 - OpenFileAndSendFDRunnable::OpenFile needs to ensure we don't release off main thread. r=khuey
If any of the file operations fail, we need to ensure we still dispatch to the main thread.

If the dispatch fails, leak the runnable (and the things it owns) rather than crash when we try to release them off main thread.
2014-11-26 13:05:00 +01:00
Oleg Romashin
433fc957fc Bug 1103412 - Gecko does not compile with printing disabled. r=mconley 2014-11-22 12:15:00 +01:00
Wes Kocher
24669d5152 Backed out changeset 39398fba066e (bug 1098386) for actually leaking 2014-12-09 13:36:24 -08:00
Trevor Saunders
6fdc4fc3cd bug 1098386 - Allow PDocAccessibleConstructor to be recieved when gAccessibilityService doesn't exist r=surkov
Talos causes accessibility to be instantiated only in the content
process.  That means PDocAccessibleConstructor messages can be recieved
by the parent when GetAccService() returns null.  The easiest way of
dealing with this is moving DocManager::mRemoteDocuments from a member
of the acc service singleton to its own global.  That means the parent
process can track accessible documents in child processes without
instantiating a11y in the parent process.
2014-12-08 20:08:15 -05:00
Nathan Froyd
62e36f7046 Bug 1095543 - remove unnecessary nsInterfaceHashtable.h includes; r=ehsan 2014-11-07 08:52:43 -05:00
Neil Deakin
480511cee8 Bug 1060529, send the enabled state of child process commands to the parent on update, without the test, r=smaug,ehsan 2014-12-09 10:48:27 -05:00
David Anderson
9156e4bc2e Add support for mouse wheel transactions. (bug 1013432 part 6, r=kats)
--HG--
extra : rebase_source : 7230d0bac38e3faf3c7da2ecaf406b2e02f51146
2014-12-09 02:40:26 -08:00
David Anderson
fb82b5c62c Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Wes Kocher
a15fb273c2 Backed out 2 changesets (bug 1060529) for introducing a new intermittent bc1 orange
Backed out changeset 5ddd9eb25925 (bug 1060529)
Backed out changeset d4f962fb38be (bug 1060529)
2014-12-08 16:40:55 -08:00
Neil Deakin
b274e182b9 Bug 1060529, send the enabled state of child process commands to the parent on update, now with improved test, r=smaug,ehsan 2014-12-08 08:12:22 -05:00
Jan Varga
7e6681aef5 Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent 2014-12-06 07:31:53 -08:00
Jonathan Kew
7f5b7d7a09 Bug 1107617 - Add support for writing-mode to the NotifyIMESelection message. r=smaug 2014-12-04 18:15:43 -08:00
Fabrice Desré
33f73c57c5 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Carsten "Tomcat" Book
6e3553b020 Backed out changeset fb224386bea8 (bug 1003848) for bustage on a CLOSED TREE 2014-12-03 16:43:15 +01:00
Fabrice Desré
78bd2b79a7 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Bob Owen
fceb0dd420 Bug 928044 Part 2: Enable the content sandbox by default on Windows with an open policy. r=tabraldes,glandium,jimm
--HG--
rename : security/sandbox/win/src/warnonlysandbox/wosCallbacks.h => security/sandbox/win/src/logging/loggingCallbacks.h
rename : security/sandbox/win/src/warnonlysandbox/wosTypes.h => security/sandbox/win/src/logging/loggingTypes.h
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.cpp => security/sandbox/win/src/logging/sandboxLogging.cpp
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.h => security/sandbox/win/src/logging/sandboxLogging.h
2014-11-29 17:12:18 +00:00
Ehsan Akhgari
278bbb319d Bug 1106116 - Load images for notifications triggered from private browsing windows as private; r=jdm 2014-11-28 14:08:29 -05:00
Jan Varga
c501baa0a3 Bug 1083927 - IndexedDB: Subdomain Quota Management; r=bent,ehsan
--HG--
rename : dom/indexedDB/test/unit/bug1056939.zip => dom/indexedDB/test/unit/bug1056939_profile.zip
2014-11-28 09:44:12 +01:00
Neil Deakin
8ee6bb9f8d Bug 1072342, propagate the window activation state down to child process windows, r=smaug,mstange 2014-11-27 08:28:26 -05:00
Blake Kaplan
acc1904cd3 Bug 582297 - Make <keygen> work in e10s. r=billm/dkeeler 2014-11-26 14:28:28 -08:00
Boris Zbarsky
47256e0628 Bug 1087851 part 1. Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does. r=peterv for the idea; patch itself is just search-and-replace 2014-11-26 14:25:20 -05:00
Masayuki Nakano
05249766b8 Bug 1077345 part.3 Add WidgetCompositionEvent::CausesDOMTextEvent() and WidgetCompositionEvent::CausesDOMCompositionEndEvent() r=smaug 2014-11-25 14:02:30 +09:00
Jed Davis
3e37eae2a3 Bug 1101170 - Move sandbox status info into a separate module. r=kang r=glandium
This changes the interface so that the code which determines the flags
can live in one place, but checking the flags doesn't need to call into
another library.

Also removes the no-op wrappers for Set*Sandbox when disabled at build
time; nothing used them, one of them was unusable due to having the wrong
type, and all they really accomplish is allowing sloppiness with ifdefs
(which could hide actual mistakes).
2014-11-24 15:22:13 -08:00
Kartikaya Gupta
6a84dcba24 Bug 918288 - Follow-up to fix non-unified build bustage. r=me 2014-11-21 22:10:18 -05:00
Kartikaya Gupta
3358559ff3 Bug 918288 - Add logging for some of the SetTargetAPZ codepaths. r=botond 2014-11-21 21:36:26 -05:00
Kartikaya Gupta
ed679101a4 Bug 918288 - Ensure we set a displayport on elements that we get touch-start events for. r=botond 2014-11-21 21:36:25 -05:00
Kartikaya Gupta
441fcaa25d Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond 2014-11-21 21:36:25 -05:00
Ben Turner
c1c4133a6f Bug 1037625 - Allow child processes to respond to 'inner-window-destroyed' notifications without possibly killing the process. r-khuey. 2014-07-11 11:15:10 -07:00
Mike Conley
79166ae2dc Bug 1008435 - Let the Gecko Profiler work with child processes. r=BenWa,smaug.
We now allow profiling the content process for e10s, and plugin processes.

--HG--
extra : rebase_source : 1f2e35d4d55b33b56160132893dbf7d4787925fa
extra : amend_source : d03465d4318f8e50c7624ad0eeb681b30c068b11
2014-11-18 12:50:25 -05:00
Nicholas Nethercote
52eb4e3299 Bug 1100205 - Zero ScreenDetails outparam in RecvScreenForBrowser() so Valgrind doesn't complain. r=mconley.
--HG--
extra : rebase_source : 6420a5d78ed1d28d157ab10db14951fb14cc523a
2014-11-18 00:29:12 -08:00
Jim Mathies
50774f3b2c Bug 1098055 - Enable deferred message protection for ContentParent. r=billm 2014-11-14 19:22:44 -06:00
Sotaro Ikeda
933f683ffe Bug 1085655 - Improve TabChild::InitRenderingState() r=bent 2014-11-16 10:23:22 -08:00
Kershaw Chang
77e026bfdf Bug 1020186 - Patch 2: Make POfflineCacheUpdate be managed by PContent - v4. r=honzab 2014-11-13 01:31:00 +01:00