Commit Graph
1232 Commits
Author SHA1 Message Date
Jeff Walden 6bf87147cd Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb 2016-07-05 17:41:12 -07:00
Sebastian Hengst fd31f76c1b Backed out changeset 2620e5ba1067 (bug 1282795) for 'Concrete' redeclaration in HeapSnapshot.h (static failure). r=backout 2016-07-07 19:26:27 +02:00
Jeff Walden 4f847cfc9f Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb 2016-07-05 17:41:12 -07:00
Carsten "Tomcat" Book a7a350dbcb merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Nick Fitzgerald 29461839ae Bug 1261869 - Fix leaks in devtools; r=ejpbruel
There are two leaks addressed in this commit:

1. The thread actor's `_debuggerSourcesSeen` set was never cleared. This set
exists only as a performance optimization to speed up `_addSource` in cases
where we've already added the source. Unfortunately, this set wasn't getting
cleared when we cleared debuggees out and it ended up keeping the
`Debugger.Source`, its referent, and transitively its referent's global alive. I
figured it was simpler to make it a `WeakSet` than to add it as a special case
in `ThreadActor.prototype._clearDebuggees` and manage the lifetimes by hand. I
think this fits well with its intended use as an ephemeral performance
optimization.

2. Due to a logic error, we were not clearing debuggees in the memory actor's
`Debugger` instance on navigations. This isn't really a "proper" leak, in that
if you forced a GC, the old debuggees would go away as `Debugger` holds them
weakly, however if there was no GC between navigations, then you could still see
the old windows (and everything they "retained") as roots in the snapshot. This
issue is straightforward to fix once identified: ensure that `_clearDebuggees`
is actually called on navigation.

Finally, this commit adds a test that we don't leak Window objects when devtools
are open and we keep refreshing a tab. When it fails, it prints out the leaking
window's retaining paths.
2016-07-06 08:37:57 -07:00
Jan de Mooij 9a35d3fcb0 Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
J. Ryan Stinnett 750fe9388a Bug 1281396 - Make URL non-lazy to avoid debuggee would run / recursion issues. r=ochameau
MozReview-Commit-ID: FkYlmzIeBJe
2016-07-07 16:39:15 -05:00
Jan de Mooij 23850549c8 Bug 1283855 part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb 2016-07-06 11:40:20 +02:00
Eddy Bruel 56865c36f7 Bug 1265727 - Decouple FramerateFront from FramerateActor;r=fitzgen 2016-07-04 17:50:30 +02:00
Michael Ratcliffe 331b9f218b Bug 1244584 - Make GCLI tooltip hide after the first run experience r=jwalker 2016-07-01 12:30:00 +01:00
Jarda Snajdr efe398485b Bug 1231445 - Part 3: Support for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02:00
Eddy Bruel c92530c5cd Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-07-01 15:27:41 +02:00
Tom Tromey 0f4354f2cd Bug 1266844 - use URL, not nsIURL, in css-logic.js; r=pbro
MozReview-Commit-ID: F8eBQEJZkv7
2016-06-24 13:55:55 -06:00
Wes Kocher 7dd98fbcaa Backed out 6 changesets (bug 1244227) for mochitest-cl failures
Backed out changeset fc2dcc9e7f52 (bug 1244227)
Backed out changeset 5855543dc299 (bug 1244227)
Backed out changeset b409ab88921d (bug 1244227)
Backed out changeset 2990149167fc (bug 1244227)
Backed out changeset e4bf9065b319 (bug 1244227)
Backed out changeset 404a39c5e090 (bug 1244227)
2016-06-30 13:42:15 -07:00
Michael Ratcliffe 80c65bc874 Bug 1268837 - Remove GCLI screenshot --chrome file.png. r=jwalker
MozReview-Commit-ID: GlNfyofypHt
2016-06-30 14:08:42 +01:00
Fabrice Desré 6dda588d20 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ
2016-03-03 09:58:47 -08:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Fabrice Desré f10371d9ed Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ
2016-03-03 09:58:47 -08:00
Tom Tromey f55698e761 Bug 1244227 - add an API to enable throttling; r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-03-01 11:13:41 -07:00
J. Ryan Stinnett 30933227ec Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett 3b0119033c Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
Tom Tromey be6dce1244 Bug 1244227 - properly report throttled network timing; r=Honza
MozReview-Commit-ID: BCJLSRGS0vE
2016-02-04 06:40:25 -07:00
Tom Tromey 9db50f62a0 Bug 1244227 - add network throttling; r=Honza
MozReview-Commit-ID: Iy6buFxUrGg
2016-01-29 11:56:25 -07:00
Tom Tromey 2efa60b415 Bug 1244227 - NetworkResponseListener does not need to implement nsIInterfaceRequestor; r=Honza
MozReview-Commit-ID: 9TMlmdjQWLL
2016-02-16 15:03:23 -07:00
Julian Descottes b3959f8e84 Bug 1278823 - styleeditor: fix csscoverage report creation;r=jryans
The sheetToUrl function in csscoverage is only used to create ids for the
csscoverage map of knownRules. Instead of asking the UI to format stylesheet
URLs using the same logic as the server, StyleEditor.jsm now sends the
stylesheet actor to create the report. The csscoverage actor can then compute
the stylesheet URL on the server.

MozReview-Commit-ID: GDtWhbi2ScW
2016-06-28 11:18:39 +02:00
Tom Tromey a1c55e31b0 Bug 1225254 - split css-logic.js into server and shared files; r=pbro
MozReview-Commit-ID: BTFVQJcVI5d
2016-06-24 08:26:21 -06:00
Tom Tromey 16c67fd021 Bug 1225254 - remove unused code from css-logic.js; r=pbro
MozReview-Commit-ID: joVchP4T56
2016-06-23 11:02:56 -06:00
Wes Kocher 4eb7fa6fa7 Backed out changeset 7773873116e9 (bug 1265727) for xpcshell failures and eslint failures 2016-06-29 12:00:47 -07:00
J. Ryan Stinnett bea319c4ec Bug 1282900 - Remove RDP telemetry probes and surrounding machinery. r=fitzgen
MozReview-Commit-ID: 58WNVGWTyKJ
2016-06-29 11:37:09 -05:00
Eddy Bruel feb7a3aed3 Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-06-29 16:20:06 +02:00
Jaideep Bhoosreddy 4dd6c6d1a9 Bug 1282472 - Add camera effects to screenshot; r=jryans 2016-06-29 00:13:00 +02:00
Jaideep Bhoosreddy 1af9f4055a Bug 1282470 - Add a -fullpage suffix to screenshots taken with --fullpage option; r=gl 2016-06-27 11:28:00 +02:00
Alexandre Poirot 3fb26aa8a9 Bug 1268073 - Free loader created by BrowserToolboxProcess. r=jryans 2016-06-28 08:39:37 -07:00
Philipp Kewisch [:Fallen] 8d97f56ad8 Bug 1279833 - Make less use of gBrowser and content tabs in devtools. r=jwalker 2016-06-28 11:07:09 +02:00
Jan Keromnes 1c5ef54d8a Bug 1188981 - Show Push Service subscription endpoint URL for Service Workers in about:debugging. r=jryans 2016-06-24 18:06:34 +00:00
Tom Tromey 20736966f0 Bug 1264654 - Use DOMParser in devtools. r=bgrins
MozReview-Commit-ID: BB829YyUBh7
2016-06-20 06:34:32 -06:00
J. Ryan Stinnett 7b666ebded Bug 1240900 - Use outerWindowID directly from browser. r=ochameau
MozReview-Commit-ID: JuJNSScaJEs
2016-06-25 11:35:02 -05:00
Tom Tromey c8e6faf303 Bug 1273941 - replace uses of promise.defer in devtools/shared; r=jryans
MozReview-Commit-ID: 2n3uJ5QKsKL
2016-06-09 09:03:47 -06:00
Carsten "Tomcat" Book d26fc9d0ef merge mozilla-inbound to mozilla-central a=merge 2016-06-23 14:57:09 +02:00
Tom Tromey 53788ed9ed Bug 1280371 - Move ELEMENT_STYLE to devtools/shared/specs/styles. r=bgrins
MozReview-Commit-ID: AjZLiQAivg9
2016-06-16 11:27:10 +01:00
Eddy Bruel 0f1901e0cf Bug 1265727 - Decouple PerformanceRecordingFront from PerformanceRecordingActor;r=fitzgen 2016-06-22 15:01:28 +02:00
Eddy Bruel 82a70eb5f7 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Jarda Snajdr 2df8e2694b Bug 1280247 - Netmonitor JS stack traces should show the frame's asyncCause r=ochameau 2016-06-15 23:30:00 +02:00
Jan de Mooij 971389ad49 Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke 2016-06-22 09:47:52 +02:00
Tom Tromey dfb699ff53 Bug 1265830 - Remove uses of nsIDOMCSSRule from devtools. r=bgrins
MozReview-Commit-ID: 9q9Ei38My4A
2016-06-16 10:22:28 +01:00
Tom Tromey 3db2e25714 Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-03-01 11:13:41 -07:00
Tom Tromey 872d714a01 Bug 1244227 - Properly report throttled network timing. r=Honza
MozReview-Commit-ID: BCJLSRGS0vE
2016-02-04 06:40:25 -07:00
Tom Tromey 7e93ed9f92 Bug 1244227 - Add network throttling. r=Honza
MozReview-Commit-ID: Iy6buFxUrGg
2016-01-29 11:56:25 -07:00
Tom Tromey 9121fdb6e6 Bug 1244227 - NetworkResponseListener does not need to implement nsIInterfaceRequestor. r=Honza
MozReview-Commit-ID: 9TMlmdjQWLL
2016-02-16 15:03:23 -07:00
Patrick Brosset 3e7653ff54 Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD
2016-07-20 16:06:42 +02:00