Commit Graph

20500 Commits

Author SHA1 Message Date
Julian Descottes
3f3837ccf9 Bug 1641162 - Use an array of types as argument for TargetList::getAllTargets r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D77003
2020-05-27 13:54:35 +00:00
Nicolas Chevobbe
550a3cb3f4 Bug 1641151 - Rename ResourceWatcher TYPES to their singular counterpart. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D77030
2020-05-27 13:08:14 +00:00
Nicolas Chevobbe
861b7dcfe7 Bug 1640894 - Rename ResourceWatcher [un]watch to [un]watchResources. r=jdescottes.
This is more consistent with what we have in other watch-like API.

Differential Revision: https://phabricator.services.mozilla.com/D76843
2020-05-27 13:08:14 +00:00
Hubert Boma Manilla
f8a6611a78 Bug 1632112 - Remove query string section from request panel r=Honza
Bug 1632112 - Fixed tests r=honza

Differential Revision: https://phabricator.services.mozilla.com/D76458
2020-05-27 10:00:37 +00:00
Dorel Luca
d78dcfafac Backed out changeset 9036936c1908 (bug 1640099) on dev's request. 2020-05-27 11:54:30 +03:00
Belén Albeza
167b982aff Bug 1639232 - Enable Application panel in Settings and in Menu r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D76850
2020-05-26 17:41:23 +00:00
Daisuke Akatsuka
2c08079491 Bug 1641095: Update MDN compat data. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D76958
2020-05-27 08:15:03 +00:00
Daisuke Akatsuka
ed0553d5b2 Bug 1639454: Introduce OPENED_COUNT and TIME_ACTIVE_SECONDS telemetry for the compatibility panel. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D76261
2020-05-27 07:09:22 +00:00
Julian Descottes
7af155daf4 Bug 1640904 - Force property_error_message_fix in browser_actor_error.js r=nchevobbe
The exception used in this test has different formats depending on the channel.

Differential Revision: https://phabricator.services.mozilla.com/D76887
2020-05-27 05:52:57 +00:00
Yura Zenevich
280d4e0f46 Bug 1640767 - remove old backward compatibility code. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D76777
2020-05-26 19:43:57 +00:00
Bogdan Tara
289f25408c Backed out changeset 2cb92b52fb42 (bug 1639454) for telemetry related bustages CLOSED TREE 2020-05-27 02:18:35 +03:00
Daisuke Akatsuka
36563c2de3 Bug 1639454: Introduce OPENED_COUNT and TIME_ACTIVE_SECONDS telemetry for the compatibility panel. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D76261
2020-05-21 13:28:01 +00:00
Hubert Boma Manilla
5d9dc54a29 Bug 1639751 - Headers polish r=Honza,Itiel
Update with polish recommendations
Fixed failing tests

Differential Revision: https://phabricator.services.mozilla.com/D76609
2020-05-26 20:39:54 +00:00
Micah Tigley
530f61617d Bug 1516805 - Add test that ensures mouse pointer events are not dispatched when touch is enabled. r=bradwerth
Depends on D76764

Differential Revision: https://phabricator.services.mozilla.com/D76864
2020-05-26 18:17:41 +00:00
Nicolas Chevobbe
e84ce16407 Bug 1578174 - Use target and window from which a CSS warning was emitted to get the list of impacted elements. r=rcaliman,ochameau.
In order to retrieve the list of impacted element for a given CSS warning,
we are evaluating a document.querySelector expression,
using the cssSelector we get from the error itself.

But if the warning message comes from an iframe, we are not retrieving the
impacted elements, only items from the top-level document.

By storing the target actor id a message is emitted from directly in the message
itself, we can retrieve the target front, and use it to do the evaluation against
the right target.

This is not enough though, as non-remote frame don't have a dedicated target,
and we'll be back at square one, using the top-level document to do the evaluation.
In order to fix that, we're passing the innerWindowID to the evaluateJSAsync method,
so it can be used on the server to retrieve the window instance we need.

A test is added to ensure this feature works as expected for iframes, and it
passes with or without fission enabled.

Differential Revision: https://phabricator.services.mozilla.com/D75811
2020-05-26 15:50:57 +00:00
Nicolas Chevobbe
8da874d5df Bug 1640814 - Add a targetFront property on each resource. r=ochameau.
This will allow resource consumers to have a direct access to the target front
a resource was issued from.
At the moment we only use it in the console, where the targetFront is placed
on the console messages.

Differential Revision: https://phabricator.services.mozilla.com/D76790
2020-05-26 15:49:20 +00:00
Belén Albeza
0af9f70730 Bug 1635403 - Part 4: Do not push about:debugging plug to the bottom r=jdescottes
Depends on D75573

Differential Revision: https://phabricator.services.mozilla.com/D75576
2020-05-26 14:44:22 +00:00
Belén Albeza
7e1cc74d9d Bug 1635403 - Part 3: Fix icons in workers page when width is too thin r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D75573
2020-05-26 14:42:51 +00:00
Belén Albeza
c500bc4c2c Bug 1635403 - Part 2: Place the unregister button in different locations depending on layout r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D75571
2020-05-26 14:41:47 +00:00
Belén Albeza
4612ac49b5 Bug 1635403 - Part 1: Implement responsive layout at app/sidebar/page level r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D75555
2020-05-26 14:40:54 +00:00
David Walsh
766ba1fca9 Bug 1639760 - Add separator before devtools settings icon r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D76257
2020-05-26 13:20:38 +00:00
Hubert Boma Manilla
542b35b680 Bug 1639387 - Wrap the values use all the space r=Honza
Wrap the values of the header properties
Cleanup css

Differential Revision: https://phabricator.services.mozilla.com/D76231
2020-05-26 07:08:29 +00:00
Nicolas Chevobbe
e57ba49236 Bug 1640140 - Fix rendering of very large regexp. r=Honza.
If the displayString of the RegExp is very long (>10,000 chars),
it is returned as a longString grip, and it was making the regexp
reps to throw.
This patch fixes this issue and adds a test to ensure we deal with
these kind of objects now.

Depends on D76673

Differential Revision: https://phabricator.services.mozilla.com/D76674
2020-05-25 10:32:46 +00:00
Nicolas Chevobbe
9d3872eea6 Bug 1640572 - Add Error boundaries to Eager Evaluation component. r=bomsy.
This will prevent the Eager Evaluation component to crash the whole console
when there's an issue in its render function.

Differential Revision: https://phabricator.services.mozilla.com/D76673
2020-05-25 19:16:36 +00:00
Daisuke Akatsuka
ce440098b3 Bug 1639166: Add test that checks to update after selecting the panel again. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D76656
2020-05-26 01:43:44 +00:00
Daisuke Akatsuka
2244e12045 Bug 1639166: Avoid updating if no changes. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D76655
2020-05-26 01:43:42 +00:00
Emilio Cobos Álvarez
b68f73c01a Bug 1635675 - Implement the ::file-chooser-button pseudo-element. r=jwatt
As per https://github.com/w3c/csswg-drafts/issues/5049.

Don't enable it unconditionally just yet, as the name may change.

I had to move some rules in forms.css because otherwise you get
specificity conflicts.

Differential Revision: https://phabricator.services.mozilla.com/D76214
2020-05-25 23:54:10 +00:00
Julian Descottes
b27b79da1e Bug 1639111 - Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau
Depends on D75902

Differential Revision: https://phabricator.services.mozilla.com/D75904
2020-05-25 17:13:59 +00:00
Julian Descottes
037cce6256 Bug 1639111 - Fallback on error.name in DevTools actor error handling r=davidwalsh,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D75902
2020-05-25 16:29:24 +00:00
Emilio Cobos Álvarez
462a4cc4d8 Bug 1640631 - Make ::marker styles not show up for elements that aren't list items. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D76699
2020-05-25 13:33:05 +00:00
Hubert Boma Manilla
c6109674e2 Bug 1640566 - Fix issue with the cache style having priority over the block style r=Honza
The blocked request style should have priority
When selected the theme selected style should still have priority

Differential Revision: https://phabricator.services.mozilla.com/D76684
2020-05-25 13:44:22 +00:00
Mihai Alexandru Michis
6f4fa0a560 Backed out 2 changesets (bug 1639111) for causing failures in browser_actor_error.js
CLOSED TREE

Backed out changeset 2964f445c2f5 (bug 1639111)
Backed out changeset 84be772b9ac4 (bug 1639111)
2020-05-25 16:34:55 +03:00
Julian Descottes
5c31755a29 Bug 1639111 - Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau
Depends on D75902

Differential Revision: https://phabricator.services.mozilla.com/D75904
2020-05-25 12:49:10 +00:00
Julian Descottes
3f4b9917d4 Bug 1639111 - Fallback on error.name in DevTools actor error handling r=davidwalsh,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D75902
2020-05-25 12:48:32 +00:00
Sylvestre Ledru
5742ac0cf7 Bug 1640532 - devtools: fix some typos in the localization files r=Gijs,nchevobbe
Note that there is a typo in the identifier.

Differential Revision: https://phabricator.services.mozilla.com/D76636
2020-05-25 10:01:02 +00:00
Narcis Beleuzu
07db232be7 Backed out 2 changesets (bug 1639111) for mochitest failures on test_preference.html . CLOSED TREE
Backed out changeset 7ca3266213e7 (bug 1639111)
Backed out changeset 55df4479027c (bug 1639111)
2020-05-25 13:54:06 +03:00
Narcis Beleuzu
973d9eb6a0 Backed out changeset 82df6f70ec60 (bug 1635675) for lint failure on file-chooser-button-001.tentative.html . CLOSED TREE 2020-05-25 13:49:39 +03:00
Emilio Cobos Álvarez
a39a3a3807 Bug 1635675 - Implement the ::file-chooser-button pseudo-element. r=jwatt
As per https://github.com/w3c/csswg-drafts/issues/5049.

Don't enable it unconditionally just yet, as the name may change.

I had to move some rules in forms.css because otherwise you get
specificity conflicts.

Differential Revision: https://phabricator.services.mozilla.com/D76214
2020-05-21 12:27:54 +00:00
Emilio Cobos Álvarez
dcec1f3697 Bug 1639852 - Don't collect pseudo-element rules for pseudo-elements that cannot apply. r=rcaliman
This prevents showing e.g. ::cue pseudo-elements for elements that are
not videos, and such.

This is useful on its own, but it's going to be even more useful because
I'm making some rules in the UA sheets less specific in the blocking
bugs.

For example, after my patches, the number of expected rules in
test_styles-applied was 24 (instead of 9 with this patch). That's just
too much noise.

Differential Revision: https://phabricator.services.mozilla.com/D76308
2020-05-25 10:17:05 +00:00
Julian Descottes
a7ea81cc29 Bug 1639111 - Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau
Depends on D75902

Differential Revision: https://phabricator.services.mozilla.com/D75904
2020-05-25 09:47:23 +00:00
Julian Descottes
70687eecfb Bug 1639111 - Fallback on error.name in DevTools actor error handling r=davidwalsh,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D75902
2020-05-25 09:46:57 +00:00
Daisuke Akatsuka
411ce6fdc9 Bug 1639135: Add test for uniqueness of default browsers. r=rcaliman
Depends on D76645

Differential Revision: https://phabricator.services.mozilla.com/D76646
2020-05-25 09:35:34 +00:00
Daisuke Akatsuka
77349bcc21 Bug 1639135: Address browser data that have the same id and status. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D76645
2020-05-25 09:36:41 +00:00
Narcis Beleuzu
ca59ca3100 Backed out changeset d45a9f533b34 (bug 1636192) for xpcshell crashes on test_xpcshell_debugging.js . CLOSED TREE 2020-05-25 12:06:48 +03:00
Narcis Beleuzu
9e455ab006 Backed out changeset 4d792dc91673 (bug 1639387) for dt failure on browser_net_decode-params.js . CLOSED TREE 2020-05-25 12:03:50 +03:00
Alexandre Poirot
0cc17a66e7 Bug 1636192 - Clean Content process Target actor on process shutdown. r=nchevobbe
Before this patch, we were not trying to cleanup anything when the process
was known to be in process of destruction. We assumed that everything would
be cleaned up anyway.
But mochitest is actually asserting that nothing is leaked on process shutdown,
and we are easily leaking many thing when not destroying the target actor!

Differential Revision: https://phabricator.services.mozilla.com/D76156
2020-05-25 06:29:51 +00:00
Hubert Boma Manilla
a02f72ce5d Bug 1639387 - Wrap the values use all the space r=Honza
Wrap the values of the header properties
Cleanup css

Differential Revision: https://phabricator.services.mozilla.com/D76231
2020-05-25 07:03:57 +00:00
Harald Kirschner
8ccedc34a5 Bug 1628194 - Updated DevTools WN panel r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D76654
2020-05-25 07:13:51 +00:00
Jan Odvarko
6f2dc9967c Bug 1640099 - imported patch always-set-reason.diff r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D76448
2020-05-22 16:04:16 +00:00
Mihai Alexandru Michis
37ef8a125d Backed out changeset a845717e4d10 (bug 1482279) for causing multiple failures.
CLOSED TREE
2020-05-23 02:22:20 +03:00