Commit Graph

143 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Brandon Benvie
9d4bb9f734 Bug 968896 - Add tern support to source editor to provide autocompletion and type inference. r=vp, r=anton, r=fitzgen 2014-04-16 13:49:28 -07:00
Vikneshwar
1b6622a63a Bug 998065 - Added 0o prefix to octal numbers; r=froydnj 2014-04-22 11:53:00 +02:00
Ryan VanderMeulen
66b14f4f7d Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Michael Ratcliffe
4cc10271fe Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Ed Morley
463448ce87 Merge mozilla-central and fx-team 2014-04-02 18:25:23 +01:00
Willian Gustavo Veiga
69eea7d0b8 Bug 953206 - Add a Scratchpad view menu. r=benvie, r=anton 2014-04-02 11:17:21 -04:00
Mark Hammond
d5b24aae08 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Ehsan Akhgari
861b8d8340 Bug 989226 - Double the test timeout 2014-03-30 09:45:28 -04:00
Michael Ratcliffe
6a28402ad5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 21:27:10 +00:00
Michael Ratcliffe
2b3238df82 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Ryan VanderMeulen
c633e65783 Backed out 6 changesets (bug 663778) for browser_dbg_listtabs-02.js leaks on a CLOSED TREE.
Backed out changeset cbd200206f9b (bug 663778)
Backed out changeset b0b74401e614 (bug 663778)
Backed out changeset df5255cffbfa (bug 663778)
Backed out changeset e6d0dd124356 (bug 663778)
Backed out changeset 134f77474941 (bug 663778)
Backed out changeset 456609873c5f (bug 663778)
2014-03-13 13:56:22 -04:00
Michael Ratcliffe
f4a47052ae Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00
Michael Ratcliffe
c925e482b5 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Conrad Irwin
4cb87aea24 Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Phil Ringnalda
68c2596596 Back out 43663582cfdb (bug 987404) because it looks like it disabled things even without e10s being defined 2014-03-30 23:18:57 -07:00
Mark Hammond
c7db2d7aca Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Vikneshwar
4208c5a3e9 Bug 957072 - Add Pretty Print to Scratchpad Menu. r=robcee 2014-02-08 21:02:11 -05:00
Brandon Benvie
7614a4731d Bug 941591 - No line numbers for Syntax Errors; r=benvie 2014-02-04 12:54:26 -08:00
Mihai Sucan
95e2540afe Bug 939783 - console.trace() group traces even if part of trace is different; r=robcee 2014-01-23 23:37:32 +02:00
Peiyong Lin
f5f2f8215a Bug 942774 - Fix files loaded into scratchpad to be recognized as "saved". r=benvie 2014-01-22 10:23:21 -08:00
Rob Campbell
e9eb577dc0 Bug 961767 - Remove dead toggleWebConsole method from hudservice.js; r=msucan 2014-01-21 12:40:00 -05:00
Brandon Benvie
f6899b3904 Bug 943672 - Convert to Promise.jsm in Scratchpad. r=anton 2013-12-02 14:09:11 -08:00
Peiyong Lin
78a4446db5 Bug 941089 - Remove __noSuchMethod__ from browser/devtools/scratchpad/test/browser_scratchpad_ui.js. r=bbenvie 2013-11-26 14:21:59 -05:00
Dan Koepke
70ad570bea Bug 940016 - Add Run and Reload to Scratchpad context menu. r=bbenvie 2013-11-21 09:32:55 -05:00
Anton Kovalyov
152f8d8560 Bug 929766 - Remove Orion from the SourceEditor component. r=msucan 2013-11-19 15:53:13 -08:00
Nick Fitzgerald
abd4e6b1db Bug 922812 - Add an 'eval current top level function' command to scratchpad; r=past 2013-11-19 15:17:40 -08:00
Wes Kocher
e48f37563f Backed out changeset 71dc115fe230 (bug 929766) for other m-bc bustage on what I'm guessing is a CLOSED TREE 2013-11-18 16:03:13 -08:00