RESOLVED FIXED 92564
Reset the set of "seen" plugins when the main frame load is committed.
https://bugs.webkit.org/show_bug.cgi?id=92564
Summary Reset the set of "seen" plugins when the main frame load is committed.
Jer Noble
Reported 2012-07-27 17:24:03 PDT
Reset the set of "seen" plugins when the main frame load is committed.
Attachments
Patch (2.64 KB, patch)
2012-07-27 17:27 PDT, Jer Noble
no flags
Patch (2.64 KB, patch)
2012-07-27 17:31 PDT, Jer Noble
andersca: review+
Jer Noble
Comment 1 2012-07-27 17:27:52 PDT
Jer Noble
Comment 2 2012-07-27 17:31:03 PDT
Created attachment 155097 [details] Patch Fixed compile error.
Anders Carlsson
Comment 3 2012-07-27 17:33:15 PDT
Comment on attachment 155097 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=155097&action=review > Source/WebCore/loader/FrameLoader.cpp:3188 > + if (isLoadingMainFrame()) I think this check should be if (m_frame->page() && m_frame == m_frame->page()->mainFrame())
Jer Noble
Comment 4 2012-07-27 17:36:54 PDT
(In reply to comment #3) > (From update of attachment 155097 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=155097&action=review > > > Source/WebCore/loader/FrameLoader.cpp:3188 > > + if (isLoadingMainFrame()) > > I think this check should be > > if (m_frame->page() && m_frame == m_frame->page()->mainFrame()) The isLoadingMainFrame() function should do basically that: bool FrameLoader::isLoadingMainFrame() const { Page* page = m_frame->page(); return page && m_frame == page->mainFrame(); }
Jer Noble
Comment 5 2012-07-27 17:41:32 PDT
Note You need to log in before you can comment on or make changes to this bug.