Commit Graph

593 Commits

Author SHA1 Message Date
Sami Jaktholm
f9b17f9860 Bug 1009078 - Console: Represent empty slots of arrays with a placeholder label instead of commas and whitespace. r=dcamp 2014-06-27 23:48:00 +02:00
Sami Jaktholm
e1ea09398f Bug 1035198 - VariablesView: handle instances of nsIDOMNode.DOCUMENT_NODE without URLs properly. r=robcee 2014-07-19 00:17:00 +02:00
Gabriel Luong
de0613862c Bug 1035545 - Preview for new String should be ArrayLike. r=fitzgen 2014-07-21 16:24:00 +02:00
Bobby Holley
4bbb23f320 Bug 930091 - Check objects at COW membranes. r=gabor,r=msucan 2014-07-20 15:36:32 -06:00
Athena
897e16a306 Bug 977273 - Set aria-pressed state on Console filter buttons. r=robcee f=marcoz 2014-07-07 19:55: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
Panos Astithas
7f0e337c0c Re-enable browser_console_optimized_out_vars.js test after bug 957174. r=me 2014-07-07 10:19:28 +03:00
Ed Morley
5a02d4a8bb Bug 1016310 - Disable browser_console_optimized_out_vars.js for intermittent failures 2014-07-03 14:03:16 +01:00
Sami Jaktholm
acc753e273 Bug 999236 - Webconsole - Ensure anchors with a URL have a click callback defined. r=robcee 2014-05-01 10:06:00 -04:00
Panos Astithas
6884be1844 Fix a couple of races around toolbox opening and tool selection by waiting for the actual tool panel to be selected (bug 988408). r=jwalker
--HG--
extra : rebase_source : d2f51db8c202d35b2aa72f4df1669162f011d89d
2014-06-26 18:01:02 +03:00
Sami Jaktholm
7cd640146c Bug 967468 - Webconsole - autocompletion: Consider underscore and dollar as alphanumeric when determining a prefix filter to use. r=robcee 2014-05-09 09:15:00 -04:00
Wes Kocher
c0ad0c4c48 Merge m-c to inbound a=merge 2014-06-25 18:39:25 -07:00
Panos Astithas
2a1ed8f696 Avoid an Xray error in browser_webconsole_closure_inspection.js (bug 985427). r=me 2014-06-25 18:54:19 +03:00
Carsten "Tomcat" Book
47cf842c48 Merge mozilla-central to fx-team 2014-06-25 15:48:21 +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
Joe Walker
1f084bd812 Bug 1028234 - Allow command buttons to use target; r=bgrins 2014-06-25 11:21:07 +01:00
Sid Stamm
6fab94397d Bug 949533 - Remove files that test only x-csp (pre-spec-compliant) CSP implementation. r=grobinson
--HG--
extra : rebase_source : 54222391dd28863512cc0b6b0052904162a43180
2014-06-25 12:07:37 -07:00
Sid Stamm
ed2555fe27 Bug 949533 - Remove uses of x-content-security-policy and pre-spec-compliant parsing/enforcement (file changes). r=jst,grobinson
--HG--
extra : rebase_source : 0be7ad6dc09ef5b6c273748af87503b7c0d19d5b
2014-06-25 12:07:37 -07:00
Vikneshwar
2f2adc483b Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen 2014-06-14 06:49:00 -04:00
Brian Grinstead
eff8864c19 Bug 942292 - DevTools themes - make the toolbars thinner. r=vporof
CLOSED TREE
2014-06-13 09:11:32 -05:00
Ed Morley
10fddfb75d Backed out changeset 9fd9c035a76a (bug 942292) for making browser_canvas-frontend-slider-02.js fail 30-40% of the time 2014-06-13 18:45:27 +01:00
Brian Grinstead
6669d8c6ee Bug 942292 - DevTools themes - make the toolbars thinner;r=vporof 2014-06-13 09:11:32 -05: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
Connor Brem
32dc43b3b4 Bug 1005909 - Make URLs in console strings clickable. r=rcampbell 2014-06-05 16:12:00 -04:00
Sami Jaktholm
6ea8da45be Bug 989629: Show class names of DOM elements in variables view. r=past
--HG--
extra : rebase_source : ec90d5954d005f8077180f6ff5f96b4736ad5030
2014-05-29 10:50:00 +03:00
Sami Jaktholm
cf5735df15 Bug 977500: Add NodeList to the list of classes whose keys should not be sorted in VariablesView. r=past
--HG--
extra : rebase_source : 4801e884d8b5fb8b4aecd1733439c2d63ccdf456
2014-05-28 23:27:00 +03:00
Gijs Kruitbosch
cc0165806f Bug 977009 - switch to Cu.cloneInto instead of JSON.parse(JSON.stringify(foo)) because it's faster, r=vporof
--HG--
extra : rebase_source : 09dc0b502417ceb3384689f6517a4b21c46ff9d3
2014-05-26 13:25:00 +01:00
Frederik Braun
1220520f53 Bug 1013507 - adding test case for CSP-report only message in devtools (introduced in bug 1010953). r=ckerschb 2014-05-23 10:49:13 +02: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
Theo Chevalier
09a636a45c Bug 1007765 - Update string entity name for btnPageCSS.tooltip, r=jryans 2014-05-13 08:11:32 -07:00
Panos Astithas
758895e0be Add a console test for inspection of optimized out variables (bug 1004562). r=vporof
--HG--
extra : rebase_source : e86a2000d30e58b3ec17ab64bfcd0ac7fed29e5b
2014-05-13 16:16:44 +03:00
Andrea Marchesini
e3571cd697 Bug 1006027 - ConsoleAPI uses timestamps in msecs, r=bz 2014-05-12 18:03:55 +01:00
Rob Campbell
82218357e2 Bug 998302 - Connect to about:config instead of about:credits to avoid accessing mozilla.org when the test runs. r=robcee 2014-05-07 10:38:00 -04:00
Dão Gottwald
9155b33e7c Bug 805068 - Make browser chrome tests more self-contained by giving each test a new blank tab. r=ttaubert 2014-05-07 15:08:05 +02:00
Boris Zbarsky
c91cf3f646 Bug 997285 part 4. Drop the custom stringifier from DOMException in favor of the default one on Error.prototype. r=peterv,robcee 2014-05-05 16:01:57 -04:00
Mihai Sucan
2243d93ba9 Bug 1000243 - Console error and stack trace UI follow up. r=bgrins 2014-04-25 21:43:21 +03:00
Mihai Sucan
99643de2e4 Bug 920116 - Show full stack traces for console logged messages; r=robcee 2014-04-22 21:45:04 +03:00
Ryan VanderMeulen
5ccec8d240 Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Joe Walker
ffa9c6e99c Bug 984365 - Refactor and split out BuiltinCommands.jsm; r=mratcliffe,robcee,panos
BuiltinCommands.jsm was huge to avoid slowing things down by having many
modules loading.

To avoid splitting it up from slowing things down we want to delay loading
commands. Create [add|remove]ItemsByModule to allow us to lazily add modules,
and convert all command modules to use this.

Then break up BuiltinCommands into a set of files, for each command, and do
some refactoring to use JS files rather than JSMs and use "use strict".

--HG--
rename : browser/devtools/commandline/Commands.jsm => browser/devtools/commandline/commands-index.js
rename : browser/devtools/debugger/CmdDebugger.jsm => browser/devtools/debugger/debugger-commands.js
rename : browser/devtools/inspector/CmdInspect.jsm => browser/devtools/inspector/inspector-commands.js
rename : browser/devtools/responsivedesign/CmdResize.jsm => browser/devtools/responsivedesign/resize-commands.js
rename : browser/devtools/scratchpad/CmdScratchpad.jsm => browser/devtools/scratchpad/scratchpad-commands.js
rename : browser/devtools/styleeditor/CmdEdit.jsm => browser/devtools/styleeditor/styleeditor-commands.js
rename : browser/devtools/tilt/CmdTilt.jsm => browser/devtools/tilt/tilt-commands.js
2014-04-13 07:47:27 +01:00
Mihai Sucan
1f75b07c7f Bug 823097 - Add support for %c style formatting in the web console; r=past,bz 2014-04-10 17:59:21 +03:00
Michael Ratcliffe
e7dad953b0 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Thomas Andersen
2ad53e12cc Bug 958176 - Split console: Escape should close console sidebar (when visible) without closing split console. r=msucan 2014-04-03 17:40:26 +02:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Mihai Sucan
7d040b727b Bug 987784 - Update the browser console default prefs to match those of the web console; r=robcee 2014-03-26 13:43:27 +02: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
7719aeb0cb Bug 985425 - Fix for browser_webconsole_bug_601667_filter_buttons.js | A promise chain failed to handle a rejection - TypeError: this.webConsoleClient is null. r=benvie 2014-03-26 23:01:23 +02:00
Thomas Andersen
a8319e82df Bug 971798 - Do not enable CSS reflow logging when clicking the CSS category. r=msucan 2014-03-25 00:28:37 +01:00
Mihai Sucan
33d0c27479 Bug 972691 - Fix for intermittent browser_bug_865871_variables_view_close_on_esc_key.js | This test exceeded the timeout threshold; r=me 2014-03-25 16:31:12 +02:00
Mihai Sucan
293d8458cc Bug 984857 - Fix for intermittent browser_webconsole_output_02.js,browser_webconsole_output_03.js | This test exceeded the timeout threshold; r=me 2014-03-25 15:18:58 +02:00