Bug 174213

Summary: Unify FontCascadeFonts::glyphDataForVariant() and FontCascadeFonts::glyphDataForNormalVariant()
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, rniwa, zalan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 173962    
Attachments:
Description Flags
Patch
none
Patch
none
Archive of layout-test-results from ews100 for mac-elcapitan
none
Archive of layout-test-results from ews104 for mac-elcapitan-wk2
none
Archive of layout-test-results from ews112 for mac-elcapitan
none
Archive of layout-test-results from ews124 for ios-simulator-wk2
none
Patch zalan: review+

Description Myles C. Maxfield 2017-07-06 11:22:59 PDT
Unify FontCascadeFonts::glyphDataForVariant() and FontCascadeFonts::glyphDataForNormalVariant()
Comment 1 Myles C. Maxfield 2017-07-06 11:23:46 PDT
Created attachment 314737 [details]
Patch
Comment 2 Build Bot 2017-07-06 11:26:08 PDT
Attachment 314737 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/FontCascadeFonts.cpp:378:  Multi line control clauses should use braces.  [whitespace/braces] [4]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Myles C. Maxfield 2017-07-06 11:57:02 PDT
Created attachment 314740 [details]
Patch
Comment 4 Build Bot 2017-07-06 12:39:25 PDT
Comment on attachment 314740 [details]
Patch

Attachment 314740 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/4064464

New failing tests:
mathml/presentation/mo-stretch-update.html
http/tests/webfont/fallback-font-while-loading.html
mathml/presentation/mo-stretch.html
fast/ruby/bopomofo-rl.html
svg/custom/svg-fonts-fallback.xhtml
fast/text/web-font-load-invisible-during-loading.html
fast/ruby/bopomofo-letter-spacing.html
fast/writing-mode/japanese-rl-text-with-broken-font.html
svg/custom/glyph-selection-bidi-mirror.svg
fast/writing-mode/broken-ideograph-small-caps.html
fast/ruby/bopomofo.html
Comment 5 Build Bot 2017-07-06 12:39:26 PDT
Created attachment 314742 [details]
Archive of layout-test-results from ews100 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews100  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 6 Build Bot 2017-07-06 12:44:18 PDT
Comment on attachment 314740 [details]
Patch

Attachment 314740 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/4064469

New failing tests:
mathml/presentation/mo-stretch-update.html
http/tests/webfont/fallback-font-while-loading.html
svg/custom/svg-fonts-fallback.xhtml
fast/ruby/bopomofo-rl.html
mathml/presentation/mo-stretch.html
fast/text/web-font-load-invisible-during-loading.html
fast/ruby/bopomofo-letter-spacing.html
fast/writing-mode/japanese-rl-text-with-broken-font.html
svg/custom/glyph-selection-bidi-mirror.svg
fast/writing-mode/broken-ideograph-small-caps.html
fast/ruby/bopomofo.html
Comment 7 Build Bot 2017-07-06 12:44:20 PDT
Created attachment 314743 [details]
Archive of layout-test-results from ews104 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 8 Build Bot 2017-07-06 12:57:53 PDT
Comment on attachment 314740 [details]
Patch

Attachment 314740 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/4064519

Number of test failures exceeded the failure limit.
Comment 9 Build Bot 2017-07-06 12:57:54 PDT
Created attachment 314744 [details]
Archive of layout-test-results from ews112 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews112  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 10 Build Bot 2017-07-06 13:10:36 PDT
Comment on attachment 314740 [details]
Patch

Attachment 314740 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/4064508

New failing tests:
svg/custom/glyph-selection-bidi-mirror.svg
fast/ruby/bopomofo.html
fast/ruby/bopomofo-letter-spacing.html
fast/text/web-font-load-invisible-during-loading.html
fast/ruby/bopomofo-rl.html
Comment 11 Build Bot 2017-07-06 13:10:38 PDT
Created attachment 314748 [details]
Archive of layout-test-results from ews124 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews124  Port: ios-simulator-wk2  Platform: Mac OS X 10.12.5
Comment 12 Myles C. Maxfield 2017-07-06 13:45:33 PDT
Comment on attachment 314740 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=314740&action=review

> Source/WebCore/platform/graphics/FontCascadeFonts.cpp:364
>          auto& fontRanges = realizeFallbackRangesAt(description, fallbackIndex++);

Oh, this is why.
Comment 13 Myles C. Maxfield 2017-07-06 13:46:35 PDT
Created attachment 314752 [details]
Patch
Comment 14 Myles C. Maxfield 2017-07-06 14:07:23 PDT
Committed r219215: <http://trac.webkit.org/changeset/219215>