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

3008 Коммитов

Автор SHA1 Сообщение Дата
James Teh a19c705a8b Bug 1585907 part 3: Announce when Reader View is available for screen reader users. r=Gijs,fluent-reviewers
While the availability of Reader View is somewhat noticeable visually, a screen reader user won't be aware of this unless they explicitly explore the toolbar.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 10:32:45 +00:00
James Teh eb04b6c810 Bug 1585907 part 1: Remove exposure of the "reader" accessibility object attribute. r=Gijs
This reverts bug 1425541.
This was intended to make it easy for accessibility clients to retrieve the Reader View state programmatically.
However, it was never actually used by any clients.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 03:08:08 +00:00
Sebastian Hengst 0af4fd28ee Bug 1587836 - update permissions related Bugzilla components stored in moz.build files. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48869

--HG--
extra : moz-landing-system : lando
2019-10-11 08:44:00 +00:00
Mark Banner bdbf383b06 Bug 1578381 - When resetting the homepage preference due to an ignore list update, ensure WebExtension settings are reset correctly. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D48196

--HG--
extra : moz-landing-system : lando
2019-10-07 17:05:16 +00:00
Mark Banner 526c10a89d Bug 1578381 - Rename HomePage.init to delayedStartup to better describe when it gets called normally. r=mixedpuppy
Depends on D48169

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

--HG--
extra : moz-landing-system : lando
2019-10-07 17:05:09 +00:00
Mark Banner 240f2d58f6 Bug 1583479 - Fix case-insensitive comparison when comparing against the home page ignore list when setting the home page value. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48169

--HG--
extra : moz-landing-system : lando
2019-10-04 11:45:19 +00:00
Gijs Kruitbosch d579352ba8 Bug 1565998 - display a descriptive text for local file: related data, and allow removing it, r=johannh,fluent-reviewers,flod,baku
Differential Revision: https://phabricator.services.mozilla.com/D44832

--HG--
extra : moz-landing-system : lando
2019-10-02 11:42:53 +00:00
Tom Tung c0f0ba97a7 Bug 1584986 - P2 - Rename listInitializedOrigins to listOrigins; r=asuth,johannh
Differential Revision: https://phabricator.services.mozilla.com/D47741

--HG--
rename : dom/quota/test/unit/test_listInitializedOrigins.js => dom/quota/test/unit/test_listOrigins.js
extra : moz-landing-system : lando
2019-10-02 07:57:52 +00:00
Oana Pop Rus cb6253f70e Backed out 3 changesets (bug 1584986) for xpcshell failures in dom/quota/test/unit/test_listOrigins.js on a CLOSED TREE
Backed out changeset 8fc63769342e (bug 1584986)
Backed out changeset ec44603ce08a (bug 1584986)
Backed out changeset 0fc3d50b822e (bug 1584986)

--HG--
rename : dom/quota/test/unit/test_listOrigins.js => dom/quota/test/unit/test_listInitializedOrigins.js
2019-10-02 07:50:10 +03:00
Tom Tung a9e251b07f Bug 1584986 - P2 - Rename listInitializedOrigins to listOrigins; r=asuth,johannh
Depends on D47740

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

--HG--
rename : dom/quota/test/unit/test_listInitializedOrigins.js => dom/quota/test/unit/test_listOrigins.js
extra : moz-landing-system : lando
2019-10-01 13:29:52 +00:00
Michael Kaply 54257dc01e Bug 1579418 - Don't reset homepage unless we need to. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D45081

--HG--
extra : moz-landing-system : lando
2019-09-30 21:35:38 +00:00
Doug Thayer 94a1e48dad Bug 1583651 - Add logging indicator for maybeVisibleTabs r=mconley
This is just sometimes relevant for debugging things.

Depends on D47350

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

--HG--
extra : moz-landing-system : lando
2019-09-27 19:17:25 +00:00
Doug Thayer 4d7fc6146d Bug 1583651 - Pull Telemetry code out into helpers r=mconley
This just pulls chunks of TelemetryStopwatch and similar code,
which often eats up several lines, into some helper functions.
This should just help reduce the cognitive load of reading this
code.

Depends on D47349

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

--HG--
extra : moz-landing-system : lando
2019-09-27 19:23:12 +00:00
Doug Thayer ac9c79f25f Bug 1583651 - Send all pre/postActions through handleEvent r=mconley
This way we ensure that the reentrancy guard always stays in effect.
It should just be a little easier to reason about everything if it's
all channeled through the same place.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 19:12:03 +00:00
Mark Banner b93f2c2970 Bug 1576158 - Display the private browsing engine on the private browsing page. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D47208

--HG--
extra : moz-landing-system : lando
2019-09-27 14:54:38 +00:00
Emilio Cobos Álvarez 69d84b1151 Bug 1582042 - Remove nsIRemoteTab.forceRepaint(). r=mconley
It's useless if the tab is already visible (i.e., has renderLayers=true), per
the previous patches, and that's the only point at which it gets called.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 22:11:50 +00:00
Ed Lee ea35d790ee Bug 1584299 - Add sending PDFs, undismissing spocs and bug fixes to New Tab Page r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D47328

--HG--
extra : moz-landing-system : lando
2019-09-26 20:01:28 +00:00
Olli Pettay 322a0d1fa7 Bug 1579591, clear pending timeouts in BrowserUsageTelemetry.jsm to avoid leaks during testing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D47250

--HG--
extra : moz-landing-system : lando
2019-09-26 13:37:15 +00:00
Drew Willcoxon e505b9b12c Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 13:53:14 +00:00
Sebastian Streich 2fbc46096e Bug 1580782 - Remove JS Callsites for Principal->GetURI->Schemeis r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D45685

--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:33 +00:00
Haik Aftandilian 445acf98e9 Bug 1565738 - Re-enable disabled WebRTC tests on macOS Mojave r=jib
Re-enable skipped webRTC tests on Mac which were disabled due to the macOS 10.14 permission prompts causing timeouts.

Don't trigger OS camera and microphone permission prompts for fake devices (used for tests).

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:43:46 +00:00
Paul Zuehlcke 5720b1afae Bug 1402957 - Removed deprecated SitePermission URI methods. r=johannh
Depends on D47055

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

--HG--
extra : moz-landing-system : lando
2019-09-25 11:07:07 +00:00
Paul Zuehlcke acb69b0593 Bug 1402957 - Refactored SitePermission tests to use principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47055

--HG--
extra : moz-landing-system : lando
2019-09-25 11:42:10 +00:00
Paul Zuehlcke 172c56e5ba Bug 1580189 - Clear geolocation permission for sub-frames with active sharing state. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D45827

--HG--
extra : moz-landing-system : lando
2019-09-25 09:16:32 +00:00
Paul Zuehlcke a20be9ee64 Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45848

--HG--
extra : moz-landing-system : lando
2019-09-24 17:13:43 +00:00
Oana Pop Rus 3144f81e55 Backed out changeset cb1b6afa9f33 (bug 1574469) for multiple failures in nsICookieManager.remove on a CLOSED TREE 2019-09-24 13:10:07 +03:00
Paul Zuehlcke b7de7aec93 Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45848

--HG--
extra : moz-landing-system : lando
2019-09-19 17:10:58 +00:00
Kris Maglione 7dbe15f5f1 Bug 1553804: Part 5 - Fix callers which create chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45656

--HG--
extra : source : 301e0d883a5f39053ab02ba11133f1b23156e240
extra : histedit_source : 241111e45e10e49eb5add12e1b69689ea9783b16
2019-09-20 04:43:55 +00:00
Daniel Varga f0411a344a Backed out 6 changesets (bug 1553804) for browser-chrome failure at browser/base/content/test/general/browser_fullscreen-window-open.js. On a CLOSED TREE
Backed out changeset 86b3d469b4ff (bug 1553804)
Backed out changeset 301e0d883a5f (bug 1553804)
Backed out changeset acff4a663671 (bug 1553804)
Backed out changeset 1574aecf3177 (bug 1553804)
Backed out changeset 3acf056e792e (bug 1553804)
Backed out changeset 1ed250faeb2e (bug 1553804)
2019-09-20 10:09:54 +03:00
Kris Maglione cc8f94a921 Bug 1553804: Part 5 - Fix callers which create chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45656

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:55 +00:00
Olli Pettay 5a966fa06e Bug 1518410, try to make browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js fail a bit less likely, r=Ehsan
There is still another related bug 1579591, which this may make a bit less likely, since that seems to be timing dependent, but
the patch is not trying to fix that.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 14:29:09 +00:00
Rob Wu cda779b4c4 Bug 1581300 - Remove unneeded browser.webProgress r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D45936

--HG--
extra : moz-landing-system : lando
2019-09-17 15:32:41 +00:00
Paul Zuehlcke 21d4a7024e Bug 1201618 - Removed image permission from pageInfo permission ui. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46149

--HG--
extra : moz-landing-system : lando
2019-09-18 16:56:16 +00:00
Drew Willcoxon cfb89e146b Bug 1581989 - Properly account for tip results in histogram telemetry. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D46243

--HG--
extra : moz-landing-system : lando
2019-09-18 13:42:14 +00:00
Johann Hofmann fe6f796bbc Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
This is done to offset the requirement that extensions have to get persistent permission before
they can start using WebRTC in popups.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 12:55:42 +00:00
Johann Hofmann 0985571105 Bug 1579489 - Improve getUserMedia handling in extension pages. r=jib,rpl
The goal is to

- Avoid showing any permission prompt when calling getUserMedia in webextension popups,
  while still checking for persistent permissions.
- Never allow getUserMedia calls on background pages.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 12:55:22 +00:00
Bogdan Tara 06351a8472 Backed out 3 changesets (bug 1579489) for ES lint failure on browser_ext_webrtc.js CLOSED TREE
Backed out changeset 281d238e6259 (bug 1579489)
Backed out changeset 764628963a3c (bug 1579489)
Backed out changeset 680a45ca89b7 (bug 1579489)
2019-09-17 13:01:37 +03:00
Johann Hofmann 5ee7e03637 Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
This is done to offset the requirement that extensions have to get persistent permission before
they can start using WebRTC in popups.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 09:26:01 +00:00
Johann Hofmann b368e3b21a Bug 1579489 - Improve getUserMedia handling in extension pages. r=jib,rpl
The goal is to

- Avoid showing any permission prompt when calling getUserMedia in webextension popups,
  while still checking for persistent permissions.
- Never allow getUserMedia calls on background pages.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 09:25:37 +00:00
Mihai Alexandru Michis ee8e5475f4 Backed out 3 changesets (bug 1579489) for causing bc failures at browser_ext_webrtc.js CLOSED TREE
Backed out changeset 71978ebe41f1 (bug 1579489)
Backed out changeset b5e35c96c2f7 (bug 1579489)
Backed out changeset 71130160afee (bug 1579489)
2019-09-16 22:02:47 +03:00
Johann Hofmann cbdf930501 Bug 1579489 - Check the persistent permission checkbox by default for WebExtension WebRTC prompts. r=jib
This is done to offset the requirement that extensions have to get persistent permission before
they can start using WebRTC in popups.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 15:40:50 +00:00
Johann Hofmann ec59c497c6 Bug 1579489 - Improve getUserMedia handling in extension pages. r=jib,rpl
The goal is to

- Avoid showing any permission prompt when calling getUserMedia in webextension popups,
  while still checking for persistent permissions.
- Never allow getUserMedia calls on background pages.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 15:40:21 +00:00
Harry Twyford 2b19541fd2 Bug 1580808 - Change UrlbarTestUtils.get[set]SelectedIndex to get[set]SelectedRowIndex. r=adw
Depends on D45455

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

--HG--
extra : moz-landing-system : lando
2019-09-12 21:05:22 +00:00
monikamaheshwari 9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Doug Thayer 7d54759c16 Bug 1575610 - Ensure we only show spinner after 400ms r=mconley
I haven't been able to work out a reason why we should show the
spinner before this.loadTimer is cleared. All this does is allow
for random reordering of events to sometimes show a spinner early.
This should ideally just make the spinner logic more rubust to
event ordering changes, without sacrificing visibility into tab
switch timings.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 20:02:45 +00:00
Doug Thayer 4d29441819 Bug 1575610 - Revamp AsyncTabSwitcher.jsm logging r=mconley
This just adds a bit of information to the AsyncTabSwitcher's
logging and cleans up the display to make it quicker to find
what changed, especially with large numbers of tabs. The bit of
new information that I'm particularly interested in is what
event triggered a particular update - so now every time we call
postActions, we include the name of the event.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 20:02:36 +00:00
Johann Hofmann c987315cec Bug 1468355 - Optimize checking for site data usage for the site identity panel. r=Gijs
The idea here is that we avoid updating all site data in SiteDataManager.jsm
just for checking a single host/origin and that we optimize performance by prioritizing
the most common data type (cookies) and synchronous lookups (AppCache) and returning
early if any data was found.

We will still refresh the site data list for clearing once the user clicks on "Clear Site Data".

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

--HG--
extra : moz-landing-system : lando
2019-08-28 21:45:30 +00:00
Andreas Farre 6e42fb98f8 Bug 1563619 - Handle subframe crashes in BrowserParent::ActorDestroy. r=mconley,kmag,peterv
Differential Revision: https://phabricator.services.mozilla.com/D40937

--HG--
extra : moz-landing-system : lando
2019-08-26 13:08:32 +00:00
Johann Hofmann e91d880e08 Bug 1570674 - Default to "Never Allow" for notification permission prompt denials. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43081

--HG--
extra : moz-landing-system : lando
2019-08-22 16:24:56 +00:00
Drew Willcoxon c348ff1304 Bug 1572500 - Count internal @search keyword searches separately from other urlbar searches in the SEARCH_COUNTS histogram. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D42569

--HG--
extra : moz-landing-system : lando
2019-08-22 09:37:45 +00:00