Commit Graph

131 Commits

Author SHA1 Message Date
Manish Goregaokar
11805f92cb Bug 1028903 - Improve self-xss warning message for Scratchpad. r=jwalker 2014-08-14 07:03:00 -04:00
Brian Grinstead
78d1664dc4 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
b8ccd3b59c Bug 1015314 - Reduce self-xss prevention threshhold to 5. r=jwalker 2014-07-31 22:05:00 -04:00
Mike Conley
ec48d11850 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
Nathan Froyd
4246e6b6ea 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
Nathan Froyd
c8b5989c88 Bug 1043957 - remove some libs:: rules from devtools's Makefile.ins; r=mshal 2014-07-25 09:38:15 -04:00
Alexandre Poirot
33f279d970 Bug 797621 - Generic actor event API. r=past 2014-07-07 15:40:00 +02:00
Carsten "Tomcat" Book
fffa5c68c1 Backed out changeset 161b47c4a8ad (bug 1005870) for memory leaks 2014-07-07 15:58:00 +02:00
David Rajchenbach-Teller
8ff34c6e5e Bug 1005870 - Adding a copy() command to the console. r=robcee 2014-07-04 08:10:00 +02:00
Jim Blandy
4d6a633bba 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
713c6cebe7 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
40330dab93 Bug 1017654 - Disable self-xss warning if chrome debugging is enabled. r=jwalker 2014-05-31 14:10:00 -04:00
Manish Goregaokar
8d7de30475 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
836a2db5fa Bug 998344 - Console input is slow when accessing large Uint8Array object properties. r=robcee 2014-05-15 12:07:00 -04:00
Luke Wagner
cca3db9fa5 Bug 1007383 - Include asm.js frames in JS::DescribeStack (r=jandem,robcee) 2014-05-15 12:30:45 -05:00
Ryan VanderMeulen
01c38401e9 Backed out changeset ce34c13388f2 (bug 1007383) for crashtest failures. 2014-05-15 14:23:11 -04:00
Luke Wagner
b68b74f976 Bug 1007383 - Include asm.js frames in JS::DescribeStack (r=jandem,robcee) 2014-05-15 12:30:45 -05:00
Shu-yu Guo
85ed834721 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
832c3d2cac 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
b7b501116f 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
d0358d2b4f Bug 989043 - Network monitor support for e10s. r=ochameau 2014-04-03 15:45:25 +03:00
Mihai Sucan
fa280563ff 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
a21fb3b1dc Bug 917227 - Ensure network monitor is correctly disconnected; r=ochameau 2014-03-10 23:00:48 +02:00
Mihai Sucan
dac1e2a265 Bug 917227 - Part 2: network monitor server changes to add support for Firefox OS; r=ochameau 2014-03-10 20:57:27 +02:00
Mihai Sucan
de77c8314a Bug 917227 - Part 1: network monitor client changes; r=ochameau 2014-03-07 14:14:53 +02:00
Sami Jaktholm
78e52151f2 Bug 943586: Add autocompletion suggestions for members of arrays; r=msucan 2014-03-07 13:32:41 +02:00
Andrea Marchesini
07f3b7d454 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
894ed44dbd Bug 609872 - Ability to execute code in sub-documents (iframes/frames); r=past 2014-02-25 22:02:58 +02:00
Mihai Sucan
fb5ab6a760 Bug 975167 - Traceback in autocompletion while debugging; r=past 2014-02-21 21:06:20 +02:00
Gregory Szorc
5f7ff500d3 Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Paul Rouget
1acf2f6342 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
Mihai Sucan
352331f279 Bug 961097 - Very janky regular expression introduced in bug 923856; r=bz 2014-01-17 21:46:09 +02:00
Patrick Brosset
cb863d2cfe Bug 916443 - part 1 - Toolbox level remote highlighter [Australis], r=paul 2014-01-09 12:36:01 +01:00
Mihai Sucan
ee87bf8478 Bug 956757 - JavaScript Error: 'this.readAndConvertFromStream is not a function' in network-helper.js, line: 258. r=robcee 2014-01-06 18:44:41 +02:00
Ed Morley
f5ef92b540 Merge latest green inbound changeset and mozilla-central 2014-01-06 12:51:38 +00:00
Thomas Andersen
cce7da5c24 Bug 923856 - SyntaxError: JSON.parse: unexpected character in network inspector response, r=msucan,vporof 2014-01-04 23:39:58 +02:00
Chris Peterson
4780db17f8 Bug 955890 - Part 2: Fix some undefined property warnings in DevTools JS. r=rcampbell 2013-12-31 20:18:13 -08:00
Mihai Sucan
7b4599def0 Bug 843004 - Part 3: VariablesView ObjectActor pretty output; r=benvie,vporof 2013-12-18 20:17:05 +02:00
Mihai Sucan
17ad56e44c Bug 943496 - Autocomplete should execute native getters; r=past 2013-12-03 15:32:41 +02:00
Christos Stathis
27e93d4496 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
49e4af2c06 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
Dennis Schubert
fb4a8f4cd3 Bug 921366 - Fix output for throw false/0/null/undefined in Scratchpad; r=msucan 2013-11-01 18:03:30 +02:00
Paul Rouget
deef4c74bc Bug 926371 - show reflow events in the webconsole. r=msucan 2013-10-22 08:43:00 +01:00
Ms2ger
105ce73cfa Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc
cc1da2c22a Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Ed Morley
038cae0901 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
483a776413 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Felix Crux
d01314ff24 Bug 905226 - Identify custom JSON MIME-types as text. r=vporof
MIME types that can't be identified as textual are base64 encoded before
being shown in the Network Monitor tab of the developer tools. This text
detection wasn't identifying "custom" JSON MIME-types like
"application/x-bigcorp-api-json" as being JSON, and consequently they were
shown in a rather unhelpful base64 form.

This patch extends and liberalizes the isTextMimeType method to identify
these forms correctly.
2013-09-20 10:20:44 -04:00
Mihai Sucan
bb5f28f898 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
2800c27db8 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