mirror of
https://github.com/servo/servo.git
synced 2025-09-06 13:08:21 +01:00
Update web-platform-tests to revision 3cb5a99e5521936fb8819de8aaba806050b84184
This commit is contained in:
parent
1d2c0ba0bc
commit
c700482629
204 changed files with 5112 additions and 1445 deletions
|
@ -12,7 +12,6 @@ function nextMessage(target) {
|
|||
}
|
||||
|
||||
async function openPortalAndActivate(logic, activateOptions) {
|
||||
const bc = new BroadcastChannel('portal-activate-data');
|
||||
const w = window.open();
|
||||
try {
|
||||
const portal = w.document.createElement('portal');
|
||||
|
@ -23,7 +22,6 @@ async function openPortalAndActivate(logic, activateOptions) {
|
|||
return (await nextMessage(w.portalHost)).data;
|
||||
} finally {
|
||||
w.close();
|
||||
bc.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue