OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Flags: --expose-debug-as debug | |
6 | 5 |
7 Debug = debug.Debug | 6 Debug = debug.Debug |
8 | 7 |
9 function BestEditor() { | 8 function BestEditor() { |
10 return 'Emacs'; | 9 return 'Emacs'; |
11 } | 10 } |
12 | 11 |
13 var exception = null; | 12 var exception = null; |
14 var results = []; | 13 var results = []; |
15 var log = [] | 14 var log = [] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "results.push(BestEditor());", | 65 "results.push(BestEditor());", |
67 " return 'Emacs';", | 66 " return 'Emacs';", |
68 " return 'Eclipse';","}", | 67 " return 'Eclipse';","}", |
69 "results.push(BestEditor());", | 68 "results.push(BestEditor());", |
70 "results.push(BestEditor());", | 69 "results.push(BestEditor());", |
71 " return 'Eclipse';", | 70 " return 'Eclipse';", |
72 " return 'Vim';", | 71 " return 'Vim';", |
73 "}","results.push(BestEditor());", | 72 "}","results.push(BestEditor());", |
74 "Debug.setListener(null);" | 73 "Debug.setListener(null);" |
75 ], log); | 74 ], log); |
OLD | NEW |