servo/components/script
bors-servo ada95b9878
Auto merge of #25821 - gterzian:fix_messagechannel_constructor_idiom, r=Manishearth
Use new and new_inherited in messagechannel

<!-- Please describe your changes on the following line: -->

Use common DOM constructor idioms in `MessageChannel`. Also, remove the falliable from the result, since that seems to match the spec better https://html.spec.whatwg.org/multipage/web-messaging.html#dom-messagechannel

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-02-22 01:13:08 -05:00
..
docs
dom Auto merge of #25821 - gterzian:fix_messagechannel_constructor_idiom, r=Manishearth 2020-02-22 01:13:08 -05:00
task_source remove unnecessary thread in filereader, add stream TODO 2019-12-10 14:55:22 +08:00
body.rs Implement Blob methods (text/arraybuffer) and async file read method 2020-01-28 14:38:32 +05:30
build.rs
canvas_state.rs Implement CanvasRenderingContext2D.getTransform() 2020-02-12 08:49:18 +01:00
Cargo.toml Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
clipboard_provider.rs
devtools.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
document_loader.rs
euclidext.rs
fetch.rs let integrity_metadata survive IPC sending 2020-01-30 10:34:29 -05:00
image_listener.rs
init.rs script: Ensure JS engine is initialized and deinitialized on the same thread. 2019-11-26 21:54:33 -05:00
layout_image.rs
lib.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
mem.rs
microtask.rs Add microtask checkpoints on </script> and CE construct 2020-01-15 11:49:52 -05:00
network_listener.rs #24468 Performance::queue_entries return the index of the added performance entry 2019-12-13 13:41:47 -05:00
realms.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
script_module.rs Always pass InRealm to GlobalScope::from_context to avoid getting null global 2020-02-16 09:55:10 +09:00
script_runtime.rs Always pass InRealm to GlobalScope::from_context to avoid getting null global 2020-02-16 09:55:10 +09:00
script_thread.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
serviceworker_manager.rs Undo changes done to change worker_id type to string 2019-12-10 13:12:54 +05:30
serviceworkerjob.rs
stylesheet_loader.rs Modify script to prevent further violations of snake_case 2020-01-18 14:22:15 +05:30
stylesheet_set.rs
task.rs
task_manager.rs impl timer-task-source, dedicated time-out mechanism for service-worker 2019-11-19 14:32:21 +08:00
task_queue.rs
test.rs Modify script to prevent further violations of snake_case 2020-01-18 14:22:15 +05:30
textinput.rs Allow deletion from overflowed textinput 2020-01-10 19:02:41 +01:00
timers.rs impl timer-task-source, dedicated time-out mechanism for service-worker 2019-11-19 14:32:21 +08:00
unpremultiplytable.rs
webdriver_handlers.rs Modify script to prevent further violations of snake_case 2020-01-18 14:22:15 +05:30