mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 66f38302334f162d363afcf4a1792d895072f3ef
This commit is contained in:
parent
36f5b69224
commit
b198cd722a
622 changed files with 3374 additions and 2001 deletions
|
@ -1,4 +1,9 @@
|
|||
self.addEventListener('message', e => {
|
||||
URL.revokeObjectURL(e.data.url);
|
||||
// Registering a new object URL will make absolutely sure that the revocation
|
||||
// has propagated. Without this at least in chrome it is possible for the
|
||||
// below postMessage to arrive at its destination before the revocation has
|
||||
// been fully processed.
|
||||
URL.createObjectURL(new Blob([]));
|
||||
self.postMessage('revoked');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue