Commit Graph

213 Commits

Author SHA1 Message Date
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
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
Raymond Lee
ec52aaa08f Bug 846635 - Use asynchronous getCharsetForURI in getShortcutOrURI. r=mano 2013-06-25 09:26:22 +08:00
Dão Gottwald
f40dfee213 Backed out changeset 7965d384123c 2013-07-01 11:33:28 +02:00
Gijs Kruitbosch
261e4c059f Bug 888746 - Fix JS error on toolbarless windows, r=MattN 2013-06-30 22:41:54 +02:00
Benjamin Smedberg
5b3a52ade3 Bug 886940 - single outdated plugin UI uses the wrong string, r=captainobvious 2013-06-28 15:42:04 -07:00
Dão Gottwald
d77a88ea4f Bug 887165 - Remove the unused primary-button class. r=bsmedberg
--HG--
extra : rebase_source : cf476ec6c232f9f754201356ea8dab413752730f
2013-06-26 15:56:12 +02:00
Benjamin Smedberg
4d2e11188a Bug 880735 part S - Basic styling so that this can land - add classes to the binding for styling hooks and fix space handling. Make the buttons fill the space, limit the doorhanger size, and add whitespace/separators for the multi-plugin UI, r=jaws 2013-06-24 08:51:08 -04:00
Benjamin Smedberg
d0ea1dfb67 Bug 880735 test fixups:
* Add a test-only setter to the center-item XBL binding
* add a head.js function to remove plugin permissions for use in cleanup functions
* browser_pluginnotification.js - lots of fixes for the core feature tests
* Alter test_bug751809 not to assume that clicking the page overlay will directly activate the plugin
* Alter browser_CTP_plugins.js because disabled plugins now do show up in the plugin doorhanger
* remove browser_CTPScriptPlugin.js and supporting files because we no longer auto-pop based on scripting
* fix browser_CTP_drag_drop.js so that active plugins still show the doorhanger icon, and other fixup
* fix browser_bug743421.js to expect the doorhanger all the time and activate it correctly
* fix browser_bug752516.js to check for doorhanger activation instead of plugin activation
* remove browser_bug818009.js and supporting files because they are testing something that no longer exists
* alter browser_bug820497.js so that it shows the popup notification before checking .centerActions, since we populate that data lazily now
* browser_plugins_added_dynamically.js: remove the "activate all" tests which are no longer relevant and fix the rest to match the new doorhanger structure.
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
Shane Caraveo
0e150f0565 bug 855389 fix social toolbarbutton structure to work with themes/etc, r=felipe 2013-04-07 23:53:41 -07:00
Phil Ringnalda
49a6aa6c14 Back out 314ce3068d94 (bug 855389) for browser-chrome bustage 2013-04-07 22:59:33 -07:00
Shane Caraveo
fab5725594 bug 855389 fix social toolbarbutton structure to work with themes/etc, r=felipe 2013-04-07 20:58:50 -07:00
Ryan VanderMeulen
4b5747b46b Backed out changeset 6580ca3028de (bug 845546) for B2G xpcshell failures on a CLOSED TREE. 2013-03-27 13:01:46 -04:00
Jed Parsons
a81b79511e Bug 845546 - Port b2g identity implementation to desktop. r=benadida 2013-03-27 11:19:09 -04:00
Dão Gottwald
a0fdb58284 Bug 824443 - Put the geolocation prompt's "Learn More" link in <popupnotificationcontent> rather than extending the popup notification's binding. r=gavin 2012-12-25 01:08:13 +01:00
Ryan VanderMeulen
330cdf9118 Backed out changeset 36d18c504450 (bug 824443) for mochitest b-c orange. 2012-12-24 17:02:07 -05:00
Dão Gottwald
7bacc8172e Bug 824443 - Put the geolocation prompt's "Learn More" link in <popupnotificationcontent> rather than extending the popup notification's binding. r=gavin 2012-12-24 21:33:35 +01:00
Marco Bonardo
fd391c1a50 Bug 814264 - Restore the ability to call openUILink without an event parameter.
r=gavin
2012-11-27 17:06:17 +01:00
Theo Chevalier
ffcd89e382 Bug 741738 - Count impressions for each doorhanger notification type
r=mak
2012-10-11 11:48:33 +02: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
Jared Wein
f4352375ff Bug 794520 - Replace string.contains with string.endsWith in formatValue. r=dao 2012-09-26 10:14:56 -07:00
Yosy
fbc8b4825a Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
Benjamin Peterson
a5fc829344 Backed out changeset 3ca1f19e4c2a (bug 792968) for mochitest-oth failures 2012-09-23 12:25:39 -04:00
Yosy
6684ca9137 Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 16:48:23 +02:00
Jared Wein
4359e95c1e Bug 781588 - [Perf] Refactor formatValue to increase performance by 40%. r=felipe
Removed a couple of regular expressions from formatValue and replace them with simple string manipulation.

The property access of this.editor was taking 5% of the formatValue function. Switching it to a field removes this extra overhead.
2012-09-21 16:03:23 -07:00
Ryan VanderMeulen
71ae43be56 Backout 1b195e9c5f9d (bug 741738) due to mochitest failures. 2012-09-16 19:18:13 -04:00
Theo Chevalier
d135fa8444 Bug 741738 - Count impressions for each doorhanger notification type, r=mak 2012-09-16 23:38:57 +02:00
Theo Chevalier
d07eea05b5 Backed out changeset 52b90ba3a2c5 2012-09-16 23:13:13 +02:00
Theo Chevalier
3e01ab40f8 Bug 716643 - Sync promotion in add-on installed doorhanger, r=mak 2012-09-16 00:06:34 +02:00
Theo Chevalier
37b412855b Bug 741738 - Count impressions for each doorhanger notification type, r=mak 2012-09-16 00:06:31 +02:00
Theo Chevalier
9a034e4598 Backing out 107165:7bb5f1ebb833 and 107164:ee6470d54349 s/computers/devices 2012-09-15 23:59:33 +02:00
Theo Chevalier
29e6811f9e Bug 716643 - Sync promotion in add-on installed doorhanger, r=mak 2012-09-15 22:59:30 +02:00
Theo Chevalier
4a6e0b2c4c Bug 741738 - Count impressions for each doorhanger notification type, r=mak 2012-09-15 22:59:28 +02:00
Amod
38ada58ece Bug 783025 - Replace String.indexOf(...) != -1 with String.contains(...). r=dao 2012-09-08 22:58:23 +02:00
Ehsan Akhgari
a0adbfd4d0 Backed out changeset 9c6782197172 (bug 783025) because of test failures 2012-09-08 16:56:04 -04:00
Amod
36b8cd7b89 Bug 783025 - Replace String.indexOf(...) != -1 with String.contains(...). r=dao 2012-09-08 21:26:25 +02:00
Dão Gottwald
89045aecf0 Bug 787275 - Location bar tooltip shows shortened URL when full location bar address is not visible. r=Unfocused
--HG--
extra : rebase_source : 495475dd10208f2eca49bb327faac131d44a103c
2012-09-05 17:43:19 +02:00
Dão Gottwald
0a6a0c0268 Bug 783614 - Cutting a sub string from the location bar value can unexpectedly modify the value further. r=Unfocused 2012-08-21 09:56:59 +02:00
Matthew Noorenberghe
c667677715 Bug 764213 - Provisional desktop UI for website sign-in with Persona. r=dolske
--HG--
extra : rebase_source : 8785a377e88b11f59ec00d44b58e6c21fce576a7
2012-06-12 18:16:00 -07:00
Dão Gottwald
b3670e36af merge backout 2012-07-14 17:33:03 +02:00
Dão Gottwald
0221332df3 Backed out changeset 7a8975c9206b 2012-07-14 17:32:39 +02:00
Ehsan Akhgari
b6f4ebefe4 Bug 769881 - copyStringToClipboard Optional parameters should go at the end, also this will make it backward compatible for version bumped extensions; r=roc 2012-07-01 14:18:23 -04:00
Ed Morley
1fb12daa51 Merge mozilla-central to fx-team to pick up the #1 top orange fix 2012-06-28 15:10:25 +01:00
Andrew Hurle
aee91caf41 Bug 583683 - Show all awesomebar results without scrolling. r=MattN
--HG--
extra : rebase_source : 8c0ec02fbed606ead3050fe841166c7a08e2866b
2012-06-04 13:45:00 -07:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Jared Wein
55bd822768 Bug 742441 - Cannot drag URL from location bar to desktop. r=ttaubert 2012-05-29 12:27:06 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
02dd7706ab Bug 732738 textbox should only execute inline onfocus and onblur event handlers once r=smaug 2012-03-04 14:57:45 +00:00