Bug 142303

Summary: [Mac] Set SystemUIFontSelect in DRT and WKTR
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ddkilzer, mmaxfield
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch
mmaxfield: review+
with iOS build fix none

Description Alexey Proskuryakov 2015-03-04 12:51:01 PST
Set SystemUIFontSelect in DRT and WKTR.
Comment 1 Alexey Proskuryakov 2015-03-04 12:52:33 PST
Created attachment 247884 [details]
proposed patch
Comment 2 Myles C. Maxfield 2015-03-04 13:26:14 PST
Comment on attachment 247884 [details]
proposed patch

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

> Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm:72
> +    [NSFont initialize];

This isn't listed in public API docs. Perhaps we should surround with respondsToSelector?
Comment 3 Alexey Proskuryakov 2015-03-04 13:48:43 PST
Created attachment 247892 [details]
with iOS build fix

> This isn't listed in public API docs. Perhaps we should surround with respondsToSelector?

I don't think so - it's a documented NSObject class method. And even if it wasn't, we would want tests to fail hard if it disappeared in the future.

Waiting for EWS...
Comment 4 Alexey Proskuryakov 2015-03-04 16:05:59 PST
rdar://problem/19985132
Comment 5 WebKit Commit Bot 2015-03-04 16:52:08 PST
Comment on attachment 247892 [details]
with iOS build fix

Clearing flags on attachment: 247892

Committed r181052: <http://trac.webkit.org/changeset/181052>
Comment 6 WebKit Commit Bot 2015-03-04 16:52:12 PST
All reviewed patches have been landed.  Closing bug.