Commit Graph

138 Commits

Author SHA1 Message Date
Dave Townsend
6e2a38d03c Bug 1068186: Update window.sidebar and window.external APIs to support e10s. r=felipe
Moves nsSidebar.js to toolkit and makes it just pass messages to chrome for each
API call. MainProcessSingleton listens for those messages and passes the call
along to the search service.
Combines the validation code into the same function and takes the opportunity to
support relative URLs too.
Adds a bunch of tests for these web APIs.

Also fixes:
Bug 518929: Implement window.external APIs in core code
Bug 530847: Remove Fennec's nsISidebar implementation once that code is moved into the core
Bug 517720: Adding a search engine using relative URIs is not supported

--HG--
rename : browser/components/sidebar/nsSidebar.js => toolkit/components/search/nsSidebar.js
extra : rebase_source : 3e9caa49383e78e73e5f111ff09fb063f2cfa7c0
2015-02-02 12:15:26 -08:00
Mike Connor
9cec39ddde bug 1126511 - update Yahoo search plugins to use per-access point tags for better reporting/analysis, Fennec portion, r=margaret/mfinkle 2015-02-05 11:24:54 -05:00
Mike Connor
4d8228cbca Bug 958874 - Use HTTPS for Bing search, r=gavin 2015-02-03 01:07:06 -05:00
Florian Quèze
4e6de52441 Bug 1102038 - the 'Change Search Settings' button and the open search items cannot be used via the keyboard, r=Mossop. 2015-02-05 00:08:19 +01:00
Florian Quèze
733f615541 Bug 1124904 - cleanup keyboard navigation in the new search panel - simplify the 'selected' attribute handling, r=Mossop. 2015-02-05 00:08:19 +01:00
Florian Quèze
bee5e371c7 Bug 1124900 - add tests for keyboard navigation in the search panel, r=Mossop. 2015-02-05 00:08:19 +01:00
Florian Quèze
527fa74db7 Bug 1111947 - Dropping text on the searchbar shouldn't search it immediately. r=mossop 2015-01-26 15:41:05 +01:00
Carsten "Tomcat" Book
b308b6c8ab Merge mozilla-central to fx-team 2015-02-03 15:34:51 +01:00
Carsten "Tomcat" Book
f6711e2d95 Backed out changeset a882d834faee (bug 1111947) for causing merge conflicts down from m-c 2015-02-03 15:34:07 +01:00
Abdelrhman Ahmed
cd9e5af5ec Bug 1115002 - Pressing context menu should close the search panel. r=Florian 2015-02-03 13:57:04 +01:00
Florian Quèze
12679ea765 Bug 1111947 - Dropping text on the searchbar shouldn't search it immediately, r=Mossop. 2015-02-03 13:06:01 +01:00
Chris
ac9532722d Bug 1106926 - Insuring that removing a hidden one click search provider also removes it from the browser.search.hiddenOneOffs pref. r=florian
--HG--
extra : rebase_source : f4f501e6246bc9515792890a4229078185b07464
2015-02-02 16:50:52 -08:00
Neil Deakin
8c96ab4157 Bug 1114707, don't close search suggestions when the caret is moved when norolluponanchor is set, r=mak 2015-02-02 15:53:55 -05:00
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
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
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
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
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
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
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
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
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
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
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
Mike Connor
ba29b1396a Bug 998073 - implement test coverage for Amazon search plugin, r=adw
--HG--
extra : rebase_source : d238b146692d6e7e6bd3c201471b545b04faa5ee
2014-04-25 14:23:41 -04:00
Mike Connor
24eb796c17 Bug 998072 - implement test coverage for eBay search plugin, r=adw
--HG--
extra : rebase_source : f58a7320e1c5507a6bb42f2d94f3992e17cd574d
2014-04-24 16:25:22 -04:00
Mike Connor
d9331c7ccc Bug 998071 - implement test coverage for Yahoo search plugin, r=adw
--HG--
extra : rebase_source : cdec24b11e5c6383a14e9e7ab2dc8d59c3e0d2b2
2014-04-24 16:21:40 -04:00
Mike Connor
ae64c2dd80 bug 995390 - make bing/yahoo codes consistent across channels, r=gavin
--HG--
extra : rebase_source : 0b8711d655edf1ecf45776fdff1edfa421da1403
2014-04-14 15:49:39 -04:00
Drew Willcoxon
1a3140b9d5 Bug 962490 - Add a search field to the new tab page (Bing test follow-up). r=me 2014-04-28 17:43:43 -07:00
Drew Willcoxon
a09cd88b54 Bug 962490 - Add a search field to the new tab page (new Bing search parameter). r=gavin 2014-04-25 10:25:11 -07:00
Drew Willcoxon
d39abf57fd Bug 962490 - Add a search field to the new tab page (part 3: search component tests). r=gavin 2014-04-24 19:09:25 -07:00
Matthew Noorenberghe
d4f09f5169 Bug 992270 - ignoreAllUncaughtExceptions in the about:home test of browser_google_behavior.js/browser_bing_behavior.js. r=gavin
CLOSED TREE
2014-04-10 21:54:30 -04:00
Mike Connor
52f5995690 bug 991359, build bustage fix, a=CLOSED TREE
--HG--
extra : amend_source : 4181a7a8d6406365996c8668a24510523ba6a974
2014-04-07 14:09:41 -04:00