| OLD | NEW |
| 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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 | 867 |
| 868 /** @enum {string} */ | 868 /** @enum {string} */ |
| 869 SDK.DebuggerModel.BreakReason = { | 869 SDK.DebuggerModel.BreakReason = { |
| 870 DOM: 'DOM', | 870 DOM: 'DOM', |
| 871 EventListener: 'EventListener', | 871 EventListener: 'EventListener', |
| 872 XHR: 'XHR', | 872 XHR: 'XHR', |
| 873 Exception: 'exception', | 873 Exception: 'exception', |
| 874 PromiseRejection: 'promiseRejection', | 874 PromiseRejection: 'promiseRejection', |
| 875 Assert: 'assert', | 875 Assert: 'assert', |
| 876 DebugCommand: 'debugCommand', | 876 DebugCommand: 'debugCommand', |
| 877 OOM: 'OOM', |
| 877 Other: 'other' | 878 Other: 'other' |
| 878 }; | 879 }; |
| 879 | 880 |
| 880 SDK.DebuggerEventTypes = { | 881 SDK.DebuggerEventTypes = { |
| 881 JavaScriptPause: 0, | 882 JavaScriptPause: 0, |
| 882 JavaScriptBreakpoint: 1, | 883 JavaScriptBreakpoint: 1, |
| 883 NativeBreakpoint: 2 | 884 NativeBreakpoint: 2 |
| 884 }; | 885 }; |
| 885 | 886 |
| 886 /** | 887 /** |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1355 stack.callFrames.shift(); | 1356 stack.callFrames.shift(); |
| 1356 if (previous && !stack.callFrames.length) | 1357 if (previous && !stack.callFrames.length) |
| 1357 previous.parent = stack.parent; | 1358 previous.parent = stack.parent; |
| 1358 else | 1359 else |
| 1359 previous = stack; | 1360 previous = stack; |
| 1360 stack = stack.parent; | 1361 stack = stack.parent; |
| 1361 } | 1362 } |
| 1362 return asyncStackTrace; | 1363 return asyncStackTrace; |
| 1363 } | 1364 } |
| 1364 }; | 1365 }; |
| OLD | NEW |