| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 details.stack, | 378 details.stack, |
| 379 timestamp, | 379 timestamp, |
| 380 executionContextId, | 380 executionContextId, |
| 381 details.scriptId); | 381 details.scriptId); |
| 382 consoleMessage.setExceptionId(exceptionId); | 382 consoleMessage.setExceptionId(exceptionId); |
| 383 this._runtimeModel.target().consoleModel.addMessage(consoleMessage); | 383 this._runtimeModel.target().consoleModel.addMessage(consoleMessage); |
| 384 }, | 384 }, |
| 385 | 385 |
| 386 /** | 386 /** |
| 387 * @override | 387 * @override |
| 388 * @param {number} timestamp | |
| 389 * @param {string} message | 388 * @param {string} message |
| 390 * @param {number} exceptionId | 389 * @param {number} exceptionId |
| 391 */ | 390 */ |
| 392 exceptionRevoked: function(timestamp, message, exceptionId) | 391 exceptionRevoked: function(message, exceptionId) |
| 393 { | 392 { |
| 394 var consoleMessage = new WebInspector.ConsoleMessage( | 393 var consoleMessage = new WebInspector.ConsoleMessage( |
| 395 this._runtimeModel.target(), | 394 this._runtimeModel.target(), |
| 396 WebInspector.ConsoleMessage.MessageSource.JS, | 395 WebInspector.ConsoleMessage.MessageSource.JS, |
| 397 WebInspector.ConsoleMessage.MessageLevel.RevokedError, | 396 WebInspector.ConsoleMessage.MessageLevel.RevokedError, |
| 398 message, | 397 message, |
| 399 undefined, | 398 undefined, |
| 400 undefined, | 399 undefined, |
| 401 undefined, | 400 undefined, |
| 402 undefined, | 401 undefined, |
| 403 undefined, | 402 undefined, |
| 404 undefined, | 403 undefined, |
| 405 undefined, | 404 undefined, |
| 406 timestamp, | 405 undefined, |
| 407 undefined, | 406 undefined, |
| 408 undefined); | 407 undefined); |
| 409 consoleMessage.setRevokedExceptionId(exceptionId); | 408 consoleMessage.setRevokedExceptionId(exceptionId); |
| 410 this._runtimeModel.target().consoleModel.addMessage(consoleMessage); | 409 this._runtimeModel.target().consoleModel.addMessage(consoleMessage); |
| 411 }, | 410 }, |
| 412 | 411 |
| 413 /** | 412 /** |
| 414 * @override | 413 * @override |
| 415 * @param {string} type | 414 * @param {string} type |
| 416 * @param {!Array.<!RuntimeAgent.RemoteObject>} args | 415 * @param {!Array.<!RuntimeAgent.RemoteObject>} args |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 /** | 1007 /** |
| 1009 * @return {boolean} | 1008 * @return {boolean} |
| 1010 */ | 1009 */ |
| 1011 isNormalListenerType: function() | 1010 isNormalListenerType: function() |
| 1012 { | 1011 { |
| 1013 return this._listenerType === "normal"; | 1012 return this._listenerType === "normal"; |
| 1014 }, | 1013 }, |
| 1015 | 1014 |
| 1016 __proto__: WebInspector.SDKObject.prototype | 1015 __proto__: WebInspector.SDKObject.prototype |
| 1017 } | 1016 } |
| OLD | NEW |