Commit Graph

15 Commits

Author SHA1 Message Date
Patrick Brosset
923cdc222d Bug 1167617 - Remove SpiderMonkey specific JS syntax from inspector; r=jryans 2015-05-22 20:50:01 +02:00
Alexandre Poirot
5cbef5bde7 Bug 1161072 - Reset docshell state (disabled js/cache, service workers) from actor instead of client. r=jryans 2015-05-18 20:15:35 +02:00
Patrick Brosset
7b74675f78 Bug 1156767 - Report error message and continue loading other stylesheets even when a stylesheet fails; r=bgrins 2015-04-22 18:04:48 +02:00
Sami Jaktholm
eeff11a39a Bug 1148893 - Return the style sheet selection promise to the caller. r=ejpbruel 2015-03-28 07:22:50 +02:00
Sami Jaktholm
bee8b6740f Bug 1147765 - Fix asynchronous initialization of Style Editor. r=ejpbruel 2015-03-26 13:30:35 +02: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
Joe Walker
b65dfdff86 Bug 1013909 - Make CSS Coverage smarter in its handling of compressed style sheets; r=harth 2014-05-26 19:57:58 +01:00
Paolo Amadini
7363cdddc9 Bug 943621 - Convert to Promise.jsm in style inspector and style editor. r=dcamp, r=harth 2014-01-08 10:53:16 -08:00
J. Ryan Stinnett
80737e8b92 Bug 971177 - Clean up Style Editor's debuggee. r=harth 2014-03-18 17:52:33 -05:00
J. Ryan Stinnett
26967f4282 Bug 976679 - Move event-emitter to toolkit. r=paul 2014-02-25 22:22:05 -06:00
Heather Arthur
81715b2f3e Bug 950915 - Watch for changes to CSS files on disk for source mapped files; r=dcamp 2014-02-01 12:26:53 -08:00
Girish Sharma
f8442d7a5c Bug 717369 - Autocomplete CSS properties and values in the Style Editor - Part 1 - No tests, r=anton, msucan, dcamp, robcee, harth 2014-01-28 20:38:41 +05:30
Heather Arthur
dbfdaf4310 Bug 949556 - Add Firefox 26-28 backwards compatibility to Style Editor. r=paul 2013-12-19 11:32:12 -05:00
Heather Arthur
1477f9976f Bug 948805 - Fix TypeError: this._toolbox is null: StyleEditorPanel.prototype._showError; r=pbrosset 2013-12-12 12:58:29 -08:00
Heather Arthur
baacc9221d Bug 926014 - Support CSS source maps; r=dcamp 2013-12-06 23:52:32 -08:00