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

3013 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher e28b562783 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3HW7YWDqTBQ
2016-12-23 14:40:42 -08:00
Alastor Wu 9bd913bac6 Bug 1325172 - unregister agent when nsNPAPI releases it. r=baku
When the global window detroyed, the service would notify agent's callback to mute its volume.
And the nsNSNPAPI's detroy would release the agent, I guess these things would happen in the same time.
So we should check whether the agent exists before calling agent's function.

MozReview-Commit-ID: 7uNmbdOLqxe

--HG--
extra : rebase_source : a93f70b34f881a06439ef237217d472fa9d886b1
2016-12-23 15:04:51 +08:00
David Parks a01d83514b Bug 1185472 - Only allow NPAPI HWNDs to be adopted by an HWND in the chrome process. r=jimm
Add the set of plugin process PIDs to PluginProcessParent and, when attempting to reparent plugin windows in the chrome process, validate that those windows originated with the plugin process (by checking the window's PID against the set in the PluginProcessParent).
2016-12-22 10:50:03 -08:00
Ting-Yu Chou 417dd84962 Bug 1322465 part 3 - Use explicit/MOZ_IMPLICIT for the unary constructors in dom/. r=Ehsan
MozReview-Commit-ID: GV26INAj3k2

--HG--
extra : rebase_source : 9943b8451a69ebd3b8141ae3f9db7c4a48d7852c
2016-12-16 15:49:53 +08:00
Carsten "Tomcat" Book 3d9f0a00a7 Backed out changeset 49f1c7ec4eca (bug 1185472) for bustage
--HG--
extra : rebase_source : 8f7a27c7fa3e19d70e3c09160e0442ff11851eab
2016-12-21 12:33:54 +01:00
David Parks e931b523a6 Bug 1185472 - Only allow NPAPI HWNDs to be adopted by an HWND in the chrome process r=jmathies
Add the set of plugin process PIDs to PluginProcessParent and, when attempting to reparent plugin windows in the chrome process, validate that those windows originated with the plugin process (by checking the window's PID against the set in the PluginProcessParent).

--HG--
extra : rebase_source : f12fabb958d64def6f57ebbbccc39f8ef47ad9f4
2016-12-18 19:58:16 -08:00
Cameron McCormack d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Alastor Wu 4e144a06a3 Bug 1319529 - notify audible state changed for nsNPAPI. r=baku
When the nsNPAPI is muted by AudioChannelService, we should notify our audible state changed.

MozReview-Commit-ID: 1YHGZiyIRvI

--HG--
extra : rebase_source : c097fbdeb1d65a979b3a7d82442433ac1c7928e7
2016-12-16 17:12:41 +08:00
Gijs Kruitbosch cb6c0c81ac Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
MozReview-Commit-ID: 2yb0WGFYBsH

--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Steve Fink 7f97277dc2 Bug 1308236 - Don't trigger read barriers when comparing wrapped pointers types r=sfink r=mccr8 2016-10-28 15:11:56 -07:00
s7hoang c4bfc4d8e9 Bug 1028200 - Plugins that are fullscreen'd should exit fullscreen mode on crash. r=mconley
MozReview-Commit-ID: HiDyiPCPiV1

--HG--
extra : source : 843b98464b4026115e37b945d56bc9b70b213de3
extra : amend_source : d8d71b09715131dc7407e4bb94a11d11997ec198
2016-12-13 13:44:39 -05:00
Carsten "Tomcat" Book fd4709f9c1 merge mozilla-inbound to mozilla-central a=merge 2016-12-14 16:41:28 +01:00
Carsten "Tomcat" Book 3583928097 Backed out changeset 843b98464b40 (bug 1028200) for failing on own test 2016-12-14 10:37:01 +01:00
s7hoang 0333e3b828 Bug 1028200 - Plugins that are fullscreen'd should exit fullscreen mode on crash. r=mconley
MozReview-Commit-ID: HiDyiPCPiV1
2016-12-13 13:44:39 -05:00
Phil Ringnalda cb73f8ea6a Merge m-c to m-i
MozReview-Commit-ID: EDvQhOpyRJu
2016-12-13 19:30:23 -08:00
Kan-Ru Chen c649cfaa98 Bug 1319271 - Use actor's manager in case actor is already deleted (r=billm)
MozReview-Commit-ID: 3Dr2POjqNft
2016-12-13 16:46:33 -08:00
Kevin Wern b2052e9ddc Bug 1304044 - implement auxclick r=smaug
After click events with button 2 or 3 are fired, fire auxclick, a new
event intended to represent a non-primary mouse click. Because this
event, based on the design examples and blink's implementation, is
intended to be used with content listeners, always dispatch on content
listeners--not just those that force all events to be dispatched (i.e.
document/window). This diverges from the behavior of our click events
from non-primary buttons.

Eventually, we hope this will replace click events for non-primary
buttons. For now, leave those events for compatibility reasons.

Additionally, add handling of this new event, where necessary.

MozReview-Commit-ID: 8osozM4h6Ya

--HG--
extra : rebase_source : 558261dd0d0b9241efa84ca168c50455850af03a
2016-11-30 19:48:02 -05:00
Gabriele Svelto f475092043 Bug 1319702 - Fix races in the CrashManager and CrashSubmit objects and in the related tests r=bsmedberg 2016-11-23 11:28:04 +01: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
Bill McCloskey 21912efc29 Bug 1318506 - Label PluginInstance IPC messages with plugin's DocGroup (r=jimm)
The goal here is to assign a DocGroup to every runnable. This patch labels all
IPC message handlers for PPluginInstance with the DocGroup of the plugin
instance's document.

MozReview-Commit-ID: 6OIard9n2GB
2016-12-01 15:00:13 -08:00
Sebastian Hengst fa248911ec Backed out changeset 3411c3d9c141 (bug 1318506) 2016-12-01 13:35:23 +01:00
Bill McCloskey 1ea2a1e009 Bug 1318506 - Label PluginInstance IPC messages with plugin's DocGroup (r=jimm)
The goal here is to assign a DocGroup to every runnable. This patch labels all
IPC message handlers for PPluginInstance with the DocGroup of the plugin
instance's document.

MozReview-Commit-ID: 6OIard9n2GB
2016-11-30 18:01:59 -08:00
Jan de Mooij 803f7e1e66 Bug 1319524 - Add JSAutoCompartment to GetNPObjectWrapper. r=bholley 2016-11-29 11:59:25 +01:00
Chris Peterson f8b487cf4e Bug 1320020 - Remove Unity plugin quirk compatibility. r=aklotz 2016-11-28 22:52:18 -08:00
Chris Peterson 2246059b1a Bug 1318833 - Part 2: Remove Silverlight plugin quirk compatibility. r=jimm 2016-11-28 22:51:45 -08:00
Andrew McCreight ae4f1841e5 Bug 1316757, part 1 - Remove state machine user syntax from non-test IPDL files. r=billm
The state information in PWebBrowserPersistDocument.ipdl looks like
good documentation, so I only commented it out. The other one is
trivial so I deleted it.

MozReview-Commit-ID: C5SQAOPMnNB

--HG--
extra : rebase_source : 0ec19729458838b071156398bf3d1fb908cc6fe4
2016-11-23 09:15:47 -08:00
Chris Peterson df18772e96 Bug 1318833 - Part 1: Remove Silverlight plugin tests and test plugin. r=qdot 2016-11-21 21:10:27 -08:00
Boris Zbarsky 96500c4e69 Bug 909656. Remove the legacycaller from HTMLObjectElement/HTMLEmbedElement, since it's not used in the wild, other browsers don't seem to support it, and we're dropping non-Flash plugins anyway. r=bsmedberg 2016-11-18 16:13:06 -05:00
Kevin Chen 368a498322 Bug 1317131 - Fix the incorrect AutoTextureLock lifecycle. r=dvander 2016-11-17 01:57:00 -05:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst 7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Sotaro Ikeda 514c309d12 Bug 1312988 - Separate the recycling allocators for gpu and cpu textures. r=nical 2016-11-14 10:09:39 +01:00
Chris Peterson 26308b5b88 Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats 2016-11-16 13:44:24 -08:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book a669e9f9f5 Backed out changeset af3eb6a8e0ae (bug 1317111) 2016-11-16 14:50:42 +01: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 41956514cf Bug 1317241 - Replace integer literals which are cast to bool in dom/. r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 9ba96ebb87590b97dcda03ac4e6777b6b98a12d1
2016-11-14 11:50:54 +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
Chris Peterson ad2208605f Bug 1317108 - Stop scanning for the Windows Media Player plugin. r=jimm 2016-11-14 22:20:44 -08:00
Chris Peterson 14e98a8362 Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats
Delayed stop was only used for RealPlayer and forced reentry was only used by delayed stop (nsStopPluginRunnable).
2016-11-14 22:06:53 -08:00
Chris Peterson cd071486d0 Bug 1317110 - Remove QuickTime plugin quirks handling. r=jimm 2016-11-14 22:08:43 -08:00
Chris Peterson c331fa9ecb Bug 1317109 - Remove Acrobat plugin quirk handling. r=jimm 2016-11-14 23:37:44 -08:00
Carsten "Tomcat" Book cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Liang-Heng Chen ca7dc68893 Bug 1313641 - Initialize nsProtocolProxyService earlier. r=bsmedberg
MozReview-Commit-ID: BzKW9hwVTSu

--HG--
extra : rebase_source : 5e79dfc43e3f2b8a3ebe38e417419b1ae44b4415
2016-11-08 19:56:00 -05:00
Gerald Squelart 0affeb4ab0 Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: LXiZTu87Ck6

--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Kevin Chen 391e9fa548 Bug 1160157 - Use AutoTextureLock to manage the shared resource's mutex. r=dvander
--HG--
extra : rebase_source : 69fe51900e06c669908eca1bbb7b82cf9922cc38
2016-11-07 00:48:00 -05:00
Bill McCloskey 81c169c2a9 Bug 792652 - Remove methods from MessageListener (r=dvander)
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 15:22:36 -08:00