mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1520972 - return setOptionsRequester. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D18770 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
a371e5fe19
commit
3359b0db75
@ -68,8 +68,8 @@ BreakpointClient.prototype = {
|
||||
*/
|
||||
setOptions: function(options) {
|
||||
if (this._client.mainRoot.traits.nativeLogpoints) {
|
||||
this.setOptionsRequester(options);
|
||||
} else {
|
||||
return this.setOptionsRequester(options).then(() => this);
|
||||
}
|
||||
// Older servers need to reinstall breakpoints when the condition changes.
|
||||
const deferred = promise.defer();
|
||||
|
||||
@ -91,7 +91,7 @@ BreakpointClient.prototype = {
|
||||
return newBreakpoint;
|
||||
}));
|
||||
});
|
||||
}
|
||||
return deferred;
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user