Automatic update from web-platform-tests script: Gracefully handle font face rule parsing errors in `FontFace` This change avoids a panic when a font face rule fails to parse in the `ArrayBuffer` creation path. The issue was that when the constructor is passed an `ArrayBuffer`, we didn't check if the parsing previously failed in new_inherited, and then queued the task for loading data anyway. Signed-off-by: Martin Robinson <martin@abandonedwig.info> -- wpt-commits: 32eac84b88d20d2ae654cde231c00776ca2285d6 wpt-pr: 60946
6 lines
141 B
HTML
6 lines
141 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://github.com/servo/servo/issues/44537">
|
|
<script>
|
|
new FontFace("1",new ArrayBuffer());
|
|
</script>
|