Created attachment 255326 [details]
ASSERTION FAILED: typesettingFeatures & (Kerning | Ligatures)
In WebCore::applyFontTransforms, at ../../Source/WebCore/platform/graphics/WidthIterator.cpp:102, loading www.vox.com on a debug build of master, GTK port. Seems to happen 100%. Backtrace attached.
This also happens on https://www.scaleway.com/pricing/ (Uploaded copy of the site, just in case it changes to http://people.igalia.com/clopez/wkbug/146194/ )
Unfortunately http://people.igalia.com/clopez/wkbug/146194/ doesn't cause an assert in a debug build on Yosemite as of r189543 :(
I'm also not getting an assert on http://www.vox.com/ :(
From inspection, it must be that the following is true
glyphBuffer && glyphBuffer->size() == lastGlyphCount + 1 && isSoftBankEmoji(previousCharacter)
but there are no m_typesettingFeatures.
This is a case where the assert is wrong.
Created attachment 260871 [details]
Comment on attachment 260871 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=260871&action=review
> + No new tests because there is no behavior change.
This isn't quite true. I should still create a test.
Created attachment 260874 [details]
Comment on attachment 260874 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=260874&action=review
> + if (glyphBuffer && glyphBuffer->size() == lastGlyphCount + 1 && isSoftBankEmoji(previousCharacter))
Could you put () around lastGlyphCount + 1?
Committed r189557: <http://trac.webkit.org/changeset/189557>
*** Bug 150638 has been marked as a duplicate of this bug. ***