servo/components/script
bors-servo 42ebf46172
Auto merge of #22917 - ksqsf:master, r=KiChjang
Add optional annotations for initEvent method of Event interface

Added `optional` and default values to parameters `bubbles` and `cancelable` of `initEvent` of `Event`.

I tried to update test results, but there seem to be no differences at all.

I checked similar code where `optional` is used, and there seems to be no special handling in Rust. If that is not the case with this issue, please let me know and I'll commit more follow-ups.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22883

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- 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/22917)
<!-- Reviewable:end -->
2019-02-27 04:05:57 -05:00
..
docs
dom Auto merge of #22917 - ksqsf:master, r=KiChjang 2019-02-27 04:05:57 -05:00
task_source
body.rs
build.rs
Cargo.toml Update base64 to 0.10.1 2019-01-25 14:02:56 +01:00
clipboard_provider.rs
CMakeLists.txt
devtools.rs Fix servo build. 2019-02-10 07:23:51 +01:00
document_loader.rs
fetch.rs Remove foreign service-workers mode 2018-12-23 01:48:45 +08:00
image_listener.rs Implement HTMLMediaElement poster attribute 2019-01-11 17:11:11 +01:00
layout_image.rs
lib.rs Fix servo build. 2019-02-10 07:23:51 +01:00
mem.rs
microtask.rs
network_listener.rs
script_runtime.rs Reintroduce parent runtimes for worker threads. 2019-01-15 14:00:13 -05:00
script_thread.rs Auto merge of #22353 - jdm:runtime-parent, r=nox 2019-01-17 15:57:30 -05:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs
task.rs
task_manager.rs
task_queue.rs
test.rs
textinput.rs Fixed bug in textinput::adjust_vertical concerning selection_origin update 2018-12-22 17:50:24 +01:00
timers.rs
unpremultiplytable.rs
webdriver_handlers.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00