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

24550 Коммитов

Автор SHA1 Сообщение Дата
Harry Twyford 47ea3ba2ae Bug 1601325 - Increase UrlbarView wrap threshold to 500px. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D55984

--HG--
extra : moz-landing-system : lando
2019-12-05 16:50:03 +00:00
Greg Tatum f70625dc40 Bug 1597376 - Implement the new about:profiling page; r=julienw
This patch adds a new context for the performance-new components. It's
eventually the only place where the settings will live, but for now
the components share the settings between the popup, the devtools panel,
and the about:profiling page.

This page uses the base styling that the preferences page uses. The styles
should obey the theming for the browser, and ignore the devtools theming
colors.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:42:35 +00:00
Greg Tatum 24b52aed54 Bug 1597373 - Create a minimal about:profiling page; r=jdescottes,mconley
This commit is fairly trivial, but creates the about:profiler page to
start the new about:profiler work.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:38:25 +00:00
Noemi Erli 813cd66e92 Backed out 6 changesets (bug 1597373, bug 1598320, bug 1597376) for causing assertion failure in nsContentSecurityUtils.cpp CLOSED TREE
Backed out changeset abb73036e3ae (bug 1597376)
Backed out changeset a0076bbce8f9 (bug 1597376)
Backed out changeset 76055c79cada (bug 1597376)
Backed out changeset 145bc8015c6c (bug 1597376)
Backed out changeset fa0278f155ef (bug 1598320)
Backed out changeset 32711edf1baf (bug 1597373)

--HG--
rename : devtools/client/performance-new/components/DevToolsAndPopup.js => devtools/client/performance-new/components/Perf.js
2019-12-05 19:11:24 +02:00
Michael Kaply 712501b3ee Bug 1600007 - Check entire policy for empty objects. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D55713

--HG--
extra : moz-landing-system : lando
2019-12-04 21:50:40 +00:00
Greg Tatum 2ade1a1b96 Bug 1597376 - Implement the new about:profiling page; r=julienw
This patch adds a new context for the performance-new components. It's
eventually the only place where the settings will live, but for now
the components share the settings between the popup, the devtools panel,
and the about:profiling page.

This page uses the base styling that the preferences page uses. The styles
should obey the theming for the browser, and ignore the devtools theming
colors.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 22:23:46 +00:00
Greg Tatum 246f170a3d Bug 1597373 - Create a minimal about:profiling page; r=jdescottes,mconley
This commit is fairly trivial, but creates the about:profiler page to
start the new about:profiler work.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 22:22:30 +00:00
Masatoshi Kimura 502bc1fe35 Bug 1601235 - Remove the second arg of nsIXULBrowserWindow::SetOverLink. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D55946

--HG--
extra : moz-landing-system : lando
2019-12-05 14:23:01 +00:00
Mark Banner f6563c0c14 Bug 1600715 - Match the order of the extraParams for search engines to the existing lists. r=mikedeboer
We might as well do this for now to keep the tests passing when modern config is turned on. It doesn't actually matter what order these particular parameters are listed in.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 13:59:05 +00:00
Mark Banner 5a0b7478e3 Bug 1600715 - Change the searchUrlParams in the modern config to be an ordered array of objects. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D55640

--HG--
extra : moz-landing-system : lando
2019-12-05 13:57:28 +00:00
Mark Banner 2771a16621 Bug 1444426 - Remove the 'Automatically update search engines' option from preferences as it is confusing and doesn't fully apply now. r=mikedeboer,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55859

--HG--
extra : moz-landing-system : lando
2019-12-05 13:56:18 +00:00
Julian Descottes 81e34d9437 Bug 1600333 - Remove all tags = clipboard from the codebase r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D55305

--HG--
extra : moz-landing-system : lando
2019-12-05 11:07:10 +00:00
Kris Maglione ea63a0888d Bug 1583614: Def on frameloader rebuilding on remoteness change again. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D55858

--HG--
extra : moz-landing-system : lando
2019-12-05 03:52:49 +00:00
Razvan Maries 30d4c4f26d Backed out changeset 15f8fa34d2f4 (bug 1580567) for perma fails on browser_temporary_permissions_expiry.js and browser_privatebrowsing_rememberprompt.js. CLOSED TREE
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-05 01:05:34 +02:00
Kearwood Kip Gilbert ef6bdce0ec Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html.  -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin.  (This was backed out due to test failures originally, and since been fixed)

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

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-04 21:10:56 +00:00
Drew Willcoxon 5475985abc Bug 1600953 - Ignore clicks within tip results outside the buttons. r=harry
A couple of problems:

* `pickElement` gets the tip's URL (from `UrlbarUtils.getUrlFromResult`). As long as the picked element isn't the help button, we go ahead and use that URL even if the element is not the main button.
* Even after fixing the previous problem, `_on_mousedown` will "select" the tip row itself (not its buttons). If the tip button is already selected (because it's the heuristic for example), the selection goes away at that point.

So we need to ignore tip elements that aren't the buttons.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 18:55:51 +00:00
Drew Willcoxon 56093fc2c1 Bug 1600860 - Add browser.experiments.urlbar.installBrowserUpdateAndRestart. r=mak,mixedpuppy
Users can opt out of automatic updates. In that case, when an update is available, we need to let the user download and install it and restart the browser. This case isn't covered in the interventions spec, but it's consistent with the intention to give the user a one-click way to continue on their upgrade path, so I think we should handle it.

This patch adds a `browser.experiments.urlbar.installBrowserUpdateAndRestart` function. At first I made it only install the update, and then the extension called our existing `restartBrowser` function once that finished. But it didn't work because `restartBrowser` must be called from a user-input handler, and apparently by awaiting the install function, any code running after the `await` isn't considered to be in the user-input handler.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 16:58:19 +00:00
Dorel Luca a1ac0a8150 Bug 1592498 - Updated disable browser_urlbar_matchBuckets_migration60.js to win Debug. CLOSED TREE
--HG--
extra : amend_source : 9f9d36c5d4944269ba9aeaea4200570545f23889
2019-12-04 19:04:05 +02:00
Kevin Jacobs 39bf196ebf Bug 1580053 - Add Delegated Credentials experiment script r=jcj,mconley
This patch adds an experiment script for TLS Delegated Credentials. By default, 100% of the Nightly population is selected for the study, of which 50% will perform a test connection *without* Delegated Credentials, and the other 50% *with* Delegated Credentials. The test does not run in Beta or Release channels.

The test will "disable" itself on 10 Jan 2020, after which it will be backed out.

See https://github.com/kjacobs-moz/dc-experiment-addon and https://experimenter.services.mozilla.com/experiments/delegated-credentials-nightly-breakage-study/ for more information.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 15:47:07 +00:00
Dorel Luca 759ed982d6 Bug 1592498 - Disable browser_urlbar_matchBuckets_migration60.js on Win QR Debug. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D55797

--HG--
extra : moz-landing-system : lando
2019-12-04 14:48:06 +00:00
Michael Kaply 9475e105e3 Bug 1600122 - Use the complete list of addons for determing policy. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D55732

--HG--
extra : moz-landing-system : lando
2019-12-04 09:56:50 +00:00
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Florian Quèze ec351ddd41 Bug 1601014 - avoid running BrowserGlue migration steps for new profiles, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D55704

--HG--
extra : moz-landing-system : lando
2019-12-03 19:54:38 +00:00
Liang-Heng Chen 39e39a5421 Bug 1597622 - add test for kiosk mode enabled; r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D55778

--HG--
extra : moz-landing-system : lando
2019-12-04 12:32:43 +00:00
Daniel Varga d978f02ab1 Backed out changeset 8fc8a1f59578 (bug 1597622) for causing eslint failure at browser/components/newtab/test/unit/asrouter/ASRouter.test.js:2560:1 and build bustage. On a CLOSED TREE 2019-12-04 12:50:25 +02:00
Liang-Heng Chen 4ce9bdd54d Bug 1597622 - add test for kiosk mode enabled; r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D55778

--HG--
extra : moz-landing-system : lando
2019-12-04 09:48:49 +00:00
Ed Lee efdf9bb557 Bug 1601039 - Remove locales-src and related scripts r=thecount,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D55712

--HG--
extra : moz-landing-system : lando
2019-12-04 06:57:05 +00:00
Drew Willcoxon f1e3a8f030 Bug 1596258 - Add browser.experiments.urlbar.checkForBrowserUpdate and getBrowserUpdateStatus. r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D54397

--HG--
rename : browser/components/extensions/test/browser/.eslintrc.js => browser/components/urlbar/tests/ext/browser/.eslintrc.js
rename : browser/components/extensions/test/browser/.eslintrc.js => browser/components/urlbar/tests/ext/browser/update/.eslintrc.js
extra : moz-landing-system : lando
2019-12-03 22:10:20 +00:00
Matt Woodrow 0e188f2ae7 Bug 1598516 - Don't run extension iframes in their own process. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D55605

--HG--
extra : moz-landing-system : lando
2019-12-03 23:55:52 +00:00
Matt Woodrow dc7b5810bc Bug 1598516 - Remove isLocalAboutURI since all about: URIs are local. r=Gijs
With DocumentChannel, the 'URI' of the channel that we proxy for RemoteWebProgress doesn't have the resolved URI, and reports the about: version instead.

All about: URIs are local these days, so we can just check for that scheme directly, and simplify the code.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 23:55:21 +00:00
Harry Twyford 35c4199231 Bug 1599784 - Enable update1 prefs by default. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D55179

--HG--
extra : moz-landing-system : lando
2019-12-03 21:27:58 +00:00
Gurzau Raul 558a79c450 Backed out changeset 18f07982ab28 (bug 1600007) for failing at browser_policy_bookmarks.js on a CLOSED TREE. 2019-12-04 02:32:38 +02:00
Liang-Heng Chen 48ab7adc77 Bug 1597622 - disable ASRouter.triggerHandler under kiosk mode; r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D55666

--HG--
extra : moz-landing-system : lando
2019-12-03 22:57:24 +00:00
Bogdan Tara 0108d839e9 Backed out 8 changesets (bug 1598516) for run startup hangs CLOSED TREE
Backed out changeset bc0035aa57fe (bug 1598516)
Backed out changeset 33603b723337 (bug 1598516)
Backed out changeset 31c11dd9146d (bug 1598516)
Backed out changeset 4e269a638350 (bug 1598516)
Backed out changeset 76b86080c868 (bug 1598516)
Backed out changeset b6f84b01cbd9 (bug 1598516)
Backed out changeset 74d136798dd3 (bug 1598516)
Backed out changeset bf370938463e (bug 1598516)
2019-12-04 00:48:17 +02:00
Michael Kaply 87bd283c90 Bug 1600007 - Check entire policy for empty objects. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D55713

--HG--
extra : moz-landing-system : lando
2019-12-03 22:09:21 +00:00
Drew Willcoxon f4d136362e Bug 1600325 - When tip buttons receive focus, focus the input instead. r=mak
Instead of trying to prevent the tip buttons from being focused in the first place, we can just listen for focus on the parent tip element and focus the input instead.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 22:05:16 +00:00
Marco Bonardo f26dee467d Bug 1593964 - part 3 - Fix the urlbar event bufferer handling of the initial query status. r=harry
The event bufferer has 2 problems:
1. startDate is initialized to null and then compared to Cu.now(), that generates unexpected results
2. when the initial status is UNKNOWN events should not be deferred (down in a new window for example)

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

--HG--
extra : moz-landing-system : lando
2019-12-03 20:52:50 +00:00
Marco Bonardo 64e5635ba8 Bug 1593964 - part 2 - Retain results on tab switch/deactivate, requery on reopen. r=dao
Rather than clearing results on tab switch or deactivate, let's keep them, and
clean them on input change. On reopening the view run the query again, so results
are up to date and autofill works, but flickering is reduced.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 20:52:37 +00:00
Marco Bonardo c371a80555 Bug 1593964 - part 1 - Stop storing autofilled text in userTypedValue. r=dao
The original fix for Bug 287996 intended to store the url as userTypedValue when
it was confirmed in the UI and about to start loading, but it threw the baby out
with the bathwater. By storing any selection-completed and autofilled value as
userTypedValue, it made impossible to properly return to the typed text.
Currently, if autofill happens, switching back to the tab where it happened
shows the autofilled value instead of what the user typed.
This also makes impossible to reopen the view, because the search string changed.
Because now we properly set userTypedValue in _loadURL, we can remove this old
workaround.
Note though that this breaks selecting a url (without confirmation), switching tab,
then going back to the original tab and expecting the url to be set.
While it's possible to support that case, we think it's more important to go
back to what was typed, and eventually reopen the view. It's also less confusing
for the user, because the shown url has no relation with the currently loaded page.

For similar reasons, blurring the urlbar should restore the user typed value
if we autofilled a value, to avoid overriding the search string with our own.
And because of this, we should not clear the view every time set a value, or we
could clear valid cached results. It's better to do it on an actual input event.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 20:52:15 +00:00
Matt Woodrow 6cd452dc84 Bug 1598516 - Don't run extension iframes in their own process. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D55605

--HG--
extra : moz-landing-system : lando
2019-12-03 20:44:33 +00:00
Matt Woodrow c10f854a76 Bug 1598516 - Remove isLocalAboutURI since all about: URIs are local. r=Gijs
With DocumentChannel, the 'URI' of the channel that we proxy for RemoteWebProgress doesn't have the resolved URI, and reports the about: version instead.

All about: URIs are local these days, so we can just check for that scheme directly, and simplify the code.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 20:43:59 +00:00
Gurzau Raul 2e8639b3b4 Backed out 8 changesets (bug 1598516) for build bustage at ParentChannelListener.cpp on a CLOSED TREE.
Backed out changeset 7ac1b091aa5f (bug 1598516)
Backed out changeset b62c5b49b91c (bug 1598516)
Backed out changeset e48c0ce38498 (bug 1598516)
Backed out changeset cc2599921b5e (bug 1598516)
Backed out changeset 0a0f80b0b278 (bug 1598516)
Backed out changeset 1dc19a039cab (bug 1598516)
Backed out changeset b664c8af6e2d (bug 1598516)
Backed out changeset 943b440179b9 (bug 1598516)
2019-12-03 21:48:14 +02:00
Matt Woodrow 95623dc72d Bug 1598516 - Don't run extension iframes in their own process. r=kmag
Depends on D55604

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

--HG--
extra : moz-landing-system : lando
2019-12-03 19:16:23 +00:00
Matt Woodrow d4fc6bca1b Bug 1598516 - Remove isLocalAboutURI since all about: URIs are local. r=Gijs
With DocumentChannel, the 'URI' of the channel that we proxy for RemoteWebProgress doesn't have the resolved URI, and reports the about: version instead.

All about: URIs are local these days, so we can just check for that scheme directly, and simplify the code.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 06:20:51 +00:00
Kate Hudson af16b92fdd Bug 1592619 - Remove lastMessageId from ASRouter r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D55476

--HG--
extra : moz-landing-system : lando
2019-12-03 16:36:20 +00:00
Ehsan Akhgari d94f27a8d6 Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D52761

--HG--
extra : moz-landing-system : lando
2019-12-03 17:08:25 +00:00
Luca Greco 1f8d0692a0 Bug 1598079 - Turn abuseReport.openDialog on by default on all channels. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D54026

--HG--
extra : moz-landing-system : lando
2019-11-25 17:35:48 +00:00
Kate Hudson 1ed593db6c Bug 1600661 - Refactor findAllMessage findMessage into handleMessageRequest r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D55467

--HG--
extra : moz-landing-system : lando
2019-12-03 16:26:09 +00:00
Mark Banner 48dc95c429 Bug 1599693 - Fix 'Search using <engine name>' tooltip on the search bar. r=ntim.
Differential Revision: https://phabricator.services.mozilla.com/D55665

--HG--
extra : moz-landing-system : lando
2019-12-03 15:40:45 +00:00
Mihai Alexandru Michis 51b2b2c577 Backed out 2 changesets (bug 1593964) for causing failures in browser_retainedResultsOnFocus.js CLOSED TREE
Backed out changeset 7f2fe5517b7e (bug 1593964)
Backed out changeset 0b744d1bf8e7 (bug 1593964)
2019-12-03 13:56:10 +02:00