Commit Graph

554 Commits

Author SHA1 Message Date
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
Patrick Brosset
957932cf2e Bug 757866 - Highlight and select DOM nodes in the web console output; r=msucan 2014-03-06 18:16:45 +01:00
Mihai Sucan
448447a0aa Bug 584733 - Code highlight all JS objects and functions in console output; r=bbenvie 2014-03-04 21:59:00 +02:00
Rob Campbell
2060482fb1 Bug 966692 - Reduce the default set of warnings we display in console; r=msucan 2014-02-20 16:16:00 -05:00
Andrea Marchesini
80210d8dab Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00: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
J. Ryan Stinnett
ca83343b85 Bug 976679 - Move event-emitter to toolkit. r=paul
--HG--
rename : browser/devtools/shared/event-emitter.js => toolkit/devtools/event-emitter.js
rename : browser/devtools/shared/test/browser_eventemitter_basic.js => toolkit/devtools/tests/mochitest/test_eventemitter_basic.html
2014-02-25 22:22:05 -06:00
Mihai Sucan
334942e502 Bug 970914 - Avoid confusion where if there's already a console client (attachConsole), we get the same WebConsoleClient instance and startListeners is not called. r=past 2014-02-25 18:47:51 +02: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
Ed Morley
ff509982d5 Backed out changeset e29ea34afb6c (bug 966692) for failures in browser_webconsole_dont_navigate_on_doubleclick.js 2014-02-25 17:01:42 +00:00
Rob Campbell
2eca362500 Bug 966692 - Reduce the default set of warnings we display in console; r=msucan 2014-02-20 16:16:00 -05:00
Mihai Sucan
fb5ab6a760 Bug 975167 - Traceback in autocompletion while debugging; r=past 2014-02-21 21:06:20 +02:00
Sami Jaktholm
e6c6df0b1f Bug 915141 - WebConsole: Listen to the 'command' event of 'Log Request and Response Bodies' menuitems instead of 'click'; r=msucan 2014-02-25 13:44:36 +02:00
Sami Jaktholm
88b40eabaa Bug 975707 - Links in Console load in Console's view on double-click, breaking Console till reopen; r=msucan 2014-02-25 13:44:36 +02:00
Mihai Sucan
4ada48fe50 Bug 952190 - Pretty output for native objects from chrome windows; r=past 2014-02-19 14:33:56 +02:00
Mihai Sucan
7742d28613 Bug 955820 - console.group doesn't group messages when timestamps are disabled; r=robcee 2014-02-18 22:10:41 +02:00
Henri Kinnunen
394c0be056 Bug 922161 - hide Browser Console JS input field if devtools.chrome.enabled is false; r=msucan 2014-02-19 14:38:39 +02:00
Dennis Schubert
2a39d73b6f Bug 922208 - Add console.count; r=msucan 2014-02-17 21:58:19 +02:00
Masayuki Nakano
b3b19a9e2f Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Mihai Sucan
2a3abe1675 Bug 970884 - Fix for intermittent browser_webconsole_bug_589162_css_filter.js | Timed out while waiting for: css error displayed; r=me 2014-02-12 14:44:01 +02:00
Mihai Sucan
6ae5a5d438 Bug 919072 - Fix for intermittent TEST-UNEXPECTED-FAIL | browser_webconsole_bug_601352_scroll.js | scroll location is not at the top - Didn't expect 0, but got it; r=me 2014-02-11 13:01:42 +02:00
Mihai Sucan
2de8056cf0 Bug 964684 - Fix for intermittent TEST-UNEXPECTED-FAIL | browser_webconsole_bug_642108_pruneTest.js | Test timed out; r=me 2014-02-10 21:29:13 +02:00