mirror of
https://github.com/servo/servo.git
synced 2025-08-24 06:45:33 +01:00
Update web-platform-tests to revision a46616a5b18e83587ddbbed756c7b96cbb4b015d
This commit is contained in:
parent
3f07cfec7c
commit
578498ba24
4001 changed files with 159517 additions and 30260 deletions
|
@ -0,0 +1,10 @@
|
|||
async_test(t => {
|
||||
const crossOriginURL = new URL("resources/origin.html", self.location.href).href.replace("://", "://天気の良い日."),
|
||||
frame = document.createElement("iframe");
|
||||
frame.src = crossOriginURL;
|
||||
document.body.appendChild(frame);
|
||||
t.add_cleanup(() => frame.remove());
|
||||
self.onmessage = t.step_func_done(e => {
|
||||
assert_equals(e.data, self.origin.replace("://", "://xn--n8j6ds53lwwkrqhv28a."));
|
||||
});
|
||||
}, "Serialization of BroadcastChannel origin");
|
Loading…
Add table
Add a link
Reference in a new issue