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

65361 Коммитов

Автор SHA1 Сообщение Дата
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
Jared Wein e2d85cd7c6 Bug 1584162 - Add a background-color for hovering the login-list sort select button. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48628

--HG--
extra : moz-landing-system : lando
2019-10-09 18:15:11 +00:00
Jared Wein 453b8bb999 Bug 1586601 - Allow the login-item to scroll without pushing the login-list below the fold. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48601

--HG--
extra : moz-landing-system : lando
2019-10-10 00:26:21 +00:00
Gijs Kruitbosch 300f355942 Bug 1586355 - add support for disambiguated file extensions and missing OS default handlers, r=jaws,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48568

--HG--
extra : moz-landing-system : lando
2019-10-09 22:49:05 +00:00
Bogdan Tara a5bb9b3228 Backed out changeset 6cdb3133f50f (bug 1586882) by lizzard's request
--HG--
extra : rebase_source : eb43ef89bf7d30160747bd196a42c142749449bb
2019-10-10 01:13:00 +03:00
Gijs Kruitbosch d9a1a5bca4 Bug 1582467 - make a11y-privacy-checkbox (prevent accessibility services from accessing your browser) handling code work again, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D48467

--HG--
extra : moz-landing-system : lando
2019-10-09 18:14:15 +00:00
Michael Kaply 2ea9213a98 Bug 1577149 - Additional preferences managed by policy requested by users. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D48217

--HG--
extra : moz-landing-system : lando
2019-10-09 18:01:34 +00:00
Johann Hofmann d0da7de770 Bug 1475404 - Make EventUtils available to use in content task scopes. r=mconley,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D47588

--HG--
extra : moz-landing-system : lando
2019-10-09 18:03:35 +00:00
mcrawford@mozilla.com 001320cc27 Bug 1585808 - Add UTM parameters to the "Learn more about this breach" link in breach notifications. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48597

--HG--
extra : moz-landing-system : lando
2019-10-09 20:18:54 +00:00
Michael Kaply aa5fc71cd6 Bug 1586913 - Add policy for DisablePasswordReveal. r=jaws,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D48592

--HG--
extra : moz-landing-system : lando
2019-10-09 20:04:39 +00:00
Tim Nguyen ad570ba4ab Bug 1587384 - Fix extension controlled UI for connection settings. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D48692

--HG--
extra : moz-landing-system : lando
2019-10-09 19:44:13 +00:00
Gurzau Raul 70f0249cbe Backed out changeset 8cf556022ec5 (bug 1585808) by MattN's request.
--HG--
extra : rebase_source : 190ed3696faecf849777a9f9f96f74d77d9ee11e
2019-10-09 22:42:32 +03:00
Tim Huang 732a29d64f Bug 1586713 - Making the test 'browser/components/originattributes/test/browser/browser_postMessage.js' working in Fission. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D48699

--HG--
extra : moz-landing-system : lando
2019-10-09 14:11:39 +00:00
Neil Deakin ec8b2c4f13 Bug 1573836, make autocomplete component fission compatible, r=mak,MattN
Differential Revision: https://phabricator.services.mozilla.com/D47093

--HG--
rename : toolkit/modules/AutoCompletePopupContent.jsm => toolkit/actors/AutoCompleteChild.jsm
rename : toolkit/components/satchel/AutoCompletePopup.jsm => toolkit/actors/AutoCompleteParent.jsm
extra : moz-landing-system : lando
2019-10-09 19:02:57 +00:00
Mark Striemer aa5a36985b Bug 1580962 - Show a SUMO link when an add-on can't be removed r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48128

--HG--
extra : moz-landing-system : lando
2019-10-09 18:46:23 +00:00
Jared Wein f337906a22 Bug 1586590 - Remaining space should be placed between the confirm and cancel buttons. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48599

--HG--
extra : moz-landing-system : lando
2019-10-09 18:15:03 +00:00
Jared Wein cb59d6042b Bug 1576276 - Persist sort direction in about:logins. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48543

--HG--
extra : moz-landing-system : lando
2019-10-09 18:15:05 +00:00
Gurzau Raul cdc7c1a8dd Backed out changeset 479097530e46 (bug 1586913) for failing at test_login_item.html on a CLOSED TREE. 2019-10-09 21:16:58 +03:00
Michael Kaply afdeed7927 Bug 1586913 - Add policy for DisablePasswordReveal. r=jaws,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D48592

--HG--
extra : moz-landing-system : lando
2019-10-09 02:46:16 +00:00