Update web-platform-tests to revision ac12b3e9488edb436f063b11213e954ae62d5a5e

This commit is contained in:
WPT Sync Bot 2019-01-30 20:36:46 -05:00
parent 65370f17c9
commit b56a3b8e69
111 changed files with 3122 additions and 68 deletions

View file

@ -14,10 +14,15 @@ idl_test(
idl_array => {
idl_array.add_objects({
Document: ['document'],
FontFace: ['new FontFace("family", "src")'],
FontFaceSetLoadEvent: ['new FontFaceSetLoadEvent("type")'],
FontFace: ['fontFace'],
FontFaceSetLoadEvent: ['fontFaceSetLoadEvent'],
FontFaceSet: ['document.fonts'],
});
self.fontFace = new FontFace("family", "src");
// The `fontFace.loaded` promise will be rejected, so handle that to
// avoid an unhandled promise rejection manifesting as a harness error.
self.fontFace.loaded.catch(() => {});
self.fontFaceSetLoadEvent = new FontFaceSetLoadEvent("type");
}
);
</script>