remove from frameAttached

This commit is contained in:
Yury Semikhatsky 2020-01-17 17:29:27 -08:00
parent d39d61c9e5
commit cf0ad121fe

View file

@ -190,8 +190,6 @@ export class WKPage implements PageDelegate {
} }
_onFrameAttached(frameId: string, parentFrameId: string | null) { _onFrameAttached(frameId: string, parentFrameId: string | null) {
if (!parentFrameId)
this._workers.clear();
this._page._frameManager.frameAttached(frameId, parentFrameId); this._page._frameManager.frameAttached(frameId, parentFrameId);
} }