mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision b'49287d0e660dd6704c508ef20c9d53c13aee296b'
This commit is contained in:
parent
94c4e1cd1a
commit
d2eeed132b
76 changed files with 7672 additions and 5893 deletions
|
@ -0,0 +1,7 @@
|
|||
<!doctype html>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
let a = new SharedWorker("support/fontfaceset-loading-worker.js")
|
||||
a.port.postMessage([], [])
|
||||
})
|
||||
</script>
|
|
@ -0,0 +1,8 @@
|
|||
onconnect = async function(e) {
|
||||
e.ports[0].onmessage = async () => {
|
||||
let a = new FontFace("family_name_0", "url(/fonts/Ahem.ttf?fontfaceset-loading-worker)")
|
||||
self.close()
|
||||
await a.load()
|
||||
let _ = new File([a])
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue