CSS Font Loading: FontFaceSet.ready should return the same promise each time
Use ScriptPromiseProperty to return same promise every time, until the FontFaceSet switches from loaded to loading state. This is in line with the spec, and also simplifies the code a bit. TEST=fast/css/fontfaceset-ready.html BUG=510434 Review URL: https://codereview.chromium.org/1313853003 git-svn-id: svn://svn.chromium.org/blink/trunk@201857 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment