Peter Van der Beken
fe2b8da9d6
Bug 558184 - Part 10 - Only allow JS plugins for Flash and PDF. r=bz.
2017-05-02 11:56:23 +02:00
Peter Van der Beken
7002bb3bff
Bug 558184 - Part 9 - Optionally load a script in a sandbox in the content process for every plugin instance. r=bz.
2016-09-27 18:28:36 +08:00
Peter Van der Beken
664ad944ee
Bug 558184 - Part 6 - Return fake plugins in e10s too. r=bz.
2015-05-21 15:15:08 +02:00
Nathan Froyd
3b526b2200
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Łukasz Kędziorski
5d6f7cf220
Bug 1357578 - Convert PRCList usage in nsPluginHost to mozilla::LinkedList. r=erahm,r=bsemdberg
2017-05-02 17:12:00 -07:00
Lie Ryan
64d3997e86
Bug 1352572 - Remove unused code that implement NPN_PostURLNotify(file=true) and NPN_PostURL(file=true); r=bsmedberg
...
- Remove nsNPAPIPlugin.cpp:MakeNewNPAPIStreamInternal(file) parameter
- Remove nsPluginHost::PostURL(isFile) parameter
- Remove nsPluginHost::CreateTempFileToPost() unused function
MozReview-Commit-ID: 7bCBzGz9oSM
2017-04-12 14:28:50 +00:00
Kyle Machulis
89d9648295
Bug 1351490 - Only load either flash and/or test plugins. Period. r=bsmedberg
...
Before this patch, mochitests could still load ALL plugins, meaning
MIME type checking would fail when another plugin snuck in. We should
only load exactly the plugins we expect to be there now.
MozReview-Commit-ID: KowCihZuceH
2017-04-11 13:53:58 -07:00
Kyle Machulis
d84088f8ca
Bug 1351490 - Only run plugin finding on flash mime types/extensions; r=bsmedberg
...
Now that we only support the flash plugin, we should only run plugin
finding if the flash mime type is requested.
MozReview-Commit-ID: CrHkTe2aEyz
2017-04-11 13:53:58 -07:00
Eric Rahm
f3ea7b060a
Bug 1353143 - Part 2: Remove usage of PR_LOGGING. r=froydnj
...
Remove ifdefs that handle if logging is disabled, we always force enable it.
2017-04-04 14:36:16 -07:00
Kyle Machulis
ceb4bf3e68
Bug 1350940 - Label Runnables in dom/plugins; r=bsmedberg
...
MozReview-Commit-ID: DCxeZUj6CEd
2017-03-27 13:35:25 -07:00
Andrea Marchesini
8f5f953fba
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
2017-03-22 11:38:40 +01:00
Tom Tromey
a4b717ab39
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Sylvestre Ledru
e144e1280c
Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/plugins/ r=jimm
...
MozReview-Commit-ID: Bp1M9LW77Ia
2017-02-09 10:33:57 +01:00
Cliff
161fe77598
Bug 1334104 - 'if' statement is unnecessary r=bsmedberg
...
Removed unnecessary `if` statements intended to safely delete pointers. Deleting a null pointer has no effect, and the behavior is defined.
MozReview-Commit-ID: 5zfMZoPoWcY
2017-01-30 19:38:40 -05:00
Jed Davis
b86735cec2
Bug 778201 - Remove nsPluginHost::FindProxyByURL and nsProtocolProxyService::DeprecatedBlockingResolve. r=bsmedberg,mcmanus
...
MozReview-Commit-ID: 9xuddxdw5cd
2017-02-03 16:32:04 -07:00
Julian Seward
ee8c840e10
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (2 of 5, fixes for dom/). r=bkelly.
2017-01-24 17:10:39 +01:00
Benjamin Smedberg
2074ec0880
Bug 1330998 - Invalidate pluginreg.dat based on whether the flash-only pref is flipped, so that if users switch between 52 and 52ESR it gets updated correctly. r=qdot
...
MozReview-Commit-ID: 64yamsyIudD
2017-01-17 13:44:13 -05:00
Thomas Nguyen
82e1caab63
Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
...
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Sylvestre Ledru
ea8d4cce02
Bug 1324547 - ensure we're not needlessly copying things in ranged for loop r=froydnj
...
MozReview-Commit-ID: 2NnjjmANem5
2016-12-21 18:05:50 +01:00
Chris Peterson
fedf492c5b
Bug 1320020 - Remove Unity plugin quirk compatibility. r=aklotz
2016-11-28 22:52:18 -08:00
Chris Peterson
a837685a49
Bug 1318833 - Part 2: Remove Silverlight plugin quirk compatibility. r=jimm
2016-11-28 22:51:45 -08:00
Chris Peterson
efd3e4ebdc
Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats
2016-11-16 13:44:24 -08:00
Carsten "Tomcat" Book
b2903208c2
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book
e8b977693f
Backed out changeset af3eb6a8e0ae (bug 1317111)
2016-11-16 14:50:42 +01:00
Andi-Bogdan Postelnicu
efac806caa
Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
...
MozReview-Commit-ID: 8jUAehd1odv
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu
43c97ebe3b
Bug 1317241 - Replace integer literals which are cast to bool in dom/. r=baku
...
MozReview-Commit-ID: 8jUAehd1odv
2016-11-14 11:50:54 +02:00
Andi-Bogdan Postelnicu
c47b0b7b15
Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
...
MozReview-Commit-ID: 12AHOhrpaNO
2016-11-14 11:40:37 +02:00
Chris Peterson
54b8fbe83b
Bug 1317108 - Stop scanning for the Windows Media Player plugin. r=jimm
2016-11-14 22:20:44 -08:00
Chris Peterson
bac206e3d0
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
ddce4b0c5e
Bug 1317110 - Remove QuickTime plugin quirks handling. r=jimm
2016-11-14 22:08:43 -08:00
Chris Peterson
f365e34835
Bug 1317109 - Remove Acrobat plugin quirk handling. r=jimm
2016-11-14 23:37:44 -08:00
Liang-Heng Chen
201f28bfa4
Bug 1313641 - Initialize nsProtocolProxyService earlier. r=bsmedberg
...
MozReview-Commit-ID: BzKW9hwVTSu
2016-11-08 19:56:00 -05:00
Tooru Fujisawa
1df5d69054
Bug 1308023 - Null check info.fName in PluginInfoIsFlash. r=jimm
2016-10-13 02:49:24 +09:00
Eric Rahm
10a731f571
Bug 1307216 - Remove warning about non-existent plug-in registry key. r=bsmedberg
...
It's possible the plugin key doesn't exist, there's no need to warn about that.
MozReview-Commit-ID: Law8J9zUHCt
2016-10-04 10:18:17 -07:00
Benjamin Smedberg
60e99d041c
Bug 1307501 part B - don't read old versions of pluginreg.dat. Long ago we took great pains to read this backwards-compat because plugin enabled/click-to-play state was recorded here. But that has been recorded in prefs since Firefox 22, so now we can safely just treat this as a disposable cache. r=qdot
...
MozReview-Commit-ID: 1QBEBuXiesh
2016-10-05 09:48:57 -04:00
Benjamin Smedberg
f10e2e92ee
Bug 1307501 - Flash plugin isn't enabled in nightly because this check was using the description instead of the name. r=stupidly obvious
...
MozReview-Commit-ID: EJmdQfYhGp9
2016-10-04 12:35:34 -04:00
Wes Kocher
12ff97d0c4
Backed out 3 changesets (bug 1307501) for xpcshell failures a=backout
...
Backed out changeset b05f555321b7 (bug 1307501)
Backed out changeset 58e4d007f2a5 (bug 1307501)
Backed out changeset 113aa49cbb98 (bug 1307501)
2016-10-04 14:55:29 -07:00
Benjamin Smedberg
579e763f23
Bug 1307501 part B followup - remove no-longer-needed variable to solve -Werror=unused-variable build bustage on a CLOSED TREE
2016-10-04 16:52:36 -04:00
Benjamin Smedberg
88a8be5de8
Bug 1307501 part B - don't read old versions of pluginreg.dat. Long ago we took great pains to read this backwards-compat because plugin enabled/click-to-play state was recorded here. But that has been recorded in prefs since Firefox 22, so now we can safely just treat this as a disposable cache. r=qdot
...
MozReview-Commit-ID: 1QBEBuXiesh
2016-10-04 13:22:07 -04:00
Benjamin Smedberg
61b886bc85
Bug 1307501 - Flash plugin isn't enabled in nightly because this check was using the description instead of the name. r=stupidly obvious
...
MozReview-Commit-ID: EJmdQfYhGp9
2016-10-04 12:35:34 -04:00
Benjamin Smedberg
49fc3aebaf
Bug 1269807 - Remove support for all NPAPI plugins except for Flash, behind a pref. Tests that use the testplugin for now set the pref to keep it working. This will be disabled for ESR 52, but enabled for release 52. In the next cycle, the pref will be removed and this will be hardcoded. r=jimm
...
MozReview-Commit-ID: IDFTfaqpebo
2016-09-29 09:16:33 -04:00
Nicholas Nethercote
62b6b0fce6
Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
...
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:
nsAutoCString spec;
uri->GetSpec(spec);
printf("uri: %s", spec.get());
to be changed to this:
printf("uri: %s", uri->GetSpecOrDefault().get());
This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.
I will fold this into part 1 before landing.
2016-08-26 16:02:31 +10:00
Tooru Fujisawa
adf347381a
Bug 1289672 - Remove unused nsPluginHost.mPluginsClickToPlay and observation for plugins.click_to_play. r=bsmedberg
2016-08-26 04:36:50 +09:00
Igor
9c81c3c1ee
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Jim Mathies
38056fbe71
Bug 1283274 - Disable windowless workaround if we detect a flash library that support async rendering. r=aklotz
...
MozReview-Commit-ID: 3RubBjRoeEa
2016-07-25 15:45:29 -05:00
Brad Lassey
793803fe51
Bug 1186948 - remove plugins that are click-to-play from navigator.plugins (restricted to Flash). r=jst,mconley,mrbkap
2015-08-03 19:24:35 -04:00
Benjamin Smedberg
b6342360ed
Bug 1277905 - Remove in-product links to plugincheck. Also remove support for startup prompting about outdated plugins, since that's annoying to users. r=Gijs r=mconley
...
MozReview-Commit-ID: 69tMivPVxuW
2016-07-01 11:01:07 -04:00
Mike Conley
7d5d9ce2da
Backed out changeset 776f0bb21587 for causing bug 1284203.
...
MozReview-Commit-ID: KtsmLahe1hC
2016-07-04 13:38:52 -04:00
Brad Lassey
db7c4d8a31
bug 1186948 - remove plugins that are click-to-play from navigator.plugins (restricted to Flash) r=jst
2015-08-03 19:24:35 -04:00