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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js

Issue 2675863002: DevTools: attribute long Set-Cookie warning to a target. (Closed)
Patch Set: Created 3 years, 10 months 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 | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js » ('j') | 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) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 return this._messageURLFiltersSetting.get(); 1108 return this._messageURLFiltersSetting.get();
1109 } 1109 }
1110 1110
1111 /** 1111 /**
1112 * @param {!Console.ConsoleViewMessage} viewMessage 1112 * @param {!Console.ConsoleViewMessage} viewMessage
1113 * @return {boolean} 1113 * @return {boolean}
1114 */ 1114 */
1115 shouldBeVisible(viewMessage) { 1115 shouldBeVisible(viewMessage) {
1116 var message = viewMessage.consoleMessage(); 1116 var message = viewMessage.consoleMessage();
1117 var executionContext = UI.context.flavor(SDK.ExecutionContext); 1117 var executionContext = UI.context.flavor(SDK.ExecutionContext);
1118 if (!message.target())
1119 return true;
1120 1118
1121 if (this._showTargetMessagesCheckbox.checked() && executionContext) { 1119 if (this._showTargetMessagesCheckbox.checked() && executionContext) {
1122 if (message.target() !== executionContext.target()) 1120 if (message.target() !== executionContext.target())
1123 return false; 1121 return false;
1124 if (message.executionContextId && message.executionContextId !== execution Context.id) 1122 if (message.executionContextId && message.executionContextId !== execution Context.id)
1125 return false; 1123 return false;
1126 } 1124 }
1127 1125
1128 if (this._hideNetworkMessagesSetting.get() && 1126 if (this._hideNetworkMessagesSetting.get() &&
1129 viewMessage.consoleMessage().source === SDK.ConsoleMessage.MessageSource .Network) 1127 viewMessage.consoleMessage().source === SDK.ConsoleMessage.MessageSource .Network)
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 return true; 1315 return true;
1318 } 1316 }
1319 return false; 1317 return false;
1320 } 1318 }
1321 }; 1319 };
1322 1320
1323 /** 1321 /**
1324 * @typedef {{messageIndex: number, matchIndex: number}} 1322 * @typedef {{messageIndex: number, matchIndex: number}}
1325 */ 1323 */
1326 Console.ConsoleView.RegexMatchRange; 1324 Console.ConsoleView.RegexMatchRange;
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698