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

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

Issue 2620093002: [DevTools] Support BreakReason.OOM (Closed)
Patch Set: addressed comments Created 3 years, 10 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/sources/DebuggerPausedMessage.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 868
869 /** @enum {string} */ 869 /** @enum {string} */
870 SDK.DebuggerModel.BreakReason = { 870 SDK.DebuggerModel.BreakReason = {
871 DOM: 'DOM', 871 DOM: 'DOM',
872 EventListener: 'EventListener', 872 EventListener: 'EventListener',
873 XHR: 'XHR', 873 XHR: 'XHR',
874 Exception: 'exception', 874 Exception: 'exception',
875 PromiseRejection: 'promiseRejection', 875 PromiseRejection: 'promiseRejection',
876 Assert: 'assert', 876 Assert: 'assert',
877 DebugCommand: 'debugCommand', 877 DebugCommand: 'debugCommand',
878 OOM: 'OOM',
878 Other: 'other' 879 Other: 'other'
879 }; 880 };
880 881
881 SDK.DebuggerEventTypes = { 882 SDK.DebuggerEventTypes = {
882 JavaScriptPause: 0, 883 JavaScriptPause: 0,
883 JavaScriptBreakpoint: 1, 884 JavaScriptBreakpoint: 1,
884 NativeBreakpoint: 2 885 NativeBreakpoint: 2
885 }; 886 };
886 887
887 /** 888 /**
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 stack.callFrames.shift(); 1357 stack.callFrames.shift();
1357 if (previous && !stack.callFrames.length) 1358 if (previous && !stack.callFrames.length)
1358 previous.parent = stack.parent; 1359 previous.parent = stack.parent;
1359 else 1360 else
1360 previous = stack; 1361 previous = stack;
1361 stack = stack.parent; 1362 stack = stack.parent;
1362 } 1363 }
1363 return asyncStackTrace; 1364 return asyncStackTrace;
1364 } 1365 }
1365 }; 1366 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sources/DebuggerPausedMessage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698