Commit Graph

17479 Commits

Author SHA1 Message Date
Greg Tatum
8d2804eb1f Bug 1575682 - Bridge the perf actor so that it can be reused with the popup r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D43117

--HG--
extra : moz-landing-system : lando
2019-09-04 20:05:18 +00:00
David Walsh
79b6f9ba3d Bug 1576163 - Prevent line shifting from inline preview r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D44687

--HG--
extra : moz-landing-system : lando
2019-09-04 16:46:56 +00:00
Brindusan Cristian
971c2dc9aa Merge inbound to mozilla-central. a=merge 2019-09-04 19:26:46 +03:00
Brindusan Cristian
87d0935891 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-09-04 12:48:38 +03:00
Cosmin Sabou
c310c938df Bug 1542144 - Annotate test on fission cause on debug failures. r=pbone
Differential Revision: https://phabricator.services.mozilla.com//D44584
2019-09-04 03:10:04 +03:00
Noemi Erli
7a9186aefb Backed out changeset 55386bf32ae0 (bug 1578606) for devtools failures
--HG--
rename : devtools/client/debugger/flow-typed/npm-custom/devtools-modules_vx.x.x.js => devtools/client/debugger/flow-typed/npm-custom/devtools-shared-utils_vx.x.x.js
2019-09-04 05:23:11 +03:00
Jason Laster
7ea67f4d41 Bug 1578606 - Fix jest. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D44591

--HG--
rename : devtools/client/debugger/flow-typed/npm-custom/devtools-shared-utils_vx.x.x.js => devtools/client/debugger/flow-typed/npm-custom/devtools-modules_vx.x.x.js
extra : moz-landing-system : lando
2019-09-04 00:56:52 +00:00
David Walsh
7f20101b2a Bug 1573859 - Allow users to get to inspector from Dom Mutation Breakpoints panel r=jlast,flod
Differential Revision: https://phabricator.services.mozilla.com/D43682

--HG--
extra : moz-landing-system : lando
2019-09-03 19:08:39 +00:00
Julian Descottes
4eb51d8fe8 Bug 1578361 - removed unused localTransport getter on debugger-client r=ladybenko
This was initially added in Bug 907755 for old telemetry probes.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 11:15:40 +00:00
Nicolas Chevobbe
d0413845a9 Bug 1577780 - Add test for invoking getter in content object from Browser Console. r=Honza.
We're re-using the test we already have for invoking getters
in the webconsole as it is checking a lot of different cases.

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

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_object_inspector_getters.js => devtools/client/webconsole/test/browser/browser_console_content_getters.js
extra : moz-landing-system : lando
2019-09-04 09:03:44 +00:00
Nicolas Chevobbe
01653665f2 Bug 1578660 - Add missing key on EditorToolbar in App.js .r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D44630

--HG--
extra : moz-landing-system : lando
2019-09-04 09:09:24 +00:00
Nicolas Chevobbe
010f6b2666 Bug 1578283 - Don't scroll jsterm viewport when inserting a tab character. r=Honza.
When we wanted to insert a string in the webconsole input,
we were setting the input value, and setting the cursor
manually. But since the editor setCursor function is calling
alignLine, there could be cases where the editor scroll position
would jump, feeling awkward for the user.
It turns out we can simplify this code a lot since codeMirror
provides a replaceRange function, which is a perfect replacement
for what we were using, without having to manage the cursor position.

The only downside to that is that inserting characters this
way *does* fire a `changes` event, that we are listening to
in the JsTerm to request autocompletion (which we don't need
as we only insert characters when accepting a completion or
adding a tab).
To mitigate that, we pass a specific jsterm origin string to
replaceRange, which let's us discriminate in the changes event
listener if those changes originate from jsterm only actions.

A test is added to ensure this works as expected (the test was
failing without the fix).

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

--HG--
extra : moz-landing-system : lando
2019-09-04 09:02:09 +00:00
lloan
9a09073dc7 Bug 1572144 - Support search result navigation. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D43555

--HG--
extra : moz-landing-system : lando
2019-09-04 08:31:45 +00:00
Julian Descottes
fdea67edb5 Bug 1273656 - Add wait before trying to click in browser_html_tooltip-02.js r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D44356

--HG--
extra : moz-landing-system : lando
2019-09-04 07:52:21 +00:00
Emilio Cobos Álvarez
c850b60c69 Bug 1578565 - SVG and MathML elements don't follow the CSS layout model. r=pbro
We could be more explicit and also handle svg on the height / width stuff
(width and height don't apply to all SVG elements).

But this avoids the false positive for now.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 07:45:32 +00:00
janelledement
4b6fa71ccf Bug 1565715 - Stop preview highlight at non-element nodes.
By tweaking the while loop in addHighlightToTargetSiblings, the preview highlight will not continue beyond a non-text node. (Example in the case of a semi colon or a period.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 22:51:30 +00:00
Jason Laster
9d0541854d Bug 1575240 - inspect(x) should show x in the appropriate panel. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D42747

--HG--
extra : moz-landing-system : lando
2019-09-03 20:57:40 +00:00
chujun
8fb7ae2f24 Bug 1577376 - UI for disable debugger statement r=jlast
Add menu items to both secondary panel and editor
Add a mochitest
{F1539841}

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

--HG--
extra : moz-landing-system : lando
2019-08-31 00:50:13 +00:00
Megan Bailey
63f09e5cee Bug 1491649 - Make useragent toolbar device and throlling select longer to display clearly. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D32346

--HG--
extra : moz-landing-system : lando
2019-09-03 18:12:35 +00:00
Megan Bailey
8fcd7c71a2 Bug 1542369 - Add method to highlight text if formTypes equals add. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D32510

--HG--
extra : moz-landing-system : lando
2019-09-03 18:11:39 +00:00
Maliha Islam
4922526a64 Bug 1567249 - Update a11y contrast calculation to make it work with applied simulation matrices, r=yzen,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D42417

--HG--
extra : moz-landing-system : lando
2019-09-03 05:39:18 +00:00
Jason Laster
f93e5fd1de Bug 1578252 - Highlight messages that are at the same location. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D44381

--HG--
extra : moz-landing-system : lando
2019-09-03 15:34:02 +00:00
arthur.iakab
e843afd6cd Backed out 6 changesets (bug 1575682) for causing devtools failures on browser_all_files_referenced.js CLOSED TREE
Backed out changeset 7e60a2013e96 (bug 1575682)
Backed out changeset c44c69605b87 (bug 1575682)
Backed out changeset abee6fadcd4d (bug 1575682)
Backed out changeset e4a75438c032 (bug 1575682)
Backed out changeset 985902e9abdb (bug 1575682)
Backed out changeset 31a67b9d47ab (bug 1575682)

--HG--
rename : devtools/client/performance-new/popup/popup.xhtml => devtools/client/performance-new/popup/popup.html
2019-09-03 21:01:24 +03:00
Noemi Erli
5dcfb63635 Backed out changeset 4e344973418a (bug 1572144) for failing in browser_accessibility_mutations.js CLOSED TREE 2019-09-03 20:12:10 +03:00
Razvan Maries
45a753ed46 Backed out changeset 05f1cba504d0 (bug 1573859) for perma fails on browser_misused_characters_in_strings.js. CLOSED TREE 2019-09-03 19:40:15 +03:00
Greg Tatum
b6c64887d8 Bug 1575682 - Stop the profiler popup from "blipping" with unrendered content r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D43121

--HG--
extra : moz-landing-system : lando
2019-09-03 16:06:09 +00:00
Greg Tatum
e898f6ca4c Bug 1575682 - Add a mechanism for the popup to signal that its size has changed r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D43116

--HG--
extra : moz-landing-system : lando
2019-09-03 16:06:07 +00:00
Greg Tatum
899de33c54 Bug 1575682 - Rename the recording buttons, and add a cancel button r=julienw
This is broken out into a separate commit since it is a layout change
for the DevTools as well. Note, that this area is still not localized.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 16:06:03 +00:00
Greg Tatum
adcb6873db Bug 1575682 - De-duplicate the profiler popup code r=julienw
This changeset is the bulk of the changes. It should contain most of
the minimum necessary changes to have everything working correctly.

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

--HG--
rename : devtools/client/performance-new/popup/popup.html => devtools/client/performance-new/popup/popup.xhtml
extra : moz-landing-system : lando
2019-09-03 16:05:59 +00:00
Greg Tatum
39e7931b1e Bug 1575682 - Change the behavior of the popup shortcuts to stop the profiler on capture r=julienw
This change is a one-liner, but I wanted to call it out in its own commit
since it is a true behavior change.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 16:05:55 +00:00
Greg Tatum
2da89fa0ed Bug 1575682 - Bridge the perf actor so that it can be reused with the popup r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D43117

--HG--
extra : moz-landing-system : lando
2019-09-03 16:04:22 +00:00
lloan
d8ffcbc0d8 Bug 1572144 - Support search result navigation. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D43555

--HG--
extra : moz-landing-system : lando
2019-09-03 15:55:02 +00:00
Jason Laster
a3fb20f8c6 Bug 1565375 - The pause overlay should include stepping buttons. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D43516

--HG--
extra : moz-landing-system : lando
2019-08-30 22:25:46 +00:00
David Walsh
e57f38026d Bug 1573859 - Allow users to get to inspector from Dom Mutation Breakpoints panel r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D43682

--HG--
extra : moz-landing-system : lando
2019-08-30 23:34:17 +00:00
Markus Stange
c32c68086c Bug 1566986 - Make getSymbols an async function so that callers always get a promise and never a synchronous exception. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D44400

--HG--
extra : moz-landing-system : lando
2019-09-03 14:30:22 +00:00
Emma Malysz
392fe89b3a Bug 1569738, make PageInfo fission compatible r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D42978

--HG--
extra : moz-landing-system : lando
2019-08-29 20:31:19 +00:00
Nicolas Chevobbe
37211d770b Bug 1578389 - Fix propTypes error in console. r=Honza.
Fix 2 proptype errors: one in App.js, and the
other one in the renderStacktrace function,
that is called by Error rep.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 13:55:45 +00:00
Nicolas Chevobbe
7663347ad2 Bug 1578326 - Make history navigation icons same color as other icons in webconsole. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D44428

--HG--
extra : moz-landing-system : lando
2019-09-03 07:43:35 +00:00
Nicolas Chevobbe
9f40693a13 Bug 1577795 - Fix browser_webconsole_reverse_search_initial_value.js intermittent. r=Honza.
The failures were about pending requests to highlighters,
because we were logging node elements. Since we don't
really need to do that, we simply change the command
to not lod elements.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 07:43:33 +00:00
Jean-Yves Avenard
d65c5e0309 Bug 1556489 - P19. Fix devtools stack traces. r=honza,ochameau
DevTools rely on events when a new HttpChannel is opened, it needs to know when a DocumentChannel is.

Differential Revision: https://phabricator.services.mozilla.com/D40975
2019-09-03 10:19:46 +10:00
Jean-Yves Avenard
b43fd91ea2 Bug 1556489 - P11. Add nIIdentChannel interface. r=mayhemer
The devtools listens to http-on-opening-request event which is expected to receive a nsIHttpChannel. However future changes will make it that it's not always a nsIHttpChannel that can fire such event.

As such we create an intermediary interface nsIIdentChannel and move the subset generating such event in nsIHttpChannel there.

Differential Revision: https://phabricator.services.mozilla.com/D40968
2019-09-03 10:19:34 +10:00
Cosmin Sabou
fb4596cde5 Bug 1535451 - Skip browser_webconsole_trackingprotection_errors.js on fission. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D44094

--HG--
extra : moz-landing-system : lando
2019-09-02 12:03:10 +00:00
yulia
329cb69c2c Bug 1578108 - add addons actor back; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D44375

--HG--
extra : moz-landing-system : lando
2019-09-02 15:33:29 +00:00
Julian Descottes
17ae774116 Bug 1519586 - Fix js error in browser_aboutdevtools_reuse_existing.js r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D44345

--HG--
extra : moz-landing-system : lando
2019-09-02 15:22:37 +00:00
yulia
e0b09c55fe Bug 1574401 - allow DevTools to access BrowsingContext; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D44366

--HG--
extra : moz-landing-system : lando
2019-09-02 13:24:20 +00:00
yulia
f4156a2ce9 Bug 1485383 - update emulationFront to be retrieved using getFront; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D43953

--HG--
extra : moz-landing-system : lando
2019-09-02 10:33:34 +00:00
Florens Verschelde
89cf4ed29b Bug 1578020 - Fix horizontal spacing and RTL issues in Fonts panel; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D44309

--HG--
extra : moz-landing-system : lando
2019-09-02 13:42:41 +00:00
Yura Zenevich
7c45433d96 Bug 1577759 - add strings and urls for a keyboard check type for non-focusable and non-semantic clickable elements. r=gl,fluent-reviewers,flod
Depends on D44232

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

--HG--
extra : moz-landing-system : lando
2019-09-01 15:55:14 +00:00
Yura Zenevich
2a978a3d9c Bug 1577759 - add highlighter support for a keyboard check for non-focusable non-semantic elements. r=rcaliman
Depends on D44231

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

--HG--
extra : moz-landing-system : lando
2019-09-02 12:31:03 +00:00
Yura Zenevich
ed97f85766 Bug 1577759 - add a keyboard check for non-focusable non-semantic elements that are interactive with mouse only. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D44231

--HG--
extra : moz-landing-system : lando
2019-09-02 06:59:33 +00:00