Commit Graph
302 Commits
Author SHA1 Message Date
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
Nathan Froyd b89e7ed3e4 Bug 1278925 - micro-optimize nsCOMArray appending with already_AddRefed AppendElement; r=erahm
In all of the places touched by this patch, the smart pointer we're
appending is about to become unused, so simply .forget()'ing its
reference into the appropriate nsCOMArray works just fine.
2016-06-20 18:38:10 -04:00
Chris Peterson 2ec50b0041 Backed out changeset 7383d49bc7c8 (Flash click-to-play bug 1186948) 2016-06-05 01:03:36 -07:00
Brad Lassey f0e02af596 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
Aryeh Gregor 1c3d681cd3 Bug 1193762 part 8 - Fix things that will break; r=froydnj
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Yoshi Huang 2b116e8616 Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create(&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Kyle Huey a9cf047227 Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Kyle Machulis bec44a8f52 Bug 1253957 - Fix e10s race issue for test from bug 1165981; r=bsmedberg 2016-03-28 15:37:26 -07:00
Christoph Kerschbaumer 28be6fe09c Bug 1254752 - Remove deprecated functions from nsIIOService. r=mcmanus
MozReview-Commit-ID: 9kvI8nknTA1
2016-03-08 15:51:54 -08:00
Wes Kocher 4304e5c62e Backed out changeset 65051cc8fc06 (bug 1254752) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 8Lg5gJHY6J5
2016-03-09 10:56:28 -08:00
Christoph Kerschbaumer 5419822f80 Bug 1254752 - Remove deprecated functions from nsIIOService (r=mcmanus)
MozReview-Commit-ID: 7ZV7ddKTCK5
2016-03-09 08:58:45 -08:00
sakshi 3771c6cf7d Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00