Commit Graph

575 Commits

Author SHA1 Message Date
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
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
Mihai Sucan
00ad005d0d Bug 950430 - Potential fix for intermittent browser_webconsole_chrome.js | Test timed out; r=me 2014-03-25 14:34:05 +02:00
Brian Grinstead
e042206a19 Bug 962931 - Request longer timeout for browser_webconsole_split.js. r=msucan 2014-03-24 10:25:33 -05:00
Mihai Sucan
d544fb9b67 Bug 982627 - Fix for intermittent browser_webconsole_bug_580030_errors_after_page_reload.js | Timed out while waiting for: error message after page reload; r=me 2014-03-20 15:16:58 +02:00
Mihai Sucan
830923eeac Bug 982231 - Fix for intermittent browser_console_variables_view.js | Timed out while waiting for: property deleted; r=me 2014-03-20 14:44:06 +02:00
Mihai Sucan
20d538d585 Bug 969724 - Fix for intermittent browser_webconsole_bug_597136_external_script_errors.js | Timed out while waiting for: external script error message; r=me 2014-03-20 14:29:54 +02:00
Patrick Brosset
167625321c Bug 983614 - Clean-up empty spaces when displaying concise DOMNodes in the webconsole output; r=msucan 2014-03-19 15:02:11 +01:00
Seth Fowler
8985faa373 Bug 981241 - Make the CSS category in the web console more flexible. r=msucan
--HG--
extra : rebase_source : b16bc990f1e8077ea0363626a63874c13fca4aff
2014-03-17 11:26:37 +08:00
Michael Ratcliffe
dabaac4db5 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
43388cd236 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Michael Ratcliffe
64701bba07 Bug 663778 - Tests: Charsets to utf-8 r=jwalker 2014-03-12 14:00:13 +00:00
Ryan VanderMeulen
991e5c8bc3 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
39a70a90a5 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
eb6c7c9e1d Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Michael Ratcliffe
ba611f6bd4 Bug 663778 - Tests: Charsets to utf-8 r=jwalker 2014-03-12 14:00:13 +00:00
Mihai Sucan
95d4abe349 Bug 979628 - Fix for intermittent browser_webconsole_output_01.js | This test exceeded the timeout threshold; r=me 2014-03-11 13:32:33 +02:00
Mihai Sucan
bf5b093258 Bug 980835 - Fix for intermittent | browser_webconsole_output_dom_elements_02.js | The current inspector selection is correct - Got [object HTMLParagraphElement], expected [object HTMLBodyElement]; r=me 2014-03-08 23:13:59 +02:00
Patrick Brosset
c2bf773173 Bug 757866 - Highlight and select DOM nodes in the web console output; r=msucan 2014-03-11 12:21:20 +02:00
Ed Morley
10aebf48c2 Backed out changeset dcec4c42cd18 (bug 757866) for bug 980835 2014-03-07 15:05:31 +00:00