Commit Graph

24 Commits

Author SHA1 Message Date
Dave Herman
18afe93c1d Bug 913617 - Reflect.parse: rename ArrowExpression to ArrowFunctionExpression. r=jorendorff 2015-03-10 10:50:00 +01:00
Panos Astithas
a25e51a856 Don't dump errors in tests that are already handled by the parser (bug 1138784). r=vporof 2015-03-12 20:42:35 +02:00
Victor Porof
56445dde49 Bug 1034585 - Sources with BreakStatements can't be parsed correctly, r=past 2014-07-04 14:54:51 -04:00
Victor Porof
d1c0c4889f Bug 1031308 - Type error in SyntaxTreesPool.prototype_call in Parser.jsm. r=past 2014-06-27 09:55:51 -04:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Gijs Kruitbosch
2123363f1e Bug 977009 - switch to Cu.cloneInto instead of JSON.parse(JSON.stringify(foo)) because it's faster, r=vporof 2014-05-26 13:25:00 +01:00
Victor Porof
5edaae3490 Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals. r=past 2014-04-02 19:38:07 -04:00
Wes Kocher
35550b38f4 Backed out changeset a17657a71b01 (bug 991376) for pushing tests around, causing chunked browser-chrome bustage on a CLOSED TREE 2014-04-03 15:15:26 -07:00
Victor Porof
9cc30a6a40 Bug 991376 - The variables inspection popup shouldn't opening when hovering js literals, r=past 2014-04-03 11:22:23 -04:00
Victor Porof
c3547987c8 Bug 964700 - Make the errors logged by Parser.jsm also contain the problematic source url, r=past 2014-01-28 12:31:51 +02:00
Carsten "Tomcat" Book
fd5b12ac55 Backed out changeset a76a4f921987 (bug 964700) for XPC Bustage on a CLOSED TREE 2014-01-28 14:03:38 +01:00
Victor Porof
bfc0d9228b Bug 964700 - Make the errors logged by Parser.jsm also contain the problematic source url, r=past 2014-01-28 13:24:45 +02:00
Victor Porof
13ce9e2aa2 Bug 963932 - Refactor the output emitted by Parser.jsm to avoid too much useless nesting, r=past 2014-01-28 12:18:20 +02:00
Alexey Novak
d0067989e8 Bug 956804 - Use DevToolsUtils.reportException in Parser.jsm; r=fitzgen 2014-01-23 09:55:16 -08:00
Victor Porof
d3d2bd5ad3 Bug 956568 - Display more meaningful error information when Parser.jsm is sad, r=past 2014-01-06 08:41:19 +02:00
Victor Porof
c6a7097220 Bug 952734 - Sources with LabeledStatements makes ParserHelpers.getNodeLocation puke, r=past 2014-01-03 23:41:28 +02:00
Victor Porof
7682c474e1 Bug 948893 - Hovering certain bounds in a HTML source while paused in the debugger can sometimes incorrectly show a variable inspection popup, r=past 2013-12-13 22:28:04 +02:00
Victor Porof
a16b54f6f6 Bug 725235 - In the debugger, show a details bubble while hovering over a variable or property in the source editor, r=past,rcampbell 2013-11-29 16:47:52 +02:00
Victor Porof
34e4cf65f0 Bug 924879 - Minor cleanups for Parser.jsm, r=past 2013-10-15 20:10:34 +03:00
Nick Fitzgerald
f1fd7888d7 Bug 762761 - part 2: front end changes for debugger pretty printing; r=vporof 2013-09-18 17:56:20 -07:00
Panos Astithas
bfa4c91b53 Fix step-in in chrome debugging by loading the promise library in the debugger server's compartment (Bug 834756); r=dtownsend,vporof 2013-07-12 22:13:21 +03:00
Victor Porof
6d6c5071f3 Bug 855544 - Implement a network monitor, r=dcamp,msucan 2013-03-11 23:50:42 -07:00
Victor Porof
34bed279b5 Bug 855030 - Parser.jsm should support fat arrow functions, r=past 2013-03-28 10:30:37 +02:00
Victor Porof
e62308e5a0 Bug 762160 - Find Implementors of a function in the Debugger, r=past 2013-03-25 20:02:34 +02:00