Bug 128630 - AX: AccessibilityUIElement leaks in DumpRenderTree and WebKitTestRunner
Summary: AX: AccessibilityUIElement leaks in DumpRenderTree and WebKitTestRunner
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: 2014-02-11 15:29 PST by James Craig
Modified: 2014-02-11 15:29 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 James Craig 2014-02-11 15:29:18 PST
From Darin's comment in bug 127447:
https://bugs.webkit.org/show_bug.cgi?id=127447#c39

> > return JSStringCreateWithCharacters(0, 0);
> 
> Writing it like this will result in a leak of every single one of these strings; needs an adopt since JSStringCreateWithCharacters needs to be balanced by a release.
> 
> Needs to be:
>     return adopt(JSStringCreateWithCharacters(nullptr, 0));

There are several platform-specific files that appear to be affected.
Comment 1 Radar WebKit Bug Importer 2014-02-11 15:29:54 PST
<rdar://problem/16042120>