Commit Graph

273 Commits

Author SHA1 Message Date
Dave Townsend
6f42a65173 Bug 1118135: Clicking the magnifying glass while the suggestions are open should close the popup and not re-open it. r=felipe
The popup gets closed when native events trigger rollup. This is before the any
mousedown event reaches the DOM so it is difficult to detect the case where it
was a click on the magnifying glass icon that closed the popup. Here a field
is added to the popup that is set to true when rollup is triggered and false
on the next tick of the event loop which will be after the mousedown event
reaches the DOM. This allows us to detect the case and ignore the click on the
magnifying glass.

--HG--
extra : rebase_source : 521d024b33011d0f501a5cd6a1317363f585ffed
2015-01-06 11:05:32 -08:00
Carsten "Tomcat" Book
a95e320814 merge fx-team to mozilla-central a=merge 2015-01-12 13:01:26 +01:00
Dave Townsend
6022ced1e2 Bug 1119450: Clicks on the search go button shouldn't open the search popup. r=felipe
--HG--
extra : rebase_source : 0f7fa4e6e6cc833a41cac28288bdce38722815a7
2015-01-09 11:05:50 -08:00
Neil Deakin
e4fc31f0ac Bug 1089005, add a third consume option that never consumes even over the anchor. This allows clicks on the location field to adjust the caret position, r=dao 2015-01-09 21:12:10 -05:00
Chris
385cde08ce Bug 1117153 - Added 'keyword' param for location bar searches triggered by search engine keyword. r=gavin 2015-01-04 17:14:26 -08:00
Blake Winton
04323c7981 Bug 1102937 - Add UITelemetry for the improved search bar UI. r=florian, r=felipe 2015-01-06 13:09:43 -05:00
Dave Townsend
3bd65ce688 Bug 1102050: Set consumeoutsideclicks="false" whenever the popup is opened. r=felipe
showHistoryPopup in autocomplete.xml always sets consumeoutsideclicks to true
so we have to override that when the popup is actually opened.

The test here isn't a very good one. For some reason the events generated by
EventUtils aren't consumed regardless of consumeoutsideclicks, I'm not sure
there is a great way to test this automatically.

--HG--
extra : rebase_source : 1e413c645cc0445089f0214a6d3b68365b47ca80
2014-12-31 13:36:28 -08:00
Florian Quèze
eeaf0c7548 Bug 1110678 - Re-implement Ctrl+up/down and Alt+up/down in the search field, r=felipe. 2014-12-23 02:12:36 +01:00
Dave Townsend
35cca24fcc Bug 1103455: Change the events used to popup the search suggestions to avoid showing them when opening context menus. r=florian 2014-12-22 11:54:15 -08:00
Florian Quèze
aadb55d1c1 Bug 1106432 - Search bar icon should indicate when a page offers open search - fix leak caused by XBL in toolbarless popups, r=Gijs. 2014-12-21 01:10:46 +01:00
Blake Winton
81f134d608 Bug 1106432 - Allow search bar icon to indicate when a page offers OpenSearch. ui-r=shorlander, r=florian. 2014-12-18 15:25:21 -05:00
Phil Ringnalda
e2878ada9a Backed out 2 changesets (bug 1106432) for mochitest-a11y failures
CLOSED TREE

Backed out changeset 513130bd59ed (bug 1106432)
Backed out changeset 4dbb2ddd0093 (bug 1106432)
2014-12-20 17:58:08 -08:00
Florian Quèze
3af2f817fa Bug 1106432 - Search bar icon should indicate when a page offers open search - fix leak caused by XBL in toolbarless popups, r=Gijs. 2014-12-21 01:10:46 +01:00
Blake Winton
5c65e92619 Bug 1106432 - Allow search bar icon to indicate when a page offers OpenSearch. ui-r=shorlander, r=florian. 2014-12-18 15:25:21 -05:00
Florian Quèze
d7bef18288 Bug 1104142 - Shift-tab doesn't go back to location bar if there is text in the search field, r=Gijs, ui-r=shorlander. 2014-12-18 23:54:26 +01:00
Blake Winton
947fa3c0c7 Bug 1106101 - Let people open searches in new tabs with ctrl/cmd+click or middle mouse button. ui-r=phlsa, r=florian 2014-12-17 15:23:44 -05:00
Thejdeep
c68ee51e36 Bug 1111275 - Replace gBrowser.mCurrentBrowser with gBrowser.selectedBrowser. r=dao
--HG--
extra : rebase_source : 8a8ef5fafbdbddf987eb69407444b3a2edc1be19
2014-12-15 22:07:18 +01:00
Ankit Goyal
d8c264deb7 Bug 1110069 - Replace getBrowser() with gBrowser in /browser. r=dao 2014-12-11 21:48:00 -05:00
Carsten "Tomcat" Book
b99c181926 Backed out changeset 85a89a0a4c1c (bug 1110069) 2014-12-12 13:14:57 +01:00
Ankit Goyal
99c97ab78d Bug 1110069 - Replace getBrowser() with gBrowser. r=dao
--HG--
extra : rebase_source : 4db6c01d37ea4e38e94f70a677c5d31decd22f72
2014-12-12 10:40:23 +01:00
Kev Needham
b3a862121e Bug 1104925: update Yahoo search plugin for en-US, r=gavin/mconnor
--HG--
extra : transplant_source : %FE%08%0D%0Er%13%2B%D4%1Fv%3C%CC%9A%F9%A6%FBK%A4%AE%22
2014-11-27 15:32:17 -08:00
Kev Needham
e89fac4575 Bug 1103216: update Google parameters, r=gavin, f=mfinkle, test changes r=felipe
--HG--
extra : transplant_source : %12%07%00%00%E1kA%0E%0B%24%0A%89%94%9C%17%B5EE%1E%B9
2014-11-24 11:11:44 -08:00
Felipe Gomes
7797b9d660 Bug 1101670 - UITour: ability to set a search term and show the search popup. r=dolske 2014-11-21 19:19:31 -02:00
Florian Quèze
f139935d1a Bug 1103190 - land Flare strings in Firefox 36, r=felipe. 2014-11-27 12:24:53 +01:00
Florian Quèze
a7e6668f97 Bug 1088660 - Improve the search bar UI to support one-off searches - improve discoverability of the search settings, r=felipe. 2014-11-20 20:55:41 +01:00
Florian Quèze
1076501bfb Bug 1088660 - Improve the search bar UI to support one-off searches, r=felipe. 2014-11-18 00:59:11 +01:00
Tim Taubert
a746a8beef Bug 1077652 - Fix search tests to ignore loads from browsers without tabs r=jaws 2014-11-20 19:36:21 +01:00
Joel Maher
625a8cb7c4 Bug 1100301 - browser_aboutHome_behavior.js leaks on windows 7+8 opt|debug runs when --run-by-dir. r=RyanVM a=test-only 2014-11-17 13:40:13 -05:00
Joel Maher
d47aeb5fa0 Bug 1057512 - --run-by-dir enabled for browser-chrome on trunk. r=RyanVM 2014-11-17 11:01:23 -05:00
Tim Taubert
6aed3bf760 Bug 1077652 - Don't access a tabbrowser's browsers through mPanelContainer r=dao 2014-11-14 06:18:53 +01:00
Joel Maher
e0e101fa17 Bug 1082133 - browser_*_behavior.js fails when run as a standalone directory. r=mak 2014-11-11 11:37:00 +01:00
Jon Morton
0f167a14a3 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Blair McBride
719d7fbfc8 Bug 1078213 - Search bar binding shouldn't set IDs for menuitems. r=MattN
--HG--
extra : transplant_source : %3EG%1A%90P%81%C0%F9%8C%8A%16%93%D5e%BC%86%85%A4%99%CD
2014-10-08 11:58:04 +13:00
Alex Bardas
fe8e2dde55 Bug 990799 - Update search plugins to use rel='searchform'. r=gavin 2014-09-17 18:42:00 +02:00
Shu-yu Guo
320f4e1440 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Jared Wein
371ae6518a Bug 947574 - Switch browser_426329.js to use tasks to avoid intermittent failure. r=Gijs 2014-08-20 13:22:14 -04:00
Bernardo P. Rittmeyer
52ff11105b Bug 1054712 - Remove duplicate logic from tabbrowser and search bar by using the getImageURLForResolution helper function in PlacesUtils. r=MattN 2014-08-18 14:33:00 -07:00
Ryan VanderMeulen
0f05271473 Backed out changeset 70b77e14d448 (bug 947574) for making browser_426329.js perma-fail on OSX. 2014-08-15 21:23:22 -04:00
Jared Wein
a8841976f7 Bug 947574 - Switch browser_426329.js to use tasks to avoid intermittent failure. r=Gijs 2014-08-15 15:06:26 -04:00
Georg Fritzsche
3ec162d8ae Bug 862563 - Remove implicit acceptance for data reporting notification and notify on first run. r=gps
The data reporting notification was over-complicated. It wasn't
displayed for +24hr after first run and it had a weird, non-required
policy around what constituted acceptance of the policy.

The notification is now shown shortly after first startup.

The logic around "notification accepted" has been greatly simplified by
rolling it into "notification shown." Where we once were checking
whether the notification has been "accepted," we now check whether it
has been displayed. The overly complicated logic around the implicit
acceptance of the policy has also been removed.

The end result is the code for managing the state of the notification is
greatly simplified.
2014-07-09 14:32:29 -07:00
Paolo Amadini
b8ffc1ef8e Bug 1040721 - The search service should provide details for parsing search result URLs. r=gavin 2014-07-31 15:57:02 +01:00
Marco Bonardo
c39310eaeb Bug 997970 - add search suggest to Amazon for en-US. r=ttaubert 2014-07-25 14:46:56 +02:00
Alexandre Poirot
5a3800bc64 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Wes Kocher
7f46b4f0a4 Backed out changeset 8673477f5fc2 (bug 862563) for Windows mochitest-5 failures 2014-07-11 17:00:08 -07:00
Georg Fritzsche
b6e03c51f8 Bug 862563 - Remove implicit acceptance for data reporting notification and notify on first run; r=gps
The data reporting notification was over-complicated. It wasn't
displayed for +24hr after first run and it had a weird, non-required
policy around what constituted acceptance of the policy.

The notification is now shown shortly after first startup.

The logic around "notification accepted" has been greatly simplified by
rolling it into "notification shown." Where we once were checking
whether the notification has been "accepted," we now check whether it
has been displayed. The overly complicated logic around the implicit
acceptance of the policy has also been removed.

The end result is the code for managing the state of the notification is
greatly simplified.

--HG--
extra : rebase_source : 808efdf1edd103552f6aa10b5c4309b64e514773
extra : amend_source : e4252e6a850a348d1b5aca733121dd07cbc6a70a
extra : histedit_source : 10ec20a07677674a8c9a705a3ffb4dc46a22b890%2Ca9442934d5964f16e9ad1101b786b4d094ac228d
2014-07-09 14:32:29 -07:00
Mike Connor
b9215907b9 Bug 1008182 - remove the delay for searchbar autocomplete, r=gavin 2014-05-09 13:02:56 -04:00
Mike Connor
16d273e48d Bug 1006103 - add speculativeConnect() method to search engines, API + browser change, r=gavin
* * *
bug 1006103 - use speculativeConnect() method on nsISearchEngine in Fennec, r=margaret

--HG--
extra : rebase_source : 63739b6a876b373945ccf8b326a42150a5bb3cef
2014-05-06 12:47:22 -04:00
Gavin Sharp
131f5bd223 Bug 947574: Add some better debugging info to browser/components/search/test/browser_426329.js to help diagnose intermittent timeouts 2014-05-27 18:04:15 -07:00
Drew Willcoxon
6ce7e114ec Bug 1009318 - Add Google search purpose for about:newtab. r=MattN 2014-05-13 12:37:19 -07:00
Gavin Sharp
c607f79fa9 Bug 896711: remove BrowserChromeTests.runWhenReady because it's being abused, r=dao/ttaubert/vporof 2013-07-27 17:32:40 -07:00