OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 260 |
261 /** | 261 /** |
262 * @enum {string} | 262 * @enum {string} |
263 */ | 263 */ |
264 WebInspector.AuditRule.Severity = { | 264 WebInspector.AuditRule.Severity = { |
265 Info: "info", | 265 Info: "info", |
266 Warning: "warning", | 266 Warning: "warning", |
267 Severe: "severe" | 267 Severe: "severe" |
268 } | 268 } |
269 | 269 |
270 /** | |
271 * @enum {number} | |
272 */ | |
273 WebInspector.AuditRule.SeverityOrder = { | 270 WebInspector.AuditRule.SeverityOrder = { |
274 "info": 3, | 271 "info": 3, |
275 "warning": 2, | 272 "warning": 2, |
276 "severe": 1 | 273 "severe": 1 |
277 } | 274 } |
278 | 275 |
279 WebInspector.AuditRule.prototype = { | 276 WebInspector.AuditRule.prototype = { |
280 get id() | 277 get id() |
281 { | 278 { |
282 return this._id; | 279 return this._id; |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 */ | 520 */ |
524 WebInspector.AuditCategories = {}; | 521 WebInspector.AuditCategories = {}; |
525 | 522 |
526 importScript("AuditCategory.js"); | 523 importScript("AuditCategory.js"); |
527 importScript("AuditCategories.js"); | 524 importScript("AuditCategories.js"); |
528 importScript("AuditController.js"); | 525 importScript("AuditController.js"); |
529 importScript("AuditFormatters.js"); | 526 importScript("AuditFormatters.js"); |
530 importScript("AuditLauncherView.js"); | 527 importScript("AuditLauncherView.js"); |
531 importScript("AuditResultView.js"); | 528 importScript("AuditResultView.js"); |
532 importScript("AuditRules.js"); | 529 importScript("AuditRules.js"); |
OLD | NEW |