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 Replace http with https in docs 2018-11-06 11:39:09 +01:00
dom Auto merge of #22917 - ksqsf:master, r=KiChjang 2019-02-27 04:05:57 -05:00
task_source Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
body.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
build.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
Cargo.toml Update base64 to 0.10.1 2019-01-25 14:02:56 +01:00
clipboard_provider.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
CMakeLists.txt build(cmake): detect python binary for specified version 2018-03-13 09:25:06 -07:00
devtools.rs Fix servo build. 2019-02-10 07:23:51 +01:00
document_loader.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
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 refactored performance timing to align with updated spec 2018-11-20 16:21:32 +00:00
lib.rs Fix servo build. 2019-02-10 07:23:51 +01:00
mem.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
microtask.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
network_listener.rs refactored performance timing to align with updated spec 2018-11-20 16:21:32 +00:00
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 Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
serviceworkerjob.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
stylesheet_loader.rs refactored performance timing to align with updated spec 2018-11-20 16:21:32 +00:00
task.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
task_manager.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
task_queue.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
test.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
textinput.rs Fixed bug in textinput::adjust_vertical concerning selection_origin update 2018-12-22 17:50:24 +01:00
timers.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
unpremultiplytable.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
webdriver_handlers.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00