Commit Graph

49 Commits

Author SHA1 Message Date
Benjamin Smedberg
4780e40920 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
fa93068bcf Bug 887773 - Make plugin doorhanger work for data URLs & fixup permission usage. r=gavin 2013-07-03 15:01:06 +02:00
Benjamin Smedberg
27f7f96417 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
dd57b47a65 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
67d9f93f74 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
844b028584 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
f6df2c3cd7 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
1ba75d1044 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
07e7e4d59e Bug 872838 - Fix some JS strict warnings on startup. r=gavin 2013-05-16 11:11:29 +10:00
Christian Sonne
9e6a426567 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)
c3368424ee 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
683493c55b bug 853615 - unregister/reregister click handlers for CTP plugins on pageshow r=jaws 2013-04-19 12:31:40 -07:00
David Keeler
e0a4dddbf0 bug 832481 - require doorhanger to activate vulnerable click-to-play plugins r=jaws 2013-03-08 15:51:34 -08:00
Justin Dolske
222f62986a 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
9815eb95b6 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
92e8ade290 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Benjamin Smedberg
4fbf07b8f7 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
6aa4fe37ad 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
ad57839787 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
3f2b1badb9 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
7589714738 bug 821170 - expose a reshow method in PopupNotifications and use it r=jaws 2013-01-07 16:30:35 -08:00
David Keeler
3515460f88 bug 820303 - scripted click-to-play plugins: handle deny permission r=jaws 2013-01-03 11:31:04 -08:00
Dão Gottwald
6ef9a6d588 Bug 822845 - Use 'this' rather than 'self' in gPluginHandler.handleEvent. r=jaws 2012-12-19 19:39:45 +01:00
David Keeler
b884265122 bug 820497 - update popup notification for click-to-play more often r=jaws 2012-12-17 16:12:14 -08:00
Dão Gottwald
5007cf1cb0 Bug 822435 - Undo global-scope pollution from browser-plugins.js. r=jaws 2012-12-18 01:05:00 +01:00
Jared Wein
7a46f5d112 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
c0e29b39e3 bug 810082 - open popup when invisible click-to-play plugin is scripted r=jaws 2012-12-05 15:36:39 -08:00
David Keeler
7650b53bfe bug 818118 - guard pluginHost.getPermissionStringForType calls r=jaws 2012-12-06 13:32:23 -08:00
David Keeler
de816c3f77 bug 818009 - canActivate: only click-to-play-type plugins are valid r=jaws 2012-12-05 13:00:52 -08:00
David Keeler
220bb08031 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
David Keeler
5afee47d31 bug 812562 - click-to-play: reshow notification for blocklisted plugins r=jaws 2012-11-20 16:58:22 -08:00
Jonathan Kew
ac148ed81c bug 814383 - fix javascript strict-mode warnings in browser.js. r=gavin 2012-11-26 16:18:25 +00:00
John Schoenick
5aeb6d2785 Bug 800018 - Part 2 - Move plugin fallback event handling entirely to the front end. r=jaws 2012-11-19 11:38:04 -08:00
Georg Fritzsche
73fb7845da Bug 787619 - Prevent clicks on the click-to-play placeholder triggering other handlers. r=jaws 2012-10-19 15:11:04 +02:00
Jared Wein
65f013ea29 Bug 799396 - Use Map instead of object literal in browser-plugins.js for hash tables. r=dao 2012-10-09 23:40:53 -07:00
David Keeler
58d3575f7e Bug 797959 - Click-to-play: change entity name along with string change. r=jaws 2012-10-04 11:20:16 -07:00
Jesse Ruderman
51af2c917c Bug 797677 - getPluginInfo indexes into navigator.mimeTypes unsafely. r=keelerd,jaws 2012-10-04 22:17:27 -07:00
David Keeler
78d9c0af12 Bug 793338 - Implement blocklist click-to-play plugin notification popup UI. r=jaws 2012-09-29 19:32:34 -07:00
David Keeler
11a130374d Bug 754472 - Implement multiple plugin click-to-play UI. r=jaws r=margaret r=dietrich 2012-08-28 09:23:10 -07:00
Yury
390e1cb5ac Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Benjamin Smedberg
a844435618 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

CLOSED TREE
2012-08-24 13:08:15 -04:00
Matt Brubeck
c15b33e4c6 Back out b3c861bd1e2f (bug 785190) because it depends on bug 776208 on a CLOSED TREE 2012-08-24 15:34:50 -07:00
Yury
0a2bbc2d50 Bug 785190 - Add canActivatePlugin to reshowClickToPlayNotification. r=jaws 2012-08-24 16:18:17 -04:00
Yury
820281ab5d Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Benjamin Smedberg
d8f80b82e5 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Yury
9044c64c6a Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
David Keeler
cf340c498d bug 779662 - click-to-play overlay click handler too restrictive. r=jaws 2012-08-06 11:33:52 -07:00
David Keeler
679f55960f bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Justin Dolske
3cae9c664f Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Plugins). r=gavin 2012-05-31 23:26:00 -07:00