Bug 126066

Summary: REGRESSION (r160907): Mac: accessibility/loading-iframe-updates-axtree.html is failing / crashing
Product: WebKit Reporter: Mario Sanchez Prada <mario>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Mario Sanchez Prada 2013-12-20 05:47:26 PST
accessibility/loading-iframe-updates-axtree.html crashes because of trying to use isEqual() with undefined objects in one of the following statements:

    shouldBeTrue("iframe.isEqual(newIframe)");
    shouldBeFalse("scrollarea.isEqual(newScrollarea)");
    shouldBeFalse("newSubwebarea.isEqual(subwebarea)");

I think that it might be uncovering an issue in the test itself, since it might be that the isEqual() operation that we were doing until now were comparing two AccessibilityUIElements with invalid platformUIElement()'s, which is not what the test is supposed to check:

    description("This tests that if an iframe loads new content
                 after its accessibility object has already been
                 accessed, the iframe accessibility object's
                 descendants are the new scroll area and web
                 area, not the old deleted ones.");

So, now filing this bug and adding it to mac/TestExpectations too
Comment 1 Radar WebKit Bug Importer 2013-12-20 05:47:58 PST
<rdar://problem/15707853>
Comment 2 Mario Sanchez Prada 2013-12-20 06:06:57 PST
Actually, it also fails on release, because of the same reason: trying to use undefined objects with isEqual().