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

2151 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 9a6c0e03b6 Bug 1077345 part.3 Add WidgetCompositionEvent::CausesDOMTextEvent() and WidgetCompositionEvent::CausesDOMCompositionEndEvent() r=smaug 2014-11-25 14:02:30 +09:00
Jed Davis 2fdd7150c1 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 d9024289c3 Bug 918288 - Follow-up to fix non-unified build bustage. r=me 2014-11-21 22:10:18 -05:00
Kartikaya Gupta 3c73404215 Bug 918288 - Add logging for some of the SetTargetAPZ codepaths. r=botond 2014-11-21 21:36:26 -05:00
Kartikaya Gupta 0611166ee2 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 911702f6c3 Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond 2014-11-21 21:36:25 -05:00
Ben Turner a81bd3bc10 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 ccd8edc947 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 bb9d9e645b 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 dbafda71d3 Bug 1098055 - Enable deferred message protection for ContentParent. r=billm 2014-11-14 19:22:44 -06:00
Sotaro Ikeda 148067068a Bug 1085655 - Improve TabChild::InitRenderingState() r=bent 2014-11-16 10:23:22 -08:00
Kershaw Chang b581824528 Bug 1020186 - Patch 2: Make POfflineCacheUpdate be managed by PContent - v4. r=honzab 2014-11-13 01:31:00 +01:00
Kershaw Chang a5dd5a415d Bug 1020186 - Patch1: Revise the API in ContentProcessManager - v1, r=khuey 2014-11-13 01:27:00 +01:00
Tom Schuster 2ee03971b2 Bug 949666 - Save last used upload dir with e10s. r=billm 2014-11-09 20:26:14 +01:00
André Reinald b99018f7d4 Bug 1076385 - Start the Mac sandbox on reception of a specific message from the main process (same as Windows and Linux). r=smichaud 2014-11-10 17:59:43 +01:00
Botond Ballo 1c1e4448a5 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Botond Ballo 751e400ea4 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Carsten "Tomcat" Book c247fdb775 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book 4b4108a4a9 Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Botond Ballo d766d4ca14 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo 98ceb86b05 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Jim Mathies abf9ba034f Bug 669200 - On the child side implement a suitable nsIWidget wrapper for PPluginWidget based on PuppetWidget. r=billm 2014-11-12 14:59:20 -06:00
Jim Mathies e1dc6bf7b9 Bug 669200 - Implement base PPluginWidget classes for managing plugin windows via content. r=billm 2014-11-12 14:59:19 -06:00
Jim Mathies b66f6f1244 Bug 669200 - Add sub-protocol PPluginWidget to PBrowser to support remoting calls from a widget proxy in the content process to a native widget in chrome. r=billm 2014-11-12 14:59:18 -06:00
David Parks 4741aa886c Bug 1076820 - Redraw on resize performance for content is pretty bad with e10s r=billm
Modern OSs adjust process scheduling based on CPU-boundedness and Interface-boundedness.  A process performing a lot of UI tasks requires lower-latency than a CPU-bound process.  For this reason, at least on Windows (but probably also Linux and Mac), in e10s, resize events are sent at a much higher rate than non-e10s, where the main process has to do the work to respond to them.  This was supposed to be handled by the 'compress' option in IPDL but its duplicate-event test was very imprecise - it only tested the *oldest* message in the queue.  This patch searches the messagequeue/deque to remove *any* duplicate.  deque::erase is linear but this is a very uncommon case - currently only two compressed IPDL messages exist in the entire code base.  Also, these queues are small.
2014-11-07 14:21:08 -08:00
Jed Davis 59573e5f85 Bug 1077057 - Expose Linux sandboxing information to JS via nsSystemInfo. r=kang r=froydnj
This adds "hasSeccompBPF" for seccomp-bpf support; other "has" keys
will be added in the future (e.g., user namespaces).

This also adds "canSandboxContent" and "canSandboxMedia", which are
absent if the corresponding type of sandboxing isn't enabled at build
type (or is disabled with environment variables), and otherwise present
as a boolean indicating whether that type of sandboxing is supported.
Currently this is always the same as hasSeccompBPF, but that could change
in the future.

Some changes have been made to the "mozilla/Sandbox.h" interface to
support this; the idea is that the MOZ_DISABLE_*_SANDBOX environment
variables should be equivalent to disabling MOZ_*_SANDBOX at build time.
2014-11-06 13:11:00 +01:00
Tomasz Kołodziejski 1a87a10585 Bug 1058116 - Pass referrer and isPrivate to openURIInFrame instead of nullptr as aOpener. r=mconley, r=smaug, r=Margaret, r=ally 2014-11-06 09:41:00 -05:00
Ryan VanderMeulen d83dc866b1 Merge m-c to b2g-inbound. a=merge 2014-11-05 15:22:01 -05:00
Ryan VanderMeulen 9d14d03ae0 Merge fx-team to m-c. a=merge 2014-11-05 14:51:17 -05:00
Fabrice Desre c87cbd2e59 Bug 1090501 - pre-emptively open the camera hardware for certified apps with 'camera' permission, r=fabrice 2014-10-31 13:54:02 -04:00
Wes Kocher df5afea581 Merge m-c to fx-team a=merge 2014-11-04 20:40:56 -08:00
Kershaw Chang e2040010e8 Bug 1041419 - Patch 1: Add GetBrowserOrId in ContentChild. r=smaug 2014-11-04 02:58:00 +01:00
Dave Townsend db1430878f Bug 1091287: Switch to the right browser before displaying a login prompt. r=mrbkap 2014-11-04 11:51:06 -08:00
Vinay G Shetty 0f56cc3110 Bug 811470 - Send geolocation error codes to the content process. r=jdm 2014-10-23 11:31:00 -07:00
Ryan VanderMeulen 1938b69d8b Backed out changesets bc3b048b416d and 773b27cd166b (bug 1050122) for regression B2G debug test runtimes dramatically. 2014-11-03 12:46:43 -05:00
Trevor Saunders 12d083ae32 no bug - fix nullptr to bool conversions in Blob.cpp r=themaid
--HG--
extra : rebase_source : aa2c9dc11c88beb53b12ddd583121ca90a2f4969
2014-11-03 07:59:27 -05:00
Ting-Yu Chou 591080107c Bug 1050122 - Part 2 - Disable preallocate when proc loader is not initialized. r=khuey 2014-11-01 13:28:33 +08:00
Gina Yeh a9a5a8c2c1 Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug 2014-11-03 15:05:38 +08:00
Blake Kaplan 3d1299294d Bug 1056018 - Mark the a few IPC calls as urgent priority to deal with edge cases involving CPOWs. r=billm (with one bugfix written by him and r=me) 2014-10-30 15:51:39 -07:00
André Reinald 436338cb49 Bug 1076385 - Sandbox the content process on Mac. r=smichaud 2014-10-30 13:33:17 -05:00
Kershaw Chang db93767a56 Bug 1020172 - Patch 4: Replace ManagedPBrowserParent in AppProcessChecker - v2. r=khuey 2014-10-24 02:30:00 +02:00
Kershaw Chang 4009e7ff79 Bug 1020172 - Patch 2: Manage TabParent in chrome process - v14. r=khuey 2014-10-29 19:11:00 +01:00
Kershaw Chang e94eff7080 Bug 1020172 - Patch 1: Replace process id with ContentParentId type - v3. r=khuey 2014-10-24 02:28:00 +02:00
Ryan VanderMeulen 8b6411868d Backed out changeset 459d3080fdf8 (bug 1056018) for e10s mochitest-bc failures.
CLOSED TREE
2014-10-29 15:50:48 -04:00
Blake Kaplan fef622c290 Bug 1056018 - Mark the a few IPC calls as urgent priority to deal with edge cases involving CPOWs. r=billm (with one bugfix written by him and r=me) 2014-10-29 11:41:10 -07:00
Ehsan Akhgari f453170f6b Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 22f80376a2ce9415dc9d7fdd2444405d3cd7e011
2014-10-10 17:28:35 -04:00
Bill McCloskey 69446aded5 Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Mike Conley 5368b2ecee Bug 1082579 - Introduce PPrinting.ipdl and proxies for opening printing UI. r=blassey.
--HG--
extra : rebase_source : 69ac7840ef72055911daa0ff482236b57f563aba
2014-10-28 11:59:08 -04:00
Kartikaya Gupta 6df2e473ee Bug 1090220 - Initialize some variables with sane values in case they don't get populated later. r=sewardj 2014-10-28 08:06:00 -04:00
Ting-Yu Chou e44e3c2012 Bug 1070912 - Kill Nuwa process when shutdown to release IPC parents. r=khuey 2014-10-22 14:50:10 +08:00