Bug 254134 - DIV Element and it's child element resources doesn't removed from DOM.
Summary: DIV Element and it's child element resources doesn't removed from DOM.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Local Build
Hardware: Other Linux
: P2 Blocker
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-19 06:46 PDT by Bharanitharan
Modified: 2023-03-26 06:47 PDT (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 Bharanitharan 2023-03-19 06:46:33 PDT
We have observed the memory choke issue in memory budget project. 
From our understanding if DIV element remove is call from the script , the browser should remove the node from DOM tree and its resource (png,.jpeg.,) .
If this process is done correctly, we get the corresponding memory.

But from our case, after call obj.remove() or obj.empty() method from script,it does not delete or remove the DIV element with it resources from DOM tree and memory cache.

If we perform continuous navigation in the Application,only DOM node added continuously without remove DIV element.Could you please confirm whether DOM element not remove issue is specific version of webkit or not.Also we need your support to overcome this issue ASAP.


We have used webkit port as GTK v2.16.5 and revision 218831 in our project.

Reference Application URL : http://basiciqdz.beinconnect.com.tr/


Note :
If we migrate the browser from on page to another page and all the node completely removed because of garbage collection is happened.
Comment 1 Radar WebKit Bug Importer 2023-03-26 06:47:16 PDT
<rdar://problem/107239409>