[Font Loading] ASSERT if calling FontFace.loaded twice with a garbage collection between them
Created attachment 279628 [details] Patch
Comment on attachment 279628 [details] Patch Attachment 279628 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1373103 New failing tests: fast/text/font-loading-csp-block-all.html fast/text/css-font-loading-arraybuffer.html
Created attachment 279631 [details] Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 279716 [details] Patch
Comment on attachment 279716 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=279716&action=review > Source/WebCore/bindings/js/JSFontFaceCustom.cpp:38 > JSC::JSValue JSFontFace::loaded(JSC::ExecState& state) const How can we get rid of the need for a custom binding for this function?
Comment on attachment 279716 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=279716&action=review >> Source/WebCore/bindings/js/JSFontFaceCustom.cpp:38 >> JSC::JSValue JSFontFace::loaded(JSC::ExecState& state) const > > How can we get rid of the need for a custom binding for this function? We would have to have some way of associating the Promise inside the FontFace class with the promise inside the JSFontFace class.
Committed r201394: <http://trac.webkit.org/changeset/201394>