RESOLVED INVALID 215490
canvas can't release when close the tab create by safari web extension
https://bugs.webkit.org/show_bug.cgi?id=215490
Summary canvas can't release when close the tab create by safari web extension
pauliu
Reported 2020-08-13 21:13:21 PDT
the safari version info Version 14.0 (15610.1.23, 15610), I try to port my chrome extension to safari, and use chrome.tabs.create to create tab and use canvas ,and close the tab, but didn't release the memory. and repeat several times have the warning Total canvas memory use exceeds the maximum limit (2151 MB).pain
Attachments
Radar WebKit Bug Importer
Comment 1 2020-08-15 12:11:48 PDT
Timothy Hatcher
Comment 2 2020-08-18 14:15:57 PDT
Can you attach a sample extension project?
Dean Jackson
Comment 3 2020-08-20 14:58:21 PDT
I've emailed the originator.
Dean Jackson
Comment 4 2020-08-26 16:52:08 PDT
Response was: I resize the canvas to 0x0, and seem to fix the problem. the web extension process memory decrease evidently,when close the canvas tab. But that seems like the problem is still there. I'll have to make a safari extension that opens up a tab with a canvas.
Dean Jackson
Comment 5 2020-09-02 19:32:24 PDT
I've confirmed that the WebContent process for the created tab doesn't go away when the tab is closed. It will go away when enough new tabs are created, but since you can't get back to a closed tab this does have the potential to hold onto memory for a while. This is not a WebKit bug however, so I'll close this. It will be tracked by the radar linked above.
Note You need to log in before you can comment on or make changes to this bug.