Bug 126066 - REGRESSION (r160907): Mac: accessibility/loading-iframe-updates-axtree.html is failing / crashing
Summary: REGRESSION (r160907): Mac: accessibility/loading-iframe-updates-axtree.html i...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-12-20 05:47 PST by Mario Sanchez Prada
Modified: 2013-12-20 10:52 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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().