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

Side by Side Diff: Source/devtools/front_end/profiler/CPUProfileView.js

Issue 1095943002: DevTools: [console] Logged promise rejections do not change state once handled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: comments addressed Created 5 years, 8 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
OLDNEW
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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 * @param {string} type 488 * @param {string} type
489 * @param {!WebInspector.DebuggerModel.Location} scriptLocation 489 * @param {!WebInspector.DebuggerModel.Location} scriptLocation
490 * @param {string} messageText 490 * @param {string} messageText
491 */ 491 */
492 _addMessageToConsole: function(type, scriptLocation, messageText) 492 _addMessageToConsole: function(type, scriptLocation, messageText)
493 { 493 {
494 var script = scriptLocation.script(); 494 var script = scriptLocation.script();
495 var target = scriptLocation.target(); 495 var target = scriptLocation.target();
496 var message = new WebInspector.ConsoleMessage( 496 var message = new WebInspector.ConsoleMessage(
497 target, 497 target,
498 0,
498 WebInspector.ConsoleMessage.MessageSource.ConsoleAPI, 499 WebInspector.ConsoleMessage.MessageSource.ConsoleAPI,
499 WebInspector.ConsoleMessage.MessageLevel.Debug, 500 WebInspector.ConsoleMessage.MessageLevel.Debug,
500 messageText, 501 messageText,
501 type, 502 type,
502 undefined, 503 undefined,
503 undefined, 504 undefined,
504 undefined, 505 undefined,
505 undefined, 506 undefined,
506 undefined, 507 undefined,
507 [{ 508 [{
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 _notifyTempFileReady: function() 805 _notifyTempFileReady: function()
805 { 806 {
806 if (this._onTempFileReady) { 807 if (this._onTempFileReady) {
807 this._onTempFileReady(); 808 this._onTempFileReady();
808 this._onTempFileReady = null; 809 this._onTempFileReady = null;
809 } 810 }
810 }, 811 },
811 812
812 __proto__: WebInspector.ProfileHeader.prototype 813 __proto__: WebInspector.ProfileHeader.prototype
813 } 814 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698