Felipe Gomes
6b68c44612
Bug 1282484 - Write structure for pref-configurable fallback rules list, and include initial set of rules. r=qDot
...
* * *
Bug 1282485 - Plugin fallback rule - don't use fallback when the descendant has an embed element
* * *
Bug 1316102 - Plugin fallback rule - use fallback when it contains a <video> element
* * *
Bug 1282487 - Plugin fallback rule - don't use fallback when it contains links to adobe.com
* * *
Bug 1282486 - Plugin fallback rule - don't use fallback when it contains 'install Flash' instructions
MozReview-Commit-ID: DexVBrAfaTb
2017-01-24 03:08:04 -02:00
Felipe Gomes
dd10cc5143
Bug 1282484 - Cache the value of PreferFallback() because ShouldPlay() is called several times during the load process. r=qDot
...
MozReview-Commit-ID: DqjCHssaJde
2017-01-24 03:07:51 -02:00
Felipe Gomes
dc0744ff64
Bug 1282484 - Add a mechanism to control plugin fallback content. r=qDot
...
MozReview-Commit-ID: Lt4tOdFdQzN
2017-01-24 03:07:41 -02:00
Kirk Steuber
5c396352c6
Bug 1307604 - Add allow and deny lists for Flash Blocking r=bsmedberg,bz,francois
...
MozReview-Commit-ID: H2dgJX6Hsz7
2016-11-22 15:01:04 -08:00
Cameron McCormack
5f9911da79
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Kyle Machulis
62f0bb59ca
Bug 1318303 - Fallback without exception when trying to load object in non-active document; r=bz
...
MozReview-Commit-ID: 6GEH8Iglngt
2017-01-05 10:41:11 -08:00
Kyle Machulis
5f449659c0
Backout 3985fbac8369 and 563468e72885 (bug 1318303) due to crashtest failures
2017-01-04 15:54:24 -08:00
Kyle Machulis
764ce7df9b
Bug 1318303 - Fallback without exception when trying to load object in non-active document; r=bz
...
MozReview-Commit-ID: 6GEH8Iglngt
2017-01-04 14:35:28 -08:00
Benjamin Smedberg
af47e0db63
Bug 1317032 - If a page uses or removes many <object> elements which are not actually plugins, loading the page goes to a crawl because we recalculate the plugin UI every time. Don't do that by only dispatching a PluginRemoved event for actual plugins, not images/unknown/iframe-type <objects>, r=qdot
...
MozReview-Commit-ID: I84UcPLObCA
2016-12-15 10:42:10 -05:00
Boris Zbarsky
8f83545477
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
Chris Peterson
efd3e4ebdc
Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats
2016-11-16 13:44:24 -08:00
Ehsan Akhgari
917a5e63fc
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
b2903208c2
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book
84568d0bc2
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +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
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
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
Ehsan Akhgari
2d792bd2ad
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Boris Zbarsky
0ace43ab83
Bug 1317597. Stop using LegacyIsCallerChromeOrNativeCode use in nsObjectLoadingContent. r=qdot
...
These checks date back to when we didn't have webidl bindings and could end up
exposing random XPCOM methods to the web. That doesn't happen anymore.
2016-11-15 12:46:32 -05:00
Boris Zbarsky
7f7aebb966
Bug 1316661 part 6. Get rid of nsIObjectLoadingContent.hasRunningPlugin, since it's unused. r=smaug
2016-11-15 12:46:31 -05:00
Christoph Kerschbaumer
304a72b87f
Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz
2016-11-08 07:23:12 +01:00
Michael Layzell
9c319f00c2
Bug 1303196 - Part 4: Merge mFrameLoader and mOpener into mFrameLoaderOrOpener, r=smaug
...
MozReview-Commit-ID: DuJRM5KsGhb
2016-10-27 15:53:35 -04:00
Michael Layzell
28edda560a
Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
...
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Kyle Machulis
d734c1400d
Bug 1307694 - Remove reversal of attributes for plugins; r=bsmedberg
...
MozReview-Commit-ID: 75pULekS9s6
2016-10-20 11:28:02 -07:00
Benjamin Smedberg
cd3eab68a3
Bug 1307445 part B - remove the gecko code that support :moz-type-unsupported and :moz-type-unsupported-platform, r=qdot
...
MozReview-Commit-ID: Dybppkfrb7E
2016-10-06 13:25:56 -04:00
Boris Zbarsky
65a99191a7
Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
...
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.
The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits. Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Andrea Marchesini
47cb021e43
Bug 1306241 - Use NeedsSubjectPrincipal in dom/html/* - part 2, r=ehsan
2016-10-03 10:34:29 +02:00
Olli Pettay
d61a9893cd
Bug 1305309, backout Bug 1214805, r=backout
2016-09-27 01:03:24 +03:00
Nicholas Nethercote
8eaacb0d8b
Bug 1297300 - Add missing checks to GetSpec() calls in dom/base/. r=bz.
2016-09-08 14:17:58 +10:00
Michael Layzell
f2f13378b5
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Olli Pettay
81b705d082
Bug 1214805, allow navigating when afterprint event is dispatched, r=bz
2016-09-03 17:33:30 +03: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
Michael Layzell
5090889a3e
Bug 1293001 - Part 1: Change the BinaryName of nsIFrameLoaderOwner::frameLoader (which overloaded another virtual method) to FrameLoaderXPCOM, r=froydnj
...
MozReview-Commit-ID: Db3z2DP5qba
2016-08-11 15:49:39 -04:00
Tobias Schneider
0932a20256
Bug 1290749 - Skip plugin content plugin of no URI specified. r=francois
2016-07-26 10:59:41 -07:00
Tobias Schneider
9b8ad2ce49
Bug 1268120 - Make plugin content blocking work on e10s. r=francois
2016-06-17 11:05:42 +01:00
Boris Zbarsky
32ec08aef5
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Masatoshi Kimura
481bbf7d92
Bug 1282038 - Allow allowfullscreen for rewritten YouTube Flash embeds. r=qdot,jst
...
MozReview-Commit-ID: I8y0gMA5BxE
2016-06-24 19:12:53 +09:00
Christoph Kerschbaumer
92dd33d382
Bug 1188642 - Use channel->ascynOpen2 in dom/base/nsObjectLoadingContent.cpp r=smaug
2016-06-28 09:37:55 +02:00
Boris Zbarsky
60a32393cc
Bug 1003797. Fire error events for <object> per spec. r=qdot
2016-06-23 00:32:23 -04:00
Masatoshi Kimura
bce1f9929c
Bug 1258053 - String changes. r=cpeterson
2016-06-22 21:55:14 +09:00
Masatoshi Kimura
0c2c91e2a3
Bug 1258053 - Convert YouTube Flash embed URLs that contain params in the path components. r=kmachulis
2016-06-22 21:55:13 +09:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Patrick McManus
e01f1d0309
Bug 1274376 - more mozilla::net namespaces r=dragana
2016-05-18 22:02:57 -04:00
Boris Zbarsky
a724f65cd6
Bug 1272651. Fix fallback loading of <embed> inside an <object> with no type attribute to actually work reliably. r=qdot
2016-05-20 23:13:17 -04:00
Tobias Schneider
de5c99ac19
Bug 1266889 - Plugin block list blocks SWF network requests, but does not prevent plugin instantiation. r=francois
2016-04-22 16:00:43 -07:00
Kyle Machulis
de4066f5d7
Bug 1263696 - Block embed content loading when ancestor of object element with content; r=bz
2016-05-02 09:54:16 -07:00
Kyle Machulis
317486a94d
Backout of 541618e4babd (bug 1263696) due to performance timeline test bustage
2016-04-28 14:48:14 -07:00
Kyle Machulis
494d00e510
Bug 1263696 - Block content loading for embed nodes that are ancestors of objects with data; r=bz
2016-04-28 13:08:12 -07: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