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

Description Yury Semikhatsky 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.
Comment 1 Yury Semikhatsky 2012-05-07 01:12:39 PDT
Created attachment 140491 [details]
Patch
Comment 2 Pavel Feldman 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.
Comment 3 Yury Semikhatsky 2012-05-10 05:06:59 PDT
Created attachment 141148 [details]
Patch for landing
Comment 4 Yury Semikhatsky 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.
Comment 5 Yury Semikhatsky 2012-05-11 01:41:27 PDT
Committed r116740: <http://trac.webkit.org/changeset/116740>