Bug 62740

Summary: documentDidBecomeActive() is called twice for pages being restored from the page cache
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: achristensen, ahmad.saleem792, ap, beidson, bfulgham, cdumez, rniwa, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2011-06-15 11:21:58 PDT
FrameLoader::commitProvisionalLoad() calls cachedPage->restore(m_frame->page()); which calls documentDidBecomeActive(). It then calls m_frame->document()->documentDidBecomeActive() a second time lower down.
Attachments
Ahmad Saleem
Comment 1 2022-08-13 06:06:16 PDT
Note You need to log in before you can comment on or make changes to this bug.