Nicolas Chevobbe
78ac5b16fd
Bug 1601630 - Remove WebConsoleUI evaluateJSAsync. r=jlast.
...
This method was directly using the main target console front
to evaluate something, which could cause issue in a fission
world.
The function is moved to the WebConsole class, and calls commands
evaluateJSAsync, in which we retrieve the appropriate front
given the given options object (e.g. if there's a selecteObjectActor,
we'll talk to the target that hold the actor).
Differential Revision: https://phabricator.services.mozilla.com/D55986
2019-12-06 08:29:20 +00:00
Alexandre Poirot
d7502328e9
Bug 1592363 - Make the console use the TargetList. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D48860
2019-11-07 15:05:10 +00:00
Nicolas Chevobbe
ce25c3f455
Bug 1519103 - Remove Scratchpad panel. r=bgrins.
...
Differential Revision: https://phabricator.services.mozilla.com/D50583
2019-10-27 09:05:58 +00:00
Nicolas Chevobbe
f35b08e432
Bug 1577783 - Use inspectorFront's getNodeFrontFromNodeGrip function in WebConsole's openNodeInInspector. r=pbro,rcaliman.
...
We retrieve the right NodeFront from a given grip, which we
can then tell the inspector panel to select.
Differential Revision: https://phabricator.services.mozilla.com/D48810
2019-10-18 09:07:42 +00:00
jaril
0cf060d35e
Bug 1587170 - Fix highlight of the replay marker when hovering on a console message r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D48608
2019-10-08 21:18:21 +00:00
Jason Laster
3934a4c8a5
Bug 1582870 - Reduxify console actions. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D46674
2019-10-02 22:50:25 +00:00
Julian Descottes
ec0561c247
Bug 1583444 - Stop using window.top in WebConsole codebase r=nchevobbe
...
This changesets removes some webconsole callsites that were relying on window.top, but didn't trigger any regression.
Differential Revision: https://phabricator.services.mozilla.com/D46957
2019-09-30 09:51:44 +00:00
Nicolas Chevobbe
13b46fdc43
Bug 1576841 - Enable multi-proxy WebConsole in Browser Toolbox when fission pref is true. r=ochameau.
...
We remove the multiple this.fissionSupport properties to only check
the permission in the couple place we need it.
Differential Revision: https://phabricator.services.mozilla.com/D43585
2019-08-27 17:41:29 +00:00
Alexandre Poirot
680b2ec9e1
Bug 1570242 - Rename target to currentTarget in WebConsole codebase. r=nchevobbe,yulia
...
Do that to better highlight that the target can change over time.
Differential Revision: https://phabricator.services.mozilla.com/D41798
2019-08-22 08:10:13 +00:00
Alexandre Poirot
79fa88db4f
Bug 1570242 - Fetch toolbox from WebConsole class rather than gDevTools. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D41797
2019-08-22 08:10:06 +00:00
Alexandre Poirot
c270ef4785
Bug 1570242 - Fetch target from toolbox instead of memoizing it on console classes. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D40017
2019-08-22 08:09:59 +00:00
Dorel Luca
d2d5728ece
Backed out 3 changesets (bug 1570242) for devtools failure in /webconsole/test/node/components/webconsole-wrapper.test.js. CLOSED TREE
...
Backed out changeset 854e62f7f1ae (bug 1570242)
Backed out changeset 304366165980 (bug 1570242)
Backed out changeset a213b28dd40f (bug 1570242)
2019-08-21 13:13:15 +03:00
Alexandre Poirot
93a50db401
Bug 1570242 - Rename target to currentTarget in WebConsole codebase. r=nchevobbe,yulia
...
Do that to better highlight that the target can change over time.
Differential Revision: https://phabricator.services.mozilla.com/D41798
2019-08-21 09:47:53 +00:00
Alexandre Poirot
ae63b00906
Bug 1570242 - Fetch toolbox from WebConsole class rather than gDevTools. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D41797
2019-08-21 09:47:51 +00:00
Alexandre Poirot
e2bb3ae1da
Bug 1570242 - Fetch target from toolbox instead of memoizing it on console classes. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D40017
2019-08-21 09:47:44 +00:00
Nicolas Chevobbe
6447a4ab5c
Bug 1573100 - Remove unused WebConsole:setFilterState. r=Honza.
...
Differential Revision: https://phabricator.services.mozilla.com/D42298
2019-08-19 14:47:21 +00:00
Alexandre Poirot
95b87be852
Bug 1569690 - Use target instead of thread as greatest common divisor. r=loganfsmyth,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D39720
2019-08-05 10:53:52 +00:00
arthur.iakab
78a31988a9
Backed out changeset ec73bc656bd3 (bug 1569690) for causing debugger failures CLOSED TREE
2019-08-02 11:02:29 +03:00
Alexandre Poirot
ca42e8fc6f
Bug 1569690 - Use target instead of thread as greatest common divisor. r=loganfsmyth,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D39720
2019-07-31 06:37:41 +00:00
Alexandre Poirot
1a70ec55b5
Bug 1569569 - Make HUDService specific to the browser console. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D40021
2019-07-31 21:56:54 +00:00
Alexandre Poirot
77adda15c8
Bug 1569569 - Stop returning self from WebConsole.init. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D40019
2019-07-31 21:56:45 +00:00
Alexandre Poirot
5818c8de8d
Bug 1566421 - Make webconsole panel destroy codepath synchronous. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D38310
2019-07-31 08:12:43 +00:00
Alexandre Poirot
b446e32dd9
Bug 1510690 - Do focus the content window from the actor when the toolbox closes. r=nchevobbe
...
No RDP request should be done when the toolbox closes as there no guarantee that
the request will complete. Instead, such cleanup should be done by the actors.
Differential Revision: https://phabricator.services.mozilla.com/D38309
2019-07-31 08:12:16 +00:00
Nicolas Chevobbe
cae8319c82
Bug 1567832 - Retrieve fission pref and use it in console classes. r=yulia.
...
We retrieve the preference in the hudservice, where
WebConsoles and BrowserConsoles are created from.
If the pref is set to true, we assign a different
title to the Browser Console window so it will be
easier to spot.
The preference is then passes to the BrowserConsole,
WebConsole, WebConsoleUI and finally WebConsoleConnectionProxy
instances.
Later, we'll check this pref to connect to different
targets and listen to new ones.
Depends on D39646
Differential Revision: https://phabricator.services.mozilla.com/D39647
2019-07-29 08:44:08 +00:00
Nicolas Chevobbe
781197d7d1
Bug 1569190 - Remove outputNode getter from webconsole.js .r=jdescottes.
...
Differential Revision: https://phabricator.services.mozilla.com/D39516
2019-07-26 16:39:18 +00:00
Alexandre Poirot
725d84c1e0
Bug 1566421 - Make WebConsoleUI.destroy synchronous. r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D38460
2019-07-25 06:43:52 +00:00
Nicolas Chevobbe
1637e4f2e4
Bug 1568528 - Remove HUDService's lastFinishedRequest. r=ochameau.
...
Looks like the property is never used, so we can probably
remove it.
Differential Revision: https://phabricator.services.mozilla.com/D39276
2019-07-25 07:02:12 +00:00
yulia
7eba825d59
Bug 1559819 - rename threadClient to threadFront; r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D32848
2019-07-11 09:45:32 +00:00
Victor Porof
b7732ae890
Bug 1561435 - Format devtools/client/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02:00
Chris DeLuca
37154d14fc
Bug 1543008 - Prevent event propagation in OpenLink webconsole function. r=nchevobbe
...
Before this change, ctrl/cmd clicking a url in an array in the web
console also opened the sidebar. Preventing event propagation stop the
click from getting to sidebar opening function.
Differential Revision: https://phabricator.services.mozilla.com/D28262
2019-05-27 06:24:11 +00:00
Jason Laster
167b0d54bc
Bug 1539468 - Preview can initially take awhile to populate. r=loganfsmyth
...
Differential Revision: https://phabricator.services.mozilla.com/D30952
2019-05-15 14:46:09 +00:00
Brian Hackett
08eb9946a6
Bug 1538781 - Use the right thread for console evaluations when paused in a worker thread's frame, r=nchevobbe.
...
Differential Revision: https://phabricator.services.mozilla.com/D27625
2019-04-15 13:27:53 -10:00
David Walsh
d5de1c9ead
Bug 1500987 - Elevate the new debugger one directory. r=jlast
2019-04-09 13:16:00 -04:00
Noemi Erli
b90b1b551f
Backed out changeset ca42d5764b08 (bug 1500987) for failures in browser_dbg_worker-console-04.js
2019-04-09 19:04:30 +03:00
David Walsh
2113d7d3da
Bug 1500987 - Elevate the new debugger one directory. r=jlast
2019-04-09 10:31:11 -04:00
Andreea Pavel
37877174ea
Backed out changeset 21e7aa527584 (bug 1500987) for debugger, clipboard and dt failures on a CLOSED TREE
2019-04-08 23:15:05 +03:00
David Walsh
8d7dc8f078
Bug 1500987 - Elevate the new debugger one directory. r=jlast
2019-04-08 15:10:44 -04:00
Mellina Yonashiro
b253301825
Bug 1532295 - Webconsole's onViewSourceInDebugger doesn't pass column number to debugger panel when opening a source. .
...
Pass on column from props.onViewSourceInDebugger (///devtools/client/shared/components/reps/reps.js:6844//) to
//devtools/client/webconsole/webconsole-wrapper.js:267// as **frame.column**
Differential Revision: https://phabricator.services.mozilla.com/D22372
2019-03-28 13:52:28 +00:00
Nicolas Chevobbe
ca46adab83
Bug 1457109 - Open links in the next tab, in background if Ctrl/Cmd is pressed; r=yulia.
...
This patch passes the relevant options to the `openDocLink` function,
which means now links:
- will open right next to the current tab
- will open in background if Ctrl/Cmd is pressed.
A test case is added to ensures this works as expected.
Differential Revision: https://phabricator.services.mozilla.com/D22075
2019-03-05 14:10:19 +00:00
Nicolas Chevobbe
8a8d018dff
Bug 1463128 - Expose setInputValue and getInputValue at hud level; r=Honza.
...
Now that the JsTerm is a React component, we shouldn't
let external consumers have to get the instance in order
to perform some actions on the console input.
We start with the most used actions, setInputValue and getInputValue,
and might extend that in the future.
Differential Revision: https://phabricator.services.mozilla.com/D20685
2019-02-27 10:09:35 +00:00
Nicolas Chevobbe
49e8185499
Bug 1463128 - Refactor WebConsole and BrowserConsole to ES6 classes; r=bgrins.
...
Doing this allows us to use native `extends` instead of
the custom one.
Differential Revision: https://phabricator.services.mozilla.com/D20679
2019-02-27 10:05:51 +00:00
Gurzau Raul
3ee8fd7ce9
Backed out 5 changesets (bug 1463128) for failing at webconsole/autocomplete.js on a CLOSED TREE.
...
Backed out changeset 31a85e2ed53e (bug 1463128)
Backed out changeset fcd93f64c934 (bug 1463128)
Backed out changeset ae460b3a30c2 (bug 1463128)
Backed out changeset 97a1eeb8db65 (bug 1463128)
Backed out changeset c504e9730eac (bug 1463128)
2019-02-27 00:19:15 +02:00
Nicolas Chevobbe
6ac4e9955c
Bug 1463128 - Expose setInputValue and getInputValue at hud level; r=Honza.
...
Now that the JsTerm is a React component, we shouldn't
let external consumers have to get the instance in order
to perform some actions on the console input.
We start with the most used actions, setInputValue and getInputValue,
and might extend that in the future.
Differential Revision: https://phabricator.services.mozilla.com/D20685
2019-02-26 14:42:13 +00:00
Nicolas Chevobbe
997557b4cc
Bug 1463128 - Refactor WebConsole and BrowserConsole to ES6 classes; r=bgrins.
...
Doing this allows us to use native `extends` instead of
the custom one.
Differential Revision: https://phabricator.services.mozilla.com/D20679
2019-02-26 14:45:00 +00:00
Nicolas Chevobbe
15c4b1d487
Bug 1527834 - Rename webconsole-frame.js to webconsole-ui.js; r=bgrins.
...
We take this as an opportunity to migrate the
file to an ES6 class and remove unused code.
Differential Revision: https://phabricator.services.mozilla.com/D19781
2019-02-15 08:16:37 +00:00
Alexandre Poirot
e9c0994e1c
Bug 1465635 - Remove Target.activeTab property. r=yulia
...
Depends on D15831
Differential Revision: https://phabricator.services.mozilla.com/D16874
2019-02-02 11:24:24 +00:00
Nicolas Chevobbe
1a96b9735f
Bug 1494318 - Don't map expression bindings when debugger is not paused; r=bgrins.
...
Differential Revision: https://phabricator.services.mozilla.com/D18314
2019-02-01 15:19:47 +00:00
Bogdan Tara
c0cfac2f78
Backed out 8 changesets (bug 1465635) for failures on browser_canvas-actor-test-10.js, browser_target_server_compartment.js CLOSED TREE
...
Backed out changeset e8e363f98525 (bug 1465635)
Backed out changeset 9ec017a91e78 (bug 1465635)
Backed out changeset 11413ebfbcaf (bug 1465635)
Backed out changeset 52728b761d5d (bug 1465635)
Backed out changeset 734646bf9829 (bug 1465635)
Backed out changeset d9ae7cd34c1a (bug 1465635)
Backed out changeset 00d325ab677a (bug 1465635)
Backed out changeset a9b181f32189 (bug 1465635)
2019-01-30 18:54:05 +02:00
Alexandre Poirot
47a8a0d0bd
Bug 1465635 - Remove Target.activeTab property. r=yulia
...
Depends on D15831
Differential Revision: https://phabricator.services.mozilla.com/D16874
2019-01-30 13:28:25 +00:00
Nicolas Chevobbe
e60ca3d586
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
2018-11-19 16:33:22 +00:00