Commit Graph
66 Commits
Author SHA1 Message Date
Julian Descottes 2530599593 Bug 1391562 - use obj.on/off/emit rather than static methods from devtools event-emitter;r=zer0
MozReview-Commit-ID: I50W8zGB9d0
2017-08-18 17:05:04 +02:00
Nicolas Chevobbe 15554f90b2 Bug 1392614 - Add an onEnumSymbols function on the object actor. r=ochameau
This will enable lazy loading symbols for a grip if needed.
This patch introduce a new SymbolIteratorActor, which is similar
to PropertyIteratorActor but with a data structure that better
fits symbols, and how we already handle them, i.e. an `ownSymbols`
array property (and not an `ownProperties` object like PropertyIteratorActor).

We take this as an opportunity to add a test for enumSymbols, but also
for enumProperties that did not have server unit tests (it is only tested
in the frontend with the variable view, which might be deprecated at some
point).

MozReview-Commit-ID: IEIKA8zwH90
2017-08-22 12:07:48 +02:00
Nicolas Chevobbe e04b0a07bb Bug 1392954 - Fix DebuggerClient.requester Promise response. r=ochameau
The promise returned by a function created with DebuggerClient.requester was
resolved with the raw response, i.e. without any modifications that could
happen in the after callback.

MozReview-Commit-ID: Bd81eTsZ9YB
2017-08-23 11:42:44 +02:00
Julian Descottes 92eb851e00 Bug 1137935 - remove all usage of sdk/event/core/ in devtools;r=ochameau
MozReview-Commit-ID: 2ab0Ol4Mq64
2017-08-16 15:11:21 +02:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Yury Delendik 91034a63d1 Bug 1375164 - Add arguments to the ArrayBufferClient.slice method. r=jlast
MozReview-Commit-ID: 9B81khIRDKk
2017-06-21 13:01:41 -05:00
Yury Delendik 5605c95363 Bug 1364535 - Modifies Debug Protocol to access WebAssembly binary source. r=jlast
MozReview-Commit-ID: K4lR5qz4DWG
2017-05-19 12:19:54 -05:00
Jason Laster 4fb8419113 Bug 1371842 - Update Debugger frontend (6/9/2017). r=jdescottes 2017-06-09 19:46:00 -04:00
Luca Greco 8c05041220 Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo
2017-02-15 14:54:50 +01:00
Tom Tromey 1fae2b4bb3 Bug 1349354 - remove now-unused source-map-service; r=jryans
MozReview-Commit-ID: umdc4XrpGf
2017-05-15 03:17:19 -06:00
J. Ryan Stinnett 0ec08eee8e Bug 1352157 - Avoid listTabs for global actors. r=ochameau
Adds a new `getRoot` request to the root actor which lists the global actors
only (leaving out the tabs).  This is a much better fit for callers who want to
access some global actor only, since it avoids visiting every tab, which could
be a very expensive operation.

MozReview-Commit-ID: 1lIAuaV7zoF
2017-04-06 23:00:22 -05:00
J. Ryan Stinnett dc7b031568 Bug 1268134 - Add client and toolbox access to specific windows. r=ochameau
MozReview-Commit-ID: 3IILOc6gZFi
2016-04-14 17:09:49 -05:00
Tim Nguyen 2c0f72af0e Bug 1326412 - Fix ESLint issues in devtools/shared/webconsole/test/common.js. r=jryans
MozReview-Commit-ID: A07SFMexvSL
2017-02-13 19:16:56 +00:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Tim Nguyen 9390ab0eba Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
MozReview-Commit-ID: 2XxhfV8ih0S
2016-12-30 15:01:42 +01:00
Phil Ringnalda 83857fe4ea Backed out changeset 67611ffb1fef (bug 1325213) for failures in test_require_lazy.js 2016-12-29 19:01:37 -08:00
Tim Nguyen eb7be14ba4 Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
MozReview-Commit-ID: 2XxhfV8ih0S
2016-12-30 03:11:52 +01:00
Sebastian Hengst 2e047ceb32 Backed out changeset c816bcb8572d (bug 1320110) for mass devtools failures. r=backout on a CLOSED TREE 2016-11-24 19:23:28 +01:00
Jarda Snajdr 27971664c7 Bug 1320110 - WebConsoleClient API calls should return promises r=ochameau
MozReview-Commit-ID: 1mmGGUgIwqA
2016-11-24 16:12:25 +01:00
J. Ryan Stinnett 8df45a4d5d Bug 1291815 - Wait for requests to settle between DAMP subtests. r=ochameau
MozReview-Commit-ID: 2WH1QquOclP
2016-09-29 16:51:15 -05:00
James Long 9972d3576c Bug 1305079 - add noSliding option to setBreakpoint protocol request r=fitzgen 2016-09-28 10:58:30 -04:00
Alexandre Poirot 055cbd96c1 Bug 1300036 - Update the state correctly on the client side when the server reports a conflict on resume. r=ejpbruel
MozReview-Commit-ID: IK6LXEGXan
2016-09-05 10:42:05 -07:00
Alexandre Poirot b38e2f3feb Bug 1243452 - Make DebuggerClient.close return a Promise. r=jryans
MozReview-Commit-ID: 26PNAS431Hc
2016-08-31 09:39:42 -07:00
Tom Tromey 96f00c8290 Bug 1287910 - move devtools stack-related APIs to per-platform require; r=jryans
MozReview-Commit-ID: CgT1VGJnJqB
2016-08-05 13:17:17 -06:00
Carsten "Tomcat" Book c0a2b46b9b merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
J. Ryan Stinnett 30933227ec Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett bea319c4ec Bug 1282900 - Remove RDP telemetry probes and surrounding machinery. r=fitzgen
MozReview-Commit-ID: 58WNVGWTyKJ
2016-06-29 11:37:09 -05:00
J. Ryan Stinnett 7b666ebded Bug 1240900 - Use outerWindowID directly from browser. r=ochameau
MozReview-Commit-ID: JuJNSScaJEs
2016-06-25 11:35:02 -05:00
Alexandre Poirot 3507349618 Bug 1237492 - Fix test_jsterm_autocomplete.html intermittents by connecting to the expected worker actor. r=ejpbruel 2016-05-30 03:06:21 -07:00
Alexandre Poirot 54c5d8e3da Bug 1270179 - Improve performances when inspecting big typed arrays in the console. r=jsnajdr,ejpbruel 2016-05-26 09:12:17 -07:00
Tom Tromey 86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Tom Tromey 3a49936872 Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
MozReview-Commit-ID: HzbnNvTc5db
2016-05-04 08:02:03 -06:00
Carsten "Tomcat" Book 74de773d2c Backed out changeset 797e8190073f (bug 1265876) for memory leaks in browser_markup_mutation_02.js 2016-04-28 08:13:42 +02:00
Tom Tromey 323443bd29 Bug 1265876 - don't directly use Timer.jsm or timers.js in devtools; r=ochameau
MozReview-Commit-ID: HzbnNvTc5db
2016-04-21 11:20:14 -06:00
Jarda Snajdr 8faf50394c Bug 1172920: DevTools: Map/Set entries should be visible in the Variables view r=vporof,tromey a=kwierso
MozReview-Commit-ID: HzwnqO1uQ4o
2016-03-31 16:12:38 -07:00
James Long f701700b17 Bug 1248303 - respect break on exceptions flag in subsequent debugger instances r=ejpbruel 2016-03-16 13:53:34 -04:00
Jordan Santell 91eae2ce6e Bug 1177279 - Create a SourceLocationController to manage the state of updating sources for source mapping. r=jlong,jryans 2016-03-14 18:49:07 -07:00
Eddy Bruel bf569e34ac Bug 1119490 - Enable source maps for workers;r=jryans 2016-03-01 14:57:01 +01:00
Alexandre Poirot bb787b541e Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Eddy Bruel 69a6e9b8cc Bug 1209559 - "Figure out why opening a toolbox on certain workers works only once.". r=janx 2016-02-23 05:03:00 +01:00
Lin Clark 5aff0c2eb9 Bug 1241707 - [e10s] Web Console should restore focus to proper place when closed. r=jryans,r=bgrins
MozReview-Commit-ID: JlcJPGygm5F
2016-02-16 14:37:45 -08:00
Carsten "Tomcat" Book ddff5d29bb Backed out changeset cdbe72c64a60 (bug 1241707) 2016-02-12 12:16:01 +01:00
Lin Clark 740ac497f8 Bug 1241707 - [e10s] Web Console should restore focus to proper place when closed. r=jryans 2016-02-11 16:00:00 +01:00
Alexandre Poirot 2403bcf8e5 Bug 1239276 - Convert DebuggerClient.connect to promise. r=jryans 2016-01-28 10:11:31 -08:00
Alexandre Poirot 9c64af7bd8 Bug 1238939 - Fix reentrance loop with active requests during client close. r=jryans 2016-01-26 03:23:47 -08:00