mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Added some same-origin-domain checks.
This commit is contained in:
parent
628cd7de6d
commit
1f61a549a3
45 changed files with 223 additions and 348 deletions
|
@ -25696,7 +25696,7 @@
|
|||
"support"
|
||||
],
|
||||
"mozilla/referrer-policy/generic/common.js": [
|
||||
"1f4a0fa9285ad504cba75c01b4938c9da78cace3",
|
||||
"6882adfd624da27cd226e1575988e85ad4e0a562",
|
||||
"support"
|
||||
],
|
||||
"mozilla/referrer-policy/generic/referrer-policy-test-case.js": [
|
||||
|
|
|
@ -195,8 +195,8 @@ function queryAnchor(url, callback, referrer_policy) {
|
|||
var url_with_params = url + "&id=" + id + "&tagAttrs=" + JSON.stringify(referrer_policy);
|
||||
var iframe = appendIframeToBody(url_with_params);
|
||||
iframe.addEventListener("load", function listener() {
|
||||
if ((iframe.contentWindow !== null) &&
|
||||
(iframe.contentWindow.location.toString() === url_with_params)) {
|
||||
if ((iframe.contentDocument !== null) &&
|
||||
(iframe.contentDocument.location.toString() === url_with_params)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue