Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: Source/WebCore/inspector/front-end/AuditRules.js

Issue 12089042: Merge 139616 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/inspector/front-end/AuditRules.js
===================================================================
--- Source/WebCore/inspector/front-end/AuditRules.js (revision 141071)
+++ Source/WebCore/inspector/front-end/AuditRules.js (working copy)
@@ -1058,6 +1058,8 @@
if (error)
return callback(null);
+ if (!headers.length)
+ return callback(null);
for (var i = 0; i < headers.length; ++i) {
var header = headers[i];
if (header.disabled)
« no previous file with comments | « LayoutTests/inspector/audits/resources/abe.png ('k') | Source/WebCore/inspector/front-end/NetworkRequest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698