Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2008, 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * Copyright (C) 2011 Google Inc. All rights reserved. | 4 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1628 _applyFilter: function(node) | 1628 _applyFilter: function(node) |
| 1629 { | 1629 { |
| 1630 var request = node.request(); | 1630 var request = node.request(); |
| 1631 if (this._timeFilter && !this._timeFilter(request)) | 1631 if (this._timeFilter && !this._timeFilter(request)) |
| 1632 return false; | 1632 return false; |
| 1633 var categoryName = request.resourceType().category().title; | 1633 var categoryName = request.resourceType().category().title; |
| 1634 if (!this._resourceCategoryFilterUI.accept(categoryName)) | 1634 if (!this._resourceCategoryFilterUI.accept(categoryName)) |
| 1635 return false; | 1635 return false; |
| 1636 if (this._dataURLFilterUI.checked() && request.parsedURL.isDataURL()) | 1636 if (this._dataURLFilterUI.checked() && request.parsedURL.isDataURL()) |
| 1637 return false; | 1637 return false; |
| 1638 if (request.statusText == "Service Worker Fallback Required") | |
|
pfeldman
2015/12/16 00:48:12
===
horo
2015/12/16 02:27:06
Done.
| |
| 1639 return false; | |
| 1638 for (var i = 0; i < this._filters.length; ++i) { | 1640 for (var i = 0; i < this._filters.length; ++i) { |
| 1639 if (!this._filters[i](request)) | 1641 if (!this._filters[i](request)) |
| 1640 return false; | 1642 return false; |
| 1641 } | 1643 } |
| 1642 return true; | 1644 return true; |
| 1643 }, | 1645 }, |
| 1644 | 1646 |
| 1645 /** | 1647 /** |
| 1646 * @param {string} query | 1648 * @param {string} query |
| 1647 */ | 1649 */ |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2165 return false; | 2167 return false; |
| 2166 return true; | 2168 return true; |
| 2167 } | 2169 } |
| 2168 | 2170 |
| 2169 WebInspector.NetworkLogView.EventTypes = { | 2171 WebInspector.NetworkLogView.EventTypes = { |
| 2170 RequestSelected: "RequestSelected", | 2172 RequestSelected: "RequestSelected", |
| 2171 SearchCountUpdated: "SearchCountUpdated", | 2173 SearchCountUpdated: "SearchCountUpdated", |
| 2172 SearchIndexUpdated: "SearchIndexUpdated", | 2174 SearchIndexUpdated: "SearchIndexUpdated", |
| 2173 UpdateRequest: "UpdateRequest" | 2175 UpdateRequest: "UpdateRequest" |
| 2174 }; | 2176 }; |
| OLD | NEW |