Граф коммитов

339 Коммитов

Автор SHA1 Сообщение Дата
Paul Bone 08bc01ab37 Bug 1576814 - Skip tests that timeout r=kmag
Depends on D43572

Differential Revision: https://phabricator.services.mozilla.com/D43573

--HG--
extra : moz-landing-system : lando
2019-08-27 19:07:43 +00:00
Marco Bonardo 939568fcce Bug 1548734 - intermittent failure in rowser_view_resultTypes_display.js. r=dao
This is still failing in a similar way as before, try to change the target for now.

Differential Revision: https://phabricator.services.mozilla.com/D43617

--HG--
extra : moz-landing-system : lando
2019-08-27 15:09:06 +00:00
Dão Gottwald 88be4edfa8 Bug 1575822 - Rename #urlbar-display-box and friends and consolidate related styling. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D43045

--HG--
extra : moz-landing-system : lando
2019-08-22 17:17:41 +00:00
Drew Willcoxon 292a6bb2ce Bug 1575038 - Quantumbar: Record engagement event telemetry when openViewOnFocus is triggered without mouse clicks. r=dao
We need to start engagement event recording when the view opens due to `openViewOnFocus`. We already do for mouse clicks since we call `engagementEvent.start` from `_on_mousedown`. But we don't for the Ctrl/Command-L key shortcut. The shortcut command calls `openLocation` in browser.js, which calls `gURLBar.startQuery` but not `engagementEvent.start`.

Every time we call `engagementEvent.start`, we do it before calling `input.startQuery`. The one exception is in `input._on_drop` because there we just handle the dropped value directly instead of starting a new query with it.

The inverse is also mostly true, i.e., every time we call `input.startQuery`, we also call `engagementEvent.start`. The three exceptions are: in UITour (where it looks like we should be calling `urlbar.search` instead), in `UrlbarInput` after picking a keyword offer result, and in `openLocation` in browser.js (mentioned above). So really the only valid place is after picking a keyword entry.

So, it makes sense to move `engagementEvent.start()` into `input.startQuery` so that callers don't have to call it. I added an `event` param to `startQuery`, since `engagementEvent.start` needs one. I considered removing that need. It's possible, but then we would need a way to avoid calling `engagementEvent.start` in the keyword offer case, so `startQuery` would need something like a `suppressEngagementEvent` param. `event` basically functions as that, so I left it.

Another thing to point out about this patch is that I chose to record a "typed" value when the pageproxystate is invalid and the view opens due to `openViewOnFocus`. The view does not show the user's top sites in that case, so "topsites" seems wrong.

Differential Revision: https://phabricator.services.mozilla.com/D42749

--HG--
extra : moz-landing-system : lando
2019-08-22 14:50:42 +00:00
Dão Gottwald a25a70aaf0 Bug 1575563 - Improve Megabar input layout. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D42864

--HG--
extra : moz-landing-system : lando
2019-08-21 19:13:15 +00:00
harry 4f4a15a1d5 Bug 1528593 - Rename UrlbarInput::value getter to untrimmedValue and textValue to value. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D42190

--HG--
extra : moz-landing-system : lando
2019-08-19 19:15:47 +00:00
Ciure Andrei 9a123fb597 Backed out changeset 81156ff3f4fa (bug 1571656) for causing browser_PageActions.js and test_insertTree_fixupOrSkipInvalidEntries.js to perma fail CLOSED TREE 2019-08-19 13:00:44 +03:00
Moritz Birghan 240771fa29 Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614

--HG--
extra : moz-landing-system : lando
2019-08-19 07:17:12 +00:00
Drew Willcoxon 3cbb9148a3 Bug 1571161 - Modify openViewOnFocus so that it doesn't open the view on the newtab page and in private windows. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D40719

--HG--
extra : moz-landing-system : lando
2019-08-15 11:09:28 +00:00
harry bb7b264fe5 Bug 1551240 - Remove quantumbar handling from tests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D41623

--HG--
extra : moz-landing-system : lando
2019-08-12 20:51:06 +00:00
harry ae7379da44 Bug 1571018 - Allow dragging in the Urlbar after selectAll and vice versa. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D40508

--HG--
extra : moz-landing-system : lando
2019-08-06 17:36:36 +00:00
Marco Bonardo 8978d2d69f Bug 1568604 - Re-enable browser_view_resultTypes_display.js. r=dao
This test was disabled due to a possible permanent failure, but it's no more
possible to reproduce it on Try. There is still a possible intermittent tracked
by bug 1548734.

Differential Revision: https://phabricator.services.mozilla.com/D40657

--HG--
extra : moz-landing-system : lando
2019-08-06 15:45:58 +00:00
Marco Bonardo 5b957108b0 Bug 1548734 - Intermittent failure in Bug 1548734. r=dao
The mouse should not be hovering the results pane, or it may change the
aspect of a result.

Differential Revision: https://phabricator.services.mozilla.com/D40658

--HG--
extra : moz-landing-system : lando
2019-08-06 08:46:39 +00:00
Kershaw Chang 39ab60f95d Bug 1267643 - Remove client certificate filtering based on CA names r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39345

--HG--
extra : moz-landing-system : lando
2019-08-02 12:45:51 +00:00
Dão Gottwald 53e18ab768 Bug 1569027 - Remove browser_UrlbarInput_unit.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D40000

--HG--
extra : moz-landing-system : lando
2019-08-02 12:31:57 +00:00
Dão Gottwald 3514c20156 Bug 1568959 - Add notifications for the urlbar results view opening and closing. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D40170

--HG--
extra : moz-landing-system : lando
2019-08-02 07:25:25 +00:00
Ciure Andrei 2a4fcddae1 Backed out changeset 7768b6a6cfc7 (bug 1568959) for ESlint failures CLOSED TREE 2019-08-02 03:18:31 +03:00
Dão Gottwald 68864b02f7 Bug 1568959 - Add notifications for the urlbar results view opening and closing. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D40170

--HG--
extra : moz-landing-system : lando
2019-08-01 16:29:19 +00:00
harry ce35063675 Bug 1565273 - Context menu clicks ignore browser.urlbar.clickSelectsAll pref. Add tests for selectAll behaviour. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37796

--HG--
extra : moz-landing-system : lando
2019-07-31 20:50:52 +00:00
bbassi 1b6c07a4a6 Open in new tab with AltGr+Enter (Bug 1389739). r=adw
Before this change, AltGr+Enter wouldn't open url in new tab on non-English layouts on Windows. This happened because non-English layouts generated AltGr event on pressing right Alt key. Checking for this event in _whereToOpen function fixes the issue.

Differential Revision: https://phabricator.services.mozilla.com/D39466

--HG--
extra : moz-landing-system : lando
2019-07-31 20:01:15 +00:00
Dão Gottwald 21ee0c5607 Bug 1569478 - Fix one-off search button hiding. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D39869

--HG--
extra : moz-landing-system : lando
2019-07-30 14:53:39 +00:00
Cosmin Sabou 98f1f23f7e Backed out changeset d6d95a998ee9 (bug 1565273) for causing bug 1569813.
--HG--
extra : rebase_source : fc813c3c59dac61e77968d6c785e61ffce50fd6a
2019-07-30 03:46:10 +03:00
harry 18161330d5 Bug 1565273 - Context menu clicks ignore browser.urlbar.clickSelectsAll pref. Add tests for selectAll behaviour. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37796

--HG--
extra : moz-landing-system : lando
2019-07-29 16:55:39 +00:00
Marco Bonardo e8dcf5977e Bug 1568948 - Intermittent failure in browser_urlbar_event_telemetry.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D39477

--HG--
extra : moz-landing-system : lando
2019-07-26 16:59:25 +00:00
Narcis Beleuzu a4cd447c57 Backed out changeset 89925bf4fa18 (bug 1565273) for bc failures on browser_urlbar_selection.js . CLOSED TREE 2019-07-26 19:56:50 +03:00
Marco Bonardo 96c9ae2649 Bug 1547668 - Add a test for openViewOnFocus. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D39504

--HG--
extra : moz-landing-system : lando
2019-07-26 15:07:03 +00:00
harry 3907dcbea0 Bug 1565273 - Context menu clicks ignore browser.urlbar.clickSelectsAll pref. Add tests for selectAll behaviour. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37796

--HG--
extra : moz-landing-system : lando
2019-07-26 14:27:05 +00:00
Dão Gottwald 968ae4419d Bug 1551598 - Stop using a popup window for urlbar results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D38988

--HG--
extra : moz-landing-system : lando
2019-07-25 20:13:33 +00:00
Marco Bonardo 3a39214a77 Bug 1559136 - Add urlbar event telemetry behind a pref. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38521

--HG--
extra : moz-landing-system : lando
2019-07-25 12:39:02 +00:00
Marco Bonardo 2062812e83 Bug 1560228 - Strip only leading question marks from search string. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D39206

--HG--
extra : moz-landing-system : lando
2019-07-25 10:20:59 +00:00
Andreea Pavel e4263c00eb Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
Kershaw Chang 0bcf85d6e8 Bug 1566030 - Remove nsIClientAuthUserDecision r=keeler,snorp
This patch removes nsIClientAuthUserDecision and add another output parameter to nsIClientAuthDialogs.chooseCertificate.

Differential Revision: https://phabricator.services.mozilla.com/D38074

--HG--
extra : moz-landing-system : lando
2019-07-24 17:49:45 +00:00
Edwin Gao 7fd5fb983a Bug 1555454 - disable permafailing tests on macosx1014, migrate mochitest-browser-chrome to macosx1014 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38783

--HG--
extra : moz-landing-system : lando
2019-07-23 18:30:26 +00:00
Kris Maglione e40b418215 Bug 1566952: Part 2 - Update Fission failure annotations after skipping crashes. r=mccr8
When a test crashes, the harness skips all of the remaining tests in the
directory. That means that with crashes skipped, we now try to run a whole lot
more tests than we did before, and a lot of them fail under Fission.

This patch adds annotations to the new failures that show up after part 1.

Differential Revision: https://phabricator.services.mozilla.com/D38726

--HG--
extra : rebase_source : 292157039c88fc615f5de41679e96e72766ac4db
2019-07-19 12:30:10 -07:00
Bogdan Tara 0cd03d6d7f Backed out changeset ad5e0980c273 (bug 1555454) for central permafails on browser_devices_get_user_media.js a=backout 2019-07-22 07:45:40 +03:00
Edwin Gao 6383bcad31 Bug 1555454 - disable permafailing tests on macosx1014, migrate mochitest-browser-chrome to macosx1014 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38783

--HG--
extra : moz-landing-system : lando
2019-07-21 09:27:47 +00:00
Dão Gottwald a9eacaa71b Bug 1567520 - Remove obsolete browser/components/urlbar/tests/browser/Panel.jsm, urlbarAddonIframe.html, urlbarAddonIframe.js, urlbarAddonIframeContentScript.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38681

--HG--
extra : moz-landing-system : lando
2019-07-19 17:22:45 +00:00
Drew Willcoxon 78390ffc07 Bug 1563731 - Quantumbar: Increase the timeout of the remove-stale-rows timer to fix intermittent browser_selectStaleResults.js. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D38433

--HG--
extra : moz-landing-system : lando
2019-07-18 10:57:50 +00:00
Ciure Andrei d835b44a76 Merge inbound to mozilla-central. a=merge 2019-07-18 06:46:41 +03:00
Kris Maglione 0962c2b731 Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

Differential Revision: https://phabricator.services.mozilla.com/D38247

--HG--
extra : rebase_source : 39ba8fec2e882cfe577c5f2b58ab7e4b461f1178
2019-07-15 16:19:32 -07:00
Brindusan Cristian 535145f197 Backed out 2 changesets (bug 1556789) on request from aryx for causing Bug 1565836. a=backout
Backed out changeset ca5fdf3a0ddd (bug 1556789)
Backed out changeset 19419ff4e756 (bug 1556789)
2019-07-13 20:52:45 +03:00
Omkar Konaraddi 6d120afac0 Bug 1526818 - QuantumBar: Expose an autocomplete.properties bundle from UrlbarUtils r=adw
Differential Revision: https://phabricator.services.mozilla.com/D36250

--HG--
extra : moz-landing-system : lando
2019-07-12 22:43:06 +00:00
Razvan Maries 10d819389e Backed out changeset 26853a62fed3 (bug 1526818) for ES Lint failure. CLOSED TREE 2019-07-13 00:03:08 +03:00
Omkar Konaraddi 885533af6a Bug 1526818 - QuantumBar: Expose an autocomplete.properties bundle from UrlbarUtils r=adw
Differential Revision: https://phabricator.services.mozilla.com/D36250

--HG--
extra : moz-landing-system : lando
2019-07-12 20:54:04 +00:00
Shane Caraveo 36bce0da93 Bug 1556789 - Refactor extension install in searchservice to use promises r=robwu,daleharvey
This provides a set of promises that the searchservice resolves once the search engine has been configured

Differential Revision: https://phabricator.services.mozilla.com/D33660

--HG--
extra : moz-landing-system : lando
2019-07-12 19:33:32 +00:00
Karl Tomlinson bea6491430 Bug 1457355 test that primary selection is unaffected by opening new tab r=dao
Differential Revision: https://phabricator.services.mozilla.com/D37354

--HG--
extra : moz-landing-system : lando
2019-07-12 09:02:43 +00:00
Gurzau Raul 7a46596592 Backed out 2 changesets (bug 1556789) for assertion failures in FF functional tests on a CLOSED TREE.
Backed out changeset 2d10e95cf0cd (bug 1556789)
Backed out changeset 0acf6bafda0f (bug 1556789)
2019-07-12 04:45:46 +03:00
harry 959aa843e5 Bug 1561901 - Implement smart highlighting for search suggestions by adding a UrlbarUtils.HIGHLIGHT enum. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36922

--HG--
extra : moz-landing-system : lando
2019-07-11 19:05:16 +00:00
Shane Caraveo b2cb7defd5 Bug 1556789 - Refactor extension install in searchservice to use promises r=robwu,daleharvey
This provides a set of promises that the searchservice resolves once the search engine has been configured

Differential Revision: https://phabricator.services.mozilla.com/D33660

--HG--
extra : moz-landing-system : lando
2019-07-11 18:42:00 +00:00
Drew Willcoxon 250da1ddc9 Bug 1563812 - Quantumbar: Fix keyboard navigation after stale results have been removed. r=dao
We need to update indices after removing stale rows.

Differential Revision: https://phabricator.services.mozilla.com/D37142

--HG--
extra : moz-landing-system : lando
2019-07-10 15:55:30 +00:00