servo/components/script
bors-servo 8e65787737
Auto merge of #25675 - pylbrecht:draw.image, r=jdm
Add usability checks to CanvasRenderingContext2D.drawImage()

<!-- Please describe your changes on the following line: -->
These changes add the usability checks performed on an image to be drawn to the canvas.

References:
- https://html.spec.whatwg.org/multipage/canvas.html#drawing-images
- https://html.spec.whatwg.org/multipage/canvas.html#check-the-usability-of-the-image-argument

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and repla(e `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #25331

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

<!-- 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-10 22:59:37 -05:00
..
docs
dom Auto merge of #25675 - pylbrecht:draw.image, r=jdm 2020-02-10 22:59:37 -05:00
task_source
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 Add canvas usability checks to drawImage() 2020-02-03 22:49:46 +01:00
Cargo.toml Add accountable-refcell as optional build time feature 2020-01-08 09:44:41 +05:30
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
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
realms.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
script_module.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
script_runtime.rs Modify script to prevent further violations of snake_case 2020-01-18 14:22:15 +05:30
script_thread.rs rename compartment to realm 2020-01-24 20:52:36 +05:30
serviceworker_manager.rs
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
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
unpremultiplytable.rs
webdriver_handlers.rs Modify script to prevent further violations of snake_case 2020-01-18 14:22:15 +05:30