mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Use the origin of the actual image response when determining if a canvas is origin clean.
This commit is contained in:
parent
d855c929ef
commit
5acee23f5d
22 changed files with 79 additions and 92 deletions
|
@ -101,4 +101,5 @@ function addCrossOriginRedirectYellowImage()
|
|||
img.className = "resource";
|
||||
img.src = get_host_info().HTTP_ORIGIN + "/common/redirect.py?location=" +
|
||||
get_host_info().HTTP_REMOTE_ORIGIN + "/images/yellow.png";
|
||||
document.body.appendChild(img);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue