Add permissions helper class to carry out promise based testing
There are numerous flaky tests which are likely caused by race conditions between testRunner.setPermission and subsequent operations. Introduce a helper class which wraps testRunner.setPermission with a promise based system which can be used to prevent races BUG=(multiple) Review URL: https://codereview.chromium.org/1305043004 git-svn-id: svn://svn.chromium.org/blink/trunk@201057 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment