Commit Graph
35 Commits
Author SHA1 Message Date
Nounours Heureux ae44723103 Bug 1130045 - Hyphenated properties are no more listed in the webconsole suggestions. r=past 2015-03-05 08:23:00 +02:00
Brian Grinstead 6a80bfd719 Bug 1134845 - Add clearHistory jsterm helper to remove persisted console input history. r=past 2015-02-20 14:57:00 -05:00
David Rajchenbach-Teller 64d79d5574 Bug 1005870 - Adding a copy() command to the console;r=robcee 2015-02-04 18:53:40 -08:00
Tom Tromey 3d6af1941a Bug 1050000 - check "result" against undefined before use. r=past 2014-10-15 09:11:00 +02:00
Bobby Holley 6611820bf3 Bug 1051224 - Use the opt-out for the webconsole helpers. r=ochameau 2014-09-03 13:02:36 -07:00
Nick Fitzgerald 52ffeb39a8 Bug 1024054 - Create a previewer for ES6 Symbol. r=past 2014-08-25 11:07: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
Brian Grinstead e3388c242d Bug 998344 - Prevent console autocompletion on objects with a large number of properties. r=msucan 2014-08-06 07:56:00 -04:00
Manish Goregaokar 7ad7c52424 Bug 1015314 - Reduce self-xss prevention threshhold to 5. r=jwalker 2014-07-31 22:05:00 -04:00
Mike Conley 97c55596d7 Bug 787975 - Make JSTerm $0 helper work across content processes. r=msucan. 2014-07-31 13:07:27 -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
Bobby Holley caf584913c Bug 1020609 - Fix up webconsole. r=past
The basic setup is that Object (and now Array) Xrays apply various heuristics
to try to filter out dangerous properties from the underlying object. This
includes accessor properties, shadowing properties, callables, and non-Xrayable
objects. We need to make various fixes on the devtools side to keep this stuff
working.

Also, it would be nice if the tests were designed in such a way that a failed
string match didn't cause the whole test to hang without a useful error message.
2014-06-11 15:16:06 -07:00
Manish Goregaokar ae39798565 Bug 1017654 - Disable self-xss warning if chrome debugging is enabled. r=jwalker 2014-05-31 14:10:00 -04: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
Brian Grinstead 6d819029cd Bug 998344 - Console input is slow when accessing large Uint8Array object properties. r=robcee 2014-05-15 12:07:00 -04:00
Shu-yu Guo 462fddeb3c Bug 1007164 - Throw on touching sentinel values in DebugScopeProxy by default but allow Debugger.Environment.prototype.getVariable access. (r=jimb) 2014-05-08 21:30:50 -07:00
Dave Townsend 8ed3b4fbf7 Bug 993029: Create an add-on console actor that will be displayed in the console tab of the add-on debugger. r=msucan, r=Unfocused, r=past 2014-05-01 08:36:01 -07:00
Dave Townsend 218277690a Bug 993520: Add innerID option to ConsoleAPI to allow creating consoles for specific DOM windows. r=msucan 2014-04-15 10:35:30 -07:00
Mihai Sucan 6dc37e3f4a Bug 989025 - WebConsole breaks when trying to autocomplete in objects from different domains; r=past 2014-03-27 23:15:29 +02:00
Mihai Sucan c1e24d5e4c Bug 917227 - Part 2: network monitor server changes to add support for Firefox OS; r=ochameau 2014-03-10 20:57:27 +02:00
Sami Jaktholm 44d7827ac8 Bug 943586: Add autocompletion suggestions for members of arrays; r=msucan 2014-03-07 13:32:41 +02:00
Andrea Marchesini 5b068fdba3 Bug 965860 - patch 1 - Convert ConsoleAPIStorage in a Service, r=msucan, r=khuey 2014-02-27 23:38:54 +00:00
Mihai Sucan f2f6bc1d0b Bug 609872 - Ability to execute code in sub-documents (iframes/frames); r=past 2014-02-25 22:02:58 +02:00
Mihai Sucan 9a983c6714 Bug 975167 - Traceback in autocompletion while debugging; r=past 2014-02-21 21:06:20 +02:00
Paul Rouget fa939323cd Bug 896523 - In Firefox, Console.log does not work from apps launched within the system app. r=msucan 2014-01-24 08:33:31 -05:00
Patrick Brosset 6c50b3a034 Bug 916443 - part 1 - Toolbox level remote highlighter [Australis], r=paul 2014-01-09 12:36:01 +01:00
Mihai Sucan fce426d54e Bug 843004 - Part 3: VariablesView ObjectActor pretty output; r=benvie,vporof 2013-12-18 20:17:05 +02:00
Mihai Sucan 7c7f75e7e0 Bug 943496 - Autocomplete should execute native getters; r=past 2013-12-03 15:32:41 +02:00
Christos Stathis 4e931e3005 Bug 842682 - Use the debugger API for autocomplete and provide suggestions from the selected stackframe scope; r=msucan 2013-11-26 20:42:02 +02:00
Girish Sharma c7a6d3002c Bug 900415 - Should be able to open the autocompletion popup at an offset from the anchor node. r=msucan 2013-11-09 18:06:23 +05:30
Paul Rouget e42723c1a1 Bug 926371 - show reflow events in the webconsole. r=msucan 2013-10-22 08:43:00 +01:00
Mihai Sucan 08fa4d93ae Bug 760876 - Part 1: switch from XUL to XHTML for the Web Console output; r=robcee,paul 2013-09-13 15:06:46 +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
Brandon Benvie 06b670af5c Bug 897256 - Add Debugger Protocol support for NaN, Infinity, and -Infinity. r=dcamp 2013-08-12 10:15:22 -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