Commit Graph

9 Commits

Author SHA1 Message Date
Mike Quested
85aabf627f Bug 1074976 - Move function makeNicePluginName() into BroswerUtils.jsm module. r=felipe 2014-10-06 11:40:00 -04:00
Mike Quested
9ff43809eb Bug 847072 - Regex test for Java plugin name, output "Java" instead of whole version string. r=mconley 2014-10-01 04:09:00 +02:00
Mike Conley
97117148cf Bug 1069075 - Send location along with CTP messages. r=gfritzsche.
Before, we were comparing Principals sent up from PluginContent against the
Principal of the selected browser - this was in order to account for races
(and intermittent oranges) where the browser has moved away from a page before
a CTP message has been received by the parent.

Comparing Principals works beautifully, except in the case of Data URIs, since
Data URIs inherit the Principals of the page they were linked from. That means
that if we're on a page with a link to a Data URI that embeds a plugin, if we
quickly browse to that page and back before a CTP message reaches the parent,
when the CTP message finally arrives, the Principals will match. We solve this
by sending the location as well as the Principal, to do a final comparison if
the Principals do match.

--HG--
extra : rebase_source : 095706306d241a254f62b28527a96a427d7e55c3
extra : histedit_source : 3afe814271166f70afce6a423bbb7809c5a983c7
2014-09-28 11:01:29 -04:00
Mike Conley
c4006a26e4 Bug 1069075 - Fix race condition in flushing pluginData cache in PluginContent.jsm. r=gfritzsche.
--HG--
extra : rebase_source : 0a0c801e0a8802e0a8ae04ac34e9977576f64e1e
extra : histedit_source : 03138083b2ac0892c2d66898db918528dda01fe0
2014-09-26 17:17:36 -04:00
Mike Conley
4a1e8018d2 Bug 1070053 - Avoid spurious hidden-plugin notifications when changing locations by doing a Principal comparison. r=gfritzsche
When the PluginRemoved event is fired when changing locations, it's fired
asynchronously such that the document that the plugin belongs to has already
been unloaded. This was causing the hidden plugin notification to appear in
some cases when users browsed away from documents that had hidden plugins
in them. Now we pass the Principal for the unloading document back to the
parent and do a comparison with the current browser Principal to ensure
that they match before showing the hidden plugin notification.

--HG--
rename : browser/base/content/test/plugins/plugin_small.html => browser/base/content/test/plugins/plugin_small_2.html
extra : rebase_source : e748e3b09de77cc7796b1a78f8e39a23af64049a
2014-09-24 10:30:18 -04:00
Justin Dolske
c80af2ab0d Bug 836415 - Kill PFS. r=bsmedberg 2014-09-18 10:01:23 -07:00
Mike Conley
6aecdba124 Bug 899347 - [e10s] Make click-to-play work with e10s. Originally written by mbrubeck. r=gfritzsche,felipe,Unfocused.
We now use message passing and content scripts in order to implement click-to-play. This allows
us to use click-to-play in e10s windows.

--HG--
extra : rebase_source : 6239a4b49e0af89800c5618e4589f8aef03f58d4
2014-09-17 16:06:58 -04:00
Ryan VanderMeulen
e84550c5e3 Backed out changeset 5747034f2bcc (bug 899347) for mochitest-bc failures.
CLOSED TREE
2014-09-15 15:30:39 -04:00
Mike Conley
91e7e2f96f Bug 899347 - [e10s] Make click-to-play work with e10s. Originally written by mbrubeck. r=gfritzsche,felipe,Unfocused.
We now use message passing and content scripts in order to implement click-to-play. This allows
us to use click-to-play in e10s windows.

--HG--
extra : rebase_source : 719afe669c638ba4883f76f18aee38df6b60b4ad
2014-09-15 13:33:50 -04:00