Bug 113488

Summary: Web Inspector: ResourceScriptFile should check if resource content really matches VM script when determining hasDiverged state.
Product: WebKit Reporter: Vsevolod Vlasov <vsevik>
Component: Web Inspector (Deprecated)Assignee: Vsevolod Vlasov <vsevik>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 113489    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch pfeldman: review+

Description Vsevolod Vlasov 2013-03-28 01:24:26 PDT
Files loaded from file system could have been updated after the script was loaded to VM.
We should always compare these contents to determine whether certain file has diverged from VM script.
Comment 1 Vsevolod Vlasov 2013-03-28 04:23:59 PDT
Created attachment 195528 [details]
Patch
Comment 2 Vsevolod Vlasov 2013-03-28 04:33:09 PDT
Created attachment 195531 [details]
Patch
Comment 3 Vsevolod Vlasov 2013-03-28 06:04:46 PDT
Committed r147102: <http://trac.webkit.org/changeset/147102>