Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/webrequest/framework.js |
| diff --git a/chrome/test/data/extensions/api_test/webrequest/framework.js b/chrome/test/data/extensions/api_test/webrequest/framework.js |
| index 5235846cf5d619f131b0350aa8eb09d102910dcb..079921f3e1671e1fd1b1f550a5a1ba44e96de8a7 100644 |
| --- a/chrome/test/data/extensions/api_test/webrequest/framework.js |
| +++ b/chrome/test/data/extensions/api_test/webrequest/framework.js |
| @@ -204,7 +204,7 @@ function isUnexpectedDetachedRequest(name, details) { |
| function captureEvent(name, details, callback) { |
| // Ignore system-level requests like safebrowsing updates and favicon fetches |
| // since they are unpredictable. |
| - if (details.type == "other" || |
| + if (details.type == "other" && !details.url.includes('dont-ignore-me') || |
|
Marijn Kruisselbrink
2016/08/15 22:02:15
nit: I think this would be clearer with an extra p
robwu
2016/08/17 08:44:32
Done.
|
| isUnexpectedDetachedRequest(name, details) || |
| details.url.match(/\/favicon.ico$/) || |
| details.url.match(/https:\/\/dl.google.com/)) |