 Issue 29886668:
  Noissue - Fixed: Error was silently ignored in Promise.finally() polyfill in tests  (Closed)
    
  
    Issue 29886668:
  Noissue - Fixed: Error was silently ignored in Promise.finally() polyfill in tests  (Closed) 
  | Index: test/wrappers/pages.js | 
| =================================================================== | 
| --- a/test/wrappers/pages.js | 
| +++ b/test/wrappers/pages.js | 
| @@ -27,7 +27,12 @@ | 
| // the built-in finally() method of the Promise object. | 
| function promiseFinally(p, callback) | 
| { | 
| - return p.then(callback, callback); | 
| + return p.then( | 
| + callback, | 
| + err => Promise.resolve(callback()).then(() => | 
| + Promise.reject(err) | 
| + ) | 
| + ); | 
| } | 
| function closeWindow(driver, goTo, returnTo, callback) |