Commit Graph

49 Commits

Author SHA1 Message Date
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
David Keeler
cbec1edc43 bug 812562 - click-to-play: reshow notification for blocklisted plugins r=jaws 2012-11-20 16:58:22 -08:00
Jonathan Kew
77c034ad6e bug 814383 - fix javascript strict-mode warnings in browser.js. r=gavin 2012-11-26 16:18:25 +00:00
John Schoenick
e0389ffc53 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
9a40337d31 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
4317aeb5ef 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
d5f26b9bfc Bug 797959 - Click-to-play: change entity name along with string change. r=jaws 2012-10-04 11:20:16 -07:00
Jesse Ruderman
cdc0366410 Bug 797677 - getPluginInfo indexes into navigator.mimeTypes unsafely. r=keelerd,jaws 2012-10-04 22:17:27 -07:00
David Keeler
7af9670781 Bug 793338 - Implement blocklist click-to-play plugin notification popup UI. r=jaws 2012-09-29 19:32:34 -07:00
David Keeler
14ceb60a79 Bug 754472 - Implement multiple plugin click-to-play UI. r=jaws r=margaret r=dietrich 2012-08-28 09:23:10 -07:00
Yury
f71d14e548 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Benjamin Smedberg
b8603666c1 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
eab7829dd5 Back out b3c861bd1e2f (bug 785190) because it depends on bug 776208 on a CLOSED TREE 2012-08-24 15:34:50 -07:00
Yury
be5c603dc4 Bug 785190 - Add canActivatePlugin to reshowClickToPlayNotification. r=jaws 2012-08-24 16:18:17 -04:00
Yury
b3e51b2f82 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Benjamin Smedberg
583084b3a2 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
51f5276dad 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
dfa36dbeb5 bug 779662 - click-to-play overlay click handler too restrictive. r=jaws 2012-08-06 11:33:52 -07:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Justin Dolske
d300e5a146 Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Plugins). r=gavin 2012-05-31 23:26:00 -07:00