Commit Graph

259 Commits

Author SHA1 Message Date
J. Ryan Stinnett
7e2158acc2 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Willian Gustavo Veiga
32415fa553 Bug 1167478 - Menu items "Larger Font" and "Smaller Font" should be disabled if the current font size is equals to MAXIMUM_FONT_SIZE or MINIMUM_FONT_SIZE constants. r=past 2015-06-16 14:12:27 +03:00
Sunny
a0f798b926 Bug 1107652 - Make cmd/ctrl + zoom in Scratchpad. r=past 2015-06-02 22:32:32 +03:00
Sunny
ca747e0fb6 Bug 1011504 - Added command listeners for cmd_find and cmd_findAgain. r=past 2015-05-29 13:32:22 +03:00
Patrick Brosset
b0fc02b334 Bug 1166189 - ESLint configuration files for devtools; r=tromey
Adds a global .eslintrc file for all source files in /browser/devtools.
This file defines a set of global variables that are commonly used in
/browser/devtools code.
The files that import modules with Cu.import will need to define their
own globals as /* globals ... */ comments.
This file also defines the configuration for all the rules we want to
use.

This also adds a set of .eslintrc files, one per test directory in
/browser/devtools. Each of these files extend from one of 2 parent config
files: .eslintrc.xpcshell or .eslintrc.mochitest.
The parent config define the set of globals these types of tests have
access to (test runner functions, assertion functions, etc.).

Finally, this also adds .eslintrc files in /toolkit/devtools for code and
tests, which just extend from their counterparts in /browser/devtools.
2015-05-28 09:30:03 +02:00
Michael Layzell
5c3e68d663 Bug 1159490 - Allow cut/copy event dispatch unconditionally in HTML documents. r=neil 2015-05-13 08:44:00 +02:00
Ryan VanderMeulen
e6f85b1f9e Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-22 14:18:25 -04:00
Christoph Kerschbaumer
4701bd2e1a Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Christoph Kerschbaumer
3c253c09de Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
James Long
e5ff89f71d Bug 1164632 - use new worker helpers in debugger for pretty-printing r=jsantell 2015-05-21 12:06:32 -04:00
ziyunfei
649e7033e4 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Joe Walker
cb03960f98 Bug 1128988 - runAt support for commands/converters; r=bgrins 2015-04-23 10:24:49 +01:00
Panos Astithas
a936ed870b Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Willian Gustavo Veiga
c58bf2625a Bug 1140839 - Scratchpad should remember View options. r=past 2015-03-12 21:57:49 -03:00
Nick Fitzgerald
7993ffae1e Bug 1038238 - Part 0: Make js/src/vm/SavedStacks.h use 1-based column numbers,
like js::ComputeStackString and other browsers do; r=jorendorff

https://bugzilla.mozilla.org/show_bug.cgi?id=1038238
2015-03-27 13:08:46 -07:00
J. Ryan Stinnett
63d863fb93 Bug 1147042 - Rename attachProcess to getProcess. r=ochameau 2015-03-24 14:59:53 -05:00
Dave Herman
18afe93c1d Bug 913617 - Reflect.parse: rename ArrowExpression to ArrowFunctionExpression. r=jorendorff 2015-03-10 10:50:00 +01: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
Christoph Kerschbaumer
c140a90bb3 Bug 1115193 - Make JS callers of ios.newChannel call ios.newChannel2 in browser/devtools - tests (r=vporof) 2015-02-10 20:49:06 -08:00
Christoph Kerschbaumer
294558fe22 Bug 1115193 - Make JS callers of ios.newChannel call ios.newChannel2 in browser/devtools (r=vporof) 2015-02-10 20:48:36 -08:00
Nick Fitzgerald
aa523b3a81 Bug 1114962 - Update the in-tree copies of acorn and pretty-fast. r=past
acorn is now at db59bd0296c16796a07e82d2dc284861f464603e (untagged commit after
0.11.0 release).

pretty-fast is now at abc8c1133cc5443fb3bb50c426731821d27300a6 (tagged 0.2.0).
2015-01-06 15:24:00 -05:00
Brian Grinstead
25da0de23a Bug 1088861 - Add evaluateJSAsync method on the web console actor;r=past 2014-12-16 17:18:26 -08:00
Panos Astithas
412c4ff16d Make Scratchpad's reloadAndRun use the RDP and enable scratchpad tests with e10s (bug 1106702). r=harth 2014-12-16 10:43:08 +02:00
Panos Astithas
1b4418c039 Make Scratchpad's evaluations that throw faster (bug 1109692). r=fitzgen 2014-12-10 09:00:17 +02:00
Vaibhav Agrawal
7e510d3827 Bug 1102829 - Removing invalid mochitest and adding them as a support-file. r=jmaher 2014-11-25 15:02:45 -08:00
Mahdi Dibaiee
174ef3cdd4 Bug 684096 - "The webconsole should display column numbers in addition to line numbers". c=mdibaiee 2014-11-05 05:43:00 +01:00
Alexandre Poirot
aba3c89c11 Bug 1083045 - Scratchpad tests shouldn't depend on chrome debugging being disabled by default. r=past 2014-10-15 09:18:40 +03:00
Jan Odvarko
ef8449aa82 Bug 1072208 - Implement new events for ToolSidebar. r=bgrins 2014-10-07 18:13:51 +02:00
Adrian Aichner
b08f31ede3 Bug 1067141 - Scratchpad Open File uses fallbackCharsetList on UTF-8 NS_ERROR_ILLEGAL_INPUT. r=fitzgen
---
 browser/devtools/scratchpad/scratchpad.js          |   75 +++++++++++++++++--
 .../scratchpad/test/NS_ERROR_ILLEGAL_INPUT.txt     |    2 +
 browser/devtools/scratchpad/test/browser.ini       |    2 +
 .../scratchpad/test/browser_scratchpad_open.js     |   27 +++++++-
 .../chrome/browser/devtools/scratchpad.properties  |    4 +
 5 files changed, 101 insertions(+), 9 deletions(-)
 create mode 100644 browser/devtools/scratchpad/test/NS_ERROR_ILLEGAL_INPUT.txt
2014-09-24 16:13:03 -07:00
Jan Odvarko
c61fb7c20b Bug 1035707 - Implement new API for customizing webconsole logs; r=past 2014-09-24 08:42:17 +02:00
Panos Astithas
f9636839a5 Use the devtools style for the scratchpad statusbar (bug 1067827). r=fitzgen 2014-09-16 21:11:02 +03:00
Nigel Babu
e76fa73afd Merge fx-team to m-c with bustage fix, a=merge 2014-09-16 08:43:45 +05:30
Adrian Aichner
56aa88331f Bug 1064282 - Scratchpad should have statusbar like Page Source viewer. r=fitzgen
---
 browser/devtools/scratchpad/scratchpad.js          |   12 ++++++++++++
 browser/devtools/scratchpad/scratchpad.xul         |    1 +
 .../test/browser_scratchpad_run_error_goto_line.js |   11 +++++++++++
 .../chrome/browser/devtools/scratchpad.properties  |    5 +++++
 4 files changed, 29 insertions(+), 0 deletions(-)
2014-09-15 17:18:16 -07:00
Tooru Fujisawa
0d723a1261 Bug 1041426 - Make error message for unexpected token more clear. r=jwalden 2014-09-09 19:08:14 +09:00
Adrian Aichner
484bc426c5 Bug 1058183 - Expose code folding as an option for all editor instances. r=bgrins 2014-09-12 13:36:00 +02:00
Manish Goregaokar
ba82f04af0 Bug 1028903 - Improve self-xss warning message for Scratchpad. r=jwalker 2014-08-14 07:03:00 -04:00
Nathan Froyd
528da1d828 Bug 1045118 - move install rules in browser/devtools/*/Makefile.in to moz.build; r=mshal 2014-07-28 12:36:04 -04:00
Nathan Froyd
cedbc07ce0 Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Alexandre Poirot
6188942e57 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Panos Astithas
13dc8c6704 Wait for scratchpad to finish before ending the test (bug 985423). r=me 2014-07-17 16:58:59 +03:00
J. Ryan Stinnett
2385f67a74 Bug 1039457 - Allow yelling in Scratchpad (Shift-Space). r=robcee 2014-07-16 07:11:00 +02:00
Boris Zbarsky
347a46200d Bug 857648 part 5. Expose a .stack property on DOMExceptions. r=khuey 2014-07-04 01:25:16 -04:00
Brian Grinstead
3a52fe6376 Bug 1031472 - Automatically reload all preferences in source editor. r=vporof,harth 2014-07-07 13:52:00 +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
Wes Kocher
22a38eca10 Merge m-c to fx-team a=merge 2014-06-23 19:07:22 -07:00
Panos Astithas
c5e7e90a9b Inspect primitive values in the object inspector instead of as inline comments (bug 1027424). r=rcampbell 2014-06-23 22:25:40 +03:00
Nick Fitzgerald
5b2f6f04c7 Bug 1000967 - Add source notes for |new| expression and function calls to improve source maps and debugging. r=ejpbruel 2014-06-20 13:09:00 -04:00
Panos Astithas
c61767a7b4 Remove closed connection targets from scratchpad and request a new one on evaluation (bug 949262). r=fitzgen 2014-06-17 19:49:23 +03:00
anaran
a548c13c5a Bug 1005471 - Scratchpad "Jump to line" should preset input value based on current selection, handle LINE:COLUMN as well;r+=bgrins
---
 browser/devtools/scratchpad/test/browser.ini       |    2 +
 .../browser_scratchpad_pprint_error_goto_line.js   |   66 ++++++++++
 .../test/browser_scratchpad_run_error_goto_line.js |   49 ++++++++
 browser/devtools/sourceeditor/editor.js            |   29 ++++-
 browser/devtools/sourceeditor/test/browser.ini     |    1 +
 .../sourceeditor/test/browser_editor_goto_line.js  |  130 ++++++++++++++++++++
 6 files changed, 276 insertions(+), 1 deletions(-)
 create mode 100644 browser/devtools/scratchpad/test/browser_scratchpad_pprint_error_goto_line.js
 create mode 100644 browser/devtools/scratchpad/test/browser_scratchpad_run_error_goto_line.js
 create mode 100644 browser/devtools/sourceeditor/test/browser_editor_goto_line.js
2014-06-02 15:33:20 -07:00
Manish Goregaokar
d664f9f5da Bug 994134 - Warn first time users on pasting code into the console. r=bgrins 2014-05-22 00:34:00 +02:00