Commit Graph
54 Commits
Author SHA1 Message Date
Nick Fitzgerald f38360ddbb Bug 1200446 - Add a method for saving heap snapshots to MemoryActor; r=jryans 2015-09-04 18:36:52 -07:00
James Long 473d28cc49 Bug 1177891 - Introduce redux-style UI architecture in the debugger and refactor event listeners to use it. r=fitzgen 2015-08-28 07:27:00 -04:00
Sami Jaktholm f5a6e50b0a Bug 1181345 - Make DevToolsUtils.fetch work with files that are not UTF-8 encoded. r=past
These changes restore the previous behavior in which the data is decoded
according to a locale specific default charset if the UTF-8 conversion fails.
This allows the method to properly decode both UTF-8 data and data that has
been encoded with the locale default charset (ISO-8859-1 in most cases) without
any charset hints from the source.

The conversion is now a two step process:
1. Convert the stream content to a string using the locale specific encoding.
2. Try reinterpret the data according to UTF-8 rules. If it succeeds, return
   the conversion result. If it fails, return the original string.
2015-07-11 13:45:59 +03:00
J. Ryan Stinnett a6fbc65a71 Bug 1178851 - Remove unused send_after_paint_to_content pref flipping. r=pbrosset 2015-07-02 04:56:58 -05:00
J. Ryan Stinnett 7e2158acc2 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Florent Fayolle 23e5abb617 Bug 1050691 - Click on a function on the console should go to the debugger. r=jlongster 2015-06-20 08:47:00 +02:00
Sami Jaktholm a96a067d9f Bug 1170864 - Refactor DevToolsUtils.fetch to use NetUtil more extensively and make it fall back to OS.File if a local file cannot be read. r=past
The method was using NetUtil or IOService based on the scheme of the given
URL. Due to changes in NetUtil since the code was originally written these two
code paths are doing the same thing now. These changes unify the two cases into
a single one which
* creates a channel for the given URL and works around some problems in
  xpcshell-tests
* sets loading options on the channel and
* leaves the fetching, stream reading and charset conversion to NetUtil.

It also adds code to work around bug 982654 which causes the stream to
throw if the file is empty. If a file cannot be read by the file:// handler, it
will try to use OS.File.read which handles empty files properly. This is only
used as a fallback as OS.File doesn't provide the content type for the file
required by the method.
2015-06-18 21:17:33 +03:00
Eddy Bruël 49c9c0f79a Bug 1168853 - Implement (Worker)SourceActor.source;r=jlong 2015-06-17 17:22:18 +02:00
Nick Fitzgerald 2e6b4d6998 Bug 1173558 - Give a better last ditch fallback to DevToolsUtils.safeErrorString. r=jlongster 2015-06-10 15:15:00 -04:00
Tom Tromey a4d7a5bc76 Bug 1168088 - Remove SpiderMonkey-specific syntax from toolkit/devtools. r=pbrosset 2015-05-28 11:54:00 -04:00
Eddy Bruël 0c99dacfc0 Bug 1164564 - Clean up the worker loader;r=jlong 2015-05-26 11:00:49 +02:00
Ryan VanderMeulen e6f85b1f9e Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-22 14:18:25 -04:00
Panos Astithas 6fae51bbc0 Bug 1163024 - Part 1: Stylesheet actors should use the common DevToolsUtils.fetch(). r=bgrins 2015-05-22 09:09:43 +03:00
Christoph Kerschbaumer 3c253c09de Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Christoph Kerschbaumer 488701ac82 Bug 1138650 - Update remaining callsites to use newChannel2 in toolkit/devtools (r=jryans) 2015-03-09 20:05:49 -07:00
J. Ryan Stinnett 567b52e246 Bug 1126350 - Settle all toolbox destruction before final cleanup. r=pbrosset 2015-02-10 12:37:21 -06:00
Christoph Kerschbaumer 59a8f07ddf Bug 1124951: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/devtools (r=jryans) 2015-01-26 19:54:52 -08:00
Alexandre Poirot e420488a44 Bug 1098391 - Best effort to load debugger server dependencies lazily. r=jryans 2014-12-22 10:48:00 -05:00
Nick Fitzgerald 1cce89d39f Bug 1106695 - Part 1: Add toolkit/devtools/server/actors/utils/ScriptStore.js. r=jlongster 2014-12-19 14:40:55 -08:00
James Long edda82574b Bug 905700 - use Debugger.Source in the debugger backend and reference source actors instead of URLs in the frontend r=fitzgen 2014-11-25 15:02:39 -08:00
Jan Odvarko fb38ee51e3 Bug 977443 - Implement an actor that defines new actors. r=ochameau 2014-10-03 12:49:00 +01:00
James Long db4e8bb720 Bug 1094965 - Move 'fetch' from the script actor to DevToolsUtils. r=fitzgen 2014-11-06 10:31:00 -05:00
Alexandre Poirot 1d9e0ffb72 Bug 1013997 - Use only one compartment for all devtools modules. r=mossop, r=past 2014-07-07 06:07:00 -04:00
Eddy Bruel 072f994a7f Bug 1003095 - Clean up how we provide several APIs;r=past 2014-06-17 21:51:43 +02:00
Eddy Bruel 9952953102 Bug 1003905 - Refactor DevToolsUtils.js to be worker friendly; r=past 2014-06-10 20:35:51 +02:00
Eddy Bruel cbbd0993c2 Bug 1003095 - Copy the lazy getter functions from XPCOMUtils.jsm to DevToolsUtils.js;r=past 2014-05-21 15:08:24 +02:00
J. Ryan Stinnett 0ed5e93e63 Bug 797639 - Part 1: Bulk data support in the transport layer. r=jimb 2014-05-14 14:30:02 -05:00
Dave Townsend 8ed3b4fbf7 Bug 993029: Create an add-on console actor that will be displayed in the console tab of the add-on debugger. r=msucan, r=Unfocused, r=past 2014-05-01 08:36:01 -07:00
80f88cecca Bug 859372 - Make Timer a built-in module; r=past 2014-04-24 13:15:58 +02:00
Bobby Holley de122e7d49 Bug 998083 - Introduce Cu.getObjectPrincipal and kill nsIScriptSecurityManager::GetObjectPrincipal. r=gabor 2014-04-19 10:39:59 -07:00
cbecada6ff Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-04-17 20:47:28 +02:00
098556f25a Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-04-10 20:44:54 +02:00
Victor Porof 44be8a9e11 Bug 917226 - Build a canvas inspection tool, r=rcampbell, jryans 2014-03-29 13:01:37 -04:00
Ed Morley 7b7e69675a Backed out changeset 894e40121370 (bug 917226) for browser-chrome failures; DONTBUILD since fixing commit message
CLOSED TREE
2014-03-27 19:09:29 +00:00
Ed Morley 94fd0585ad Backed out changeset 7b9fab28c591 (bug 917226) for incorrect commit message generated by qbackout; DONTBUILD 2014-03-27 19:07:31 +00:00
Victor Porof 1e99cd89c2 Bug 917226 - Build a canvas inspection tool, r=rcampbell 2014-03-27 18:57:16 +00:00
Victor Porof edb8b333ef Backed out changeset 882b91ce5a9f, as a relanding of Bug 917226, r=me 2014-03-27 12:24:00 -04:00
Ed Morley 773b2fdd6c Backed out changeset 894e40121370 (bug 917226) for mochitest-chrome failures 2014-03-27 16:11:59 +00:00
Victor Porof 8f4d59d943 Bug 917226 - Build a canvas inspection tool, r=rcampbell 2014-03-27 10:21:37 -04:00
Panos Astithas 52158be97b Bug 986481 - Expose Promise.jsm promises as a devtools loader global. r=dcamp 2014-03-14 11:33:09 +02:00
a31e73a968 Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
Mihai Sucan 5f1ad53487 Bug 952190 - Pretty output for native objects from chrome windows; r=past 2014-02-19 14:33:56 +02:00
Victor Porof c3547987c8 Bug 964700 - Make the errors logged by Parser.jsm also contain the problematic source url, r=past 2014-01-28 12:31:51 +02:00
Carsten "Tomcat" Book fd5b12ac55 Backed out changeset a76a4f921987 (bug 964700) for XPC Bustage on a CLOSED TREE 2014-01-28 14:03:38 +01:00
Victor Porof bfc0d9228b Bug 964700 - Make the errors logged by Parser.jsm also contain the problematic source url, r=past 2014-01-28 13:24:45 +02:00
Alexey Novak d0067989e8 Bug 956804 - Use DevToolsUtils.reportException in Parser.jsm; r=fitzgen 2014-01-23 09:55:16 -08:00
Mihai Sucan c49c32da2e Bug 843004 - Part 2: ObjectActor grip changes to allow pretty output; r=benvie,past 2013-12-19 15:04:59 +02:00
Nick Fitzgerald 3930bddb92 Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00
Mihai Sucan 7c7f75e7e0 Bug 943496 - Autocomplete should execute native getters; r=past 2013-12-03 15:32:41 +02:00
Brandon Benvie f83c8046a2 Bug 926725 - Create DevToolsUtils.defineLazyPrototypeGetter and use it in VariablesView Scopes. r=fitzgen, r=vp 2013-10-15 09:49:15 -07:00