Commit 725795b7 authored by cfleizach@apple.com's avatar cfleizach@apple.com

Bug 39324 - AX: WebKit doesn't call [super...

Bug 39324 - AX: WebKit doesn't call [super -accessibilityAttributeValue:attribute forParameter:] when it encounters a parameter$
https://bugs.webkit.org/show_bug.cgi?id=39324

No review, build fixage.

Rolling out change from r60307 until a better fix is ready.

* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5dd4e395
2010-05-27 Chris Fleizach <cfleizach@apple.com>
No review, build fixage.
Bug 39324 - AX: WebKit doesn't call [super -accessibilityAttributeValue:attribute forParameter:] when it encounters a parameterized attribute that it doesn't handle.
https://bugs.webkit.org/show_bug.cgi?id=39324
Rolling out change from r60307 until a better fix is ready.
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
2010-05-27 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
......
......@@ -2329,8 +2329,10 @@ static RenderObject* rendererForView(NSView* view)
range = [(NSValue*)parameter rangeValue];
} else {
// Default to super if the parameter type is unknown.
return [super accessibilityAttributeValue:attribute forParameter:parameter];
// got a parameter of a type we never use
// NOTE: No ASSERT_NOT_REACHED because this can happen accidentally
// while using accesstool (e.g.), forcing you to start over
return nil;
}
// Convert values to WebCore types
......@@ -2542,8 +2544,7 @@ static RenderObject* rendererForView(NSView* view)
}
}
// Default to super if parameter is not supported.
return [super accessibilityAttributeValue:attribute forParameter:parameter];
return nil;
}
- (BOOL)accessibilityShouldUseUniqueId
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment