Commit Graph

581 Commits

Author SHA1 Message Date
Wes Kocher
f971e62aa1 Merge m-c to inbound a=merge 2014-06-25 18:39:25 -07:00
Panos Astithas
ed3ad80b09 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
140c0fba92 Merge mozilla-central to fx-team 2014-06-25 15:48:21 +02:00
Jim Blandy
b6b202b6bb 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
23e8b27ae9 Bug 1028234 - Allow command buttons to use target; r=bgrins 2014-06-25 11:21:07 +01:00
Sid Stamm
efecf0c3c9 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
a08dda43a7 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
880745a0e3 Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen 2014-06-14 06:49:00 -04:00
Brian Grinstead
05c013ceaa Bug 942292 - DevTools themes - make the toolbars thinner. r=vporof
CLOSED TREE
2014-06-13 09:11:32 -05:00
Ed Morley
12846bb9fa 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
8b0f429a75 Bug 942292 - DevTools themes - make the toolbars thinner;r=vporof 2014-06-13 09:11:32 -05:00
Bobby Holley
83475d1d2e 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
9dddfe29e9 Bug 1005909 - Make URLs in console strings clickable. r=rcampbell 2014-06-05 16:12:00 -04:00
Sami Jaktholm
db6ed74430 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
7a8b5ac404 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
39bfeb1084 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
a2e4c55419 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
7417eed39f 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
1dc91cd255 Bug 1007765 - Update string entity name for btnPageCSS.tooltip, r=jryans 2014-05-13 08:11:32 -07:00
Panos Astithas
ab9abfb79a 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
23c4216ab7 Bug 1006027 - ConsoleAPI uses timestamps in msecs, r=bz 2014-05-12 18:03:55 +01:00
Rob Campbell
52cde19343 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
ec98c17ca6 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
691850628c 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
8353a4c6e1 Bug 1000243 - Console error and stack trace UI follow up. r=bgrins 2014-04-25 21:43:21 +03:00
Mihai Sucan
c286e981b0 Bug 920116 - Show full stack traces for console logged messages; r=robcee 2014-04-22 21:45:04 +03:00
Ryan VanderMeulen
a173d38497 Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Joe Walker
c7aa2eafde 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
1a68c96366 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
9955c9a298 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Thomas Andersen
de83a2f3ac 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
763885adb1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Mihai Sucan
2882c4003c 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
377926b7ae 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
5a34d4b95a 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
a2947b3f9e 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
27b7a8b1ac 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
a87f85abdc 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
8a0400f426 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
51e1cbcb46 Bug 962931 - Request longer timeout for browser_webconsole_split.js. r=msucan 2014-03-24 10:25:33 -05:00
Mihai Sucan
89bf7aacd8 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
15eb9a1372 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
5fca4a77ac 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
8b2a177038 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
cda31b76f2 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
f01991e767 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
35a39d4613 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Michael Ratcliffe
6669081e79 Bug 663778 - Tests: Charsets to utf-8 r=jwalker 2014-03-12 14:00:13 +00:00
Ryan VanderMeulen
02e033058e 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
539b062710 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00