Commit Graph

14325 Commits

Author SHA1 Message Date
Greg Tatum
89ca6aada1 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-04 20:06:29 +00:00
Greg Tatum
db7a4dcd82 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-04 20:06:06 +00:00
Greg Tatum
93aa558934 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-04 20:05:52 +00:00
Greg Tatum
2dc86d9090 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-04 20:05:38 +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
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
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
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
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
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
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
Nicolas Chevobbe
aa1e1dbea8 Bug 1577756 - Run browser_console_webconsole_console_api_calls.js can run with both Fission enabled and disabled. r=Honza.
We also add a few console API calls, as well as pass a second
object parameter for the methods that support it, so we can
check that the content object are well displayed in the
Browser Console.
As we add a new check for console.table, I realized that
hiding and showing a consoleTable component would trigger a
new request to the server, even if we already have the table
data at hand.
I fixed this by only trying to get data from the server if
we don't have them already.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 12:29:47 +00:00
monikamaheshwari
dac2ee564f Bug 1562464 - transferred sort change r=Honza
Network pane of the Developer Tools

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

--HG--
extra : moz-landing-system : lando
2019-09-02 11:06:13 +00:00
Belén Albeza
208ec08c09 Bug 1566013 - Part 3: Add mochitests r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D43956

--HG--
extra : moz-landing-system : lando
2019-09-02 07:44:40 +00:00
Belén Albeza
b9053896d0 Bug 1566013 - Part 2: Add unit tests for the manifest reducer r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D43955

--HG--
extra : moz-landing-system : lando
2019-09-02 08:26:32 +00:00
Belén Albeza
22cb75164e Bug 1566013 - Part 1: Process canonical manifest and hook it with the Manifest component r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D43954

--HG--
extra : moz-landing-system : lando
2019-09-02 06:44:14 +00:00
Nicolas Chevobbe
c93c7ac5af Bug 1577074 - Instrument scripts executed from editor mode. r=rcaliman.
We add an extra "input" property that is filled with
either "inline" or "multiline" depending if the expression
was evaluated in regular webconsole layout or in editor mode.

The test that was checking the execute_js telemetry event is
modify to only check what it was created for (hitting enter
on incomplete expression adds new line), and a new test is
added to specifically check that the execute_js telemetry event
is recorded as we expect.

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

--HG--
rename : devtools/client/webconsole/test/browser/browser_jsterm_multiline.js => devtools/client/webconsole/test/browser/browser_webconsole_telemetry_execute_js.js
extra : moz-landing-system : lando
2019-09-02 06:22:32 +00:00
Daisuke Akatsuka
0f6c405c91 Bug 1543782: Add test for the shortcut key which shows the suggest completion popup. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43723

--HG--
extra : moz-landing-system : lando
2019-09-02 03:29:17 +00:00
Daisuke Akatsuka
f25606bd74 Bug 1543782: Add tests in case of empty. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43722

--HG--
extra : moz-landing-system : lando
2019-09-02 03:34:40 +00:00