Improve clarity of the notification permission test for detached contexts
Rename variables to be clearer in their intention, use a switch statement instead of an if/else if/else blocks and wrap the whole thing as a step function to properly catch failing asserts. Bug: Change-Id: I89c92d7a5071728bfdd8c9827f08ae3af94377db Reviewed-on: https://chromium-review.googlesource.com/809425Reviewed-by:Anita Woodruff <awdf@chromium.org> Commit-Queue: Anita Woodruff <awdf@chromium.org> Cr-Commit-Position: refs/heads/master@{#522076}
Showing
Please register or sign in to comment