mirror of
https://github.com/servo/servo.git
synced 2025-08-30 17:48:20 +01:00
Update web-platform-tests to revision 4f397167b4ed552a02201c92d363cfaecfe2c7f0
This commit is contained in:
parent
73b5bf201f
commit
84b40513c3
182 changed files with 4779 additions and 1937 deletions
|
@ -10,7 +10,7 @@
|
|||
var i = document.createElement('iframe');
|
||||
i.src = "support/frame-ancestors-and-x-frame-options.sub.html?policy='self'&xfo=DENY";
|
||||
i.onload = t.step_func_done(function () {
|
||||
assert_equals(i.contentDocument.origin, document.origin, "The same-origin page loaded.");
|
||||
assert_equals(i.contentWindow.origin, window.origin, "The same-origin page loaded.");
|
||||
});
|
||||
document.body.appendChild(i);
|
||||
}, "A 'frame-ancestors' CSP directive overrides an 'x-frame-options' header which would block the page.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue