Commit Graph

13078 Commits

Author SHA1 Message Date
Nicolas Chevobbe
2df90a7acc Bug 1506118 - Use chromeUtilsWindow to start the parser worker; r=Honza.
As we were using the browserWindow to start the
parser worker, this was causing an exception
when evaluation from the browser toolbox.
Using chromUtilsWindow fixes the issue.

There is no tests yet as I'm not sure there's
an easy way to test things in the browser toolbox.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 16:33:22 +00:00
Julian Descottes
6380b99f50 Bug 1498143 - Pass nodeActorID to screenshot actor to enable feature in iframes and shadowroots;r=pbro,yulia
Differential Revision: https://phabricator.services.mozilla.com/D12124

--HG--
extra : moz-landing-system : lando
2018-11-19 13:27:51 +00:00
Ted Campbell
49eabf2337 Bug 1508180 - Use uppercase names for high-order macros in js/ r=jandem
This pleases clang-format and makes many of these behave better when
auto formatted. Special cases may still be marked |clang-format off| in
later commits.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 13:05:09 +00:00
Patrick Brosset
22136caa2e Bug 1506792 - Bail out when trying to get getComputedStyle for a non attached node; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D12117

--HG--
extra : moz-landing-system : lando
2018-11-19 10:55:45 +00:00
Tom Schuster
0a9cb5e742 Bug 1473224 - Use blob URL instead of data URL for image data in clipboard test. r=yulia
String.fromCharCode(...charCodes) is limited by the maximum number of arguments that SpiderMonkey
can pass on the stack, if the screenshot gets to large this can easily fail.

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

--HG--
extra : moz-landing-system : lando
2018-11-19 09:53:36 +00:00
Florens Verschelde
2f2e6df330 Bug 1507941 - Style CodeMirror folding buttons with the theme-twisty arrow; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D12185

--HG--
extra : moz-landing-system : lando
2018-11-19 10:27:22 +00:00
Brian Hackett
18b7c36e5d Bug 1507359 Part 3 - Control pausing and resuming in ReplayDebugger, r=lsmyth.
--HG--
extra : rebase_source : 2d988d3703fafd10830a278399b77b88bbf8058b
2018-11-17 07:59:33 -10:00
Logan Smyth
5e324dfa7b Bug 1507312 - Update Debugger Frontend v102 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D11967

--HG--
extra : moz-landing-system : lando
2018-11-16 22:47:21 +00:00
Cosmin Sabou
8b0d7e9861 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : d2d1fef29703d48d14b7ceac0ffa9ee0e5a0a007
2018-11-16 23:57:57 +02:00
Gurzau Raul
2fa7618d3f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-16 19:55:39 +02:00
Gurzau Raul
0e822b012b Merge inbound to mozilla-central. a=merge 2018-11-16 19:08:39 +02:00
Jason Laster
53c3608b3a Bug 1504222 - Notify the client when devtools goes from replaying to recording. r=dwalsh
Tags:

Bug #: 1504222

Differential Revision: https://phabricator.services.mozilla.com/D11593
2018-11-16 10:24:27 -05:00
Gurzau Raul
f9c104f82b Backed out changeset 37d0de33af7f (bug 1507632) for failing at test/static/browser_parsable_css.js on a CLOSED TREE 2018-11-16 12:37:35 +02:00
Bogdan Tara
df744acb24 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 11:50:21 +02:00
Bogdan Tara
647b9eb109 Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Yura Zenevich
aa155585ea Bug 1505848 - switch from CSS based approach to calculating contrast to canvas one, that also handles gradients and images. r=jdescottes,pbro
MozReview-Commit-ID: JS39hAY571f

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

--HG--
extra : moz-landing-system : lando
2018-11-16 03:59:08 +00:00
Yura Zenevich
8d7c6d41ca Bug 1505848 - expose some of the css color utils and ensure that RGBA alpha value is not cut off at 1 decimal. r=pbro
MozReview-Commit-ID: 6xTExCWRz4p

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

--HG--
extra : moz-landing-system : lando
2018-11-16 03:59:06 +00:00
Yura Zenevich
33bdb435b4 Bug 1505848 - change the way accessible object is determined when using accessible highlighter. r=pbro
MozReview-Commit-ID: IiUGsFojZP1

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

--HG--
extra : moz-landing-system : lando
2018-11-16 03:57:25 +00:00
Brian Hackett
a5f01b639d Bug 1506469 - Allow inspecting objects logged to the console without switching to a replaying child, r=lsmyth.
--HG--
extra : rebase_source : 4e00da50edb5eeb8e5d9c490e893e6bddb47a440
2018-11-15 14:08:22 -10:00
Florens Verschelde
a18175c429 Bug 1507632 - Use Photon colors for console icons; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D12068

--HG--
extra : moz-landing-system : lando
2018-11-16 07:07:09 +00:00
Micah Tigley
02f60580bd Bug 1501768 - Maximum sizing section should also consider if a max-clamped flex item shrank. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D11922

--HG--
extra : moz-landing-system : lando
2018-11-15 08:35:31 +00:00
Csoregi Natalia
c9b70719c8 Merge mozilla-central to autoland. CLOSED TREE 2018-11-16 00:19:45 +02:00
Gabriel Luong
01cf92fa23 Bug 1498115 - Part 3: Implement the new styles for the flex item list. r=pbro 2018-11-15 10:02:44 -05:00
Gabriel Luong
af39450486 Bug 1498115 - Part 2: Add badges to show the flex-direction and flex-wrap properties of the flex container. r=pbro
We move the .markup-badge styles from markup.css to inspector.css instead of common.css
for a smaller import size in the markup.xhtml.
2018-11-15 10:02:44 -05:00
Gabriel Luong
b1a58e06e0 Bug 1498115 - Part 1: Remove the FlexboxContainerProperties component. r=pbro 2018-11-15 10:02:44 -05:00
Gabriel Luong
65968f4a8e Bug 1503902 - Avoid resizing RDM when restoring the device state and simply use the stored pref width and height. r=rcaliman 2018-11-15 12:59:49 -05:00
Noemi Erli
f78fcf019c Backed out 3 changesets (bug 1498115) for failures in browser_flexbox_container_properties.js
Backed out changeset e7f8e9c7301b (bug 1498115)
Backed out changeset ad62c3439651 (bug 1498115)
Backed out changeset 06b4d9761d46 (bug 1498115)
2018-11-15 18:28:19 +02:00
Margareta Eliza Balazs
d5555d2998 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-15 18:22:30 +02:00
Razvan Caliman
09f776c6bd Bug 1485324 - (Part 3) Remove obsolete font on element no longer used in Fonts panel; r=gl
Depends on D11506
Removes the `fonts` field from the Redux slice previously used by the FontOverview component
in the Font Inspector version of the Fonts panel. This field is duplicated with the `fonts`
used by the Font Editor. The telemetry can use that one instead.

Refactors the update() method which updates the Redux slice for the FontOverview component.
In time, the update() and refreshFontEditor() method will merge. So will the Redux slices:
`fontEditor` and `fonts` in order to save a duplicate call to the server for `allFonts`.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 16:33:09 +00:00
Razvan Caliman
7aee2429e1 Bug 1485324 - (Part 2) Remove obsolete subset of fonts not used on current element; r=gl
Depends on D11505
The `otherFonts` field in the Redux store slice for Fonts was used by the old Font Inspector to differentiate
between fonts on the element and fonts elsewhere on the page. This is no longer used with the Font Editor.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 18:55:34 +00:00
Razvan Caliman
d5f2881bd2 Bug 1485324 - (Part 1) Remove pref for Font Editor and obsolete conditionals; r=gl
This patch removes the `devtools.inspector.fonteditor.enabled` pref and all its uses in the Fonts panel.
Obsolete actions for the case when the pref was off are also removed. This is mostly old Font Inspector code.

One test is temporarily disabled because it tests the old Font Inspector. It will be removed along with other
pieces on the next part of this commit series.

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

--HG--
extra : moz-landing-system : lando
2018-11-13 18:55:30 +00:00
Razvan Caliman
b476025c74 Bug 1503595 - Add empty state for Changes panel; r=gl
Design spec: https://mozilla.invisionapp.com/share/6MLNVPYGR97#/screens

- add localization file
- add strings to show when no CSS changes are available to show
- conditionally show empty state message or diff of changes in React component

MozReview-Commit-ID: 8xYJmg0yGAM

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

--HG--
extra : moz-landing-system : lando
2018-11-15 12:18:45 +00:00
Nicolas Chevobbe
78252467c2 Bug 1216632 - Make autocompletion work on $_ and $0; r=bgrins.
To make $0 autocompletion work, we need to pass the current
selectedNode actor from the frontend, so we can retrieve the
object reference later.
For $_, we need the webconsole actor reference to be able
to retrieve the last input result.
Since the list of parameters of JsPropertyProviders was
getting a bit long, we transform them in an object so it's
more legible on the consumer side.
Mochitests are added for both helpers to ensure this work
as expected.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 09:49:14 +00:00
Julian Descottes
99e9b458c0 Bug 1504355 - Do not return inlineTextChild for shadow hosts in inspector walker;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D11742

--HG--
extra : moz-landing-system : lando
2018-11-15 10:46:06 +00:00
Julian Descottes
a4c664d70b Bug 1503914 - Add mochitest to check that USB runtimes are not disconnected on refresh;r=daisuke
Depends on D11798

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

--HG--
extra : moz-landing-system : lando
2018-11-14 03:57:38 +00:00
Julian Descottes
2e04bdefaa Bug 1503914 - Stop disconnecting all devices when clicking on Refresh Devices;r=daisuke
Depends on D11663

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

--HG--
extra : moz-landing-system : lando
2018-11-14 03:44:00 +00:00
Brian Hackett
ac59317930 Bug 1505935 Part 2 - Expose scripts to the debugger which have their progress counters updated, r=lsmyth.
--HG--
extra : rebase_source : a0b56d14b578e5b26b8a89e943815245c02b4ed8
2018-11-10 15:27:14 -10:00
Brian Hackett
b2ea99b7e2 Bug 1506707 - Keep track of duplicate console messages in the client, r=nchevobbe.
--HG--
extra : rebase_source : 6edb412e2bc96e5b03cd1cb372272f15d6cb863e
2018-11-12 12:11:18 -10:00
Cosmin Sabou
79edf89597 Backed out changeset e36852845947 (bug 1507312) for damp failures on debugger/custom.js. 2018-11-16 22:24:56 +02:00
Florens Verschelde
86e747a2ad Bug 1507632 - Use Photon colors for console icons; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D12068

--HG--
extra : moz-landing-system : lando
2018-11-16 17:38:22 +00:00
Logan Smyth
89d2ea15b0 Bug 1507312 - Update Debugger Frontend v102 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D11967

--HG--
extra : moz-landing-system : lando
2018-11-16 19:27:14 +00:00
Luca Greco
7153f497a9 Bug 1498293 - Ensure the webextension fallback window has a TabChild actor in content. r=ochameau
This patch remove the usage of `Services.appShell.createWindowlessBrowser` from the
webextension target actor (that runs in a child process when the extension is in oop-mode).

As a fallback window (needed when an extension doesn't have an extension page yet, e.g. while
the extension is being reloaded, or when the extension doesn't have a background page), the actor
is going to search for the window related to the XUL browser element created to connect into
the extension process.

If the extension runs in the child process (e.g. as it currently happens on all platforms supported
by Firefox Desktop), the TabParent/TabChild's tabId is used to identify the fallback window.

On the contrary, when the extension runs in the parent process (e.g. as it currently happens on
Firefox for Android), the XUL browser's ownerGlobal innerWindowID is used to identify the
fallback window.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 19:00:44 +00:00
Alexandre Poirot
49ef5b5792 Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia
MozReview-Commit-ID: 4CBQNwC8tKq

Depends on D11762

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:23:50 +00:00
Alexandre Poirot
3d2b60f108 Bug 1506548 - Prevent displaying memory and netmonitor panels for workers. r=yulia
MozReview-Commit-ID: 8FZbi4KQzCn

Depends on D11761

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:23:48 +00:00
Alexandre Poirot
0dc7f092f8 Bug 1506548 - Remove last references to remote targets from target.js. r=yulia
MozReview-Commit-ID: 1viBxZ8hHGk

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:23:46 +00:00
Alexandre Poirot
f189b720e9 Bug 1506549 - Listen for workerListChanged on all content process target fronts. r=yulia
Now that this event is correctly fired on the Front rather than DebuggerClient,
we have to listen for this event on each individual front.

MozReview-Commit-ID: 9MqdHuAEr7U

Depends on D11625

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:23:02 +00:00
Alexandre Poirot
78e2ca28f0 Bug 1506549 - Introduce API to listen for new child fronts of a given type. r=yulia
MozReview-Commit-ID: EKWTGhGo0VM

Depends on D11624

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:23:00 +00:00
Alexandre Poirot
5eed35c08e Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia
This was only used by test and isn't much useful.

MozReview-Commit-ID: DeIimVmMOOs

Depends on D11623

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:22:58 +00:00
Alexandre Poirot
db2717d2bf Bug 1506549 - correctly type workerListChanged on ContentProcessTarget spec. r=yulia
It allows to send the event through the front rather than DebuggerClient.

MozReview-Commit-ID: H8zEwAlUWDb

Depends on D11622

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:22:56 +00:00
Alexandre Poirot
1578b6da37 Bug 1506549 - Return target fronts out of RootFront.getProcess and getMainProcess. r=yulia
MozReview-Commit-ID: EGWYEmAkbtr

Depends on D11693

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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:22:49 +00:00