gecko-dev/devtools/server/tests
J. Ryan Stinnett a8aec05d11 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

--HG--
extra : rebase_source : 4d018622b7547d404510e0b563c6324c0127aafc
2016-11-11 18:24:58 -06:00
..
browser Bug 976073 - Part 2: Modify errors from try server, r=jdm 2016-11-09 17:26:03 +08:00
mochitest Bug 1315391 - Rename all `disconnect` methods to `destroy` in actors. r=ochameau 2016-11-11 18:24:58 -06:00
unit Bug 1315391 - Rename all `disconnect` methods to `destroy` in actors. r=ochameau 2016-11-11 18:24:58 -06:00