Commit Graph

28 Commits

Author SHA1 Message Date
Alexandre Poirot
0939709730 Bug 1190452 - Always import toolkit/devtools/server/main.js as CommonJS module. r=jryans 2015-08-10 05:38:56 -07:00
Alexandre Poirot
8c0e5c90ec Bug 1188401 - Expose require out of Loader.jsm and use it. r=jryans 2015-08-06 05:38:10 -07:00
Brian Grinstead
0c8d55f3d5 Bug 1175637 - Make sure browserWin.BrowserViewSourceOfDocument exists before attempting to call it. r=jryans
This handles the case when there is a syntax error in browser.js that shows up in the
Browser Console, and you try to click the link to the source.  Without this, an exception
is thrown but with it the source opens in a new window.
2015-06-19 17:16:00 -04:00
Patrick Brosset
ebd7410d89 Bug 1167979 - Remove spidermonkey specific JS from webconsole; r=bgrins 2015-05-24 19:41:58 +02:00
J. Ryan Stinnett
345b7d89df Bug 1067325 - Allow DevTools to use view source in tab. r=jsantell 2015-05-23 18:17:50 -05:00
Jordan Santell
d9a58344f8 Bug 1134778 - Consolidate usages of view sourcing in tools with a source-utils module. r=vp,jryans 2015-04-24 14:16:34 -07:00
J. Ryan Stinnett
63d863fb93 Bug 1147042 - Rename attachProcess to getProcess. r=ochameau 2015-03-24 14:59:53 -05:00
Alexandre Poirot
c1451d9d3b Bug 1059308 - Make frame selection button to work in browser toolbox. r=jryans,past 2015-03-04 05:47:00 +01:00
Mrinal Dhar
14238d3c1f Bug 979991 - Added function to open a new browser console or bring one into focus if it exists, instead of closing it. r=past 2015-02-12 13:51:02 +05:30
James Long
edda82574b Bug 905700 - use Debugger.Source in the debugger backend and reference source actors instead of URLs in the frontend r=fitzgen 2014-11-25 15:02:39 -08:00
Jordan Santell
402178c5e4 Bug 1078539 - Add a doorhanger widget for the developer edition notification to browser console, developer tools, webide and responsive design mode. r=jryans 2014-10-22 17:18:31 -07:00
Ryan VanderMeulen
6b799500be Backout revision 224f20dce9d0 (bug 1078539) 2014-11-06 16:18:32 -05:00
Jordan Santell
dbc5280e00 Bug 1078539 - Add a doorhanger widget for the developer edition notification to browser console, developer tools, webide and responsive design mode. r=jryans 2014-10-22 17:18:31 -07:00
Mike Conley
97c55596d7 Bug 787975 - Make JSTerm $0 helper work across content processes. r=msucan. 2014-07-31 13:07:27 -04:00
Panos Astithas
20c7e4fd4b 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 2014-06-26 18:01:02 +03: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
Brandon Benvie
951fd7143e Bug 943681 - Convert to Promise.jsm in the webconsole. r=msucan 2014-01-22 10:21:33 -08:00
Rob Campbell
e9eb577dc0 Bug 961767 - Remove dead toggleWebConsole method from hudservice.js; r=msucan 2014-01-21 12:40:00 -05:00
Mihai Sucan
40b5ac201c 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
2e1d41b2d1 Bug 912057 - Replace Browser Debugger with Browser Toolbox. r=past 2013-12-02 02:28:01 -06:00
Peiyong Lin
39a64940fb 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
0ca8b29da1 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
6176c69ab8 Bug 917189 - Removed the debug icon on the caret position, r=vporof 2013-10-04 00:36:37 +03:00
Mihai Sucan
b5c8806ea0 Bug 860672 - Command line option -jsconsole should open the Browser Console. r=robcee 2013-09-23 13:43:37 +03:00
Victor Porof
3cbe00132a 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
258117e2e6 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
8818b7560d Bug 877262 - Part 2: move the Web Console files over to the new jetpack-based loader; r=dcamp 2013-08-03 13:29:48 +03:00