Commit graph

719 commits

Author SHA1 Message Date
Mark Banner
0578f18627 Bug 1397728 - Use waitForCondition to avoid intermittent failures in browser_searchbar_openpopup.js. r=florian
MozReview-Commit-ID: K62zPje3Hnj

--HG--
extra : rebase_source : 7d6c3c1438065c5ff6ae03ec50099f605518fae0
2017-09-25 16:52:52 +01:00
Mike de Boer
c0b0c75c02 Bug 1388422 - Clean up all traces of the 'browser.uiCustomization.disableAnimation' pref used to disable Customize Mode transitions in unit tests. r=Gijs
MozReview-Commit-ID: 44Q9NbKEJeC

--HG--
extra : rebase_source : 4895a170b403195cd1bc7023fc905deff12c2de2
2017-09-20 14:25:58 +02:00
k88hudson
60824fdfe2 Bug 1398239 - Add prerendering capability, Highlights diversity and bug fixes to Activity Stream r=Mardak
MozReview-Commit-ID: DqKGqHeT0nS

--HG--
extra : rebase_source : 668d1b838b94d197e9631dcb78ce186ce62cefb2
2017-09-11 17:17:35 -04:00
Andrei Oprea
87a92cc0d7 Bug 1398739 - Fix Activity Stream related test failure in browser_google_behavior.js. r=Mardak
MozReview-Commit-ID: FjPE8gWWkqe

--HG--
extra : rebase_source : 136224683c919bd066ea868c472e548fe64cb969
2017-09-11 15:08:24 +03:00
Michael Kaply
84dc410d2d Bug 1378461 - Report other search engine names. r=mak, data-r=rweiss
--HG--
extra : rebase_source : 0b3088af1691db055a13feeff86041e6ab6346b2
2017-09-06 17:36:07 -05:00
Paolo Amadini
fe96089fe4 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P

--HG--
extra : rebase_source : 2e02e0a809d08ff26291a027b73a54668d6d5f9d
2017-09-06 13:09:27 +01:00
Zibi Braniecki
0e1ced7d71 Bug 1395871 - Open toolbar menus on mousedown, rather than oncommand.
MozReview-Commit-ID: A3P4QBBgcB8

--HG--
extra : rebase_source : 2a1b660f6489c5aece8f8b25935ad5799779629d
2017-09-01 01:54:34 -07:00
Dão Gottwald
a825905a0d Bug 1391395 - Consolidate Go button styling. r=daleharvey
MozReview-Commit-ID: 4WLQemuir4k

--HG--
extra : rebase_source : 0a2272e5db394bb5461a542b92ea3982a9157836
2017-08-23 08:37:16 +02:00
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Mark Banner
bae2e447d0 Bug 1314670 - Update browser_google_behavior.js to use the same test structure as browser_searchEngineBehaviors.js. r=florian
MozReview-Commit-ID: 7hBEfgn6duc

--HG--
extra : rebase_source : 431c8cc61ace12524bc3c91e5d18b1d6a3d62024
2017-08-09 07:41:51 +01:00
Mark Banner
a4d10c3b1b Bug 1314670 - Merge the browser_*behavior.js tests into the new tests. r=florian
Excluding Google due to it not being able to run in artifact builds.

MozReview-Commit-ID: B15iW1iC2Lk

--HG--
extra : rebase_source : 8fd72f92717b166fc03e9bd2111ce02979327502
2017-08-09 09:38:15 +01:00
Mark Banner
ea44850ffa Bug 1314670 - Rewrite the new search engine behaviors test to use async functionality. r=florian
MozReview-Commit-ID: 396ci4r6ion

--HG--
extra : rebase_source : a228957803887ecc5b94f89f6c17e241dbe79ecb
2017-07-19 16:22:02 +01:00
Mark Banner
93de1cc0a4 Bug 1314670 - Create a new search engine behaviors test to replace the old individual ones. r=florian
MozReview-Commit-ID: HQtFQVxiyvV

--HG--
rename : browser/components/search/test/browser_ddg_behavior.js => browser/components/search/test/browser_searchEngine_behaviors.js
extra : rebase_source : 2a4bc9b5e2718c77569e7537d421c6ca38223e86
2017-07-19 14:46:52 +01:00
Florian Quèze
540a908e79 Bug 1383749 - One-off buttons should be cached the first time, r=mak. 2017-07-24 22:54:48 +02:00
Evan Tseng
26c825e9ef Bug 1365133 - Reorganize Preferences sections and regroup <xul:groupbox> elements by new categories - Part 1. r=jaws
MozReview-Commit-ID: Lh8iduzVoad

--HG--
rename : browser/components/preferences/in-content/search.js => browser/components/preferences/in-content-new/search.js
rename : browser/components/preferences/in-content/search.xul => browser/components/preferences/in-content-new/search.xul
extra : rebase_source : 96e76c0925aa1f033c73eb2c3adcfd172c9bc611
2017-06-16 16:24:33 +08:00
Sebastian Hengst
4374905bde Backed out changeset fb02b6e36ae3 (bug 1365133)
--HG--
rename : browser/components/preferences/in-content-new/tests/browser_security-2.js => browser/components/preferences/in-content-new/tests/browser_security.js
2017-07-14 11:34:48 +02:00
Evan Tseng
0629d1aa92 Bug 1365133 - Update tests - Part 2. r=jaws
MozReview-Commit-ID: GoOXdJ4RfY9

--HG--
rename : browser/components/preferences/in-content-new/tests/browser_security.js => browser/components/preferences/in-content-new/tests/browser_security-1.js
rename : browser/components/preferences/in-content-new/tests/browser_security.js => browser/components/preferences/in-content-new/tests/browser_security-2.js
extra : rebase_source : 8bb4b9573ae35640ef02335407c9348a70f7355f
2017-06-20 15:11:46 +08:00
Florian Quèze
b9b1a8454e Bug 1104325 - [Windows HiDPI] expand the awesomebar panel workaround to also apply to the searchbar so that one-off buttons are laid out correctly even when there are rounding issues, r=adw. 2017-07-11 23:29:58 +02:00
Florian Quèze
245cc847d4 Bug 1361195 - round the searchbar min-width to ensure one-off buttons are correctly sized on HiDPI, r=past. 2017-06-23 16:25:45 +02:00
Florian Quèze
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Mark Banner
1497d6bae9 Bug 1320230 - When monitoring for the search popup hiding on click, use dispatchToMainThread to reset the status rather than setTimeout as it is more reliable. r=florian
MozReview-Commit-ID: Gjr0UXr1Mf7

--HG--
extra : rebase_source : 0809bc6481bc2e70c03465570c0d1530ade3f53e
2017-06-13 23:05:15 +01:00
Ricky Chien
674483db72 Bug 1372528 - Change search settings redirects to General section of about:preferences r=jaws
MozReview-Commit-ID: J5biFoOjsXX

--HG--
extra : rebase_source : 770cd42dcf5ee7067d2242971ff972a38953000c
2017-06-15 16:22:43 +08:00
Florian Quèze
70bba4163d Bug 1371860 - The 'Search' placeholder should appear immediately on about:home and about:newtab, r=nhnt11. 2017-06-13 08:39:39 +02:00
Wes Kocher
07d7985523 Merge inbound to central, a=merge
MozReview-Commit-ID: IrZXJHbiqpa
2017-06-09 15:28:10 -07:00
Florian Quèze
dc628a8ae3 Bug 1369705 - avoid starting the search service or calling the search-one-offs XBL constructor before first paint, r=adw. 2017-06-09 15:11:03 +02:00
Ed Lee
c1a3be3fdc Bug 1371479 - Update search behavior about:newtab tests to work with activity-stream.enabled true and false. r=ursula
Update tests to select the search input for either about:newtab with a querySelector instead of specific id. Also removes gSearch checks that are always false anyway with the move to e10s contentSearch.

MozReview-Commit-ID: 8knCvfzA6yk

--HG--
extra : rebase_source : 484dd855dd96e587dbc1a61bf53fdad3759a7caf
2017-06-08 16:44:38 -07:00
Drew Willcoxon
6995e1d59d Bug 1357800 - The One-Off search buttons not visible in the search bar. r=florian
Rebuild the one-off search buttons when the theme changes.  See bug 1357800 for details.  Summary: On Linux, switching between themes can cause a row of buttons to disappear.

MozReview-Commit-ID: 8lfsUO00jYP

--HG--
extra : rebase_source : 5bdef5513a8c8f8f02fd9383867b0ed57610b606
2017-05-17 15:58:56 -07:00
Panos Astithas
f2dce5fda5 Bug 1359056 - Don't open the search panel when entering customization mode. r=Gijs
MozReview-Commit-ID: XmNZMrizET

--HG--
extra : rebase_source : 46bd79b6d915338c6a5bbead6f1614e5f790e2a8
2017-05-12 21:40:54 -04:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Fischer.json
c0472057e4 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : e8b4399bd1e3fc5e5b220e80d6694c00a4b7e482
2017-05-09 10:43:48 -04:00
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Wes Kocher
ea3b6b9f1e Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC

--HG--
extra : rebase_source : 29e2b567cd0bc75cc4e0b22af20c7efaeb73a259
2017-05-10 10:45:18 -07:00
Fischer.json
7102edfb97 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : 68ed5ae4ff04c79aab70e288276ca527a807a435
2017-05-09 10:43:48 -04:00
Johann Hofmann
3de40d5fb3 Bug 1352364 - Disable browser_oneOffHeader.js on OSX. rs=dao
This test went intermittent through bug 1352364 but we can't
reproduce it locally and opened bug 1361276 to not block progress.

MozReview-Commit-ID: 60NG4j17279

--HG--
extra : rebase_source : 47a2b427f1fe7e9a223a226131dfad6b35136eb4
2017-05-02 09:31:42 +02:00
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Sebastian Hengst
7fccfb74e9 merge mozilla-central to autoland. r=merge a=merge 2017-04-22 10:49:35 +02:00
Marco Bonardo
4f991dcba4 Bug 1358503 - memoize anon elements in the oneoffs binding. r=florian
MozReview-Commit-ID: JKmfd7cUfRx

--HG--
extra : rebase_source : d8c7c9ff9a63afdde135b608fddb51abc54d84ac
2017-04-21 16:05:46 +02:00
Wes Kocher
4a05296446 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Florian Queze
f596929f1c Bug 1358382 - Compute the searchbar panel size and position without sync reflow, r=adw. 2017-04-22 02:09:05 +02:00
Drew Willcoxon
6f20b4a138 Bug 1357458 - After Customization - typed text in the Awesome bar doesn't correspond with the text from One-Off-Searches bar. r=florian
MozReview-Commit-ID: KHAoxS1CsWj

--HG--
extra : rebase_source : ceff8abeeb94b082c6a7f6f3950a1c35767db0dd
2017-04-20 19:00:26 -07:00
Carsten "Tomcat" Book
44e9c21039 merge mozilla-inbound to mozilla-central a=merge 2017-04-19 10:32:48 +02:00
Florian Queze
e8bed3af2f Bug 1312999 - Cache one-off buttons instead of regenerating them at every popupopen, r=adw. 2017-04-19 00:04:07 +02:00
Drew Willcoxon
376e3a8e45 Bug 1295460 - Update the background color of the one-off search buttons. r=florian
MozReview-Commit-ID: 3iKLQcb59aT

--HG--
extra : rebase_source : 8d8df6e3bef12d2baba2165cfc12b81cb29ced30
2017-04-10 19:07:57 -07:00
Zibi Braniecki
a1a4f0b7c9 Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst
7b30105d39 Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki
cce53c69bc Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00