Commit Graph

108 Commits

Author SHA1 Message Date
Justin Dolske
bc8d2f36a9 Bug 836415 - Kill PFS. r=bsmedberg 2014-09-18 10:01:23 -07:00
Mike Conley
8f700fd60f Bug 899347 - [e10s] Make click-to-play work with e10s. Originally written by mbrubeck. r=gfritzsche,felipe,Unfocused.
We now use message passing and content scripts in order to implement click-to-play. This allows
us to use click-to-play in e10s windows.

--HG--
extra : rebase_source : 6239a4b49e0af89800c5618e4589f8aef03f58d4
2014-09-17 16:06:58 -04:00
Ryan VanderMeulen
891ff40ca8 No bug - Revert browser-plugins.js to revision 687318d464a5. a=me 2014-09-15 23:20:24 -04:00
Shu-yu Guo
91e6a020b9 Bug 1001090 - Followup: fix merge error in browser-plugins.js on a CLOSED TREE. r=bustage 2014-09-15 18:23:03 -07:00
Wes Kocher
332233753a Merge m-c to inbound a=merge 2014-09-15 16:41:45 -07:00
Shu-yu Guo
285e8aa396 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
Mike Conley
ba0dd9b993 Bug 899347 - [e10s] Make click-to-play work with e10s. Originally written by mbrubeck. r=gfritzsche,felipe,Unfocused.
We now use message passing and content scripts in order to implement click-to-play. This allows
us to use click-to-play in e10s windows.

--HG--
extra : rebase_source : 719afe669c638ba4883f76f18aee38df6b60b4ad
2014-09-15 13:33:50 -04:00
Birunthan Mohanathas
9adc4c91be Bug 1054584 - Fix "statusDiv is null" error in browser-plugins.js and add test. r=jaws 2014-08-25 12:17:37 -07:00
Birunthan Mohanathas
b809847eaf Bug 1024672 - Part 3: Remove CrashManager.addSubmission in favor of CrashManager.addSubmission{Attempt,Result}. r=gps 2014-08-21 15:43:50 -07:00
Birunthan Mohanathas
65c41c1b3f Bug 972237 - Fix missing plugin overlay with some zoom levels and add test. r=mikedeboer 2014-07-31 12:54:21 -07:00
Georg Fritzsche
ea6930f8b5 Bug 1045500 - Skip processing the plugin name for plugin crashes in the front-end for GMP plugins. r=ttaubert 2014-07-29 16:46:16 +02:00
Georg Fritzsche
9caa9394be Bug 1043531 - Let frontend deal properly with PluginCrashed without a browser dump id. r=ttaubert 2014-07-28 16:17:00 +02:00
Felipe Gomes
c8009c6282 Bug 1009760 - Support displaying of crash notification for GMP plugins. r=gfritzsche 2014-07-18 15:11:53 -03:00
Birunthan Mohanathas
113966ac22 Bug 994708 - Part 2: Record submission event for plugin crashes. r=gps 2014-07-09 08:14:42 -07:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Masatoshi Kimura
017a04a06a Bug 981237 - Remove DataContainerEvent dependency from Plugin crash handler. r=jst,johns 2014-03-21 13:00:00 +09:00
Georg Fritzsche
7f5ffbaae4 Bug 977543 - CTP overlay is not displayed for iframes/embedded videos. r=jaws 2014-02-28 12:24:13 +01:00
John Schoenick
940c023e49 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-25 13:30:03 -08:00
Anup
c9a4b4b471 Bug 921730 - "The plugin is disabled" placeholder cannot be closed. r=jaws 2014-02-25 13:57:42 -05:00
Willian Gustavo Veiga
9c2d6967fc Bug 922107 - Add pref to hide the "missing plugin" notifications. r=jaws 2014-02-25 11:53:02 +01:00
Georg Fritzsche
dede09f072 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
a5dcf6f444 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
d0fbe23ec1 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-20 14:38:02 -08:00
Georg Fritzsche
9efded2c0a Bug 896418 - Improve naming for CtP popupNotification centerActions. r=jaws 2014-02-17 14:41:10 +01:00
Bhagya
b827c5367b Bug 957922 - aBrowser is null in _setPluginNotificationIcon. r=jaws 2014-01-27 15:34:35 -05:00
Benjamin Smedberg
af1bc7b134 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
b68e9f44c2 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
6c13795e06 Bug 943383 - Fix state not being remembered in click-to-play doorhanger. r=jaws 2013-12-09 21:48:54 +01:00
Georg Fritzsche
cf43016ef4 Bug 941714 - Fix plugin notification bar not disappearing after activating plugins. r=jaws 2013-11-22 01:14:38 +01:00
Benjamin Smedberg
19ec6be0d1 Bug 932854 - trunk-only patch to use new strings for the buttons, r=jaws 2013-11-19 08:17:04 -05:00
Benjamin Smedberg
06f220e01b 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
d90d2d0d49 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
8e5dfecd93 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
ea88e835c9 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
3eff95c503 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
8b23acf192 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
dfb62f7e3a 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
0842621211 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
877b9aebcd Bug 933935 - Strip parentheticals when making nice plugin names, r=dolske 2013-11-04 09:59:38 -05:00
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