⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 201585 in webkit


Ignore:
Timestamp:
Jun 1, 2016, 8:19:54 PM (10 years ago)
Author:
Chris Fleizach
Message:

LayoutTest accessibility/ios-simulator/attributed-string-for-range.html failing on ios-simulator debug
https://bugs.webkit.org/show_bug.cgi?id=158279

Reviewed by Alexey Proskuryakov.

Just use the same description for debug and release. We're not getting any benefit from having two.

  • accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:

(-[WebAccessibilityObjectWrapper description]):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r201579 r201585  
     12016-06-01  Chris Fleizach  <cfleizach@apple.com>
     2
     3        LayoutTest accessibility/ios-simulator/attributed-string-for-range.html failing on ios-simulator debug
     4        https://bugs.webkit.org/show_bug.cgi?id=158279
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Just use the same description for debug and release. We're not getting any benefit from having two.
     9
     10        * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
     11        (-[WebAccessibilityObjectWrapper description]):
     12
    1132016-06-01  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm

    r201568 r201585  
    28672867- (NSString *)description
    28682868{
    2869 #ifndef NDEBUG
    2870     CGRect frame = [self accessibilityFrame];
    2871     return [NSString stringWithFormat:@"Role: (%d) - Text: %@: Value: %@ -- Frame: %f %f %f %f", m_object ? m_object->roleValue() : 0, [self accessibilityLabel], [self accessibilityValue], frame.origin.x, frame.origin.y, frame.size.width, frame.size.height];
    2872 #else
    28732869    return [NSString stringWithFormat:@"%@: %@", [self class], [self accessibilityLabel]];
    2874 #endif
    28752870}
    28762871
Note: See TracChangeset for help on using the changeset viewer.