Bug 31705

Summary: Web Inspector: Resync Resources Backend and Frontend
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web Inspector (Deprecated)Assignee: Joseph Pecoraro <joepeck>
Severity: Normal CC: bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
[PATCH] Resync timothy: review+

Description Joseph Pecoraro 2009-11-19 21:21:50 PST
Resource.js has the following comment for its "enum" values to keep in sync with the real enums:

  // Keep these in sync with WebCore::InspectorResource::Type

Lost sync a long time ago:

However, this was shadowed by the real bug. The type was used in _mimeTypeIsConsistentWithType and always returned true, and the problem was overlooked.
Comment 1 Joseph Pecoraro 2009-11-19 21:26:17 PST
Created attachment 43548 [details]
[PATCH] Resync
Comment 2 Joseph Pecoraro 2009-11-19 22:18:18 PST
Landed in http://trac.webkit.org/changeset/51229
r51229 = 478a626e9493ad34878c2a32025991ffaf9e8b5f