Bug 138120

Summary: REGRESSION(r175233): Broke many accessibility tests (Requested by ap on #webkit).
Product: WebKit Reporter: WebKit Commit Bot <commit-queue>
Component: New BugsAssignee: WebKit Commit Bot <commit-queue>
Status: RESOLVED INVALID    
Severity: Normal CC: benjamin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
ROLLOUT of r175233 none

Description WebKit Commit Bot 2014-10-27 19:47:36 PDT
http://trac.webkit.org/changeset/175233 broke the build:
Broke many accessibility tests (Requested by ap on #webkit).

This is an automatic bug report generated by webkitbot. If this bug
report was created because of a flaky test, please file a bug for the flaky
test (if we don't already have one on file) and dup this bug against that bug
so that we can track how often these flaky tests fail.
Comment 1 WebKit Commit Bot 2014-10-27 19:47:57 PDT
Created attachment 240521 [details]
ROLLOUT of r175233

Any committer can land this patch automatically by marking it commit-queue+.  The commit-queue will build and test the patch before landing to ensure that the rollout will be successful.  This process takes approximately 15 minutes.

If you would like to land the rollout faster, you can use the following command:

  webkit-patch land-attachment ATTACHMENT_ID

where ATTACHMENT_ID is the ID of this attachment.
Comment 2 Alexey Proskuryakov 2014-10-27 19:48:21 PDT
Actually, it's easier to fix.
Comment 3 Chris Dumez 2014-10-27 19:59:11 PDT
Comment on attachment 240521 [details]
ROLLOUT of r175233

Hmm, interesting. The only difference seems to be if the Element actually has the use map attribute but that attribute is null. AFAIK, this is not supposed to happen. So if this change really caused the test regressions, we should probably try to understand how this happened.
Comment 4 Chris Dumez 2014-10-27 20:00:34 PDT
Comment on attachment 240521 [details]
ROLLOUT of r175233

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

> Source/WebCore/accessibility/AccessibilityRenderObject.cpp:2457
> +    if (node && is<HTMLImageElement>(*node) && !downcast<HTMLImageElement>(*node).fastGetAttribute(usemapAttr).isNull())

Ah ah, never mind, I missed the extra "!" :)