This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
electron
Watch
2
Star
0
Fork
You've already forked electron
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
21900fe4f4
electron
/
spec-main
/
fixtures
/
module
/
unhandled-rejection.js
4 lines
82 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Add default error handler to remote promises (#6151) * Add failing spec for unhandled main process exception * Remove unused return * Use let/const instead of var * Add spec for unhandled rejection in renderer process * Prevent unhandled rejection defaul * Use once instead of on * Add default fulfilled/rejection handler to promise
2016-06-21 00:54:15 +00:00
exports
.
reject
=
function
(
)
{
build: enable JS semicolons (#22783)
2020-03-20 20:28:31 +00:00
return
Promise
.
reject
(
new
Error
(
'rejected'
)
)
;
}
;
Reference in a new issue
Copy permalink