Commit Graph

2173 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
eafa787b9f Backed out changeset ac697e112134 (bug 1105468) for m5 test failures 2014-12-10 11:44:24 +01:00
Andrew McCreight
5f4aa3219c 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
f779af664f Bug 1103412 - Gecko does not compile with printing disabled. r=mconley 2014-11-22 12:15:00 +01:00
Wes Kocher
f3c9a75df6 Backed out changeset 39398fba066e (bug 1098386) for actually leaking 2014-12-09 13:36:24 -08:00
Trevor Saunders
00f36a2813 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
9ccc8d82df Bug 1095543 - remove unnecessary nsInterfaceHashtable.h includes; r=ehsan 2014-11-07 08:52:43 -05:00
Neil Deakin
08bdf771e0 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
97b4968185 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
3061888891 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
4f38e5819e 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
bf446d189e 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
0dc2747b42 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
9934f20290 Bug 1107617 - Add support for writing-mode to the NotifyIMESelection message. r=smaug 2014-12-04 18:15:43 -08:00
Fabrice Desré
10b2fef7f6 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Carsten "Tomcat" Book
398c852277 Backed out changeset fb224386bea8 (bug 1003848) for bustage on a CLOSED TREE 2014-12-03 16:43:15 +01:00
Fabrice Desré
b1bbbaf15b Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Bob Owen
9a0a395aed 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
6e5adf96c4 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
bcb1bd0f3c 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
d7fab6a6dd 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
0a803d9447 Bug 582297 - Make <keygen> work in e10s. r=billm/dkeeler 2014-11-26 14:28:28 -08:00
Boris Zbarsky
ae7e51d646 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
e2b3224ece Bug 1077345 part.3 Add WidgetCompositionEvent::CausesDOMTextEvent() and WidgetCompositionEvent::CausesDOMCompositionEndEvent() r=smaug 2014-11-25 14:02:30 +09:00
Jed Davis
279ab5b3c8 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
afdd911f14 Bug 918288 - Follow-up to fix non-unified build bustage. r=me 2014-11-21 22:10:18 -05:00
Kartikaya Gupta
98f1b0f730 Bug 918288 - Add logging for some of the SetTargetAPZ codepaths. r=botond 2014-11-21 21:36:26 -05:00
Kartikaya Gupta
b97c63b2d1 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
f0b40d2cb8 Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond 2014-11-21 21:36:25 -05:00
Ben Turner
8f24bd13fc 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
df420b6488 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
b274099256 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
5c9077604a Bug 1098055 - Enable deferred message protection for ContentParent. r=billm 2014-11-14 19:22:44 -06:00
Sotaro Ikeda
709421a42d Bug 1085655 - Improve TabChild::InitRenderingState() r=bent 2014-11-16 10:23:22 -08:00
Kershaw Chang
ee400de1e2 Bug 1020186 - Patch 2: Make POfflineCacheUpdate be managed by PContent - v4. r=honzab 2014-11-13 01:31:00 +01:00
Kershaw Chang
65efe89c4b Bug 1020186 - Patch1: Revise the API in ContentProcessManager - v1, r=khuey 2014-11-13 01:27:00 +01:00
Tom Schuster
7561ef2a15 Bug 949666 - Save last used upload dir with e10s. r=billm 2014-11-09 20:26:14 +01:00
André Reinald
915846e5dd 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
27647aabec Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Botond Ballo
2124b8b94c 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
b4345a9bb4 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
5b163a6b8b Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Botond Ballo
c54c9d42eb 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
2105a1529d Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Jim Mathies
2aafec6fcb 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
15287e9d64 Bug 669200 - Implement base PPluginWidget classes for managing plugin windows via content. r=billm 2014-11-12 14:59:19 -06:00
Jim Mathies
09d315c470 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
d7068958cc 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
c0003b43bf 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
6d25ef2447 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
d25d42ef82 Merge m-c to b2g-inbound. a=merge 2014-11-05 15:22:01 -05:00