Nicholas Nethercote
c0a8a6e993
Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
...
This encapsulates most of the uses of PLDHashTable::ops.
--HG--
extra : rebase_source : 7760ce8e46a37e87dcfe590e809a21df01fe510f
2015-01-19 16:11:34 -08:00
Nicholas Nethercote
a5c8dbfaf4
Bug 1123151 (part 1) - Set PLDHashTable::ops consistently. r=froydnj.
...
Currently the setting of PLDHashTable::ops is very haphazard.
- PLDHashTable has no constructor, so it's not auto-nulled, so lots of places
null it themselves.
- In the fallible PLDHashTable::Init() function, if the entry storage
allocation fails we'll be left with a table that has |ops| set -- indicating
it's been initialized -- but has null entry storage. I'm not certain this can
cause problems but it feels unsafe, and some (but not all) callers of Init()
null it on failure.
- PLDHashTable does not null |ops| in Finish(), so some (but not all) callers
do this themselves.
This patch makes things simpler.
- It adds a constructor that zeroes |ops|.
- It modifies Init() so that it only sets |ops| once success is ensured.
- It zeroes |ops| in Finish().
- Finally, it removes all the now-unnecessary |ops| nulling done by the users
of PLDHashTable.
--HG--
extra : rebase_source : bb34979c218d152562a2f9c7e5215256c111cc5b
2015-01-19 16:01:24 -08:00
Bill McCloskey
93b0905531
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent)
2015-01-16 18:34:47 -08:00
Bill McCloskey
7b3fe0714a
Backout bug 1118618 on a CLOSED TREE
2015-01-16 14:46:05 -08:00
Aaron Klotz
2862670777
Bug 1117244: Prevent e10s plugin module bridging from preempting async init messages; r=jimm
...
--HG--
extra : rebase_source : 205864aff2e571b27e11f4d4ec2ec1fa17e7841e
2015-01-16 14:03:27 -07:00
Kyle Huey
591c252165
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Steven Michaud
74b5fe2637
Bug 1118615 - Flash hangs displaying a camera/microphone access dialog in HiDPI mode, workaround. r=mstange
2015-01-16 12:16:44 -06:00
Bill McCloskey
0d4c1b0760
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley)
2015-01-16 10:11:18 -08:00
Michael Pruett
b832b9ff84
Bug 1121202 - Remove unused PL_DHashTableOperate function. r=njn
2015-01-15 18:01:07 -06:00
Nicholas Nethercote
00b5865c2a
Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
...
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Aaron Klotz
151c632b09
Bug 1117398: Ensure NPP entry points are handled properly with async plugin init on linux; r=jimm
...
--HG--
extra : rebase_source : 07df58ca09190d214af0a08503da315ca904b899
2015-01-14 10:55:41 -07:00
Ms2ger
230617c722
Bug 914067 - Remove JSVAL_VOID from dom/; r=jst
2015-01-14 08:59:06 +01:00
Makoto Kato
ce0013bc64
Bug 1120747 - dom.ipc.plugins.flash.disable-protected-mode might not work when launching Flash is immediately. r=aklotz
2015-01-13 18:00:30 +09:00
Carsten "Tomcat" Book
738b922077
Backed out changeset 8ab6c26d26f5 (bug 1118618)
2015-01-13 08:43:32 +01:00
Bill McCloskey
1b1c057069
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley)
2015-01-12 23:06:54 -08:00
Carsten "Tomcat" Book
64250a3a9f
Merge mozilla-central to fx-team
2015-01-12 15:15:24 +01:00
Christoph Kerschbaumer
e7043cc6be
Bug 1110469 - Remove NS_OpenURI (r=sworkman)
2015-01-11 20:26:40 -08:00
Masatoshi Kimura
f70d08c5aa
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Benjamin Smedberg
bad6d827b8
Bug 1119302 - Implement nsIContentPolicy.shouldProcess for plugin subresource loads, r=bz
...
--HG--
extra : rebase_source : f13d62f2cdbd5e90bf759222449ee0f73ebc7110
2015-01-08 12:23:27 -05:00
Chris Peterson
0b8b25193e
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Jim Chen
c02561a822
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Wes Kocher
03e6458515
Backout 0c40a9e043ce (bug 1119302) for test_streamnotify.html bustage
2015-01-09 14:02:16 -08:00
Aaron Klotz
06315c997f
Bug 1119060: Ensure that PluginProcessParent::mLaunchCompleteTask is non-null until the runnable has executed; r=gfritzsche
...
--HG--
extra : rebase_source : 302721483298af54b2e0f585583150c04e5eba8d
2015-01-07 18:01:51 -07:00
Benjamin Smedberg
73dd1440c9
Bug 869208 - Increase the buffer size we're using to deliver network streams to OOPP plugins, r=aklotz
...
--HG--
extra : rebase_source : 5be95b5e0d48b6429f5cd868432b2633a83d9800
2015-01-06 12:40:15 -05:00
Michael Pruett
b9d2bd339e
Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd
2015-01-05 20:27:28 -06:00
Wes Kocher
c95c485cdc
Backout 852f51cb251e (bug 1117864) for various plugin test failures on a CLOSED TREE
2015-01-07 18:35:40 -08:00
Aaron Klotz
a4a0f41ccd
Bug 1117864: Do not pass a runnable to PluginProcessParent::Launch when initializing plugins synchronously; r=jimm
...
--HG--
extra : rebase_source : 8d9b8b39f6da3133ea4200d60f9a7054797ccf4b
2015-01-07 12:39:37 -07:00
Ehsan Akhgari
b9ad1ac4e8
Bug 1118611 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/plugins; r=baku
2015-01-07 10:32:50 -05:00
Nicholas Nethercote
c6666df63c
Bug 1117591 - Fix mismatched alloc/dealloc in APNAudio.cpp. r=blassey.
...
--HG--
extra : rebase_source : 084269396435f1cffdb2f38a7bf73a7cf69edb75
2015-01-05 15:51:37 -08:00
Benjamin Smedberg
4d969bb7f9
Bug 1119302 - Implement nsIContentPolicy.shouldProcess for plugin subresource loads, r=bz
...
--HG--
extra : rebase_source : 6df300a4ce73dfdd4940d3ae36a8bcf9e05b3044
2015-01-08 12:23:27 -05:00
Aaron Klotz
962d7b5c88
Bug 1118031: Fix toolhelp32 snapshot leak in PluginModuleParent; r=jimm
...
--HG--
extra : rebase_source : 06a78b31d2e51744fcbf020e838e4579bfaad28a
2015-01-05 16:39:38 -07:00
Aaron Klotz
ea522e3d80
Bug 1116825: Ensure StreamNotifyChild does not contain a dangling pointer if BrowserStreamChild::StreamConstructed fails; r=jimm
...
--HG--
extra : rebase_source : 71d0b0ad45cfa121c907602dbb51d77086986f16
2015-01-02 15:09:46 -07:00
Ehsan Akhgari
ba84b9972a
Bug 1117772 - Return false from PluginInstanceParent::CreateBackground; r=baku
...
clang emits the following warning on this code, which is treated as an
error:
error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
2015-01-05 11:33:10 -05:00
Phil Ringnalda
2c514abe69
Bug 1116664 - test_crash_nested_loop.html really does intermittently intend to use a flaky timeout, r=ehsan
2014-12-31 22:27:10 -08:00
Jeff Gilbert
e2cd335ec4
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Aaron Klotz
a6a7088f37
Bug 998863: Fix non-unified build bustage r=bustage
...
--HG--
extra : rebase_source : 521f9fd6ce378021fa560c198b1d7b2f47ad4462
2014-12-30 10:46:05 -07:00
Nigel Babu
4eea340b21
Bug 998863 - Add mozilla namespace, r=bustage
...
CLOSED TREE
--HG--
extra : rebase_source : 9c41c32f144593e8b40c5bf34e21634d209cdad5
2014-12-30 14:22:21 +05:30
Nigel Babu
85ffb1165c
Bug 998863 - Include mozilla/UniquePtr.h to fix non-unified bustage, r=bustage
...
CLOSED TREE
--HG--
extra : amend_source : fd6f39200ba4ee4d60a9a64d4d34817f6b4d6f6e
2014-12-30 12:29:22 +05:30
Aaron Klotz
14eb567597
Bug 1070755: Add telemetry for timing PluginAsyncSurrogate::WaitForInit; r=vladan
2014-12-29 16:14:46 -07:00
Aaron Klotz
96e9285f88
Bug 998863: Asynchronous Plugin Initialization, Part 14: Build system updates; r=jimm
2014-12-29 16:14:38 -07:00
Aaron Klotz
76738043cf
Bug 998863: Asynchronous Plugin Initialization, Part 13: PluginAsyncSurrogate; r=jimm
2014-12-29 16:14:31 -07:00
Aaron Klotz
70d4f88604
Bug 998863: Asynchronous Plugin Initialization, Part 12: PluginScriptableObject changes; r=jimm
2014-12-29 16:14:21 -07:00
Aaron Klotz
89a1f85b44
Bug 998863: Asynchronous Plugin Initialization, Part 11: IPC browser stream changes; r=jimm
2014-12-29 16:14:11 -07:00
Aaron Klotz
fd3550c519
Bug 998863: Asynchronous Plugin Initialization, Part 10: PluginInstanceParent changes; r=jimm
2014-12-29 16:14:03 -07:00
Aaron Klotz
cfece1d861
Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm
2014-12-29 16:13:54 -07:00
Aaron Klotz
45ab93fa46
Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh
2014-12-29 16:13:28 -07:00
Aaron Klotz
5f30bb026e
Bug 998863: Asynchronous Plugin Initialization, Part 7: PluginDataResolver; r=jimm
2014-12-29 16:13:18 -07:00
Aaron Klotz
948ae2e4c7
Bug 998863: Asynchronous Plugin Initialization, Part 6: PluginInstanceChild changes; r=jimm
2014-12-29 16:13:09 -07:00
Aaron Klotz
c75eabfb89
Bug 998863: Asynchronous Plugin Initialization, Part 5: PluginModuleChild changes; r=jimm
2014-12-29 16:13:01 -07:00
Aaron Klotz
dab4901007
Bug 998863: Asynchronous Plugin Initialization, Part 4: IPDL changes; r=jimm
2014-12-29 16:12:54 -07:00