[Extensions] Add API test for chrome.loginScreenUi
This CL adds an api test for the new chrome.loginScreenUi API. It checks availability (only available to whitelisted extension on unknown, trunk and dev browser channel). It also checks that the API can only be called from the login/lock screen, that windows are automatically closed when login in or unlocking and that appropiate error messages are emitted when opening two windows or closing non-existent windows. Bug: 957573 Change-Id: I95c72e2462da0b316f87bcbf3d8ed601e33cc4e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1598824 Commit-Queue: Alexander Hendrich <hendrich@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#664616}
Showing
File added
File added
Please register or sign in to comment