Commit Graph

69 Commits

Author SHA1 Message Date
Benjamin Smedberg
e4ee06c21b Bug 932786 - CTP doorhanger does not update to show the new plugin state after the user clicks allow or block; update pluginInfo.fallbackType with the new state in gPluginHandler._updatePluginPermission, r=keeler 2013-11-02 11:53:27 -04:00
Benjamin Smedberg
4ead2288c3 Bug 745187 part B - If a plugin is already activated, don't refresh the page. 2013-11-02 11:53:26 -04:00
Benjamin Smedberg
e502e17456 Bug 745187 - Don't introduce a delay notifying the frontend about new plugins added to the document, because script may immediately remove them from the page. To fix the delayed layout of XBL, introduce a separate method to calculate the notification icon visibility, r=jaws
Note: this patch still has one potential hole: if content creates a plugin and destroys it without forcing reflow, the XBL binding will not be instantiated. This doesn't appear to be a problem in practice, because every site that wants to use a plugin also has to trigger frame construction to get the plugin to instantiate (document.write of the embed element appears to do this automatically).
2013-11-02 11:53:26 -04:00
Benjamin Smedberg
3b99655c99 Bug 926605 part B - automatically refresh the page if the users chooses to enable a plugin but its no longer on the page, r=jaws 2013-10-27 14:41:29 -04:00
Benjamin Smedberg
f847a6e6a2 Bug 926605 part A - When a plugin is removed from a page, continue showing it in the plugin doorhanger, to deal with the cases where the site removes a plugin immediately after trying to use it, r=jaws 2013-10-27 14:41:28 -04:00
Benjamin Smedberg
1b8c0cf234 Fixup for bug 927174 - use the preexisting app.support.baseURL pref instead of a custom one
--HG--
extra : rebase_source : 90f2f8dc85b9198bca608b46bee037d93a118543
2013-10-21 10:33:49 -04:00
Georg Fritzsche
c2a4b694d9 Bug 853694 - Cannot send crash reports for click-to-play plugins. r=jaws 2013-10-19 17:15:18 +02:00
Carsten "Tomcat" Book
ba4b28bb05 Merge mozilla-central to mozilla-inbound 2013-10-18 14:13:10 +02:00
Benjamin Smedberg
d8c6d994de Bug 927174 - Add a "More Info..." link to the plugin click-to-activate panel which links to SUMO, r=jaws
--HG--
extra : rebase_source : 06f59db92ea08e64f0d9e39bfeb20460ea780d36
2013-10-16 16:35:40 -04:00
Georg Fritzsche
e6dbc8378a Bug 922349 - Removing iframe with plugin content breaks doorhanger. r=gavin 2013-10-16 00:42:48 +02:00
Georg Fritzsche
bc3075d6e1 Bug 920927 - Fix plugin overlay handling. r=neil 2013-10-15 10:35:49 +02:00
Carsten "Tomcat" Book
2e3185b7cf Merge m-c to mozilla-inbound 2013-09-26 15:46:38 +02:00
Georg Fritzsche
dd544ed553 Bug 916542 - Guard against non-plugin elements in DOMWindowUtils.plugins. r=jaws 2013-09-26 10:12:51 +02:00
Dão Gottwald
45510700f7 Bug 919493 - browser-plugins.js should call openUILinkIn rather than openURL. r=gavin 2013-09-26 11:17:32 +02:00
Georg Fritzsche
e0164d8616 Bug 790483 - click-to-play plugins fail to show placeholder after resizing. r=jaws 2013-09-17 23:23:05 +02:00
Wes Kocher
eeb9a8a3a1 Backed out changeset 8677a18553e7 (bug 790483) for m-oth failure on a CLOSED TREE 2013-09-23 13:23:28 -07:00
Georg Fritzsche
03d8ed1fa7 Bug 790483 - click-to-play plugins fail to show placeholder after resizing. r=jaws 2013-09-17 23:23:05 +02:00
Jared Wein
c38987fb83 Bug 916276 - Remove dead click-to-play code. r=gfritzsche 2013-09-17 11:36:24 -04:00
Neil Rashbrook
b0020bfe3f Bug 914609 Consistently use plugin placeholder anonymous element anonids r=jaws
--HG--
extra : rebase_source : 97d098dfb89a05bb23fbd0eb2bf925fb46fbf642
2013-09-11 08:31:36 +01:00
Benjamin Smedberg
1fb8dff6ba Bug 902075 - Add telemetry for plugin click-to-activate doorhanger UI, r=vladan 2013-09-04 16:07:54 +02:00
Benjamin Smedberg
15f30eed45 Bug 888510 - In-content theming fixup for the new plugin click-to-activate. Remove the "lightweight" transparent click-to-play theming and make the normal styling plain grey. Switch from a CSS gradient to an image gradient because of performance issues. Highlight the "check for updates" button for outdated plugins. Icons by shorlander and lco, ui-review=lco r=jaws
--HG--
rename : toolkit/themes/osx/mozapps/plugins/contentPluginCrashed.png => toolkit/themes/shared/plugins/contentPluginCrashed.png
rename : toolkit/themes/osx/mozapps/plugins/contentPluginDownload.png => toolkit/themes/shared/plugins/contentPluginDownload.png
rename : toolkit/themes/osx/mozapps/plugins/contentPluginMissing.png => toolkit/themes/shared/plugins/contentPluginMissing.png
rename : toolkit/themes/windows/mozapps/plugins/pluginProblem.css => toolkit/themes/shared/plugins/pluginProblem.css
2013-07-26 09:30:27 -04:00
Georg Fritzsche
41e9620b64 Bug 887773 - Make plugin doorhanger work for data URLs & fixup permission usage. r=gavin 2013-07-03 15:01:06 +02:00
Benjamin Smedberg
79534d3c5a Bug 888292 - De-emphasize the plugin icon in the address bar when it doesn't need to catch the user's attention. With this change, the only time the icon will be "alert blue" is when a plugin is click-to-activate and it's too small to show the overlay inline in the page. Icons provided by shorlander. ui-review=lco r=jaws
--HG--
extra : rebase_source : 29f8c8ad4fd0234f1d2bf14451416ac7f744c6fb
2013-07-19 10:02:48 -04:00
Benjamin Smedberg
c416701cd3 Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
--HG--
extra : rebase_source : a60ae3259579ea63d51921dc3c70836da2d7ab3a
2013-07-19 10:02:48 -04:00
Benjamin Smedberg
a309313cb4 Bug 888908 - When the location bar is missing, don't auto-popup the plugin notification (ever). It will still pop up when clicking the in-page UI. And Australis will make this code moot anyway, r=jaws
--HG--
extra : rebase_source : 71a035bf35cd8bb7910d54c34df073c3daf654e7
2013-07-19 10:02:47 -04:00
Dão Gottwald
99baa25712 Bug 887167 - Undo global-scope pollution from browser-plugins.js. r=jaws
--HG--
extra : rebase_source : 45aa63c4fa5ae7ed65211ad294882f33cad449d5
2013-06-26 15:56:29 +02:00
Benjamin Smedberg
45a6cc401e Bug 880735 part F - Remove extra functions, strings, and styles which are no longer needed, r=jaws 2013-06-24 08:51:07 -04:00
Benjamin Smedberg
5e06298e31 Bug 880735 part D - New doorhanger frontend code. Removes all logic which shows the plugin doorhanger automatically, including on scripting. Always show the doorhanger when there is a plugin present on the page, even if that plugin is currently enabled. Make the "always" choices clear to the user. r=jaws 2013-06-24 08:51:07 -04:00
Cameron McCormack
1ea1aacb3c Bug 872838 - Fix some JS strict warnings on startup. r=gavin 2013-05-16 11:11:29 +10:00
Christian Sonne
49119d12db Bug 870112 - Migrate plugins.hide_infobar_for_missing_plugin to plugins.notifyMissingFlash r=dolske 2013-05-08 17:20:20 -07:00
Christian Sonne ext:(%2C%20Justin%20Dolske%20%3Cdolske%40mozilla.com%3E)
d1969f91c7 Bug 839206 - Replace plugin installation notification bar with door hanger r=dolske
--HG--
extra : rebase_source : 20a6d7a32805772e9435ec874c049481a863a749
2013-05-03 13:44:12 -07:00
David Keeler
d4afdb0849 bug 853615 - unregister/reregister click handlers for CTP plugins on pageshow r=jaws 2013-04-19 12:31:40 -07:00
David Keeler
a1a41aefd4 bug 832481 - require doorhanger to activate vulnerable click-to-play plugins r=jaws 2013-03-08 15:51:34 -08:00
Justin Dolske
92d87a4405 Bug 850925 - Remove front-end UI for unused npapi-carbon-event-model-failure plugin error. r=bsmedberg 2013-03-15 15:55:24 -07:00
Drew Willcoxon
5f349eba4b Bug 648675 - Allow comments and URL opt-in in content/plugin crash UI. r=dolske,ted 2013-02-14 15:57:50 -08:00
Yury Delendik
0d6cb92088 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Benjamin Smedberg
757b5fdb9e Bug 831921 - Make the plugin UI less broken-looking for all plugins except for crashed plugins, including visual tweaks by shorlander. r=jaws 2013-02-06 15:11:36 -05:00
Jared Wein
f1053c34ff Bug 831365 - Always show the click-to-play doorhanger when the Navigation Toolbar is collapsed. r=gavin 2013-01-24 14:39:04 -05:00
Jared Wein
bd7ce576d2 Bug 774315 - Close button and context menu to hide click-to-play plugin instances. Portions of the patch contributed by David Keeler. r=felipe 2012-07-17 13:45:59 -07:00
David Keeler
68a8a05c74 bug 809846 - CTP: activate dynamically added plugins of the same type when using popup notification r=jaws
--HG--
rename : browser/base/content/test/plugin_bug743421.html => browser/base/content/test/plugin_add_dynamically.html
2013-01-11 16:25:02 -08:00
David Keeler
ff24715913 bug 821170 - expose a reshow method in PopupNotifications and use it r=jaws 2013-01-07 16:30:35 -08:00
David Keeler
df5293530a bug 820303 - scripted click-to-play plugins: handle deny permission r=jaws 2013-01-03 11:31:04 -08:00
Dão Gottwald
2931385a95 Bug 822845 - Use 'this' rather than 'self' in gPluginHandler.handleEvent. r=jaws 2012-12-19 19:39:45 +01:00
David Keeler
dad6614b55 bug 820497 - update popup notification for click-to-play more often r=jaws 2012-12-17 16:12:14 -08:00
Dão Gottwald
566a001620 Bug 822435 - Undo global-scope pollution from browser-plugins.js. r=jaws 2012-12-18 01:05:00 +01:00
Jared Wein
5e571f7d7b Bug 819992 - Only open the click-to-play doorhanger once per window per session. Use the red blocked plugin icon and flash the icon to bring extra attention. r=dao 2012-12-11 22:41:32 -05:00
David Keeler
a78faf8682 bug 810082 - open popup when invisible click-to-play plugin is scripted r=jaws 2012-12-05 15:36:39 -08:00
David Keeler
eaf1372d11 bug 818118 - guard pluginHost.getPermissionStringForType calls r=jaws 2012-12-06 13:32:23 -08:00
David Keeler
b2d4529e8c bug 818009 - canActivate: only click-to-play-type plugins are valid r=jaws 2012-12-05 13:00:52 -08:00
David Keeler
b737ede83b bug 746374 - differentiate click-to-play plugin permissions by type and vulnerability status r=jaws r=joshmoz 2012-11-27 10:09:10 -08:00