Commit Graph

2350 Commits

Author SHA1 Message Date
Bobby Holley
b4fdabe37d Bug 1182347 - Remove nsIPrincipal::cookieJar. r=sicking 2015-07-14 19:56:33 -07:00
Jordan Santell
5551466ab7 Bug 1159389 - Migrate profiler actor to use new form of protocol.js actors, and become a standalone module consumed by actors. r=vp, r=jryans 2015-07-13 13:20:00 -04:00
Nick Fitzgerald
398aaa808c Bug 1182278 - Update the tree's copy of the mozilla/source-map library to 0.4.4; r=jlongster 2015-07-13 20:14:20 -07:00
Wes Kocher
00bfc9f9d8 Merge inbound to m-c a=merge 2015-07-13 15:55:25 -07:00
Sami Jaktholm
1a069905a5 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.

--HG--
extra : histedit_source : df0406180eb6a9581c08e09b102f9eb523659c52
2015-07-11 13:45:59 +03:00
Carsten "Tomcat" Book
4a67c881e4 merge mozilla-inbound to mozilla-central a=merge 2015-07-13 11:51:14 +02:00
Johan K. Jensen
d44acb8846 Bug 1173158 - Fixing imgur upload error. r=jryans 2015-07-10 10:28:00 +02:00
Carsten "Tomcat" Book
bcc2bf1f0c Backed out changeset 97382f93c043 (bug 1169096) 2015-07-10 13:49:38 +02:00
Alexandre Poirot
bde8258f86 Bug 1169096 - Filter property values remotely. r=past 2015-07-10 00:21:00 -07:00
Johan K. Jensen
f0590c707a Bug 970618 - Scaled the canvas responsible for screenshots to accomodate for devicePixelRatio > 1. r=bgrinstead 2015-07-09 03:43:00 +02:00
Wes Kocher
2c7068c994 Merge inbound to central, a=merge 2015-07-09 18:01:25 -07:00
Ryan VanderMeulen
dc954fae3a Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-09 13:52:22 -04:00
Nick Fitzgerald
5921715834 Bug 1166048 - Part 2: Add a test that we can load the contents of every source mapped source produced by babel and browserify; r=jlongster 2015-07-08 14:40:14 -07:00
Nick Fitzgerald
34d3654b81 Bug 1166048 - Part 1: Do not set the sourceRoot of a source map that has all source contents embedded; r=jlongster 2015-07-08 14:40:14 -07:00
Nick Fitzgerald
e0975a4bf9 Bug 1166048 - Part 0: Upgrade the tree's copy of the mozilla/source-map library; r=jlongster 2015-07-08 14:40:14 -07:00
Brian Grinstead
d230ce6194 Bug 1175318 - Import Console.jsm for mochitests;r=ted,r=past
--HG--
extra : commitid : Jus6Z5MrRBt
2015-07-08 12:10:29 -07:00
J. Ryan Stinnett
40c8d39e82 Bug 1180996 - Basic device name on Android. r=margaret 2015-07-09 10:36:30 -05:00
J. Ryan Stinnett
a82a303f06 Bug 1180996 - Enable DevTools security on Android. r=margaret 2015-07-09 10:36:28 -05:00
J. Ryan Stinnett
cbcb16166d Bug 1171654 - Report stacks for pending requests. r=ochameau 2015-07-09 09:42:05 -05:00
Michael Ratcliffe
2cb6366763 Bug 1174751 - Make storage inspector work with local files (file:///). r=gluong 2015-07-08 05:20:00 -04:00
Brian Birtles
b7a209c153 Bug 1179111 part 3 - Make DevTools read the appropriate name property; r=pbrosset
--HG--
extra : source : 17bcfd0ff1df274c81e3c543d0d014f4f7f9d8f7
2015-07-01 14:50:49 +09:00
Masatoshi Kimura
6c8654865c Bug 1176496 - Drop support for -moz-prefixed gradients. r=dbaron 2015-07-10 00:57:50 +09:00
Carsten "Tomcat" Book
f5bf411b97 Backed out changeset 17bcfd0ff1df (bug 1179111) 2015-07-07 14:21:39 +02:00
Dragana Damjanovic
7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Brian Birtles
de24084048 Bug 1179111 part 3 - Make DevTools read the appropriate name property; r=pbrosset
--HG--
extra : commitid : 64Zag3V0MWm
extra : rebase_source : 8dccd39e8731b9708301a5b16e005f65252bde9c
2015-07-01 14:50:49 +09:00
Julian Descottes
6c650e42cf Bug 968241 - Copy outerHTML using keyboard shortcut. r=pbrosset
Copy outerHTML of the currently selected node of the inspector.
Works for ELEMENT, DOCUMENT_TYPE and COMMENT node types.

- bound "copy" event in markup-view to copy outerHTML
- added doctypeString property to NodeFront in actors/inspector.js
- markup-view.js is also using this property now
- added mochitest with dedicated html

--HG--
extra : rebase_source : 8eab78ec13fe79705d261a1883327f426e0ca576
2015-07-02 22:43:19 +02:00
Wes Kocher
d4bfbd2d16 Merge m-c to inbound, a=merge CLOSED TREE 2015-07-10 16:20:27 -07:00
Geoff Brown
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Patrick Brosset
5e907a6b52 Bug 1155927 - Make sure that browser_animation_actors_15.js waits for the transitions to end. r=test-only 2015-07-02 10:02:27 +02:00
J. Ryan Stinnett
c77f23b477 Bug 1178851 - Remove unused send_after_paint_to_content pref flipping. r=pbrosset 2015-07-02 04:56:58 -05:00
J. Ryan Stinnett
ac312da864 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Alexandre Poirot
a39c8874d2 Bug 1171416 - Document actors hierarchy. r=jryans, r=past 2015-06-30 07:15:00 -04:00
Eddy Bruël
026caca95b Bug 1171967 - Implement WorkerTarget;r=jlong 2015-06-30 22:56:26 +02:00
Jan de Mooij
976586cb5f Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
J. Ryan Stinnett
cc65c4ef3f Bug 1151414 - Link stacks across RDP client request and reply handling. r=fitzgen 2015-06-26 16:17:27 -07:00
Gabriel Luong
5961f9bcd3 Bug 1084525 - Part 12: Fix eslint complaints in promise.js r=fitzgen 2015-06-25 12:32:20 -07:00
Gabriel Luong
64ab733561 Bug 1084525 - Part 11: Add test for asserting the list of Promise objects returned from the PromiseActor onPromiseSettled event handler r=fitzgen 2015-06-25 12:32:17 -07:00
Gabriel Luong
571e712e1f Bug 1084525 - Part 10: Implement getAllocationStack method in ObjectClient r=fitzgen 2015-06-25 12:32:15 -07:00
Eddy Bruël
125e0a3d1a Bug 1171967 - Emit newSource events on ThreadClient instead of DebuggerClient;r=pbrosset 2015-06-22 15:17:12 +02:00
Carsten "Tomcat" Book
f9f82df89d Merge mozilla-central to fx-team 2015-06-22 14:46:50 +02:00
Carsten "Tomcat" Book
87e3154dff merge mozilla-inbound to mozilla-central a=merge 2015-06-22 14:03:17 +02:00
Florent Fayolle
2cc20c56c0 Bug 1050691 - Click on a function on the console should go to the debugger. r=jlongster 2015-06-20 08:47:00 +02:00
Patrick Brosset
dff0290b38 Bug 938188 - Make highlighter capable of highlighting only one region, fading out others. r=bgrins
Introduced a new highlighter option that makes each region <path> element in the highlighter only
cover the actual area of the corresponding region, excluding the area of nested regions.
This is useful when used with the existing showOnly region because it lets users see exactly where
a given region is.
This patch makes the layout-view use this new option, so that when users hover over the various
regions in the layout-view, only the corresponding regions are highlighted.
2015-06-20 14:51:50 +02:00
Jordan Santell
1c67b2bbec Bug 1176331 - Create a system module to consolidate usage of fetching device/system/os/constant information. r=jryans 2015-06-19 13:56:59 -07:00
Michael Ratcliffe
80a4f4bd4f Bug 1049888 - [e10s] Make the storage actor work in e10s and Firefox OS r=past 2015-06-20 17:39:22 +01:00
J. Ryan Stinnett
f1c8f30462 Bug 1176137 - Expose protocol.js type registrations. r=vporof 2015-06-19 19:16:47 -04:00
Sami Jaktholm
6f3f2252cf Bug 1176206 - Fix 'ReferenceError: dumpn is not defined' in object.js. r=fitzgen 2015-06-19 15:05:50 +03:00
Eddy Bruël
eb27501324 Bug 1169343 - Implement DebuggerView.Workers;r=jlong 2015-06-19 13:51:37 +02:00
Sami Jaktholm
89de85fde8 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
Sami Jaktholm
fd3dcf4f0e Bug 1170864 - Add xpcshell-tests for DevToolsUtils.fetch. r=past 2015-06-13 08:50:28 +03:00