Bug 85708

Summary: Web Inspector: get rid of InspectorAgent::emitCommitLoadIfNeeded method
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 85612    
Attachments:
Description Flags
Patch
pfeldman: review+
Patch for landing none

Yury Semikhatsky
Reported 2012-05-05 05:50:23 PDT
The method is special in that it is called by InspectorController when render process changes right after restore() has been called on all agents. The method makes front-end see the cross process navigation as one that doesn't lead to process change. Instead of having a special method we should send "reset" events from corresponding restore methods.
Attachments
Patch (10.20 KB, patch)
2012-05-07 01:12 PDT, Yury Semikhatsky
pfeldman: review+
Patch for landing (8.87 KB, patch)
2012-05-10 05:06 PDT, Yury Semikhatsky
no flags
Yury Semikhatsky
Comment 1 2012-05-07 01:12:39 PDT
Pavel Feldman
Comment 2 2012-05-10 05:01:46 PDT
Comment on attachment 140491 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140491&action=review > Source/WebCore/inspector/InspectorResourceAgent.cpp:97 > + mainFrameNavigated(m_pageAgent->mainFrame()->loader()->documentLoader()); I don't think you need this.
Yury Semikhatsky
Comment 3 2012-05-10 05:06:59 PDT
Created attachment 141148 [details] Patch for landing
Yury Semikhatsky
Comment 4 2012-05-10 05:07:09 PDT
(In reply to comment #2) > (From update of attachment 140491 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=140491&action=review > > > Source/WebCore/inspector/InspectorResourceAgent.cpp:97 > > + mainFrameNavigated(m_pageAgent->mainFrame()->loader()->documentLoader()); > > I don't think you need this. Done.
Yury Semikhatsky
Comment 5 2012-05-11 01:41:27 PDT
Note You need to log in before you can comment on or make changes to this bug.