When new "scopes" are created via `Client#scope`, their `_scope` property is copied from the "parent" client, but their `_state` property is kept as a reference. Scoped clients should define an isolated `_state`, copied from the parent at creation time.
Created attachment 8348423 [details] [review] Pull request on GitHub.com Hey Gareth! I came across this bug while implementing your suggestion for my patch for bug 950749.
Gareth, These intermittent failures are due to an unguarded references to the mobile-only `mozBluetooth` API. After some digging, I've found that the tests will also intermittently fail on a different error originating from the System application. I've opened bug 951886 and bug 951888 to track the resolution of those problems.
Comment on attachment 8348423 [details] [review] Pull request on GitHub.com Thanks Mike! Sorry again for the review delay.
https://github.com/mozilla-b2g/marionette-js-client/commit/80561bcedc092ce9f76cfd7d3027433770b29175 this broke things (see https://bugzilla.mozilla.org/show_bug.cgi?id=985112)