Commit Graph

206 Commits

Author SHA1 Message Date
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
Geoff Lankow
775acbaa1a Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part D, remove uses of nsIPrefBranch2 in browser/ and mobile/ ; r=bsmedberg 2012-01-17 14:34:51 +13:00
Marco Bonardo
b892a70a55 Bug 711503 - Don't trim url when inline autocomplete inserts text.
r=gavin
2012-01-19 12:31:27 +01:00
Dão Gottwald
6782bc984f Bug 707567 - prepend http:// to URL copy selection only if at least the full hostname is selected. r=dietrich 2012-01-09 10:53:17 +01:00
Dão Gottwald
88dac5f765 Bug 707672 - openUILink[In] behavior should not be determined by browser.tabs.loadBookmarksInBackground. r=mak
--HG--
extra : rebase_source : a4bb56be12da09134fb83c9b6dee6edee4030a54
2011-12-20 01:17:08 +01:00
Dão Gottwald
67896eb0fc Bug 711291 - Add support for icon URL option to PopupNotifications.show. r=gavin 2011-12-18 04:01:59 +01:00
Masatoshi Kimura
4ac41f5d14 Bug 461304 - Part 2: Use UTF-8 flag in the browser; r=gavin 2011-11-05 15:48:28 +00:00
Masatoshi Kimura
ff70ba630e Bug 691690 - Part 2: Use UTF-8 flag on copy. r=gavin 2011-10-07 07:35:17 +09:00