OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 { | 65 { |
66 this.addRule(new WebInspector.AuditRules.GzipRule(), WebInspector.AuditR
ule.Severity.Severe); | 66 this.addRule(new WebInspector.AuditRules.GzipRule(), WebInspector.AuditR
ule.Severity.Severe); |
67 this.addRule(new WebInspector.AuditRules.ImageDimensionsRule(), WebInspe
ctor.AuditRule.Severity.Warning); | 67 this.addRule(new WebInspector.AuditRules.ImageDimensionsRule(), WebInspe
ctor.AuditRule.Severity.Warning); |
68 this.addRule(new WebInspector.AuditRules.CookieSizeRule(400), WebInspect
or.AuditRule.Severity.Warning); | 68 this.addRule(new WebInspector.AuditRules.CookieSizeRule(400), WebInspect
or.AuditRule.Severity.Warning); |
69 this.addRule(new WebInspector.AuditRules.StaticCookielessRule(5), WebIns
pector.AuditRule.Severity.Warning); | 69 this.addRule(new WebInspector.AuditRules.StaticCookielessRule(5), WebIns
pector.AuditRule.Severity.Warning); |
70 this.addRule(new WebInspector.AuditRules.CombineJsResourcesRule(2), WebI
nspector.AuditRule.Severity.Severe); | 70 this.addRule(new WebInspector.AuditRules.CombineJsResourcesRule(2), WebI
nspector.AuditRule.Severity.Severe); |
71 this.addRule(new WebInspector.AuditRules.CombineCssResourcesRule(2), Web
Inspector.AuditRule.Severity.Severe); | 71 this.addRule(new WebInspector.AuditRules.CombineCssResourcesRule(2), Web
Inspector.AuditRule.Severity.Severe); |
72 this.addRule(new WebInspector.AuditRules.MinimizeDnsLookupsRule(4), WebI
nspector.AuditRule.Severity.Warning); | 72 this.addRule(new WebInspector.AuditRules.MinimizeDnsLookupsRule(4), WebI
nspector.AuditRule.Severity.Warning); |
73 this.addRule(new WebInspector.AuditRules.ParallelizeDownloadRule(4, 10,
0.5), WebInspector.AuditRule.Severity.Warning); | 73 this.addRule(new WebInspector.AuditRules.ParallelizeDownloadRule(4, 10,
0.5), WebInspector.AuditRule.Severity.Warning); |
74 this.addRule(new WebInspector.AuditRules.BrowserCacheControlRule(), WebI
nspector.AuditRule.Severity.Severe); | 74 this.addRule(new WebInspector.AuditRules.BrowserCacheControlRule(), WebI
nspector.AuditRule.Severity.Severe); |
75 this.addRule(new WebInspector.AuditRules.ProxyCacheControlRule(), WebIns
pector.AuditRule.Severity.Warning); | |
76 }, | 75 }, |
77 | 76 |
78 __proto__: WebInspector.AuditCategoryImpl.prototype | 77 __proto__: WebInspector.AuditCategoryImpl.prototype |
79 } | 78 } |
OLD | NEW |