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

Side by Side Diff: src/debug/debug.js

Issue 1413173003: Move error message makers off js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 1 month 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 | src/debug/mirrors.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 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 (function (global, utils) { 5 (function (global, utils) {
6 "use strict"; 6 "use strict";
7 7
8 // ---------------------------------------------------------------------------- 8 // ----------------------------------------------------------------------------
9 // Imports 9 // Imports
10 10
11 var FrameMirror = global.FrameMirror; 11 var FrameMirror = global.FrameMirror;
12 var GlobalArray = global.Array; 12 var GlobalArray = global.Array;
13 var GlobalRegExp = global.RegExp; 13 var GlobalRegExp = global.RegExp;
14 var IsNaN = global.isNaN; 14 var IsNaN = global.isNaN;
15 var JSONParse = global.JSON.parse; 15 var JSONParse = global.JSON.parse;
16 var JSONStringify = global.JSON.stringify; 16 var JSONStringify = global.JSON.stringify;
17 var LookupMirror = global.LookupMirror; 17 var LookupMirror = global.LookupMirror;
18 var MakeError;
19 var MakeTypeError;
18 var MakeMirror = global.MakeMirror; 20 var MakeMirror = global.MakeMirror;
19 var MakeMirrorSerializer = global.MakeMirrorSerializer; 21 var MakeMirrorSerializer = global.MakeMirrorSerializer;
20 var MathMin = global.Math.min; 22 var MathMin = global.Math.min;
21 var Mirror = global.Mirror; 23 var Mirror = global.Mirror;
22 var MirrorType; 24 var MirrorType;
23 var ParseInt = global.parseInt; 25 var ParseInt = global.parseInt;
24 var ValueMirror = global.ValueMirror; 26 var ValueMirror = global.ValueMirror;
25 27
26 utils.Import(function(from) { 28 utils.Import(function(from) {
29 MakeError = from.MakeError;
30 MakeTypeError = from.MakeTypeError;
27 MirrorType = from.MirrorType; 31 MirrorType = from.MirrorType;
28 }); 32 });
29 33
30 //---------------------------------------------------------------------------- 34 //----------------------------------------------------------------------------
31 35
32 // Default number of frames to include in the response to backtrace request. 36 // Default number of frames to include in the response to backtrace request.
33 var kDefaultBacktraceLength = 10; 37 var kDefaultBacktraceLength = 10;
34 38
35 var Debug = {}; 39 var Debug = {};
36 40
(...skipping 2577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2614 "IsBreakPointTriggered", IsBreakPointTriggered, 2618 "IsBreakPointTriggered", IsBreakPointTriggered,
2615 "UpdateScriptBreakPoints", UpdateScriptBreakPoints, 2619 "UpdateScriptBreakPoints", UpdateScriptBreakPoints,
2616 ]); 2620 ]);
2617 2621
2618 // Export to liveedit.js 2622 // Export to liveedit.js
2619 utils.Export(function(to) { 2623 utils.Export(function(to) {
2620 to.GetScriptBreakPoints = GetScriptBreakPoints; 2624 to.GetScriptBreakPoints = GetScriptBreakPoints;
2621 }); 2625 });
2622 2626
2623 }) 2627 })
OLDNEW
« no previous file with comments | « no previous file | src/debug/mirrors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698