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

65379 Коммитов

Автор SHA1 Сообщение Дата
Sam Foster 3120dbb435 Bug 1563330 - Let login autocomplete for subdomains ride trains for release. r=MattN
Needs a rs to enable the feature for 71.

Try: https://treeherder.mozilla.org/#/jobs?repo=try&searchStr=mochitest&revision=811f92d684564767fdfcfabf9408905e41ec1de0
I guess all the autocomplete tests are skipped for android anyhow, but I also ran: https://treeherder.mozilla.org/#/jobs?repo=try&searchStr=mochitest&revision=f7d3c7dbb98654e8345030ca3058f44a9c31b510

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

--HG--
extra : moz-landing-system : lando
2019-10-12 08:51:20 +00:00
Marco Bonardo cff612c7b4 Bug 1586681 - Ensure URIFIxup uses the right engine when there's a separate PB engine. r=Standard8,Gijs
Add a new FIXUP_FLAG_PRIVATE_CONTEXT to nsIURIFixup, make it use the default
private search engine when it's set.
Update consumers to pass the new flag when necessary.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 12:37:51 +00:00
Punam Dahiya d16004d6cb Bug 1588215 - Add modal-less welcome, send-tab recipes and bug fixes to New Tab Page r=Mardak,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49020

--HG--
extra : moz-landing-system : lando
2019-10-12 07:01:16 +00:00
Jared Wein 891886fa91 Bug 1587439 - Ignore messages about missing profile in old XULStore.jsm. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48750

--HG--
extra : moz-landing-system : lando
2019-10-11 20:15:41 +00:00
Nan Jiang d4893635c3 Bug 1585434 - Add a pref to control ASRouter remote l10n r=Mardak
By flipping this pref, we can force ASRouter to load the local flient files for l10n. Note I will make another change for ASRouter to decide which fluent source to use.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 21:01:20 +00:00
Jordan Lund 3dd2714aa3 Bug 1579940 - Setup WNP for users coming from <70.0 and receiving the 70.0 release, DONTBUILD NPOTB, r=aki, a=release
Differential Revision: https://phabricator.services.mozilla.com/D49008

--HG--
extra : moz-landing-system : lando
2019-10-11 19:16:06 +00:00
Jared Wein ebdbdbee8f Bug 1583795 - Select the first breached login when breaches are set initially. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48764

--HG--
extra : moz-landing-system : lando
2019-10-11 17:35:54 +00:00
Edouard Oger 25eb2d60df Bug 1549049 - Unify Sync Now buttons logic. r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48410

--HG--
extra : moz-landing-system : lando
2019-10-11 17:06:57 +00:00
Mark Banner 0f977493e1 Bug 1576160 - Turn on the display of default private search engine feature for nightly/early beta users. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D47223

--HG--
extra : moz-landing-system : lando
2019-10-11 07:22:23 +00:00
Tim Nguyen 8e222cab72 Bug 1586997 - Fix focusing the first input of edit bookmark dialogs. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48955

--HG--
extra : moz-landing-system : lando
2019-10-11 14:16:42 +00:00
Gijs Kruitbosch c5e6a9403a Bug 1587784 - expect the additional onSecurityChange update that comes with a remoteness change in fission in browser_alltabslistener.js, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48853

--HG--
extra : moz-landing-system : lando
2019-10-11 15:12:22 +00:00
Gijs Kruitbosch ec78b5ca7c Bug 1587784 - avoid the test listener in browser_alltabslistener.js being notified for the base/dummy page loading when fission is enabled, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48852

--HG--
extra : moz-landing-system : lando
2019-10-11 15:12:21 +00:00
Gijs Kruitbosch a97c79d990 Bug 1587784 - improve logging and test assertions in browser_alltabslistener.js so it's easier to work out what's going on, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48851

--HG--
extra : moz-landing-system : lando
2019-10-11 15:12:15 +00:00
Mark Banner bbdd994f71 Bug 1583162 - Add an option in preferences to allow search suggestions in private windows. r=mak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48972

--HG--
extra : moz-landing-system : lando
2019-10-11 14:57:44 +00:00
Mark Banner 50b98750a5 Bug 1583162 - Remove 'Show Suggestions' from the search bar context menu as it doesn't work correctly, and using prefs UI is better. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48971

--HG--
extra : moz-landing-system : lando
2019-10-11 14:57:27 +00:00
Abdoulaye Oumar Ly c558bed276 Bug 1505916 - [Fission] Part 2: Make the fullscreen code work with oop iframes. r=NeilDeakin,smaug
e10s scenario:
1. An DOM element request fulscreen mode.
2. The request is redirected to the parent.
3. Parent enters fullscreen.
4. Parent notifies child that it has finished entering fullscreen.
5. Child goes fullscreen.
6. Then, child notifies parent that it has finished transitioning to fullscreen.
4. Finally, parent notify observers that fullscreen paint has finished.

Let's go into the details of how step 5 works in the above scenario.
5.a The element that made the request is set to fullscreen.
5.b Then, the document where that element lives is set to fullscreen as well as all of its ancestors until we reach the top level document. (see Document::ApplyFulscreen method)

Now in Fission world, we may have a request comming from an oop iframe. And it that case since we won't have  to ancestor documents living in different content process(es), we will first notiy those content processes (one after another from bottom to top) to go fullscreen. Once they all do, the content process where the request originated will be told to enter fullscreen.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 14:30:28 +00:00
Abdoulaye Oumar Ly a0898dc653 Bug 1505916 - [Fission] Part 1: Make the fullscreen code work with JSWindowActors. r=NeilDeakin,dao,smaug
At this point, fullscreen is not regressed but it doesn't work with oop iframes yet.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 14:30:28 +00:00
Dão Gottwald f49de631fa Bug 1587800 - Remove the hidden-focus class. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48845

--HG--
extra : moz-landing-system : lando
2019-10-11 13:35:52 +00:00
harry 9b2a6d81ce Bug 1588084 - Add null-checking to isUrlbarFocused to avoid crashes on window shutdown. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48966

--HG--
extra : moz-landing-system : lando
2019-10-11 13:35:04 +00:00
Noemi Erli 9bb4859279 Backed out changeset 41fb463d4a8c (bug 1587800) for failures in test_about_private_browsing.py 2019-10-11 13:49:51 +03:00
Dão Gottwald ea4ddcd840 Bug 1587800 - Remove the hidden-focus class. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48845

--HG--
extra : moz-landing-system : lando
2019-10-11 09:58:13 +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
Matt Woodrow 4cefa2fdd3 Bug 1578624 - P11: Add a flag to ask the parent to not actually load the URI when opening a window, since we'll do it ourselves anyway. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47867

--HG--
extra : moz-landing-system : lando
2019-10-11 01:56:35 +00:00
Matt Woodrow f3de56fb54 Bug 1578624 - P7: Listen for keyword-uri-fixup events from the parent process in browser.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D44763

--HG--
extra : moz-landing-system : lando
2019-10-11 02:27:29 +00:00
Kashav Madan 409851d51d Bug 1583240 - Update fission annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47648

--HG--
extra : moz-landing-system : lando
2019-10-08 15:29:06 +00:00
Kashav Madan 8dc620b8bc Bug 1583240 - Make BrowserTestUtils.waitForDocLoadAndStopIt Fission-compatible, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47649

--HG--
extra : moz-landing-system : lando
2019-10-10 23:21:22 +00:00
Mike de Boer 7d3c7d45d1 Bug 1563024 - Adapt unit tests to include coverage for the new Search in Private Window context menu option. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D48673

--HG--
rename : browser/base/content/test/general/browser_bug970746.js => browser/components/search/test/browser/browser_contentContextMenu.js
rename : browser/base/content/test/general/browser_bug970746.xhtml => browser/components/search/test/browser/browser_contentContextMenu.xhtml
extra : moz-landing-system : lando
2019-10-10 22:49:18 +00:00
Mike de Boer 87107fa64b Bug 1563024 - Add a context menu item for the in-content popup to allow to perform a search in a new private window, using a private browsing mode default search engine. r=jaws,mak
Differential Revision: https://phabricator.services.mozilla.com/D48672

--HG--
extra : moz-landing-system : lando
2019-10-10 22:49:06 +00:00
Tomislav Jovanovic 8b347e672a Bug 1587914 - Fix browser_ext_tabs_readerMode.js with Fission r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48896

--HG--
extra : moz-landing-system : lando
2019-10-10 22:42:41 +00:00
Andreea Pavel eb350d4f6b Backed out changeset 4695136f7e82 (bug 1549049) for assertion failures at ErrorResult.h on a CLOSED TREE 2019-10-11 00:53:42 +03:00
harry bb242e5b57 Bug 1563351 - Insert search shortcuts into the Urlbar with Touch Bar buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38892

--HG--
extra : moz-landing-system : lando
2019-10-09 10:45:33 +00:00
harry b4a08851a2 Bug 1563350 - Add popover to the Touch Bar that displays when the Urlbar has focus. r=mikedeboer,spohl,fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D38563

--HG--
extra : moz-landing-system : lando
2019-10-10 19:57:32 +00:00
harry 63d2c3fa56 Bug 1563349 - Part 1 - JS changes to support TouchBarInput children. r=mikedeboer
Depends on D34926

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

--HG--
extra : moz-landing-system : lando
2019-10-09 15:25:43 +00:00
Edouard Oger 136a86deed Bug 1549049 - Unify Sync Now buttons logic. r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48410

--HG--
extra : moz-landing-system : lando
2019-10-10 21:08:01 +00:00
Andrei Oprea 5716f36a6c Bug 1587705 - The CFR Recommendation button is not displayed in the minimized form on urlbar focus r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D48876

--HG--
extra : moz-landing-system : lando
2019-10-10 19:30:32 +00:00
Mark Banner 818208e565 Bug 1580830 - Add a display to the private browsing page to inform of the new setting for search engines in private mode. r=mikedeboer,fluent-reviewers,flod
This implements the introduction display for the new search engine preference.

The decision for whether or not to display the introduction is handled in AboutPrivateBrowsingHandler.jsm, as we need
to limit it to being displayed once per session.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 20:00:51 +00:00
Bianca Danforth 61e0ee2fd9 Bug 1585499 - Enable Extension Storage actor in addon debugger by default r=rpl,miker
Differential Revision: https://phabricator.services.mozilla.com/D47851

--HG--
extra : moz-landing-system : lando
2019-10-09 11:49:45 +00:00
Rob Wu 07c1fc6c27 Bug 1559835 - Remove comment at tabs.update(active:false) r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D48817

--HG--
extra : moz-landing-system : lando
2019-10-10 15:44:41 +00:00
Jared Wein 02a9637658 Bug 1573481 - Disable the about:logins page if Master Password is requested on load and the user cancels the dialog. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48747

--HG--
extra : moz-landing-system : lando
2019-10-10 16:03:52 +00:00
Daniel Varga 6a27b47313 Backed out 3 changesets (bug 1572651) for devtools failure at devtools/client/inspector/test/browser_inspector_highlighter-by-type.js. On a CLOSED TREE
Backed out changeset 71db1896c459 (bug 1572651)
Backed out changeset fb5863ee4d37 (bug 1572651)
Backed out changeset 5ef33867cacb (bug 1572651)
2019-10-10 18:51:17 +03:00
ffxbld 8d4072c53b No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D48836

--HG--
extra : moz-landing-system : lando
2019-10-10 14:38:00 +00:00
Razvan Caliman 780c3bc0b5 Bug 1572651 - (Part 2) Split BoxModelHighlighter into observer and renderer parts. r=pbro,jdescottes
NOTE: To use the new box model highlighter, flip this pref to true: `devtools.inspector.use-new-box-model-highlighter`

Adding Julian as reviewer to check the sanity of the communication system (see `BoxModelHiglighterObserver` constructor and `BoxModelHighlighterRenderer.setMessageManager()`, `BoxModelHighlighterRenderer.onMessage()`,  `BoxModelHighlighterRenderer.postMessage()`) and Patrick for the overall highlighter behavior which is mostly a clean split of the existing [`BoxModelHighlighter`](https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/devtools/server/actors/highlighters/box-model.js)).

---

Depends on D47091

## Preamble

This patch looks more frightening than it actually is. Let me explain:

The vast majority of the code in `box-model-highlighter-observer.js` and `box-model-highlighter-renderer.js` is a clean split of the code existing in `box-model-highlighter.js` into distinct parts which handle the node measurement (observer) and the drawing the highlighter (renderer). I kept the method names identical to help in matching them up with their original sources.

There was no simple way chunk this without confusing the daylight out of you so I decided to co-locate all changes so it's easier to track and reference methods.

I will detail below the important differences.


## Overview:

The box model highlighter is split into two distinct parts:
- an observer which monitors the node's position
- a renderer which draws the highlighter on top of the node

The renderer always lives in the parent process (browser window) and overlays an iframe with the highlighter markup:
- either over the content if highlighting in the context of the content toolbox
- or over the whole browser UI if highlighting in the context of the browser toolbox

When in the context of the browser toolbox (i.e. highlighting the browser UI), both observer and renderer live in the parent process. Communication is done by direct calls.

When in the context of the content toolbox (i.e. highlighting the page content), the observer lives in content process (so it can measure the node) while the renderer lives in the parent process. Communication is done by message passing via `MessageManager` (soon to be deprecated and replaced with JSWindowActor API)

## Notable differences after the split

- the observer checks whether it is in the content process (aka child process) and sets up the highlighter in the parent process by using [`setupInParent()`](https://docs.firefox-dev.tools/backend/actor-e10s-handling.html) and establishes a communication system to it via message manager. If the observer is in the parent process (browser toolbox scenario), the renderer is setup directly via its constructor and no additional communication system is required.

- whenever the node quads change (as determined by the untouched existing base class `auto-refresh.js`), the observer gathers the data about the node position and sends it over to the renderer. This happens in the `BoxModelHighlighterObserver._update()` (corresponding to the [`_update()` from the existing highlighter](https://searchfox.org/mozilla-central/rev/45f30e1d19bde27bf07e47a0a5dd0962dd27ba18/devtools/server/actors/highlighters/box-model.js#361-383)).

- the renderer expects its `render()` method to be called with the necessary node position information whenever it should update the highlighter. It is the entry point which then calls all the DOM manipulation methods copied over from the existing box model highlighter.

- the only notable change in DOM manipulation methods is in `BoxModelHighlighterRenderer._updateBoxModel()` (corresponding to [`updateBoxModel()` from the existing highlighter](https://searchfox.org/mozilla-central/rev/45f30e1d19bde27bf07e47a0a5dd0962dd27ba18/devtools/server/actors/highlighters/box-model.js#504-560)) where the `_nodeNeedsHighlighting()` is kept on the observer part and the canvas zoom adjustment is removed  (`this.markup.scaleRootElement(this.currentNode, rootId)`) because the canvas is no longer influenced by the page zoom (the canvas lives in the browser window, not the content window)

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

--HG--
rename : devtools/server/actors/highlighters/box-model.js => devtools/server/actors/highlighters/box-model-renderer.js
extra : moz-landing-system : lando
2019-10-10 14:15:22 +00:00
Razvan Caliman c34e4a24a6 Bug 1572651 - (Part 1) Add highlighter renderer base class r=jdescottes,pbro,bgrins
**Update October 8**
 To use the new box model highlighter, flip this pref to true:
`devtools.inspector.use-new-box-model-highlighter`

---

Adding Julian as reviewer to check the sanity of the communication system and Patrick for the overall highlighter behavior.

---

This patch adds a base class for the renderer part of highlighters which is set up on the parent process in the browser window.
This is used by the `BoxModelHighlighterRender` introduced by D47092

`HighlighterRenderer.init()` will create an HTML iframe and inject it to the appropriate position in the browser window in order to serve as a rendering surface for highlighters of the inspected page content (content toolbox) or the browser UI (browser toolbox). A host iframe is used until [Bug 1492582](https://bugzilla.mozilla.org/show_bug.cgi?id=1492582) is fixed because the browser window is XUL and does not support the anonymous canvas frame used by existing highlighters.

The primary use case of `HighlighterRenderer` is as a base class for renderers which live in a separate process than the observers. This happens with highlighters for the content toolbox. Therefore, it provides methods to setup a communication system (via MessageManager for now) whereby the observer can send messages to the renderer and vice-versa: `setMessageManager()`, `postMessage()` and `onMessage()`.

I used the existing code from [`AccessibilityParent`](https://searchfox.org/mozilla-central/source/devtools/server/actors/accessibility/accessibility-parent.js) as a reference for this.

Classes that extend HighlighterRenderer must implement:
 - a typeName representing the highlighter type; used to differentiate between other types of messages when the Message Manager is used;
 - a _buildMarkup() method to generate the highlighter markup;
 - a `render()` method to update the highlighter markup when given new information about the observed node.

NOTE: A temporary pink outline is set on the highlighter surface as a quick visual check to show its extent depending on context: browser toolbox or content toolbox. This will be removed before landing.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 14:13:23 +00:00
Julian Descottes 3ee99df695 Bug 1586819 - Add DevTools command button to show the currently enabled devtools-fission prefs r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48367

--HG--
extra : moz-landing-system : lando
2019-10-10 13:00:03 +00:00
Harry Twyford 0733410a0c Bug 1583535 - The Megabar should not expand when auto-focused after a panel is closed. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48114

--HG--
extra : moz-landing-system : lando
2019-10-10 13:51:26 +00:00
Erica Wright 66f7bcab3e Bug 1586882 - Add params to lockwise and proxy links from protection report. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48582

--HG--
extra : moz-landing-system : lando
2019-10-10 08:06:58 +00:00
Jared Wein 7ac7374081 Bug 1584103 - Increase the font-weight of the breach-alert-link to match the spec closer. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48634

--HG--
extra : moz-landing-system : lando
2019-10-09 20:54:03 +00:00
Jared Wein 0a7318d884 Bug 1583161 - Remove the border from the FxA avatar in about:logins since it was cropping the avatar and looked odd in Dark mode. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48633

--HG--
extra : moz-landing-system : lando
2019-10-09 20:53:50 +00:00
Jared Wein 53a9f9808e Bug 1584176 - Use a fixed background color for the :hover and :hover:active of the dismiss button since the background-color of the breach alert is fixed. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48632

--HG--
extra : moz-landing-system : lando
2019-10-09 20:53:35 +00:00
Jared Wein 5814b6ce92 Bug 1579738 - Set the login-item as a title attribute so the full title can be shown as a tooltip if it is elided. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48629

--HG--
extra : moz-landing-system : lando
2019-10-09 20:52:49 +00:00