Commit Graph

22096 Commits

Author SHA1 Message Date
Ehsan Akhgari
9f92463607 Bug 1548432 - Part 2: Ignore cookie name-value-pair strings without a "=" character; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29619
2019-05-02 17:12:55 +00:00
Ehsan Akhgari
6697653052 Bug 1481771 - Fix a race condition in browser_privatebrowsing_favicon.js by ensuring the promises that wait on conditions that happen during opening a tab are created before starting to open the tab; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29717
2019-05-02 21:26:11 +00:00
Brian Grinstead
9db03b09ae Bug 1500626 - Convert <menuitem> bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D9322
2019-05-02 19:28:18 +00:00
Michael Kaply
49e9b72bbf Bug 1548080 - Add a policy to control Firefox Home r=Mardak,flod
Differential Revision: https://phabricator.services.mozilla.com/D29396
2019-05-02 15:40:41 +00:00
Mark Banner
31b8f42f90 Bug 1545706 - Avoid displaying an extra dash for keyword searches in QuantumBar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D29418
2019-05-02 13:00:16 +00:00
James Teh
d26dcaee2e Bug 1546633: PanelMultiView: Send mousedown event when activating a button via the keyboard. r=Gijs
Previously, we sent a command event and a click event.
Normally, the command event executes the action, then the click event closes the menu.
However, in some cases (e.g. the Library button), there is no command event handler and the mousedown event executes the action instead.

Differential Revision: https://phabricator.services.mozilla.com/D29151
2019-05-02 10:35:57 +00:00
James Teh
7c62cc8c15 Bug 1545766: PanelMultiView: Don't override keyboard navigation in embedded documents. r=Gijs
Extension panels contain embedded documents; i.e. a <browser> element.
We want users to be able to tab to these and we want them to be focused automatically if a subview is opened from the keyboard, so treat them as tabbable.
However, once an embedded document is focused, we can't manage keyboard navigation inside it, so don't try.
Previously, we tried, which meant keys were overridden even though they didn't do anything, breaking keyboard navigation in extensions altogether.

Differential Revision: https://phabricator.services.mozilla.com/D28442
2019-05-02 10:35:49 +00:00
Cosmin Sabou
57e65f8648 Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Andrea Marchesini
483e24a1ff Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353
2019-05-01 23:21:45 +00:00
Ed Lee
a535788255 Bug 1548388 - Add focus states, fill telemetry and bug fixes to Activity Stream r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D29577
2019-05-01 22:55:10 +00:00
Mike Conley
f060772432 Bug 1533955 - Show some UI to indicate that a subframe has crashed. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D29238
2019-05-01 20:05:24 +00:00
Mike Conley
0f27f65e27 Bug 1533955 - Move the current message manager actors to a legacy list, and create a new list of JS Window Actors. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D29237
2019-05-01 20:05:06 +00:00
Drew Willcoxon
9c8cde609c Bug 1539804 - Quantumbar: Re-enable browser_urlbarStopSearchOnSelection.js and fix a couple of related problems. r=mak
This test uncovered a couple of problems:

(1) UrlbarController.handleKeyNavigation relies on event.defaultPrevented to tell whether the one-offs handled the key event. That's a problem when combined with deferring the down arrow key.

handleKeyNavigation is called twice in that case. The first time, the event is deferred (so executeAction = false), and handleKeyNavigation calls event.preventDefault. The second time, the event is being replayed, but defaultPrevented is true from the previous call regardless of whether the one-offs actually handled the event.

So handleKeyNavigation always returns early because it thinks the one-offs always handled the event, so it never properly replays down arrow keys.

(2) UrlbarProviderUnifiedComplete's query promise is never resolved when the query is canceled. That's a problem in general of course but I tripped over it in this test because I need to check results after the query is canceled, and the test ended up hanging since UrlbarTestUtils waits for the query to finish in order to get its results.

It's not a problem in UnifiedComplete itself per se because of course awesomebar uses UnifiedComplete too, and it doesn't have this problem. The difference is that nsAutoCompleteController::StopSearch calls input->OnSearchComplete() (via PostSearchCleanup): https://searchfox.org/mozilla-central/rev/b756e6d00728dda4121f8278a744381d8643317a/toolkit/components/autocomplete/nsAutoCompleteController.cpp#1433

Quantumbar's UnifiedComplete provider is missing that behavior, so this patch adds it by resolving its query promise when the query is canceled.

Differential Revision: https://phabricator.services.mozilla.com/D29300
2019-05-01 17:42:19 +00:00
Shane Caraveo
22782c87a5 Bug 1544965 only remove search engines for an extension if the extension actually has one r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D29411
2019-05-01 14:55:12 +00:00
Ciure Andrei
6853e98089 Backed out changeset 9242458b79d5 (bug 1539804) for high frequency browser/browser_urlbarStopSearchOnSelection.js failures CLOSED TREE 2019-05-01 14:45:59 +03:00
Vijay Budhram
abb3caec0b Bug 1542334 - Add telemetry for FxA app menu r=eoger,janerik
Differential Revision: https://phabricator.services.mozilla.com/D28347
2019-04-30 19:47:36 +00:00
Dale Harvey
f555a63e45 Bug 1548141 - Ensure SearchService has started. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D29430
2019-05-01 08:32:12 +00:00
Sylvestre Ledru
ad31adba4c Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

Differential Revision: https://phabricator.services.mozilla.com/D28956
2019-05-01 08:47:10 +00:00
Joel Maher
41ecc30f4a Bug 1546459 - remove subsuite=clipboard from manifests. r=ahal
remove subsuite=clipboard from manifests

Differential Revision: https://phabricator.services.mozilla.com/D28521
2019-05-01 08:16:44 +00:00
Mark Banner
cda69c97f4 Bug 1545395 - Handle Search Engine urls properly where the search terms are in the url rather than as parameters. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D29014
2019-04-30 21:25:28 +00:00
Ciure Andrei
2355f6b949 Backed out 2 changesets (bug 1545766, bug 1546633) for causing browser_PanelMultiView_keyboard.js to perma fail CLOSED TREE
Backed out changeset 041741ce1646 (bug 1546633)
Backed out changeset fbc294a6fe78 (bug 1545766)
2019-05-01 09:02:48 +03:00
James Teh
dff2e75717 Bug 1546633: PanelMultiView: Send mousedown event when activating a button via the keyboard. r=Gijs
Previously, we sent a command event and a click event.
Normally, the command event executes the action, then the click event closes the menu.
However, in some cases (e.g. the Library button), there is no command event handler and the mousedown event executes the action instead.

Differential Revision: https://phabricator.services.mozilla.com/D29151
2019-05-01 04:01:35 +00:00
James Teh
0b5ee08d3e Bug 1545766: PanelMultiView: Don't override keyboard navigation in embedded documents. r=Gijs
Extension panels contain embedded documents; i.e. a <browser> element.
We want users to be able to tab to these and we want them to be focused automatically if a subview is opened from the keyboard, so treat them as tabbable.
However, once an embedded document is focused, we can't manage keyboard navigation inside it, so don't try.
Previously, we tried, which meant keys were overridden even though they didn't do anything, breaking keyboard navigation in extensions altogether.

Differential Revision: https://phabricator.services.mozilla.com/D28442
2019-05-01 04:01:35 +00:00
Drew Willcoxon
01a0ae6979 Bug 1539804 - Quantumbar: Re-enable browser_urlbarStopSearchOnSelection.js and fix a couple of related problems. r=mak
This test uncovered a couple of problems:

(1) UrlbarController.handleKeyNavigation relies on event.defaultPrevented to tell whether the one-offs handled the key event. That's a problem when combined with deferring the down arrow key.

handleKeyNavigation is called twice in that case. The first time, the event is deferred (so executeAction = false), and handleKeyNavigation calls event.preventDefault. The second time, the event is being replayed, but defaultPrevented is true from the previous call regardless of whether the one-offs actually handled the event.

So handleKeyNavigation always returns early because it thinks the one-offs always handled the event, so it never properly replays down arrow keys.

(2) UrlbarProviderUnifiedComplete's query promise is never resolved when the query is canceled. That's a problem in general of course but I tripped over it in this test because I need to check results after the query is canceled, and the test ended up hanging since UrlbarTestUtils waits for the query to finish in order to get its results.

It's not a problem in UnifiedComplete itself per se because of course awesomebar uses UnifiedComplete too, and it doesn't have this problem. The difference is that nsAutoCompleteController::StopSearch calls input->OnSearchComplete() (via PostSearchCleanup): https://searchfox.org/mozilla-central/rev/b756e6d00728dda4121f8278a744381d8643317a/toolkit/components/autocomplete/nsAutoCompleteController.cpp#1433

Quantumbar's UnifiedComplete provider is missing that behavior, so this patch adds it by resolving its query promise when the query is canceled.

Differential Revision: https://phabricator.services.mozilla.com/D29300
2019-05-01 02:30:47 +00:00
Andrew Swan
4aa16694cc Bug 1547767 Fix buttons in Sync disconnect dialog r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D29432
2019-04-30 22:58:26 +00:00
Brendan Dahl
42d1485841 Bug 1548026 - Noop download button's changed callback when unloaded. r=bzbarsky
Temporary workaround to prevent wrapper assertions in torn-down
window.

Differential Revision: https://phabricator.services.mozilla.com/D29410
2019-04-30 20:29:00 +00:00
Gijs Kruitbosch
c4940a7c3f Bug 1547496 - remove warning for minimum font sizes being big as internal pages are no longer affected, r=mconley,flod
This warning was added in https://bugzilla.mozilla.org/show_bug.cgi?id=1047586 .
As a result of https://bugzilla.mozilla.org/show_bug.cgi?id=1528712 , internal pages
are no longer affected by this change. Instead, they obey the OS font size
configuration, in which we cannot warn. So let's remove the now-inaccurate warning dialog.

Differential Revision: https://phabricator.services.mozilla.com/D29218
2019-04-30 17:14:40 +00:00
Andrei Oprea
552fe488c6 Bug 1543116 - Refactor BookmarkPanel to call ASRouter instead of passing actions r=k88hudson,flod
Differential Revision: https://phabricator.services.mozilla.com/D26538
2019-04-30 17:13:00 +00:00
Geoff Lankow
9749bff8d4 Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28309
2019-04-30 16:01:06 +00:00
Gurzau Raul
9661b09142 Backed out changeset 28b3bd8e5018 (bug 1482809) for using the wrong author. 2019-04-30 18:54:43 +03:00
Magnus Melin
2b8071aa7f Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28309
2019-04-30 15:38:22 +00:00
Dão Gottwald
6ddceae873 Bug 1544030 - Fix quantumbar popup's vertical borders and position on Mac once again. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D29340
2019-04-30 15:03:21 +00:00
Gijs Kruitbosch
15ddf1a163 Bug 1515204 - add mouseup after drop in EventUtils, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D28749
2019-04-30 12:55:23 +00:00
Mohd Umar Alam
f1c10d6a8d Bug 1547614 View History Sidebar menu is missing label for in Library toolbutton r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D29133
2019-04-30 13:04:47 +00:00
Doug Thayer
a62121d33e Bug 1542833 - Collect cold startup scalar r=chutten,florian
Differential Revision: https://phabricator.services.mozilla.com/D27953
2019-04-29 17:15:23 +00:00
Gijs Kruitbosch
7f6584f7e4 Bug 1543129 - fix buttons disappearing in customize mode after using 'restore defaults', r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D28719
2019-04-29 13:36:04 +00:00
myeongjun
a9a305e31c Bug 1512171 - Provide better error message when attempt is made to add bookmark folder to root folder. r=robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D28337
2019-04-26 16:06:33 +00:00
Mark Banner
ad2d747bb0 Bug 1547291 - Update URLs for the Prisjakt search engine. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D29012
2019-04-26 17:26:22 +00:00
Cosmin Sabou
bf54e10dfa Bug 1544810 - Disable browser_sanitize.js on windows due to frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D29086
2019-04-27 00:35:40 +00:00
Noemi Erli
813ba27d62 Backed out changeset f706ae697922 (bug 1541317) for failures in test_ext_settings_overrides_search.js 2019-04-27 02:01:58 +03:00
Shane Caraveo
28c8a8e5ce Bug 1541317 support homepage setting on upgrade r=rpl,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D28265
2019-04-26 18:54:19 +00:00
Michael Kaply
6180ec84d3 Bug 1541927 - Don't readd CA via policy if it already exists. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D28523
2019-04-26 21:56:06 +00:00
Michael Kaply
125f8c1b6b Bug 1547020 - Locking useDownloadDir shouldn't lock file chooser. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D28874
2019-04-26 19:47:08 +00:00
Andreea Pavel
e58369dd88 Bug 1435394 - disabled browser_upgrade_backup.js on win and osx r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D28943
2019-04-26 11:33:40 +00:00
Razvan Maries
e03e2d92a5 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-04-26 12:54:36 +03:00
Razvan Maries
cbf14f8671 Merge mozilla-inbound to mozilla-central a=merge 2019-04-26 12:46:15 +03:00
Andreea Pavel
3407eee236 Bug 1533533 - add spacing after comma in panelUI.inc.xul on a CLOSED TREE 2019-04-26 09:57:53 +03:00
Mohd Umar Alam
af86d46266 Bug 1533533-Add a label to hide synced tabs sidebar when it is shown r=sfoster,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D28177
2019-04-26 06:10:43 +00:00
Dale Harvey
0cc572a537 Bug 1545517 - Remove engines that dont work over https. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D28342
2019-04-25 20:51:16 +00:00
Drew Willcoxon
ef9feda30b Bug 1545916 - Make quantumbar match highlighting case insensitive. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28751
2019-04-25 18:12:06 +00:00