diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-11-16 12:27:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-16 12:27:08 -0500 |
commit | 369983211da48f6e8c2d54792b8d34192582f7bc (patch) | |
tree | 367252a4d0a300d8452a73da664ef907f2a3c850 /components/script/task_source/user_interaction.rs | |
parent | 831f966b0c3a28af431677c42ea21a3f44d1218b (diff) | |
parent | 8093438082a1a6e67ac6f80b4e17e9bc8f730a85 (diff) | |
download | servo-369983211da48f6e8c2d54792b8d34192582f7bc.tar.gz servo-369983211da48f6e8c2d54792b8d34192582f7bc.zip |
Auto merge of #22170 - CYBAI:fix-promiserejectevent, r=jdm
Fix PromiseRejectionEvent constructor when promise argument is None
Due to lack of `required` of the `promise` argument in webidl, we need to handle this so that it can be correct behavior. And then the constructor test will be passed!
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22170)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/task_source/user_interaction.rs')
0 files changed, 0 insertions, 0 deletions