Changeset 82822 in webkit
- Timestamp:
- Apr 4, 2011 4:33:44 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r82818 r82822 1 2011-04-04 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: Incorrectly reports warning on missing/incorrect content-type for 304s 6 https://bugs.webkit.org/show_bug.cgi?id=48525 7 8 * inspector/front-end/Resource.js: 9 (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType): 10 1 11 2011-04-01 Alexander Pavlov <apavlov@chromium.org> 2 12 -
trunk/Source/WebCore/inspector/front-end/Resource.js
r81861 r82822 567 567 // as it's going to be an error message. We do not want to emit a warning 568 568 // for this, though, as this will already be reported as resource loading failure. 569 if (this.statusCode >= 400) 569 // Also, if a URL like http://localhost/wiki/load.php?debug=true&lang=en produces text/css and gets reloaded, 570 // it is 304 Not Modified and its guessed mime-type is text/php, which is wrong. 571 // Don't check for mime-types in 304-resources. 572 if (this.statusCode >= 400 || this.statusCode === 304) 570 573 return true; 571 574
Note: See TracChangeset
for help on using the changeset viewer.