OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 | 715 |
716 /** | 716 /** |
717 * @param {string} type | 717 * @param {string} type |
718 * @param {!WebInspector.DebuggerModel.Location} scriptLocation | 718 * @param {!WebInspector.DebuggerModel.Location} scriptLocation |
719 * @param {string} messageText | 719 * @param {string} messageText |
720 */ | 720 */ |
721 _addMessageToConsole: function(type, scriptLocation, messageText) | 721 _addMessageToConsole: function(type, scriptLocation, messageText) |
722 { | 722 { |
723 var script = scriptLocation.script(); | 723 var script = scriptLocation.script(); |
724 var message = new WebInspector.ConsoleMessage( | 724 var message = new WebInspector.ConsoleMessage( |
| 725 WebInspector.console.target(), |
725 WebInspector.ConsoleMessage.MessageSource.ConsoleAPI, | 726 WebInspector.ConsoleMessage.MessageSource.ConsoleAPI, |
726 WebInspector.ConsoleMessage.MessageLevel.Debug, | 727 WebInspector.ConsoleMessage.MessageLevel.Debug, |
727 messageText, | 728 messageText, |
728 type, | 729 type, |
729 undefined, | 730 undefined, |
730 undefined, | 731 undefined, |
731 undefined, | 732 undefined, |
732 undefined, | 733 undefined, |
733 undefined, | 734 undefined, |
734 [{ | 735 [{ |
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 | 1386 |
1386 /** | 1387 /** |
1387 * @param {number} entryIndex | 1388 * @param {number} entryIndex |
1388 * @return {!string} | 1389 * @return {!string} |
1389 */ | 1390 */ |
1390 textColor: function(entryIndex) | 1391 textColor: function(entryIndex) |
1391 { | 1392 { |
1392 return "#333"; | 1393 return "#333"; |
1393 } | 1394 } |
1394 } | 1395 } |
OLD | NEW |