servo/tests
bors-servo 75548f40c6
Auto merge of #24340 - jdm:image-cache-cors, r=Manishearth
Allow using CORS filtered image responses as WebGL textures

More specifically, this makes the "is this image same origin?" check consider the CORS status of the original response, rather than relying on an overly-strict "is this image's response's URL same-origin with a particular global?" check. To do this, we make the image cache double keyed based on the requested URL as well as the requesting origin, and store the CORS status of the eventual response with the final image that eventually gets sent to the HTMLImageElement consumer.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24330 and fix #24368
- [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/24340)
<!-- Reviewable:end -->
2019-10-07 18:39:36 -04:00
..
dromaeo Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
heartbeats Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
html Add smoketest command. 2019-05-09 15:24:18 -04:00
jquery Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
power Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
unit Remove unused dependencies 2019-10-01 21:15:53 +09:00
wpt Auto merge of #24340 - jdm:image-cache-cors, r=Manishearth 2019-10-07 18:39:36 -04:00