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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js

Issue 2146063006: [DevTools] Move Timestamp to Runtime, measure it in milliseconds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2139543002
Patch Set: Created 4 years, 5 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/RuntimeModel.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 payload.source, 545 payload.source,
546 payload.level, 546 payload.level,
547 payload.text, 547 payload.text,
548 payload.type, 548 payload.type,
549 payload.url, 549 payload.url,
550 payload.line, 550 payload.line,
551 payload.column, 551 payload.column,
552 payload.networkRequestId, 552 payload.networkRequestId,
553 payload.parameters, 553 payload.parameters,
554 payload.stack, 554 payload.stack,
555 payload.timestamp * 1000, // Convert to ms. 555 payload.timestamp,
556 payload.executionContextId, 556 payload.executionContextId,
557 payload.scriptId, 557 payload.scriptId,
558 payload.workerId); 558 payload.workerId);
559 this._console.addMessage(consoleMessage); 559 this._console.addMessage(consoleMessage);
560 }, 560 },
561 561
562 /** 562 /**
563 * @override 563 * @override
564 * @param {number} count 564 * @param {number} count
565 */ 565 */
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 this.dispatchEventToListeners(WebInspector.ConsoleModel.Events.CommandEv aluated, event.data); 654 this.dispatchEventToListeners(WebInspector.ConsoleModel.Events.CommandEv aluated, event.data);
655 }, 655 },
656 656
657 __proto__: WebInspector.Object.prototype 657 __proto__: WebInspector.Object.prototype
658 } 658 }
659 659
660 /** 660 /**
661 * @type {!WebInspector.MultitargetConsoleModel} 661 * @type {!WebInspector.MultitargetConsoleModel}
662 */ 662 */
663 WebInspector.multitargetConsoleModel; 663 WebInspector.multitargetConsoleModel;
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698