Commit Graph

70 Commits

Author SHA1 Message Date
Benjamin Smedberg
d5be044285 Bug 933935 - Strip parentheticals when making nice plugin names, r=dolske 2013-11-04 09:59:38 -05:00
Benjamin Smedberg
dde912d85a 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
818352c983 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
5f1a207953 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
1e74035881 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
1892f0ea38 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
30d46c60eb Fixup for bug 927174 - use the preexisting app.support.baseURL pref instead of a custom one 2013-10-21 10:33:49 -04:00
Georg Fritzsche
532b5d35a5 Bug 853694 - Cannot send crash reports for click-to-play plugins. r=jaws 2013-10-19 17:15:18 +02:00
Carsten "Tomcat" Book
e2af0ec682 Merge mozilla-central to mozilla-inbound 2013-10-18 14:13:10 +02:00
Benjamin Smedberg
dbaaddbde6 Bug 927174 - Add a "More Info..." link to the plugin click-to-activate panel which links to SUMO, r=jaws 2013-10-16 16:35:40 -04:00
Georg Fritzsche
f2ef738986 Bug 922349 - Removing iframe with plugin content breaks doorhanger. r=gavin 2013-10-16 00:42:48 +02:00
Georg Fritzsche
bd035eaa4f Bug 920927 - Fix plugin overlay handling. r=neil 2013-10-15 10:35:49 +02:00
Carsten "Tomcat" Book
bdfb837d76 Merge m-c to mozilla-inbound 2013-09-26 15:46:38 +02:00
Georg Fritzsche
af2f6ba4de Bug 916542 - Guard against non-plugin elements in DOMWindowUtils.plugins. r=jaws 2013-09-26 10:12:51 +02:00
Dão Gottwald
ced4083922 Bug 919493 - browser-plugins.js should call openUILinkIn rather than openURL. r=gavin 2013-09-26 11:17:32 +02:00
Georg Fritzsche
1c305db1b5 Bug 790483 - click-to-play plugins fail to show placeholder after resizing. r=jaws 2013-09-17 23:23:05 +02:00
Wes Kocher
c8424650b8 Backed out changeset 8677a18553e7 (bug 790483) for m-oth failure on a CLOSED TREE 2013-09-23 13:23:28 -07:00
Georg Fritzsche
80b6463437 Bug 790483 - click-to-play plugins fail to show placeholder after resizing. r=jaws 2013-09-17 23:23:05 +02:00
Jared Wein
ccc9a5ee4d Bug 916276 - Remove dead click-to-play code. r=gfritzsche 2013-09-17 11:36:24 -04:00
Neil Rashbrook
702fcbcefc Bug 914609 Consistently use plugin placeholder anonymous element anonids r=jaws 2013-09-11 08:31:36 +01:00
Benjamin Smedberg
9906615ea8 Bug 902075 - Add telemetry for plugin click-to-activate doorhanger UI, r=vladan 2013-09-04 16:07:54 +02:00
Benjamin Smedberg
f1c0c3bc61 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 2013-07-26 09:30:27 -04:00
Georg Fritzsche
ba550351ce Bug 887773 - Make plugin doorhanger work for data URLs & fixup permission usage. r=gavin 2013-07-03 15:01:06 +02:00
Benjamin Smedberg
1372695b59 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 2013-07-19 10:02:48 -04:00
Benjamin Smedberg
9e9a9f2f15 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 2013-07-19 10:02:48 -04:00
Benjamin Smedberg
20ebf812ef 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 2013-07-19 10:02:47 -04:00
Dão Gottwald
d29cff8eea Bug 887167 - Undo global-scope pollution from browser-plugins.js. r=jaws 2013-06-26 15:56:29 +02:00
Benjamin Smedberg
7cf595ba2b 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
98dd61d97b 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
046dd99b0d Bug 872838 - Fix some JS strict warnings on startup. r=gavin 2013-05-16 11:11:29 +10:00
Christian Sonne
ed93f39533 Bug 870112 - Migrate plugins.hide_infobar_for_missing_plugin to plugins.notifyMissingFlash r=dolske 2013-05-08 17:20:20 -07:00
Christian Sonne
14b980a23c Bug 839206 - Replace plugin installation notification bar with door hanger r=dolske 2013-05-03 13:44:12 -07:00
David Keeler
702d012731 bug 853615 - unregister/reregister click handlers for CTP plugins on pageshow r=jaws 2013-04-19 12:31:40 -07:00
David Keeler
383e8658fe bug 832481 - require doorhanger to activate vulnerable click-to-play plugins r=jaws 2013-03-08 15:51:34 -08:00
Justin Dolske
bd3ba38b15 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
c3c712115d 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
0c75a13b9f Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Benjamin Smedberg
171f8b434c 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
3ab0adad0b 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
146616b917 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
c75b14a18f bug 809846 - CTP: activate dynamically added plugins of the same type when using popup notification r=jaws 2013-01-11 16:25:02 -08:00
David Keeler
0dc791d0a2 bug 821170 - expose a reshow method in PopupNotifications and use it r=jaws 2013-01-07 16:30:35 -08:00
David Keeler
97ccc574d8 bug 820303 - scripted click-to-play plugins: handle deny permission r=jaws 2013-01-03 11:31:04 -08:00
Dão Gottwald
30037fcf71 Bug 822845 - Use 'this' rather than 'self' in gPluginHandler.handleEvent. r=jaws 2012-12-19 19:39:45 +01:00
David Keeler
3c1abdb7dc bug 820497 - update popup notification for click-to-play more often r=jaws 2012-12-17 16:12:14 -08:00
Dão Gottwald
f2d54a1873 Bug 822435 - Undo global-scope pollution from browser-plugins.js. r=jaws 2012-12-18 01:05:00 +01:00
Jared Wein
98995818cc 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
ec4d48c7a5 bug 810082 - open popup when invisible click-to-play plugin is scripted r=jaws 2012-12-05 15:36:39 -08:00
David Keeler
048e05df61 bug 818118 - guard pluginHost.getPermissionStringForType calls r=jaws 2012-12-06 13:32:23 -08:00
David Keeler
b576a04f75 bug 818009 - canActivate: only click-to-play-type plugins are valid r=jaws 2012-12-05 13:00:52 -08:00