Commit Graph

2847 Commits

Author SHA1 Message Date
Julian Descottes
459b71deed Bug 1589087 - Update regular expression used in ADB to extract Fenix version r=ladybenko
The format of the Fenix versionName on Nightly no longer matches our regular expression.
Updating the regular expression to accommodate both versions such as "2.1.0" and "Nightly 191016 06:01"

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:08:44 +00:00
Bogdan Tara
7e9efc5de3 Backed out changeset 29bc3ebe8b4e (bug 1588997) for browser_ext_devtools_panels_elements_sidebar.js && browser_ext_find.js failures CLOSED TREE
--HG--
rename : devtools/shared/fronts/environment.js => devtools/shared/client/environment-client.js
rename : devtools/shared/fronts/property-iterator.js => devtools/shared/client/property-iterator-client.js
rename : devtools/shared/fronts/symbol-iterator.js => devtools/shared/client/symbol-iterator-client.js
2019-10-17 10:51:19 +03:00
jaril
e1c2cd6db5 Bug 1588997 - Convert ObjectClient to protocol.js front. r=nchevobbe.
- Converted the ObjectClient into an protocoljs Front
- Converted the SymbolIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the PropertyIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the EnvironmentClient into a protocoljs Front and moved it to devtools/shared/fronts
- Modified calls to `DebuggerClient.release()` so that it tries to call the ObjectFront's release method first, and falls back on `DebuggerClient.release()` if there's no object front
- Changed reps so that it instantiates only one ObjectClient per grip
- Changed tests so that they expect what the Front's request method resolves to where applicable (i.e. ObjectFront.allocationStack resolves to allocationStack, not a packet object with an allocationStack property)
- Changed callbacks provided to ObjectClient methods to be chained to the ObjectFront methods (e.g. ObjectClient.getScope(callback) changed to ObjectFront.getScope().callback())
- Changed tests to use async/await (test_framebindings-x.js, test_functiongrips-x.js, test_objectgrips-x.js)
- Changed tests to expect protocoljs to throw an error string instead of an error object (test_objectgrips-fn-apply-03.js, test_threadlifetime-02.js, test_pauselifetime-03.js)

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

--HG--
rename : devtools/shared/client/environment-client.js => devtools/shared/fronts/environment.js
rename : devtools/shared/client/property-iterator-client.js => devtools/shared/fronts/property-iterator.js
rename : devtools/shared/client/symbol-iterator-client.js => devtools/shared/fronts/symbol-iterator.js
extra : moz-landing-system : lando
2019-10-16 17:09:35 +00:00
Alexandre Poirot
f5ed7d3556 Bug 1588730 - Ensure calling form() before calling notifying onFront listeners. r=jdescottes
You can listen for fronts creation via `parentFront.onFront(typeName, callback)`.
For now, we were calling `callback` before we pass the `form` to Front.
This leads to empty attributes as the Front doesn't have access to any data.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 15:56:18 +00:00
Nicolas Chevobbe
99657d8d0b Bug 1580181 - Reorganize js-property-provider. r=ochameau.
Move analyzeInputString function below JSPropertyProvider, so
the exported function appears first in the file.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:24:48 +00:00
Nicolas Chevobbe
c273de43c0 Bug 1580181 - Remove debuggee existence check in webconsole actor autocomplete. r=ochameau.
We always have a debugee for the eval window, so we can
remove the now unnecessary check.
We also take this as an opportunity to always attach the
thread when attaching the console in devtools/shared/webconsole/test/common.js
as it's what makes the evalWindow a debuggee.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:24:27 +00:00
Emilio Cobos Álvarez
1abff7e4ce Bug 1588743 - Update property database.
MANUAL PUSH: Left this hanging around due to phlay's confirmation dialog.

CLOSED TREE
2019-10-15 15:02:36 +02:00
Razvan Caliman
05bbb86d41 Bug 1572651 - (Part 3) Add option for highlighters to get node position without scroll offsets. r=pbro
Depends on D47092

Given that the highlighter rendering surface is sized to the viewport of the inspected page (as opposed to the whole document), we need a way to ignore scroll offsets when getting data about the node position so the highlighter doesn't get drawn off-screen.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 21:51:43 +00:00
Razvan Caliman
56cd72319f 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-11 12:39:42 +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
Razvan Caliman
77daa88970 Bug 1572651 - (Part 3) Add option for highlighters to get node position without scroll offsets. r=pbro
Depends on D47092

Given that the highlighter rendering surface is sized to the viewport of the inspected page (as opposed to the whole document), we need a way to ignore scroll offsets when getting data about the node position so the highlighter doesn't get drawn off-screen.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 14:15:03 +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
Logan Smyth
4470e56db4 Bug 1585902 - Use the protocoljs framework for emitting events. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D48147

--HG--
extra : moz-landing-system : lando
2019-10-09 11:03:33 +00:00
Alexandre Poirot
5aaa18113b Bug 1565263 - Make TargetMixin.destroy more synchronous. r=jdescottes
Protocol.js's Front and Pool's destroy are not expected to be async.
But TargetMixin.destroy is. It makes DebuggerClient.close do not wait
for all Target fronts destroys correctly. The client close method calls
the cleanup method of all the pools. Top level fronts are pools.
Target fronts are still self managed and so are pools.
And so, when we close the toolbox, the target destroy is still pending
after toolbox.destroy is resolved.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 08:03:45 +00:00
Alexandre Poirot
52a0e9273a Bug 1565263 - Support target switching for the console. r=nchevobbe,yulia,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40016

--HG--
extra : moz-landing-system : lando
2019-10-09 08:03:43 +00:00
Alexandre Poirot
995d069a19 Bug 1565263 - Use Target.shouldCloseClient as only flag to check if a Target should close its Client. r=jdescottes
This will later allow dynamically change this value for local tabs,
during Fission processes switches.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 08:03:41 +00:00
jaril
61cb2a6ec1 Bug 1581245 - Added server support for frame timelines
Differential Revision: https://phabricator.services.mozilla.com/D48635

--HG--
extra : moz-landing-system : lando
2019-10-09 05:17:17 +00:00
Patrick Brosset
e12f3faba1 Bug 1574401 - Multi-target node-picker in the browser toolbox r=rcaliman,gl,ochameau
The original plan for the node-picker to work with multiple targets was introduced in D41598 (in bug 1568825). The idea was that, because we can have multiple independent inspectable targets, and because the client is the one doing the orchestration between them, to let the client start the node picker in all targets at once.
At the time of this first change, the code was create with this in mind, but there was really just one target (the top-level one).

So, this revision introduces the real code for this. First of all, I removed the now obsolete `getAllInspectorFronts` in `node-picker.js` because we now have a similar function on the inspector front directly.

Then the main code changes to look for are on the actor side, in the `HighlighterActor`. This is where the picking actually happens.
You have to remember that several targets will be picking at the same time, and therefore several `HighlighterActor` instances will be in pick mode at the same time.
The way they allow users to pick is by listening to mouse events (mousemove and clicks essentially).
Because these actors can't see or talk to each other, one can't tell the others that the mouse is now over its content and the other pickers should pause somewhat.

So, when one of them sees that the mouse event is happening on a remote frame, then it bails out and lets events through without handling them. This is so that the embedded document (which also has a picker running) can get a chance to receive the mouse events too.

The other aspect is that each `HighlighterActor`, when picking, does its own highlighting. So if there are 3 remote frames, then there really are 3 highlighters.
So the trick is to make sure only one of them ever appears at any given time. Again, these actors can't talk to each other directly, so the client is responsible for doing this when receiving events that a node was hovered.

This is not perfect, but should normally get far better when the new fission-compatible highlighter is in place. Indeed, when that happens, we won't have to care about this anymore, there will be only one `HighlighterRenderer` for the entire tab. So even if there are multiple `HighlighterActor` instances picking, they will all be sending events to the same renderer.

The only exception is in the browser toolbox where you can inspect both the browser UI and the content UI. In this case, there will be 2 renderers: one over the entire browser window, and one over the <browser> area. So we'll still have to do the dance of hiding one when the other is shown.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 13:47:18 +00:00
Boris Chiou
089664a09e Bug 1506939 - Enable individual transform on nightly. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D48239

--HG--
extra : moz-landing-system : lando
2019-10-07 21:48:44 +00:00
Ricky Stewart
c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

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

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Daniel Varga
052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart
940d91af38 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e

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

--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Alexandre Poirot
8981bc5d55 Bug 1585986 - Print method name when RDP can't be sent because the front is destroyed. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D45667

--HG--
extra : moz-landing-system : lando
2019-10-03 14:09:38 +00:00
Alexandre Poirot
47cf5eca24 Bug 1571703 - Close DebuggerClient's opened by about:debugging toolboxes. r=jdescottes
When debugging firefox instance, we open about:devtools toolboxes,
without any remoteId attribute. So that we create a brand new DebuggerClient
instance. For now, this instance is only ever closed if the debugged target
is a local tab. We should try to close the clients for all cases.
Remote debugging clients are ignored and I think are still left opened.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 16:24:27 +00:00
yulia
39e4903e66 Bug 1574401 - allow reparenting r=rcaliman,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D44133

--HG--
extra : moz-landing-system : lando
2019-10-02 09:49:12 +00:00
yulia
cd1a3bfb7b Bug 1574401 - remove nodeFront's connectToFrame r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D45368

--HG--
extra : moz-landing-system : lando
2019-10-02 09:49:02 +00:00
yulia
13b4624bbb Bug 1574401 - move listRemoteFrame from targets to mainRoot and descriptors r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D45367

--HG--
extra : moz-landing-system : lando
2019-10-02 09:48:47 +00:00
Nicolas Chevobbe
64388a8a8a Bug 1585271 - Remove custom defer function in Front.js. r=ochameau.
We weren't using the shared defer function  because
at some point it was still using Promise.jsm,
which is slow.
But since Bug 1388054, it's not using Promise.jsm anymore,
so we can use the shared function.

We take this as an opportunity to clean up
the shared defer file comments.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 09:41:24 +00:00
Micah Tigley
47ee24af1f Bug 1579133 - Screenshot page content with embedded RDM UI. r=gl
Adds another method on the Emulation actor that screenshots the page content. Here, another instance of the ScreenshotActor is managed by the Emulation actor. The ScreenshotActor already provides methods to handle capturing page content along with additional options such as screenshotting the full page, which we may want to use in the future.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 14:59:01 +00:00
Julian Descottes
34f1606151 Bug 1583444 - Stop using win.top in devtools/shared/layout/utils.js r=pbro
Depends on D46957

We are updating three call sites that were still relying on window.top to get the topmost window.

For `getFrameOffsets` and `getRect`, they are currently only called with a non-null `boundaryWindow` argument.
That's why this didn't trigger any regression.

For `getFrameElement`, I could only find STRs that don't have any user impact.
For instance, when the BrowserToolbox debugs a page where you open DevTools, this will load the toolbox in an iframe.
This load will trigger `onFrameLoad` in the walker actor. And because we were using `win.top`, getFrameElement would return null, and onFrameLoad will not emit mutations.
But I couldn't see any scenario where this had an actual impact for users.

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

--HG--
extra : moz-landing-system : lando
2019-09-30 09:53:15 +00:00
Sorin Davidoi
b44e43d6a5 Bug 1403051 - Server Timings. r=Honza
Implements visualization for Server Timings.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 14:19:35 +00:00
Julian Descottes
6703ecb952 Bug 1583749 - Stop exposing deprecated connect() api on the webextension descriptor front r=yulia,rpl
Depends on D47053

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

--HG--
extra : moz-landing-system : lando
2019-09-27 09:53:55 +00:00
Julian Descottes
0af833bc23 Bug 1583749 - Remove unnecessary trait webExtensionAddonConnect r=ochameau
Depends on D47050. Trait was added in 2017, all servers should now have support this by default

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

--HG--
extra : moz-landing-system : lando
2019-09-25 14:54:16 +00:00
arthur.iakab
b61f7995be Backed out 2 changesets (bug 1403051) for causing devtools failures on browser_parsable_css.js CLOSED TREE
Backed out changeset d93010798ea5 (bug 1403051)
Backed out changeset 0c049e82eb05 (bug 1403051)
2019-09-26 16:32:12 +03:00
yulia
3d12fc3a88 Bug 1584107 - add targetFront and parentFront to target fronts r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D45366

--HG--
extra : moz-landing-system : lando
2019-09-26 11:49:37 +00:00
Sorin Davidoi
ee8bfc0e23 Bug 1403051 - Server Timings. r=Honza
Implements visualization for Server Timings.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:38:54 +00:00
Julian Descottes
6a1c4bd7b2 Bug 1581536 - Remove unused addon target front and spec r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D47050

--HG--
extra : moz-landing-system : lando
2019-09-26 09:16:17 +00:00
Daisuke Akatsuka
fa5347f328 Bug 1581008: Add inactive CSS message for properties that are impossible to override. r=pbro,fluent-reviewers,flod
Depends on D45624

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

--HG--
extra : moz-landing-system : lando
2019-09-26 01:53:40 +00:00
Julian Descottes
5c1a679523 Bug 1539462 - Remove WebIDE r=ochameau,jryans,janerik,fluent-reviewers,flod
Per deprecation roadmap on https://developer.mozilla.org/en-US/docs/Tools/Deprecated_tools#WebIDE_and_Connect_page

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:24:58 +00:00
David Walsh
853a3f73c7 Bug 1580728 - Wire up backend of blocked URLs r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D46671

--HG--
extra : moz-landing-system : lando
2019-09-25 16:23:38 +00:00
Cosmin Sabou
b9c401dc1b Backed out 2 changesets (bug 1581008) for mochitest failures on test_styles-matched.html. CLOSED TREE
Backed out changeset 1208c70dd3bd (bug 1581008)
Backed out changeset d69f8f5f9db4 (bug 1581008)
2019-09-25 11:51:11 +03:00
Daisuke Akatsuka
26d18e0ea4 Bug 1581008: Add inactive CSS message for properties that are impossible to override. r=pbro,fluent-reviewers,flod
Depends on D45624

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

--HG--
extra : moz-landing-system : lando
2019-09-25 07:45:15 +00:00
Brian Hackett
b6601709fb Bug 1539453 - Don't mark debugger sandbox as invisible to the debugger, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D45122

--HG--
extra : moz-landing-system : lando
2019-09-24 16:48:43 +00:00
Boris Chiou
470629b5d3 Bug 1567330 - Add offset shorthand. r=emilio,birtles
Also, update the serialization by the shorter perference because this is
a new feature and using older syntax doesn't make sense.

Besides, use `cssOffset` for web animation IDL attribute name.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 19:56:33 +00:00
Zibi Braniecki
1376286290 Bug 1581692 - Remove unused .properties from devtools. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D46192

Depends on D46103

--HG--
extra : histedit_source : 82551bb2e6f5603ce6d2897e52dda75982c8457c
2019-09-18 19:38:29 +03:00
Julian Descottes
d49f8aea06 Bug 1582468 - Add shared-head and telemetry-helpers imports to devtools/shared/webconsole browser.ini r=nchevobbe
shared-head.js is loaded by the suite's head.js file. telemetry-helpers is loaded by shared-head itself.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 17:41:36 +00:00
Patrick Brosset
cfe3a4c9ef Bug 1568857 - Get flexbox information from the right target; r=ochameau
The flexbox inspector is different from the grid inspector in that it
does not list all of the flexbox layouts on the page. In D45524 we needed
to list all of the LayoutFronts to retrieve all of the GridFronts in the
page. However here, we do not need to do this. We only need to get the
LayoutFront contextual to the NodeFront currently selected.

I also took this opportunity to remove an old backward-compatibility
check called hasGetCurrentFlexbox which was no longer required since it
guarded a feature added in Fx60.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 12:12:21 +00:00
Patrick Brosset
5842ca7532 Bug 1568857 - Get the grids from all current targets; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D45524

--HG--
extra : moz-landing-system : lando
2019-09-19 12:11:44 +00:00
Jason Laster
5cb8b24f19 Bug 1110276 - Log on Events (UI). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D46077

--HG--
extra : moz-landing-system : lando
2019-09-17 21:17:58 +00:00
Boris Chiou
88285c24ba Bug 1480665 - Support ray() in offset-path and make it animatable. r=emilio,birtles
1. Add `generics::motion::OffsetPath`, and use specified `Angle` and
   computed `Angle` to define specified `OffsetPath` and computed `OffsetPath`.
2. Add `ray` function into `OffsetPath`.

We also tweak the degree from 150deg to 135deg in wpt (e.g.
offset-path-ray-001.html and others) to avoid floating point precision issues.
For example:
```
// offset-path: ray(150deg ...);
// offset-distance: 20px;
matrix:
{
  {0.500000 0.866025 0.000000 0.000000},
  {-0.866025 0.500000 0.000000 0.000000},
  {0.000000 0.000000 1.000000 0.000000},
  {10.000000 17.320509 0.000000 1.000000}
}

// rotate(60deg) translate(20px)
matrix:
{
  {0.500000 0.866025 0.000000 0.000000},
  {-0.866025 0.500000 0.000000 0.000000},
  {0.000000 0.000000 1.000000 0.000000},
  {10.000000 17.320507 0.000000 1.000000}
}
```
Their translate parts, 17.320509 vs 17.320507, are almost the same (only
tiny difference), which may cause the reftest failed.

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

--HG--
rename : testing/web-platform/tests/css/motion/offset-path-ray-ref.html => testing/web-platform/tests/css/motion/offset-path-ray-001-ref.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-001.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-002.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-003.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-004.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-005.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-006.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-007.html
extra : moz-landing-system : lando
2019-09-16 23:24:48 +00:00