gecko-dev/devtools/shared/protocol
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
..
Actor Bug 1596686 - Use absolute paths for require calls r=gl 2019-12-27 12:23:47 +00:00
Front Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
tests/xpcshell Bug 1601179 - Enable async stacks but limit captured async stacks to debuggees. r=jorendorff,smaug 2020-06-14 02:41:45 +00:00
Actor.js Bug 1639111 - Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau 2020-05-25 17:13:59 +00:00
Front.js Bug 1639111 - Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau 2020-05-25 17:13:59 +00:00
Pool.js Bug 1623283 - Rename Pool#actor into getActorByID. r=jdescottes. 2020-07-02 15:07:12 +00:00
Request.js Bug 1596686 - Use absolute paths for require calls r=gl 2019-12-27 12:23:47 +00:00
Response.js Bug 1596686 - Use absolute paths for require calls r=gl 2019-12-27 12:23:47 +00:00
lazy-pool.js Bug 1623283 - Rename Pool#actor into getActorByID. r=jdescottes. 2020-07-02 15:07:12 +00:00
moz.build Bug 1609128 - Move all protocol.js tests next to its implementation. r=jdescottes 2020-01-16 16:46:53 +00:00
types.js Bug 1622005 - Make RootFront more protocol.js-y .r=ochameau. 2020-03-16 17:29:25 +00:00
utils.js