Commit Graph

24 Commits

Author SHA1 Message Date
Yury Delendik
bd203fef56 Bug 1333219 - Allow setBreakpoint on server fail when script is absent. r=jlast
MozReview-Commit-ID: 4CDeTToUPfi
2017-01-30 13:53:42 -06:00
Dalimil Hajek
b4e6cbd057 Bug 1322085 - Make devtools/server/actors/*.js eslint-clean. r=ntim 2017-01-16 12:51:00 -05:00
Florian Quèze
361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
J. Ryan Stinnett
ca28966f00 Bug 1315391 - Rename all disconnect methods to destroy in actors. r=ochameau
Ever since protocol.js was added as a way to create DevTools actors, we've had
lots of confusion about the correct way to implement actor destruction.  If your
actor's _parent_ was the legacy kind, you had to use `disconnect`.  If it was
protocol.js, you had to use `destroy`.

There is no reason for this madness, which makes reasoning about destruction
quite hard.  Here we rename `disconnect` to `destroy` so there is only one name
for every destruction path.

MozReview-Commit-ID: C1Yw9NfUUR2
2016-11-11 18:24:58 -06:00
James Long
9972d3576c Bug 1305079 - add noSliding option to setBreakpoint protocol request r=fitzgen 2016-09-28 10:58:30 -04:00
fbdb0dae94 Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans
Heintroduce the old Actor/FrontClass constructors.
2016-08-22 16:25:57 +02:00
b0fa44c98a Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
James Long
14cb1813db Bug 1238173 - remove ScriptStore in use findScripts in debugger r=fitzgen 2016-07-20 14:57:13 -04:00
Jason Laster
48f681702e Bug 1286390 - Add sourceMapURL to source actor form. r=jlongster 2016-07-12 14:40:00 -04:00
Nick Fitzgerald
74ed7017f2 Bug 1277944 - Use ActorClassWithSpec for the SourceActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
J. Ryan Stinnett
eb8fd465df Bug 1277674 - Explicitly require Services in source actor. r=tromey
It was being implicitly loaded into modules by a single arg Cu.import elsewhere
in the code base, but only if JSON Viewer is enabled (Dev. Ed and Nightly
channels).  I plan to address the Cu.import issue more thoroughly over in bug
1193390.

MozReview-Commit-ID: 6AGJGqYvw3c
2016-06-03 13:38:23 -05: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
Jennifer Fong
bb0e5b8001 Bug 1270173 - Move protocol.js from devtools/server to devtools/shared. r=ejpbruel 2016-05-06 09:19:00 +02:00
Alexandre Poirot
e906100572 Bug 1060732 - Load sources from page loaded via POST from cache in the debugger. r=ejpbruel 2016-04-27 09:43:59 -07:00
Alexandre Poirot
9564188e35 Bug 1263935 - Use AddonPathService.mapURIToAddonId instead of AddonManager.mapURIToAddonID. r=ejpbruel 2016-04-26 07:11:15 -07:00
Wes Kocher
5f9fb9a333 Backed out changeset aa1a374f6bde (bug 1060732) for failures in browser_dbg_post-page.js
MozReview-Commit-ID: 70TYWF1nMcj
2016-04-12 15:47:09 -07:00
Alexandre Poirot
d06b519056 Bug 1060732 - Load sources from page loaded via POST from cache in the debugger. r=ejpbruel 2016-04-12 13:05:36 -07:00
Jason Laster
c179dc4f80 Bug 1250110 - Clean up the path utility functions. r=ejpbruel 2016-04-07 11:58:00 -04:00
Eddy Bruel
70433dad4b Bug 1253976 - Protocol.js error packets should have meaningful error and message fields;r=jryans 2016-04-01 09:17:50 +02:00
Eddy Bruel
1255067a87 No bug - Remove spurious debugger comment;r=me 2016-03-15 19:50:43 +01: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
Shu-yu Guo
f015b5ec67 Bug 1232014 - Give wasm Debugger.Sources the text/wasm mimetype and use their .text property. (r=ejpbruel) 2016-03-11 21:43:21 -08:00
Eddy Bruel
3db816266b Bug 1250896 - Refactor SourceActor to use protocol.js;r=jryans 2016-03-09 14:24:38 +01:00
Eddy Bruel
056076244e Bug 1250896 - Move SourceActor into its own file;r=jryans 2016-03-03 17:51:37 +01:00