-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix only-callable once setPriority/sendReportTo language (#745)
* Fix only-callable once setPriority/sendReportTo language The way it was spec'd it was actually callable an odd number of times, since the state on failure got reset to null, and it failed to throw an exception for that in setPriority. Instead, shift the state to failure and stay there on extra calls. * Apply feedback --------- Co-authored-by: Maks Orlovich <morlovich@chromium.org>
- Loading branch information
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters