Commit Graph
7430 Commits
Author SHA1 Message Date
Nick Fitzgerald 1607d9bba1 Bug 1207645 - Create HeapSnapshotFileActor; r=jryans
This commit creates the HeapSnapshotFileActor and moves the transferHeapSnapshot
method from MemoryActor to HeapSnapshotFileActor. This is necessary because
child processes in e10s are sandboxed and do not have access to the file system,
and because MemoryActor is in the sandboxed child process it cannot open the
file and send it over the RDP.

This complexity is hidden at the MemoryFront layer. Users of MemoryFront will
still simply call its saveHeapSnapshot method, and do not need to worry about
the inner workings of how heap snapshot files are transferred over the RDP. This
required adding a third parameter to MemoryFront's initialize method: the
listTabs response.
2015-09-24 17:19:03 -07:00
Daniel Holbert 6b278aca2e Bug 1169974 part 2: Tell clang to ignore inconsistent-missing-override warnings for MOCK_METHOD2 macro from gtests. r=njn 2015-09-24 16:16:14 -07:00
Nick Fitzgerald af011b3ca2 Bug 1206290 - Part 0: Move js/UbiNodeTraverse.h to js/UbiNodeBreadthFirst.h; r=sfink 2015-09-24 14:01:22 -07:00
Nathan Froyd d25f065cb3 Bug 1207245 - part 1 - move RefCounted<T> to its own file
Various bits depend on RefPtr.h to provide RefCounted<T> and RefPtr<T>.
It will be easier to manage an automatic conversion from RefPtr<T> to
nsRefPtr<T> if we split out the dependency on RefCounted<T> first.
2015-09-22 21:27:34 -04:00
Carsten "Tomcat" Book 9b67fd5b04 merge mozilla-inbound to mozilla-central a=merge 2015-09-24 12:03:40 +02:00
Wes Kocher 8604c8cd3e Merge m-c to fx-team, a=merge CLOSED TREE 2015-09-23 13:26:00 -07:00
Wes Kocher c82e354618 Merge fx-team to central, a=merge CLOSED TREE 2015-09-23 13:22:10 -07:00
Xidorn Quan 4b27b1c6db Bug 1207443 - Change browser_parsable_css.js to load stylesheets with chrome privilege. r=Gijs 2015-09-23 22:15:04 +10:00
Carsten "Tomcat" Book f3cb59825c merge mozilla-inbound to mozilla-central a=merge 2015-09-23 12:28:10 +02:00
Wes Kocher 1882017b35 Merge m-c to inbound, a=merge CLOSED TREE 2015-09-23 13:23:42 -07:00
Wes Kocher acbbcd2aca Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Andrea Marchesini 014cf4fafc Bug 1207635 - get rid of dom.workers.sharedWorkers.enabled pref, r=khuey 2015-09-23 19:33:40 +01:00
Patrick Brosset 2a44eadd74 Bug 1207627 - Remove the markup-view preview feature; r=bgrins 2015-09-23 08:24:43 -07:00
Jon Droniak ebe1478a47 Bug 1203147 - Add a keyboard shortcut for scrolling elements into view in the inspector. r=pbro 2015-09-18 20:22:00 -07:00
Sami Jaktholm 4adf8f9d62 Bug 1146935 - StyleEditor: Respect the transition preference when a linked CSS file has changed on disk. r=bgrins
This should fix intermittent browser_styleeditor_sourcemap_watching.js
which was disabling transitions to avoid races between the transition
finishing and the 'style-applied' event to be sent from the server.
2015-09-19 11:47:54 +03:00
Wes Kocher 4a071cd646 Merge m-c to fx-team, a=merge 2015-09-22 16:48:10 -07:00
Michael Layzell ed0c72a084 Bug 918742 - Correct handling of author-supplied charsets in XMLHttpRequest, r=bz 2015-09-22 12:26:15 -04:00
J. Ryan Stinnett a7f74db5c6 Bug 1196155 - Update renamed ESLint rules. r=pbrosset 2015-09-21 17:19:19 -05:00
Carsten "Tomcat" Book 420432e990 merge mozilla-inbound to mozilla-central a=merge 2015-09-22 12:35:13 +02:00
J. Ryan Stinnett 13a2b6f69a Bug 912121 - Misc. DevTools test fixes after migration. rs=devtools 2015-09-20 03:12:51 -05:00
J. Ryan Stinnett 8a7c046ef5 Bug 912121 - Create shims for popular DevTools themes in add-ons. rs=devtools
For popular themes used by many DevTools add-ons, add shim files which wrap the
themes and make them available at their previous location.
2015-09-10 23:34:42 -05:00
J. Ryan Stinnett a4505e4125 Bug 912121 - Create shims for popular DevTools modules in add-ons. rs=devtools
For popular modules used by many DevTools add-ons, add shim files which wrap the
modules and make them available at their previous location.

Each shim includes a deprecation warning to make devs and users aware of the
issue.
2015-09-17 16:28:42 -05:00
J. Ryan Stinnett b17c143421 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
J. Ryan Stinnett cc48864b1a Bug 912121 - Package DevTools client themes in devtools.jar. rs=devtools
Break DevTools theme files out of browser.jar and move to a new DevTools
specific jar.  Update all paths of the form:

chrome://browser/skin/devtools/<X>

to

chrome://devtools/skin/<Y>

where <Y> is the source tree path that comes after /devtools/client.
2015-09-21 12:04:31 -05:00
J. Ryan Stinnett bcb2c600de Bug 912121 - Migrate DevTools themes. rs=devtools
Move DevTools themes to a new directory using the following step:

hg mv browser/themes/shared/devtools devtools/client/themes

No other changes are made.
2015-09-21 12:04:27 -05:00
J. Ryan Stinnett 2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett 2df2dd8be3 Bug 912121 - Package DevTools client content in devtools.jar. rs=devtools
Break DevTools content files out of browser.jar and move to a new DevTools
specific jar.  Update all paths of the form:

chrome://browser/content/devtools/<X>

to

chrome://devtools/content/<Y>

where <Y> is the source tree path that comes after /devtools/client.
2015-09-21 12:02:37 -05:00
J. Ryan Stinnett 784d808521 Bug 912121 - Adjust build configs and test manifests. r=glandium
This step resumes shipping client and server DevTools components to the correct
products, and is enough for "mach build" to complete successfully.
2015-09-17 14:35:36 -05:00
J. Ryan Stinnett b2383b2682 Bug 912121 - Adjust ESLint files. r=pbrosset
Move ESList files up to /devtools to represent the entire DevTools tree.

Various relative paths and ignore files are also updated.
2015-09-21 12:02:32 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00
Carsten "Tomcat" Book b77f30ccd4 Merge mozilla-central to mozilla-inbound 2015-09-23 12:47:04 +02:00
Chris Peterson 752223fd52 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nicholas Nethercote ee91ce5294 Bug 1169974 - Tolerate inconsistent-missing-override warnings for MOCK_METHOD2 macro from gtests. r=fitzgen. 2015-09-22 17:33:02 -07:00
Nick Fitzgerald 935452bc55 Bug 1201597 - Part 2: Add an IPDL subprotocol for opening core dump files to
save heap snapsots into; r=mrbkap
2015-09-22 12:09:42 -07:00
Nick Fitzgerald 316115fdf8 Bug 1201597 - Part 1: Implement an nsIOutputStream for ipc::FileDescriptor; r=mrbkap 2015-09-22 12:09:42 -07:00
Nick Fitzgerald 362058932b Bug 1206288 - Remove JS::ubi::SimpleEdge and make JS::ubi::Edge a concrete class; r=shu 2015-09-22 11:34:30 -07:00
Jason Orendorff 24d3e52551 Bug 1054756, part 5 - Remove Class::convert. 2015-03-20 16:28:59 -05:00
Jason Orendorff b7001bb468 Bug 1054756, part 5 - Remove Class::convert. 2015-03-20 16:28:59 -05:00
Nick Fitzgerald 963dd4d79a Bug 1182653 - Use JSRuntime* instead of JSContext* in ubi::Node infrastructure; r=sfink
This enables the use of ubi::Node in situations where a JSContext* is not
available, and paves the way for debugging utilities to dump shortest paths from
GC roots to a given ubi::Node that can be used while paused in a debugger.
2015-09-23 09:39:56 -07:00
Julian Descottes b903b87518 Bug 1346781 - do not attempt to hide highlighters if currentNode is falsy;r=zer0
This commit updates part of the logic changed in Bug 1333714 (e3a0d990896d)
The hide method of the auto refresh highlighters were modified to allow
hide() to be called as long as the highlighter env window was still valid.

This could lead to calling hide on highlighters where show() had not been
previously called, slowing down closing the inspector for no reason.

This changes the hide() method to also bail out in case this.currentNode
is not truthy, which means show() was not called previously.

MozReview-Commit-ID: 4EOgjD6W2QB
2017-03-13 22:15:12 +01:00
Carsten "Tomcat" Book ad53984245 Merge mozilla-central to autoland 2017-03-14 14:27:38 +01:00
Julian Descottes 52b7fa792f Bug 1338106 - Add mask-image to fade out text of devtools-tabs;r=ntim
Also fixes a slight issue in firebug theme that made the text slide of
1 px down when selecting a tab.

MozReview-Commit-ID: KNm9Xf21p2D
2017-03-08 17:20:49 +01:00
Julian Descottes 74c4da185a Bug 1338106 - reduce min width of devtools toolbar command buttons to 24px;r=ntim
MozReview-Commit-ID: 5SeQEWR11ow
2017-03-08 11:50:42 +01:00
Julian Descottes acb1bd5966 Bug 1338106 - hide toolbox toolbar icons for narrow viewport;r=ntim
- remove text-overflow: ellipsis to maximize readable text
- add media query to hide toolbar icons when viewport width < 700px

MozReview-Commit-ID: 4HBFciWSuie
2017-03-08 12:36:40 +01:00
Till Schneidereit 1dce50b37f Bug 1067942 - Change error message for attempted getter-only property writes to include the property name. r=terrence,ms2ger
MozReview-Commit-ID: 2IyEPyAaoNt
2014-09-30 01:17:55 +02:00
Wes Kocher aa4c6eead5 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BEeGEkSCpNK
2017-03-15 14:28:51 -07:00
Jason Laster 9cf31228e2 Bug 1346179 - Update debugger frontend 3/10/2017. r=jdescottes
MozReview-Commit-ID: 5p9BT87rzoB
2017-03-15 16:43:31 +01:00
Yura Zenevich 7b27177364 Bug 1272011 - improving keyboard accessibility for the inspector breadcrumbs. r=bgrins
MozReview-Commit-ID: A18Ul4HlrlT
2016-08-08 09:53:51 -04:00
Nick Fitzgerald 503d3406a7 Bug 1223512 - Validate that every edge referent is in the heap snapshot; r=shu 2015-11-13 11:11:09 -08:00
Tom Tromey 743134b3e7 Bug 1221292 - move nondeterministicGetWeakMapKeys to ThreadSafeChromeUtils; r=bz 2015-11-11 12:55:00 +01:00