Commit Graph

89 Commits

Author SHA1 Message Date
Ian Neal
f5e40d1ccd Bug 1177381 - View source from error console uses deprecated API. r=neil 2015-07-27 10:07:00 -04:00
Birunthan Mohanathas
fe337d7c5e Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Geoff Lankow
b7c235f031 Bug 1138336 - Adapt nsIScriptError so it can display log messages with filename and line number; r=jst,neil,past 2015-04-28 18:39:47 +12:00
Jim Blandy
39dc0c6097 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
Neil Rashbrook
fa958b1e28 Bug 856571 Move accesskey for Error Console's filter box back r=dao 2013-04-03 16:31:41 +01:00
Cykesiopka
b10a249ff7 Bug 799089 - Remove error console filter timeout hack. r=Neil 2013-04-01 10:37:50 -04:00
Cykesiopka
a887822224 Bug 801266 - Add label next to Error Console's filter box. r=dao 2013-03-27 13:56:40 -04:00
Cykesiopka
2c461d3a1b Bug 800522 - Add javascript.options.showInConsole to all.js so that Error Console can use a field instead of rolling its own lazy getter. r=Neil 2013-03-27 11:49:02 -04:00
Jared Wein
d22f071960 Bug 841712 - Copy in Error Console has shows source code instead of line number. r=neil 2013-02-15 20:17:59 -05:00
Ehsan Akhgari
5ab06de081 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium 2013-01-29 13:12:13 -05:00
Jared Wein
1ec752c874 Bug 831020 - Errors in the error console with very long reference lines hang the browser. r=neil 2013-01-23 13:10:07 -05:00
Seth Fowler
d917af9530 Bug 796179 - Don't store full source URI in an attribute in the error console, and display it in abbreviated form to the user. r=rcampbell r=Neil 2012-11-12 11:50:03 -08:00
Neil Rashbrook
2c2100dc8b Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan 2012-11-03 10:59:29 +00:00
Ryan VanderMeulen
6475737e98 Backout 06b998c1100d (bug 664695) due to mochitest-other orange. 2012-11-02 17:12:22 -04:00
Neil Rashbrook
34eea29bb2 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg 2012-11-02 20:07:50 +00:00
Andres Hernandez
8593b1934f Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-19 15:52:21 -06:00
Josh Matthews
87d161c755 Backed out changeset 12002e126b39 (bug 769298) 2012-10-18 17:27:23 -04:00
Andres Hernandez
5a8d02fcc9 Bug 769298 - Avoid logging script errors coming from private windows in the global error console 2012-10-18 00:24:56 -06:00
aceman
50cc3bfa5b Bug 711723 - Move the timestamp in the Error console to the left and on the same line as message text. r=Neil 2012-10-11 21:31:38 -04:00
aceman
2c8cec4cb5 Bug 799653 - Convert Error console to Services.jsm. r=gavin 2012-10-10 21:11:15 -04:00
Dão Gottwald
a23061af09 Bug 799084 - Error console filter shouldn't be applied on input. r=neil 2012-10-10 22:31:01 +02:00
Dão Gottwald
545edc1a2e Bug 799081 - Bar at the bottom of the error console should be a <statusbar>. r=neil 2012-10-10 22:30:36 +02:00
Tom Schuster
9da2a06b1b Bug 763821 - Move the filter box to the bottom of the error console. r=jaws 2012-10-07 20:56:11 -04:00
Ehsan Akhgari
f4bd388765 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Neil Rashbrook
3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Tom Schuster
fa5981d8bc Bug 764346 - Let Error Console filter match more properties like source, line. r=jaws 2012-06-19 17:24:58 +02:00
Geoff Lankow
25d09c3e64 Bug 764333 - Link from error console to view source doesn't work for errors in subscripts; r=Unfocused 2012-06-14 21:20:06 +12:00
Tom Schuster
92f7b5bd2a Bug 760951 - Add a filter box to the error console. r=jaws 2012-06-07 17:22:34 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Vivien Nicolas
8cc5af1825 Bug 748895 - Error message if an error message arrived after the destruction of the console binding. r=enndeakin 2012-05-04 20:05:40 +02:00
aceman
e7f0a658cf Bug 122213 - Display time and date of messages in toolkit's Error Console. r=neil sr=bz 2011-12-17 05:22:26 +01:00
Gavin Sharp
9b4c610329 Bug 574137: move HUDService styling to toolkit/themes, avoid setting incorrect class names on toolbar buttons, and remove toolbar style rules that conflict with the browser styling, r=dao 2010-06-24 20:16:35 -04:00
David Dahl
e7330a6a6f Bug 573845 - open the console to a percentage of the browser window height, p=ddahl, r=dietrich 2010-06-23 12:30:51 -03:00
def7472070 Bug 534398 - Implement Heads Up Display console, js workspaces and related tools (r=dietrich, r=mrbkap) 2010-06-22 09:51:50 -07:00
Dão Gottwald
53a30b9b4c Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
L. David Baron
12aaccb6f5 Backed out changeset b805434e7e4b (bug 534398) for causing leaks on (debug) mochitest-other. 2010-06-19 14:15:27 -07:00
7154ad4f3f Bug 534398 - Implement Heads Up Display console, js workspaces and related tools (r=dietrich, r=mrbkap) 2010-06-19 13:17:44 -07:00
Dietrich Ayala
f5faa27040 Backed out changeset 552ea4bd4e59 2010-06-18 16:21:43 -07:00
92d277bb1e Bug 534398 - Implement Heads Up Display console, js workspaces and related tools (r=dietrich, r=mrbkap) 2010-06-18 16:18:16 -07:00
Neil Deakin
5cc1ab5ff7 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
Michael Kaply
a5cba96aeb Bug 329882 - "bc has no properties console.js" [r=benjamin] 2009-06-14 01:32:45 -07:00
Ehsan Akhgari
7c76c10e5f Bug 479588 - Error console's text box should always be LTR; r=dao 2009-03-09 00:42:21 +03:30
Markus Stange
ae446c27b8 Bug 456214 - Polish toolbar buttons in the Add-ons Manager, Page Info dialog and Error Console, r=dao 2008-12-04 14:36:24 +01:00
Markus Stange
5343c60877 Bug 398928 - Allow moving a window by dragging toolbar or statusbar, r=enndeakin 2008-10-18 11:57:46 +02:00
Simon Bünzli
29a0ed8442 Bug 331940 - Should be able to pass a line number to the external viewer/editor. r=gavin 2008-09-08 14:06:06 +02:00
624c87eedd Bug 364536 - Mac theme does not support RTL. r=mconnor, a=beltzner 2008-04-23 05:08:52 -07:00
fa9a9f2bc1 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 01:44:35 -08:00
7713403af1 Bug 415901 - "Error console should respect line breaks in error messages" [p=trev.moz@adblockplus.org (Wladimir Palant) r=gavin a1.9=damons] 2008-02-26 01:54:42 -08:00