Commit graph

15 commits

Author SHA1 Message Date
Mike Conley
e2ad979a38 Bug 787975 - Make JSTerm $0 helper work across content processes. r=msucan.
--HG--
extra : rebase_source : b7a3a698effb0b223160fabae5b6f9b0fe820888
2014-07-31 13:07:27 -04:00
Panos Astithas
6ade2d445d Fix a couple of races around toolbox opening and tool selection by waiting for the actual tool panel to be selected (bug 988408). r=jwalker
--HG--
extra : rebase_source : d2f51db8c202d35b2aa72f4df1669162f011d89d
2014-06-26 18:01:02 +03:00
Jim Blandy
7e20285e70 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
32f5951fd0 Bug 977009 - switch to Cu.cloneInto instead of JSON.parse(JSON.stringify(foo)) because it's faster, r=vporof
--HG--
extra : rebase_source : 09dc0b502417ceb3384689f6517a4b21c46ff9d3
2014-05-26 13:25:00 +01:00
Brandon Benvie
aa73e19354 Bug 943681 - Convert to Promise.jsm in the webconsole. r=msucan 2014-01-22 10:21:33 -08:00
Rob Campbell
8fa62eb22f Bug 961767 - Remove dead toggleWebConsole method from hudservice.js; r=msucan 2014-01-21 12:40:00 -05:00
Mihai Sucan
25517b709e Bug 961621 - Fix for intermittent browser_webconsole_bug_766001_JS_Console_in_Debugger.js | Timed out while waiting for: correct source and line test for debugger for index 2; r=me 2014-01-20 23:09:18 +02:00
J. Ryan Stinnett
64ea1cec79 Bug 912057 - Replace Browser Debugger with Browser Toolbox. r=past
--HG--
rename : browser/devtools/debugger/DebuggerProcess.jsm => browser/devtools/framework/ToolboxProcess.jsm
2013-12-02 02:28:01 -06:00
Peiyong Lin
42be858435 Bug 927035 - Replace Data.now() in browser/devtools/webconsole/hudservice.js with static counter. r=bbenvie 2013-11-26 14:21:43 -05:00
Brandon Benvie
bc310a6405 Bug 895180 - Add a Scratchpad tab for remote targets. r=dcamp, r=robcee, r=msucan 2013-10-04 12:44:09 -07:00
Hubert B Manilla
36b4497c1e Bug 917189 - Removed the debug icon on the caret position, r=vporof 2013-10-04 00:36:37 +03:00
Mihai Sucan
147edc04a3 Bug 860672 - Command line option -jsconsole should open the Browser Console. r=robcee 2013-09-23 13:43:37 +03:00
Victor Porof
65f00c1176 Bug 876277 - Fix webconsole and profiler accessing and relying on old debugger DOM event APIs, r=past 2013-09-13 16:23:14 +03:00
Jim Blandy
a6fc46a707 Bug 914753: Remove 'Mode: js2' markers from DevTools JavaScript files. Emacs has better ways to select the file's mode. DONTBUILD r=dcamp 2013-09-10 18:43:44 -07:00
Mihai Sucan
a1f817b16f Bug 877262 - Part 2: move the Web Console files over to the new jetpack-based loader; r=dcamp
--HG--
rename : browser/devtools/shared/AutocompletePopup.jsm => browser/devtools/shared/autocomplete-popup.js
rename : browser/devtools/webconsole/HUDService.jsm => browser/devtools/webconsole/hudservice.js
rename : browser/devtools/webconsole/NetworkPanel.jsm => browser/devtools/webconsole/network-panel.js
rename : browser/devtools/webconsole/WebConsolePanel.jsm => browser/devtools/webconsole/panel.js
rename : toolkit/devtools/webconsole/WebConsoleClient.jsm => toolkit/devtools/webconsole/client.js
rename : toolkit/devtools/webconsole/NetworkHelper.jsm => toolkit/devtools/webconsole/network-helper.js
rename : toolkit/devtools/webconsole/WebConsoleUtils.jsm => toolkit/devtools/webconsole/utils.js
2013-08-03 13:29:48 +03:00
Renamed from browser/devtools/webconsole/HUDService.jsm (Browse further)