Lines Matching defs:ConsoleMessage
110 var consoleMessage = new WebInspector.ConsoleMessage(
121 console.addMessage(consoleMessage);
136 var msgCopy = new WebInspector.ConsoleMessage(msg.source, msg.type, msg.level, msg.line, msg.url, count - prevRepeatCount, msg._messageText, msg._parameters, msg._stackTrace, msg._requestId);
155 this.addMessage(WebInspector.ConsoleMessage.createTextMessage(message, WebInspector.ConsoleMessage.MessageLevel.Warning));
275 if (msg instanceof WebInspector.ConsoleMessage && !(msg instanceof WebInspector.ConsoleCommandResult)) {
289 if (msg.type === WebInspector.ConsoleMessage.MessageType.EndGroup) {
294 if (msg.type === WebInspector.ConsoleMessage.MessageType.StartGroup || msg.type === WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed) {
311 case WebInspector.ConsoleMessage.MessageLevel.Warning:
314 case WebInspector.ConsoleMessage.MessageLevel.Error:
692 WebInspector.ConsoleMessage = function(source, type, level, line, url, repeatCount, message, parameters, stackTrace, requestId)
718 WebInspector.ConsoleMessage.createTextMessage = function(text, level)
720 level = level || WebInspector.ConsoleMessage.MessageLevel.Log;
721 return new WebInspector.ConsoleMessage(WebInspector.ConsoleMessage.MessageSource.JS, WebInspector.ConsoleMessage.MessageType.Log, level, 0, null, 1, null, [text], null);
724 WebInspector.ConsoleMessage.prototype = {
730 case WebInspector.ConsoleMessage.MessageType.Trace:
733 case WebInspector.ConsoleMessage.MessageType.UncaughtException:
736 case WebInspector.ConsoleMessage.MessageType.NetworkError:
751 case WebInspector.ConsoleMessage.MessageType.Assert:
757 case WebInspector.ConsoleMessage.MessageType.Object:
780 case WebInspector.ConsoleMessage.MessageType.Trace:
781 case WebInspector.ConsoleMessage.MessageType.UncaughtException:
782 case WebInspector.ConsoleMessage.MessageType.NetworkError:
783 case WebInspector.ConsoleMessage.MessageType.Assert: {
792 if (this.type === WebInspector.ConsoleMessage.MessageType.Trace)
807 return (this.level === WebInspector.ConsoleMessage.MessageLevel.Warning || this.level === WebInspector.ConsoleMessage.MessageLevel.Error);
827 var shouldFormatMessage = WebInspector.RemoteObject.type(parameters[0]) === "string" && this.type !== WebInspector.ConsoleMessage.MessageType.Result;
896 case WebInspector.ConsoleMessage.MessageLevel.Tip:
899 case WebInspector.ConsoleMessage.MessageLevel.Log:
902 case WebInspector.ConsoleMessage.MessageLevel.Debug:
905 case WebInspector.ConsoleMessage.MessageLevel.Warning:
908 case WebInspector.ConsoleMessage.MessageLevel.Error:
913 if (this.type === WebInspector.ConsoleMessage.MessageType.StartGroup || this.type === WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed)
965 case WebInspector.ConsoleMessage.MessageSource.HTML:
968 case WebInspector.ConsoleMessage.MessageSource.WML:
971 case WebInspector.ConsoleMessage.MessageSource.XML:
974 case WebInspector.ConsoleMessage.MessageSource.JS:
977 case WebInspector.ConsoleMessage.MessageSource.CSS:
980 case WebInspector.ConsoleMessage.MessageSource.Other:
987 case WebInspector.ConsoleMessage.MessageType.Log:
988 case WebInspector.ConsoleMessage.MessageType.UncaughtException:
989 case WebInspector.ConsoleMessage.MessageType.NetworkError:
992 case WebInspector.ConsoleMessage.MessageType.Object:
995 case WebInspector.ConsoleMessage.MessageType.Trace:
998 case WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed:
999 case WebInspector.ConsoleMessage.MessageType.StartGroup:
1002 case WebInspector.ConsoleMessage.MessageType.EndGroup:
1005 case WebInspector.ConsoleMessage.MessageType.Assert:
1008 case WebInspector.ConsoleMessage.MessageType.Result:
1015 case WebInspector.ConsoleMessage.MessageLevel.Tip:
1018 case WebInspector.ConsoleMessage.MessageLevel.Log:
1021 case WebInspector.ConsoleMessage.MessageLevel.Warning:
1024 case WebInspector.ConsoleMessage.MessageLevel.Debug:
1027 case WebInspector.ConsoleMessage.MessageLevel.Error:
1065 WebInspector.ConsoleMessage.MessageSource = {
1074 WebInspector.ConsoleMessage.MessageType = {
1087 WebInspector.ConsoleMessage.MessageLevel = {
1118 var level = (result.isError() ? WebInspector.ConsoleMessage.MessageLevel.Error : WebInspector.ConsoleMessage.MessageLevel.Log);
1120 WebInspector.ConsoleMessage.call(this, WebInspector.ConsoleMessage.MessageSource.JS, WebInspector.ConsoleMessage.MessageType.Result, level, -1, null, 1, null, [result]);
1126 var element = WebInspector.ConsoleMessage.prototype.toMessageElement.call(this);
1132 WebInspector.ConsoleCommandResult.prototype.__proto__ = WebInspector.ConsoleMessage.prototype;
1154 if (msg.type === WebInspector.ConsoleMessage.MessageType.StartGroup || msg.type === WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed) {
1158 if (groupElement && msg.type === WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed)