gecko-dev/devtools/client/debugger/packages
jaril 696cf3b52a Bug 1588997 - Convert ObjectClient to protocol.js front. r=nchevobbe.
- Converted the ObjectClient into an protocoljs Front
- Converted the SymbolIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the PropertyIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the EnvironmentClient into a protocoljs Front and moved it to devtools/shared/fronts
- Modified calls to `DebuggerClient.release()` so that it tries to call the ObjectFront's release method first, and falls back on `DebuggerClient.release()` if there's no object front
- Changed reps so that it instantiates only one ObjectClient per grip
- Changed tests so that they expect what the Front's request method resolves to where applicable (i.e. ObjectFront.allocationStack resolves to allocationStack, not a packet object with an allocationStack property)
- Changed callbacks provided to ObjectClient methods to be chained to the ObjectFront methods (e.g. ObjectClient.getScope(callback) changed to ObjectFront.getScope().callback())
- Changed tests to use async/await (test_framebindings-x.js, test_functiongrips-x.js, test_objectgrips-x.js)
- Changed tests to expect protocoljs to throw an error string instead of an error object (test_objectgrips-fn-apply-03.js, test_threadlifetime-02.js, test_pauselifetime-03.js)

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

--HG--
rename : devtools/shared/client/environment-client.js => devtools/shared/fronts/environment.js
rename : devtools/shared/client/property-iterator-client.js => devtools/shared/fronts/property-iterator.js
rename : devtools/shared/client/symbol-iterator-client.js => devtools/shared/fronts/symbol-iterator.js
extra : moz-landing-system : lando
2019-10-17 16:06:25 +00:00
..
devtools-components Bug 1582865 - Don't use document/window in tree component. r=yzen. 2019-09-27 12:06:20 +00:00
devtools-reps Bug 1588997 - Convert ObjectClient to protocol.js front. r=nchevobbe. 2019-10-17 16:06:25 +00:00
devtools-source-map Bug 1588637 - perf: Reduce memory allocation, avoid regular expressions and layout trashing r=davidwalsh 2019-10-16 18:44:13 +00:00
devtools-splitter Bug 1568779 - Remove editors settings comments in devtools files. r=pbro. 2019-08-19 12:48:16 +00:00
devtools-utils Bug 1541633 - Part 2: Give workers a way to cleanly pass metadata about errors to callers. r=jlast 2019-08-23 14:33:16 +00:00
devtools-wasm-dwarf Bug 1541633 - Part 3: Reduce the amount of data passed to the source-map worker functions. r=jlast 2019-08-23 14:34:42 +00:00
moz.build Bug 1584973 - Expose object inspector's reducer file. r=jlast. 2019-10-02 08:05:28 +00:00