summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/1802382-1-worker.js
blob: 1e8afae2ee24c379e10520f6fd414ff3a14fbd84 (plain)
1
2
3
4
5
6
self.onmessage = async function(e) {
  let a = new FontFace('a', 'url(x)')
  let b = new FontFace('b', 'url(x)')
  self.fonts.add(a)
  self.fonts.add(b)
}