Commit graph

141 commits

Author SHA1 Message Date
John Schoenick
a9f1a68845 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-25 13:30:03 -08:00
Anup
bcb1f667e9 Bug 921730 - "The plugin is disabled" placeholder cannot be closed. r=jaws 2014-02-25 13:57:42 -05:00
Willian Gustavo Veiga
a2a44aa9fe Bug 922107 - Add pref to hide the "missing plugin" notifications. r=jaws 2014-02-25 11:53:02 +01:00
Georg Fritzsche
0f93103c15 Bug 968762 - Plugin overlays are not displayed if plugin element is not fully in scroll view. r=jaws 2014-02-24 17:45:48 +01:00
Wes Kocher
6246833818 Backed out 7 changesets (bug 406541, bug 738396, bug 852315, bug 971273, bug 971279) for various java/plugin-related failures on a CLOSED TREE
Backed out changeset 13cc8a7ee925 (bug 852315)
Backed out changeset 23dfc36f99d4 (bug 852315)
Backed out changeset fb56bd7c0feb (bug 406541)
Backed out changeset b24d1437c6f3 (bug 738396)
Backed out changeset 5028e1290b45 (bug 971279)
Backed out changeset 34ecdab0cfc2 (bug 971279)
Backed out changeset 95b4aa01923d (bug 971273)
2014-02-20 16:19:30 -08:00
John Schoenick
a47b517a65 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-20 14:38:02 -08:00
Georg Fritzsche
aaa382a629 Bug 896418 - Improve naming for CtP popupNotification centerActions. r=jaws 2014-02-17 14:41:10 +01:00
Bhagya
153485720b Bug 957922 - aBrowser is null in _setPluginNotificationIcon. r=jaws 2014-01-27 15:34:35 -05:00
Benjamin Smedberg
1c19ce0e16 Bug 932832 - click-to-play not discoverable for Google Hangouts video plugin because it is positioned at -40000,-40000. Check for positioning and treat this as a hidden plugin, r=jaws 2013-12-17 10:53:33 -05:00
Benjamin Smedberg
9bf97ff155 Bug 853973 - If a plugin is overlayed by other content on the page, then treat it as a hidden plugin: hide the overlay and present the infobar for click-to-play or crashed plugins, r=jaws 2013-12-17 10:53:32 -05:00
Georg Fritzsche
749790b6ba Bug 943383 - Fix state not being remembered in click-to-play doorhanger. r=jaws 2013-12-09 21:48:54 +01:00
Georg Fritzsche
55951c4497 Bug 941714 - Fix plugin notification bar not disappearing after activating plugins. r=jaws 2013-11-22 01:14:38 +01:00
Benjamin Smedberg
7791df60f8 Bug 932854 - trunk-only patch to use new strings for the buttons, r=jaws 2013-11-19 08:17:04 -05:00
Benjamin Smedberg
49b612031e Bug 932854 telemetry - add telemetry for showing the plugin infobar and its two buttons, r=jaws 2013-11-19 08:17:03 -05:00
Benjamin Smedberg
82b284d489 Bug 932854 - when a site uses a hidden plugin, show a notification bar to aid discoverability. This patch, suitable for trunk and branch, uses existing strings which are not ideal. r=jaws 2013-11-11 16:11:12 -05:00
Ryan VanderMeulen
e8f1f60536 Backed out changesets 2e36a398a61f, fd2aafdc34d0, and 8f2cd9cf4d65 (bug 932854) for Windows mochitest-other crashes on a CLOSED TREE. 2013-11-12 16:24:51 -05:00
Benjamin Smedberg
d64cb22d1e Bug 883404 (UI portion) - Disable running plugins on the current page when the user chooses "Block", r=jaws 2013-11-11 16:11:12 -05:00
Benjamin Smedberg
b115dcb7c6 Bug 932854 - when a site uses a hidden plugin, show a notification bar to aid discoverability. This patch, suitable for trunk and branch, uses existing strings which are not ideal. r=jaws 2013-11-11 16:11:12 -05:00
Benjamin Smedberg
1f65243e26 Bug 934503 - Activated hidden plugins should not show the hidden plugin notification icon, r=jaws
--HG--
extra : rebase_source : bdae17aa44e5fbe60d724b3ad98f679da9c851f1
2013-11-05 16:43:53 -05:00
Wes Kocher
ac3a2df976 Backed out 2 changesets (bug 934503) for browser-chrome bustage
Backed out changeset f631148645b3 (bug 934503)
Backed out changeset a8131d677d9b (bug 934503)
2013-11-04 16:22:03 -08:00
Benjamin Smedberg
f48ca878c0 Bug 934503 - Activated hidden plugins should not show the hidden plugin notification icon, r=jaws 2013-11-04 16:47:29 -05:00
Benjamin Smedberg
cd7a087fe2 Bug 933935 - Strip parentheticals when making nice plugin names, r=dolske 2013-11-04 09:59:38 -05:00
Benjamin Smedberg
edcef1c52d 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
759be3c816 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
2ee5dadfec 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
6fb5b50080 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
f1747357ee 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
c48a40e0eb 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
9694719958 Bug 853694 - Cannot send crash reports for click-to-play plugins. r=jaws 2013-10-19 17:15:18 +02:00
Carsten "Tomcat" Book
f1d2ae53bc Merge mozilla-central to mozilla-inbound 2013-10-18 14:13:10 +02:00
Benjamin Smedberg
002450028b 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
98cb2adbcf Bug 922349 - Removing iframe with plugin content breaks doorhanger. r=gavin 2013-10-16 00:42:48 +02:00
Georg Fritzsche
19e83f994b Bug 920927 - Fix plugin overlay handling. r=neil 2013-10-15 10:35:49 +02:00
Carsten "Tomcat" Book
835cb2615f Merge m-c to mozilla-inbound 2013-09-26 15:46:38 +02:00
Georg Fritzsche
2a7fa06571 Bug 916542 - Guard against non-plugin elements in DOMWindowUtils.plugins. r=jaws 2013-09-26 10:12:51 +02:00
Dão Gottwald
e22341148e Bug 919493 - browser-plugins.js should call openUILinkIn rather than openURL. r=gavin 2013-09-26 11:17:32 +02:00
Georg Fritzsche
4b9a76f160 Bug 790483 - click-to-play plugins fail to show placeholder after resizing. r=jaws 2013-09-17 23:23:05 +02:00
Wes Kocher
bd222eeaf9 Backed out changeset 8677a18553e7 (bug 790483) for m-oth failure on a CLOSED TREE 2013-09-23 13:23:28 -07:00
Georg Fritzsche
3a6d8a93b7 Bug 790483 - click-to-play plugins fail to show placeholder after resizing. r=jaws 2013-09-17 23:23:05 +02:00
Jared Wein
cb78860bf6 Bug 916276 - Remove dead click-to-play code. r=gfritzsche 2013-09-17 11:36:24 -04:00
Neil Rashbrook
4d616c626b 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
6de8361784 Bug 902075 - Add telemetry for plugin click-to-activate doorhanger UI, r=vladan 2013-09-04 16:07:54 +02:00
Benjamin Smedberg
48a892ea8e 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
4557a291fb Bug 887773 - Make plugin doorhanger work for data URLs & fixup permission usage. r=gavin 2013-07-03 15:01:06 +02:00
Benjamin Smedberg
c5d1e4d1ad 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
5bc7d39cbd 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
3660124331 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
f5ddb637cd 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
2a294d7e77 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
b02c781c12 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
b62e6992aa Bug 872838 - Fix some JS strict warnings on startup. r=gavin 2013-05-16 11:11:29 +10:00
Christian Sonne
66a299bc03 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)
9a4ea6d3e9 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
9fa5875fb2 bug 853615 - unregister/reregister click handlers for CTP plugins on pageshow r=jaws 2013-04-19 12:31:40 -07:00
David Keeler
e515e8c98c bug 832481 - require doorhanger to activate vulnerable click-to-play plugins r=jaws 2013-03-08 15:51:34 -08:00
Justin Dolske
063f3db769 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
8715a08802 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
69a7ff37d4 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Benjamin Smedberg
7fd5eb80d5 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
2bc168b99d 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
5e5f30d4ae 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
7cf3a0e3d2 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
ddd6678cd1 bug 821170 - expose a reshow method in PopupNotifications and use it r=jaws 2013-01-07 16:30:35 -08:00
David Keeler
207c4dd3bd bug 820303 - scripted click-to-play plugins: handle deny permission r=jaws 2013-01-03 11:31:04 -08:00
Dão Gottwald
d87a6a4688 Bug 822845 - Use 'this' rather than 'self' in gPluginHandler.handleEvent. r=jaws 2012-12-19 19:39:45 +01:00
David Keeler
52d3900b30 bug 820497 - update popup notification for click-to-play more often r=jaws 2012-12-17 16:12:14 -08:00
Dão Gottwald
70f971fb0b Bug 822435 - Undo global-scope pollution from browser-plugins.js. r=jaws 2012-12-18 01:05:00 +01:00
Jared Wein
8e2e5f06a2 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
dac115dc1f bug 810082 - open popup when invisible click-to-play plugin is scripted r=jaws 2012-12-05 15:36:39 -08:00
David Keeler
624f33417f bug 818118 - guard pluginHost.getPermissionStringForType calls r=jaws 2012-12-06 13:32:23 -08:00
David Keeler
233b384467 bug 818009 - canActivate: only click-to-play-type plugins are valid r=jaws 2012-12-05 13:00:52 -08:00
David Keeler
df08f8d094 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
6d96cbc37a bug 812562 - click-to-play: reshow notification for blocklisted plugins r=jaws 2012-11-20 16:58:22 -08:00
Jonathan Kew
9bbf39372f bug 814383 - fix javascript strict-mode warnings in browser.js. r=gavin 2012-11-26 16:18:25 +00:00
John Schoenick
a1c0496fa5 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
92d8ff57a2 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
4766ff4681 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
22f368b019 Bug 797959 - Click-to-play: change entity name along with string change. r=jaws 2012-10-04 11:20:16 -07:00
Jesse Ruderman
a62ed27c94 Bug 797677 - getPluginInfo indexes into navigator.mimeTypes unsafely. r=keelerd,jaws 2012-10-04 22:17:27 -07:00
David Keeler
628e91edee Bug 793338 - Implement blocklist click-to-play plugin notification popup UI. r=jaws 2012-09-29 19:32:34 -07:00
David Keeler
7bac2af2ad Bug 754472 - Implement multiple plugin click-to-play UI. r=jaws r=margaret r=dietrich 2012-08-28 09:23:10 -07:00
Yury
4d8df099e9 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Benjamin Smedberg
75b52bafcd 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
9c4bea693c Back out b3c861bd1e2f (bug 785190) because it depends on bug 776208 on a CLOSED TREE 2012-08-24 15:34:50 -07:00
Yury
e1a17e7c80 Bug 785190 - Add canActivatePlugin to reshowClickToPlayNotification. r=jaws 2012-08-24 16:18:17 -04:00
Yury
66d7f566fa Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Benjamin Smedberg
a859c5ef74 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
a1e1a451e4 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
2277881438 bug 779662 - click-to-play overlay click handler too restrictive. r=jaws 2012-08-06 11:33:52 -07:00
David Keeler
6f37861531 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Justin Dolske
d9e14521d3 Bug 758812 - Break up browser.js into smaller pieces, Phase 1 (Plugins). r=gavin 2012-05-31 23:26:00 -07:00