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

Side by Side Diff: src/mirror-debugger.js

Issue 7045003: Support extracting source mapping url defined by //@ sourceMappingURL=<url> comment. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/messages.js ('k') | test/mjsunit/debug-compile-event.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1775 ScriptMirror.prototype.id = function() { 1775 ScriptMirror.prototype.id = function() {
1776 return this.script_.id; 1776 return this.script_.id;
1777 }; 1777 };
1778 1778
1779 1779
1780 ScriptMirror.prototype.source = function() { 1780 ScriptMirror.prototype.source = function() {
1781 return this.script_.source; 1781 return this.script_.source;
1782 }; 1782 };
1783 1783
1784 1784
1785 ScriptMirror.prototype.sourceMappingURL = function() {
1786 return this.script_.sourceMappingURL();
1787 };
1788
1789
1785 ScriptMirror.prototype.lineOffset = function() { 1790 ScriptMirror.prototype.lineOffset = function() {
1786 return this.script_.line_offset; 1791 return this.script_.line_offset;
1787 }; 1792 };
1788 1793
1789 1794
1790 ScriptMirror.prototype.columnOffset = function() { 1795 ScriptMirror.prototype.columnOffset = function() {
1791 return this.script_.column_offset; 1796 return this.script_.column_offset;
1792 }; 1797 };
1793 1798
1794 1799
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 } 2378 }
2374 if (!NUMBER_IS_FINITE(value)) { 2379 if (!NUMBER_IS_FINITE(value)) {
2375 if (value > 0) { 2380 if (value > 0) {
2376 return 'Infinity'; 2381 return 'Infinity';
2377 } else { 2382 } else {
2378 return '-Infinity'; 2383 return '-Infinity';
2379 } 2384 }
2380 } 2385 }
2381 return value; 2386 return value;
2382 } 2387 }
OLDNEW
« no previous file with comments | « src/messages.js ('k') | test/mjsunit/debug-compile-event.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698