Граф коммитов

297 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot 90a993e0b7 Bug 1673328 - [devtools] Drop ThreadActor.exit in favor of destroy. r=nchevobbe
We no longer need to manuall call threadActor.exit from Target Actors
as the ThreadActor is managed by the Target Actors, so that managed children
will be destroyed when the target actor is destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D94957
2020-10-29 18:59:35 +00:00
Alexandre Poirot fdb8f8c40d Bug 1673328 - [devtools] Drop unused ThreadActor.detach method. r=nchevobbe,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94956
2020-10-29 19:00:39 +00:00
Alexandre Poirot ecca7cad66 Bug 1672778 - [devtools] Avoid trying to send new-source event if the thread actor has been destroyed. r=nchevobbe
This may prevent logging a few exception or error messages.
But thanks to the other patch of this bug, we should try to stop listening
for sources as soon as the thread actor is destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D94484
2020-10-23 10:24:57 +00:00
Nicolas Chevobbe 7ee8cd576d Bug 1657389 - Rename target actor mock 'window' property to 'workerGlobal'. r=ochameau.
Not having the window property anymore, we have to change the `window` getter
in WebConsoleActor to retrieve `workerGlobal`. And since the getter name wasn't
reflecting what it was holding (it can be a window, a worker global or a sandbox),
we rename it to `global` (and `evalWindow` to `evalGlobal`).

We remove the `globalDebugObject` getter on the thread actor that wasn't used
anywhere in the code.

Differential Revision: https://phabricator.services.mozilla.com/D86035
2020-08-06 14:05:07 +00:00
Logan Smyth 06838cf425 Bug 917963 - Implement break on first script statement. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D85198
2020-08-04 18:46:48 +00:00
wartmanm f4757d7c63 Bug 1656726 - Pause On Exceptions, DOM mutation breakpoints, debugger statements pause in blackboxed original sources r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D85718
2020-08-04 18:41:53 +00:00
Julian Descottes 32de28696d Bug 1656825 - Fix duplicate calls to lazyRequireGetter r=nchevobbe
Depends on D85288

Differential Revision: https://phabricator.services.mozilla.com/D85720
2020-08-03 07:53:50 +00:00
Taegeon Lee 7d84058c16 Bug 1621889 Remove unused originalRegisteredPool in Thread.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D85659
2020-08-03 07:06:14 +00:00
Yura Zenevich e65360bcf3 Bug 1648161 - update code paths where canvas helper was expected to insert synchronously. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D82416
2020-07-30 13:59:53 +00:00
Narcis Beleuzu 0a0d8f9451 Backed out 3 changesets (bug 1648161, bug 1650094) as requeste by yzen
Backed out changeset a05fbae74197 (bug 1650094)
Backed out changeset b1c3cfa3b77b (bug 1648161)
Backed out changeset 7cd63199f143 (bug 1648161)
2020-07-20 18:01:00 +03:00
Yura Zenevich 0e099f0461 Bug 1648161 - update code paths where canvas helper was expected to insert synchronously. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D82416
2020-07-14 17:38:28 +00:00
Nicolas Chevobbe d5ffb31381 Bug 1623283 - Rename Pool#actor into getActorByID. r=jdescottes.
We take this opportunity to remove Pool.get as well,
which was doing exactly the same thing as Pool.actor

This highlighted a couple issues in Reps:
- LongString were relying on the isGrip function, which was only checking that
  the actor property was truthy. So it was matching LongStringFront which had
  the actor method. This is modified by using the isLongString helper instead.
- The Object rep was building all the reps for the object properties, even in
  TINY mode, where the result was only used to check the length. In the Accessibility
  panel, it can happen that an plain object containing front properties is passed
  to Rep. It was fine before because this was short-circuited by the Accessor rep
  which was only checking the truthiness of a `get` property. With `get` being
  removed, the default Rep was used, which is Object, and we were hitting a
  recursion loop, as some of the properties of fronts are cycle references.
  There should be a fix in the Accessibility panel to _not_ pass fronts, but we
  also "fix" it from here by simply not building sub-properties for the object
  when we're in TINY mode.

Differential Revision: https://phabricator.services.mozilla.com/D81971
2020-07-02 15:07:12 +00:00
Narcis Beleuzu 010f052da8 Bug 1594467 - Fix lint. a=jlast . CLOSED TREE 2020-06-13 00:00:01 +03:00
Stepan Stava 7b50798bc1 Bug 1594467 - Add 'Restart frame' r=loganfsmyth
Adds 'Restart frame' context menu item to the Call stack

Differential Revision: https://phabricator.services.mozilla.com/D75620
2020-06-12 18:26:40 +00:00
Jason Laster d213ae4f61 Bug 1644813 - Remove references to autoBlackbox. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D79167
2020-06-12 18:06:42 +00:00
Logan Smyth cc02094920 Bug 1643540 - Split scriptElement type into three types for clarity. r=jlast,smaug
The lack of specificity for script intro type has lead the debugger to need
to make use of 'source.introductionType' and 'source.element' in order to
determine whether a given script was injected, or inline or fetched, which
is entirely unnecessary of the loader itself clearly tells us what type
of script we are working with. It also allows us to cleanly handle the case
of XUL, which previously was "scriptElement" but has no ".element" passed
in, so we were unable to know whether a given source was inline or not.

Differential Revision: https://phabricator.services.mozilla.com/D78435
2020-06-05 18:22:50 +00:00
Jason Laster 9f485e4904 Bug 1608078 - Stepping out of async function doesnt work properly. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D75235
2020-05-20 22:22:31 +00:00
Csoregi Natalia c7fbe6575e Backed out changeset 7050d098119c (bug 1608078) for failures on test_stepping-12.js. CLOSED TREE 2020-05-20 23:43:52 +03:00
Jason Laster eeb896255a Bug 1608078 - Stepping out of async function doesnt work properly. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D75235
2020-05-20 17:53:37 +00:00
Jason Laster 54e726553b Bug 1630642 - Stepping should respect the currently selected frame. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D71223
2020-04-21 23:29:33 +00:00
Jason Laster 766b8f8ae1 Bug 1622116 - Add a helper for visualizing server pools. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D66687

--HG--
extra : moz-landing-system : lando
2020-04-08 17:33:12 +00:00
Miriam 9d51161278 Bug 1613165 - Ensure adding or removing breakpoint does not disable debugger statement.
Differential Revision: https://phabricator.services.mozilla.com/D67172

--HG--
extra : moz-landing-system : lando
2020-03-18 22:41:20 +00:00
Jason Laster 5f29a6d696 Bug 1622996 - Refactor devtools codebase to use optional chaining (automated changes). r=jdescottes
Depends on D67084

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

--HG--
extra : moz-landing-system : lando
2020-03-19 21:13:38 +00:00
Julian Descottes 3df40590e9 Bug 1621886 - Call Actor destroy from all actors r=nchevobbe
Depends on D66780

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

--HG--
extra : moz-landing-system : lando
2020-03-18 10:48:22 +00:00
Nicolas Chevobbe aa9535d9d8 Bug 1621712 - Switch ActorPool usage to Pools in devtools/server/actors. r=jdescottes.
All the actors using ActorPool now use Pool instead.
A few changes were needed since the API are a bit different:
- addActor(x) was changed to manage(x)
- removeActor(x) was changed to x.destroy() (which removes x from the Pool)
- x.registeredPool was changed into x.parent() (registeredPool was the Pool x was in)
- conn.addActorPool calls were removed as it's already done in the Pool _poolMap getter
- conn.removeActorPool(x) calls were turned into x.destroy , as the former is called
  from Pool#destroy.

Also, some actors were overriding Actor#initialize without calling
Actor.prototype.initialize.call, which mean they didn't have a `conn`
property.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 06:32:24 +00:00
Nicolas Chevobbe 0c09b836d2 Bug 1467565 - Replace all remaining actorPrefix properties. r=ochameau.
With all our actors supporting protocol.js, we can remove
support for the pre-protocol.js actorPrefix property.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 17:37:00 +00:00
Alexandre Poirot 92e8745890 Bug 1622219 - Stop returning any value from ThreadActor.attach. r=jdescottes
We weren't actually returning any value.
The only case when we return something is when the RDP method throws and return
an object response with an "error" attribute.
I imagine this has been refactored incorectly from old style actor to protocol.js.
We should throw in case of errors if we want to transfer a RDP message with "error" attribute.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 11:37:52 +00:00
Andreea Pavel 43ef099e3f Backed out 4 changesets (bug 1619622, bug 1622219) for failing dt at browser_dbg-browser-content-toolbox.js on a CLOSED TREE
Backed out changeset ee78eb11695d (bug 1619622)
Backed out changeset f83aee4ecf04 (bug 1622219)
Backed out changeset 6616e4b92e83 (bug 1622219)
Backed out changeset 48d662255ed1 (bug 1622219)
2020-03-16 13:33:51 +02:00
Alexandre Poirot 9a3be4d3ab Bug 1622219 - Stop returning any value from ThreadActor.attach. r=jdescottes
We weren't actually returning any value.
The only case when we return something is when the RDP method throws and return
an object response with an "error" attribute.
I imagine this has been refactored incorectly from old style actor to protocol.js.
We should throw in case of errors if we want to transfer a RDP message with "error" attribute.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 12:26:13 +00:00
Mihai Alexandru Michis 6aff1e4070 Backed out 5 changesets (bug 1619622) for causing devtool failures in browser_dbg-browser-content-toolbox.js
CLOSED TREE

Backed out changeset d447fd6fa18d (bug 1619622)
Backed out changeset f2ac72165a3a (bug 1619622)
Backed out changeset ceeaf109d8b6 (bug 1619622)
Backed out changeset 778c166fd33f (bug 1619622)
Backed out changeset 9a2b75a25794 (bug 1619622)
2020-03-11 21:17:35 +02:00
Alexandre Poirot 52c9fad1b6 Bug 1619622 - Stop returning any value from ThreadActor.attach. r=jdescottes
We weren't actually returning any value.
The only case when we return something is when the RDP method throws and return
an object response with an "error" attribute.
I imagine this has been refactored incorectly from old style actor to protocol.js.
We should throw in case of errors if we want to transfer a RDP message with "error" attribute.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 13:35:54 +00:00
Jason Laster 4519a5bfef Bug 1619420 - Remove waitingOnStep. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D65020

--HG--
extra : moz-landing-system : lando
2020-03-04 18:48:25 +00:00
wartmanm 878f6df197 Bug 1548469 - Step in to the next script r=jlast
Depends on D65008

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

--HG--
extra : moz-landing-system : lando
2020-03-03 18:44:43 +00:00
wartmanm 8ec2e36c2d Bug 1548469 - Factor out _attachSteppingHooks from _handleResumeLimit r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D65008

--HG--
extra : moz-landing-system : lando
2020-03-03 17:25:56 +00:00
Alexandre Poirot f3c23535d7 Bug 1614792 - Rename DebuggerClient to DevToolsClient. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D62495

--HG--
rename : devtools/shared/client/debugger-client.js => devtools/shared/client/devtools-client.js
extra : moz-landing-system : lando
2020-02-17 13:39:25 +00:00
Logan Smyth 1d75bb2c8a Bug 1610416 - Expose SavedFrame frames via debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D61517

--HG--
extra : moz-landing-system : lando
2020-02-12 04:02:17 +00:00
Jason Laster 897b14485f Bug 1609815 - Remove Web Replay UI. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D60679

--HG--
extra : source : cfe2388a674e024d1920245e867f9982087c8164
2020-02-10 21:03:28 +00:00
Noemi Erli 85558b46c4 Backed out changeset cfe2388a674e (bug 1609815) for causing TypeError in browserContext CLOSED TREE 2020-02-11 00:35:52 +02:00
Jason Laster f5531f3716 Bug 1609815 - Remove Web Replay UI. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D60679

--HG--
extra : moz-landing-system : lando
2020-02-10 21:03:28 +00:00
Razvan Maries f039242241 Backed out 2 changesets (bug 1610416, bug 1610415) for build bustages on Frame.cpp. CLOSED TREE
Backed out changeset c208490126fe (bug 1610416)
Backed out changeset 8f19f7882caf (bug 1610415)
2020-02-05 09:26:33 +02:00
Logan Smyth af0a5181d1 Bug 1610416 - Expose SavedFrame frames via debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D61517

--HG--
extra : moz-landing-system : lando
2020-02-05 05:44:03 +00:00
Jason Laster 8402efc937 Bug 1611905 - Autocompletion suggestion for `debugger` in Console stops JS execution. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D61211

--HG--
extra : moz-landing-system : lando
2020-02-04 16:40:46 +00:00
wartmanm e67062eb83 Bug 1327334 - Clear stepping state when navigating r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D61188

--HG--
extra : moz-landing-system : lando
2020-02-04 01:32:29 +00:00
Andreea Pavel bc1b47b96a Backed out changeset c41e5432b3c5 (bug 1609815) for build bustages at JSControl.cpp on a CLOSED TREE 2020-01-23 22:34:40 +02:00
Jason Laster 6626357ec2 Bug 1609815 - Remove Web Replay UI. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D60679

--HG--
extra : moz-landing-system : lando
2020-01-23 20:07:37 +00:00
Brian Hackett ecd563dce4 Bug 1608261 - Shade untraversed and unscanned regions differently on timeline, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D59421

--HG--
extra : moz-landing-system : lando
2020-01-10 20:39:03 +00:00
wartmanm 61b3877fe7 Bug 1575071 - Find unblackboxed frame when stepping backwards r=jlast
Depends on D57205

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

--HG--
extra : moz-landing-system : lando
2020-01-02 18:43:11 +00:00
wartmanm 77ac359e34 Bug 1575071 - Improve performance by not attaching onStep handlers to blackboxed frames r=jlast
Depends on D57203

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

--HG--
extra : moz-landing-system : lando
2020-01-02 18:43:39 +00:00
wartmanm 8230eb5aa5 Bug 1575071 - Add onPop handlers to blackboxed frames r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D57203

--HG--
extra : moz-landing-system : lando
2020-01-02 18:42:46 +00:00
jaril c0f42edecc Bug 1602804 - Create WatchpointMap to keep track of objects with watchpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D57645

--HG--
extra : moz-landing-system : lando
2019-12-19 22:36:48 +00:00
Alexandre Poirot 0771b42cab Bug 1239008 - Remove unused ChromeDebuggerActor. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D57468

--HG--
extra : moz-landing-system : lando
2019-12-19 16:41:41 +00:00
Logan Smyth 82b556f808 Bug 1592644 - Ensure that we are always passing a global to listen for events. r=jlast
We are being inconsistent here and sometimes calling `.connect` with a
Debugger.Object that points at a global instead of the global itself.
Passing the Debugger.Object fails since it isn't a global.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 15:41:31 +00:00
Logan Smyth d0fabc6e3a Bug 1592430 - Basic support for async live stacks in the debugger server. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D56661

--HG--
extra : moz-landing-system : lando
2019-12-12 06:19:03 +00:00
Brian Hackett 3e68277f59 Bug 1598180 - Optimize searching for matching scripts in a source, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D55592

--HG--
extra : moz-landing-system : lando
2019-12-11 22:54:13 +00:00
Jason Laster 93b2a3131f Bug 1599215 - Watchpoints do not work as expected after close Dev Tools. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D56053

--HG--
extra : moz-landing-system : lando
2019-12-05 23:05:29 +00:00
Logan Smyth 5b6b224f2a Bug 1592431 - Part 1: Rename Debugger.Frame.prototype.live to .onStack. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54488

--HG--
rename : js/src/jit-test/tests/debug/Frame-live-01.js => js/src/jit-test/tests/debug/Frame-onStack-01.js
rename : js/src/jit-test/tests/debug/Frame-live-02.js => js/src/jit-test/tests/debug/Frame-onStack-02.js
rename : js/src/jit-test/tests/debug/Frame-live-03.js => js/src/jit-test/tests/debug/Frame-onStack-03.js
rename : js/src/jit-test/tests/debug/Frame-live-04.js => js/src/jit-test/tests/debug/Frame-onStack-04.js
rename : js/src/jit-test/tests/debug/Frame-live-05.js => js/src/jit-test/tests/debug/Frame-onStack-05.js
rename : js/src/jit-test/tests/debug/Frame-live-06.js => js/src/jit-test/tests/debug/Frame-onStack-06.js
rename : js/src/jit-test/tests/debug/Frame-live-07.js => js/src/jit-test/tests/debug/Frame-onStack-07.js
extra : moz-landing-system : lando
2019-12-05 04:28:00 +00:00
jaril 658cf442ca Bug 1599221 - Fixed promoting and demoting of object actors with watchpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D54955

--HG--
extra : moz-landing-system : lando
2019-11-27 22:32:05 +00:00
Jason Laster 5ac14e224d Bug 1598174 - Fix skipBreakpoints is undefined error in tests. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D54064

--HG--
extra : moz-landing-system : lando
2019-11-21 16:17:28 +00:00
Brian Hackett 830e9c1b8c Bug 1594975 - Fix ThreadActor.frames argument, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52477

--HG--
extra : moz-landing-system : lando
2019-11-11 12:30:31 +00:00
Jason Laster 96dcd40e06 Bug 1593846 - Paused packet should return a frame front. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52259

--HG--
extra : moz-landing-system : lando
2019-11-08 16:52:25 +00:00
Noemi Erli 7816803844 Backed out changeset 22df7ed1b3c4 (bug 1593846) for causing debugger failures CLOSED TREE 2019-11-08 06:16:34 +02:00
Jason Laster d3ae1f3a8d Bug 1593846 - Paused packet should return a frame front. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52259

--HG--
extra : moz-landing-system : lando
2019-11-07 23:19:04 +00:00
Jason Laster cfe4e9651b Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : moz-landing-system : lando
2019-11-07 20:22:43 +00:00
Daniel Varga 6df4c46d72 Backed out 2 changesets (bug 1571704) for xpcshell failure at devtools/server/tests/unit/test_blackboxing-01.js. On a CLOSED TREE
Backed out changeset c4bcee0f733a (bug 1571704)
Backed out changeset 25e20d00d43f (bug 1571704)
2019-11-07 01:33:18 +02:00
Jason Laster 5110bd1de0 Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : source : 5dd0214c512990cd9417ad504406abb71c60654c
2019-11-06 20:07:35 +00:00
Coroiu Cristina 513f9646d7 Backed out changeset 5dd0214c5129 (bug 1571704) for ESlint failure and causing hunks failed when backout Bug 1592616 on a CLOSED TREE 2019-11-06 22:52:53 +02:00
Jason Laster ff3a09fd85 Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : moz-landing-system : lando
2019-11-06 20:07:35 +00:00
Jason Laster 16fab4466c Bug 1586904 - Refreshing while paused fails. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D51484

--HG--
extra : moz-landing-system : lando
2019-11-04 23:45:13 +00:00
jaril ba28db66a0 Bug 1581245 - Add a frame timeline to web replay
Differential Revision: https://phabricator.services.mozilla.com/D49698

--HG--
extra : moz-landing-system : lando
2019-10-28 14:17:18 +00:00
David Walsh 34cd114993 Bug 1576145 - Show DOM nodes in for DOM Mutation Breakpoints in WhyPaused block r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D45248

--HG--
extra : moz-landing-system : lando
2019-10-17 02:04:45 +00:00
Logan Smyth 6e3be305df Bug 1581530 - Re-apply usage of .enable/.disable accidentally reverted in Bug 997119. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D49382

--HG--
extra : moz-landing-system : lando
2019-10-16 18:13:41 +00:00
Logan Smyth 4470e56db4 Bug 1585902 - Use the protocoljs framework for emitting events. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D48147

--HG--
extra : moz-landing-system : lando
2019-10-09 11:03:33 +00:00
jaril 61cb2a6ec1 Bug 1581245 - Added server support for frame timelines
Differential Revision: https://phabricator.services.mozilla.com/D48635

--HG--
extra : moz-landing-system : lando
2019-10-09 05:17:17 +00:00
Dorel Luca 092ae9e4f7 Bug 1583151 - Follow up to jlaster's push. r=jlast. CLOSED TREE
--HG--
extra : amend_source : d49af95c86e5562e1540e9612863f7c750e05221
2019-10-07 23:50:54 +03:00
Jason Laster f8985ada98 Bug 1583151 - Log important errors to stdout (follow up). r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D46951

--HG--
extra : moz-landing-system : lando
2019-10-07 20:08:13 +00:00
Jason Laster 9c5a0d2916 Bug 1581562 - Empty debugger while debugging watchpoints. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D47705

--HG--
extra : moz-landing-system : lando
2019-10-02 02:24:09 +00:00
Brian Hackett ea7d31a7d8 Bug 1583671 - Allow pausing on exceptions in workers, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47320

--HG--
extra : moz-landing-system : lando
2019-10-01 15:07:45 +00:00
Jason Laster b398214772 Bug 1583447 - Fix BrowserConsole "this._debuggerSourcesSeen is null". r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D46988

--HG--
extra : moz-landing-system : lando
2019-10-01 06:46:37 +00:00
Miriam b52f6bd330 Bug 1581447 - Fix event breakpoints ignoring blackboxed files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D47120

--HG--
extra : moz-landing-system : lando
2019-09-27 20:40:41 +00:00
Jason Laster 9ea2d08c1c Bug 1579768 - Debugger paused overlay is too obtrusive and cant be disabled. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D46494

--HG--
extra : moz-landing-system : lando
2019-09-23 14:35:31 +00:00
Jason Laster fec4d666e1 Bug 1581232 - Log important errors to stdout. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D46533

--HG--
extra : moz-landing-system : lando
2019-09-20 01:16:02 +00:00
Brian Hackett 33f0851783 Bug 1582557 - Fix some stepping issues, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D46518

--HG--
extra : moz-landing-system : lando
2019-09-19 21:18:57 +00:00
Jason Laster 0d8811c4bc Bug 1580374 - DOM BPs ignore ignores blackboxed files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D45761

--HG--
extra : moz-landing-system : lando
2019-09-18 18:00:58 +00:00
Brian Hackett a0762fda35 Bug 1581999 - Fix event logging while replaying, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D46245

--HG--
extra : moz-landing-system : lando
2019-09-18 03:22:33 +00:00
Jason Laster 5cb8b24f19 Bug 1110276 - Log on Events (UI). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D46077

--HG--
extra : moz-landing-system : lando
2019-09-17 21:17:58 +00:00
Nicolas Chevobbe 8be561cece Bug 1577798 - Don't create a new Debugger instance in WebConsoleActor. r=ochameau,jlast.
Previously, when creating a new WebConsoleActor, we were
also creating a new Debugger instance.
The problem was that we would never call `enable` on it,
which is what allows to create debuggee for all existing
globals, and for the ones that will be created after.
This means that we had multiple workaround to get a
global debuggee, and in the case of function, would add
a global as a debuggee only to get its script location.

This patch remove the creation of the new Debugger,
and retrieve the parent actor Debugger instance instead.

This shuffles things around a bit, are the Debugger instance
was created by the ThreadActor, but is now by the target
actor (BrowsingContext, ContentProcess, ...).

We can then remove the now unused `getGlobalDebugObject`
hooks we were using in the Function previewer, as we
get a proper Debugger object, with the script location.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 12:12:22 +00:00
Brian Hackett b08a3cc809 Bug 1581013 - Support event logpoints when replaying, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45778

--HG--
extra : moz-landing-system : lando
2019-09-16 00:12:34 +00:00
Jason Laster 1a291f1700 Bug 1110276 - Log on Events. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D45619

--HG--
extra : moz-landing-system : lando
2019-09-13 02:37:08 +00:00
Jason Laster 6dd9c29f22 Bug 1579658 - Hovering on the console jump button should update the viewport. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D45133

--HG--
extra : moz-landing-system : lando
2019-09-11 03:43:30 +00:00
championshuttler c3c60ddbbf Bug 1555022 - Remove unused methods on the Thread Actor. r=jdescottes,jlast
Differential Revision: https://phabricator.services.mozilla.com/D44957

--HG--
extra : moz-landing-system : lando
2019-09-10 22:01:36 +00:00
Razvan Maries d12d589b73 Backed out changeset b93f753ddfe4 (bug 1579658) for ES Lint failure. CLOSED TREE 2019-09-11 04:50:58 +03:00
Jason Laster eac3fce446 Bug 1579658 - Hovering on the console jump button should update the viewport. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D45133

--HG--
extra : moz-landing-system : lando
2019-09-11 00:04:03 +00:00
Jason Laster e6d87de2fe Bug 1578672 - do not resurrect self-hosted urls. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D45107

--HG--
extra : moz-landing-system : lando
2019-09-07 00:09:17 +00:00
Brian Hackett ad74710129 Bug 1576318 Part 4 - Add testing method to get the debugger requests and associated stacks for the current pause, r=loganfsmyth.
Depends on D43320

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

--HG--
extra : moz-landing-system : lando
2019-08-30 17:10:57 +00:00
Jason Laster ef037077c5 Bug 1571791 - "Step in" across an await expression jumps to unexpected places. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D42723

--HG--
extra : moz-landing-system : lando
2019-08-29 16:09:47 +00:00
Miriam 00d77f3385 Bug 1574190 - Add server support for watchpoints. r=jlast
Lint and add test.

Add server support for watchpoints.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 22:33:08 +00:00
Brian Hackett ec2a82b296 Bug 1572596 Part 3 - Resurrect any sources missing from the debuggee source URLs when attaching the debugger, r=loganfsmyth.
Depends on D41683

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

--HG--
extra : moz-landing-system : lando
2019-08-22 00:12:56 +00:00
Jason Laster 6845094e87 Bug 1574830 - Scanning should not show an overlay. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D42443

--HG--
extra : moz-landing-system : lando
2019-08-19 14:39:14 +00:00
Nicolas Chevobbe 925311bc77 Bug 1568779 - Remove editors settings comments in devtools files. r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D42300

--HG--
extra : moz-landing-system : lando
2019-08-19 12:48:16 +00:00
Jason Laster 1b0c3042de Bug 925269 - Enable/disable individual debugger statements. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D41838

--HG--
extra : moz-landing-system : lando
2019-08-14 23:01:26 +00:00