Commit graph

32 commits

Author SHA1 Message Date
Tom Tromey
63cb39a7c8 Bug 1050000 - check "result" against undefined before use. r=past 2014-10-15 09:11:00 +02:00
Bobby Holley
89a7eacff5 Bug 1051224 - Use the opt-out for the webconsole helpers. r=ochameau 2014-09-03 13:02:36 -07:00
Nick Fitzgerald
152c74b8e9 Bug 1024054 - Create a previewer for ES6 Symbol. r=past 2014-08-25 11:07:00 +02:00
Manish Goregaokar
a442e0403a Bug 1028903 - Improve self-xss warning message for Scratchpad. r=jwalker 2014-08-14 07:03:00 -04:00
Brian Grinstead
b48a9ddb65 Bug 998344 - Prevent console autocompletion on objects with a large number of properties. r=msucan
--HG--
extra : rebase_source : 6ea291d29775b4894f084e93f533a3ca5ddfb33e
2014-08-06 07:56:00 -04:00
Manish Goregaokar
db7bbc6f71 Bug 1015314 - Reduce self-xss prevention threshhold to 5. r=jwalker 2014-07-31 22:05:00 -04:00
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
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
Bobby Holley
7e0a351dcf 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
bc8dd4b019 Bug 1017654 - Disable self-xss warning if chrome debugging is enabled. r=jwalker 2014-05-31 14:10:00 -04:00
Manish Goregaokar
de4be8677c Bug 994134 - Warn first time users on pasting code into the console. r=bgrins
--HG--
rename : browser/devtools/webconsole/test/browser_webconsole_bug_642615_autocomplete.js => browser/devtools/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js
2014-05-22 00:34:00 +02:00
Brian Grinstead
da645d3a98 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
327120e195 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
7f17ca3889 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
3371a6fa4a 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
b143b17223 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
f064c86ef0 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
d6607bf77e Bug 943586: Add autocompletion suggestions for members of arrays; r=msucan 2014-03-07 13:32:41 +02:00
Andrea Marchesini
b1d122f724 Bug 965860 - patch 1 - Convert ConsoleAPIStorage in a Service, r=msucan, r=khuey
--HG--
rename : dom/base/ConsoleAPIStorage.jsm => dom/base/ConsoleAPIStorage.js
2014-02-27 23:38:54 +00:00
Mihai Sucan
366a6b8c6e Bug 609872 - Ability to execute code in sub-documents (iframes/frames); r=past 2014-02-25 22:02:58 +02:00
Mihai Sucan
180e2f4d62 Bug 975167 - Traceback in autocompletion while debugging; r=past 2014-02-21 21:06:20 +02:00
Paul Rouget
35670b7842 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
bf502a47dd Bug 916443 - part 1 - Toolbox level remote highlighter [Australis], r=paul 2014-01-09 12:36:01 +01:00
Mihai Sucan
e6218da369 Bug 843004 - Part 3: VariablesView ObjectActor pretty output; r=benvie,vporof 2013-12-18 20:17:05 +02:00
Mihai Sucan
5c9a9143a9 Bug 943496 - Autocomplete should execute native getters; r=past 2013-12-03 15:32:41 +02:00
Christos Stathis
acdcd914ad 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
4d737009eb 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
0aeb12701d Bug 926371 - show reflow events in the webconsole. r=msucan 2013-10-22 08:43:00 +01:00
Mihai Sucan
0241e322c0 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
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
Brandon Benvie
e83c084fcd Bug 897256 - Add Debugger Protocol support for NaN, Infinity, and -Infinity. r=dcamp 2013-08-12 10:15:22 -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 toolkit/devtools/webconsole/WebConsoleUtils.jsm (Browse further)