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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js

Issue 1518383002: [DevTools] Hide "Service Worker Fallback" response from the Network tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated pfeldman's comment Created 5 years 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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")
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
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 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698