Commit Graph
7430 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
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
Julian Descottes f1c3ec9cff Bug 1267403 - HTMLTooltip tests: destroy tooltips at the end of tests;r=ochameau
MozReview-Commit-ID: 2jMKxlsWId2
2016-07-04 16:02:37 +02:00
Julian Descottes 34cb206f63 Bug 1267403 - HTMLTooltip: add useXulWrapper option when displayed in a XUL document;r=ochameau
The HTMLTooltip supports an additional configuration parameter "useXulWrapper".
When set to true, if the tooltip is displayed in a XUL document, a XUL panel
will be used as an additional container for the tooltip.

This allows the tooltip to be displayed anywhere on the screen and can be
useful when displayed in small toolboxes.

MozReview-Commit-ID: 63kv4vAeW5R
2016-07-06 14:50:44 +02:00
Luke Chang 6d24c31117 Bug 1263104 - Ctrl+F in Storage Inspector should open search. r=mratcliffe 2016-07-05 20:21:00 +02:00
Sebastin Santy 23496e9a16 Bug 1235062 - Set some highlighter CSS properties to initial values to avoid content CSS leaking; r=pbro 2016-07-05 02:16:00 +02:00
Lin Clark a0c19213e7 Bug 1283870 - New console frontend: Use reps to render responses from the backend. r=bgrins
MozReview-Commit-ID: 36TkWMPePIT
2016-07-05 17:38:05 -07:00
Wes Kocher 3a7634548e Merge m-c to fx-team, a=merge 2016-07-05 17:13:25 -07:00
Brian Grinstead 99c5784b47 Bug 1283641 - Dont use a missing localized string when changing context in webconsole;r=dolske
MozReview-Commit-ID: 90Wce7yMG8M
2016-07-05 16:21:26 -07:00
Carsten "Tomcat" Book 5cb89af424 Merge mozilla-central to mozilla-inbound 2016-07-05 16:07:19 +02: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
Ian Moody 356ceef395 Bug 1285253 - Change incorrect "text-anchor: left" to "start". r=jdescottes
Also fix a typo in a comment, "Rules" -> "Rulers"

MozReview-Commit-ID: Gy5k3TR9JDM
2016-07-07 13:48:16 +01:00
Joseph Yeh 593964fa37 Bug 1236283 - Don't mistake <embed> and <object> as having 1 child node when they don't contain anything. r=pbro
MozReview-Commit-ID: B7bEOP63yxT
2016-07-05 00:52:00 +02:00
Ian Moody 613ead7534 Bug 1171614 - Add a test for data-URI images to test_inspector_getImageData.html, and check that the server is being truthful about resizing. r=jdescottes
Also tidy up the HTML a bit by removing errant <img> close tags

MozReview-Commit-ID: 4cmtW1S2BI8
2016-07-01 18:31:22 +01:00
Ian Moody 4449a109dd Bug 1171614 - Make server inspector actor only return data-URIs as-is if they are smaller than maxDim. r=jdescottes
MozReview-Commit-ID: Hw0K8ZA79eG
2016-07-07 12:13:49 +01:00
Ian Moody d4d2434738 Bug 1260297 - Force LTR direction for the eydropper color value so the # character doesn't move depending on colour in RTL locales. r=jryans
MozReview-Commit-ID: 3T5kjXB3i8d
2016-07-02 22:49:52 +01:00
Greg Tatum 04061ecb15 Bug 1226898 - Make autoscroll distance depend on the document height r=pbro 2016-07-05 11:52:25 -07:00
Gregory Szorc 7243daa74f Merge mozilla-central to mozilla-inbound 2016-07-06 18:26:17 -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
Rex Lee a981b10008 Bug 1261133 - Use pseudoClass for style editor transition. r=dbaron, r=pbro
MozReview-Commit-ID: Ck5JTXRR0mp
2016-05-23 19:55:54 +08:00
Lin Clark 53965c6152 Bug 1264696 - [rep tests] Add tests for string rep. r=Honza
MozReview-Commit-ID: BK44BgMhqPN
2016-06-23 17:48:34 -04:00
Lin Clark 79206d55f1 Bug 1264696 - Move string utility functions to rep-utils. r=Honza 2016-06-23 17:14:41 -04: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
Gijs Kruitbosch 792e604bb8 Bug 1208489 - use resizebefore attribute on devtools horizontal splitter to avoid resizing notificationboxes, r=bgrins
MozReview-Commit-ID: 9ijDB4fFhA3
2016-07-07 16:38:27 +01:00
Jan Odvarko 356f7a209f Bug 1266420 - Implement SidebarToggle component; r=bgrins 2016-07-04 16:47:48 +02:00
Eddy Bruel 56865c36f7 Bug 1265727 - Decouple FramerateFront from FramerateActor;r=fitzgen 2016-07-04 17:50:30 +02:00
Ian Moody 7f90405063 Bug 1268738 - Remove the background image from devtools breadcrumbs in the firebug theme. r=ntim
Prevents two breadcrumb arrows from appearing because the light-theme breadcrumb
is a background while the firebug-theme one is a CSS generated element

MozReview-Commit-ID: 20DEHid7lOP
2016-07-03 17:04:47 +01:00
Jan Odvarko 6ea3357c5d Bug 1282463 - Reps: ensure that grip arrays work even when a provider is not provided; r=linclark 2016-07-01 12:48:30 +02:00
Lin Clark 1e80ca5894 Bug 1264688 - [rep tests] Add tests for number rep. r=Honza 2016-06-30 08:52:00 +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 f44ab34d76 Bug 1231445 - Part 4: Tests for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02: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
Jarda Snajdr 3902efd3fe Bug 1231445 - Part 2: Change format of stores-cleared event data to support clearing any store r=mratcliffe 2016-07-04 04:09:00 +02:00
Jarda Snajdr ae22ed9e38 Bug 1231445 - Part 1: Support more key types in TableWidget r=mratcliffe 2016-07-04 04:09:00 +02:00
Ian Moody cc404ee4f6 Bug 1205569 - Use margin-inline-start instead of margin-left for the webconsole filter icons so they look right on RTL locales. r=ntim
MozReview-Commit-ID: GTVUmgM45Yf
2016-07-02 22:58:18 +01:00
Jarda Snajdr 977ab5bdc2 Bug 1194208 - Remove storage inspector stores-reloaded event. r=mratcliffe 2016-07-04 02:48:00 +02:00
Patrick Brosset c820930b1a Bug 1284221 - Move the font panel to the last position in the sidebar; r=jdescottes
MozReview-Commit-ID: Kh64bTWxQkA
2016-07-04 15:21:58 +02:00
Julian Descottes db3631f8bc Bug 1283764 - fix display of noResults message in inspector computedview;r=gl
MozReview-Commit-ID: BRZZXCRHRyW
2016-07-01 12:12:13 +02:00
Patrick Brosset 296e87762a Bug 1280121 - Re-enable the font panel by default
MozReview-Commit-ID: Lg7yvfkwqx5
2016-07-04 09:44:18 +02:00
Jarda Snajdr 28a6876cec Bug 1283800 - Storage inspector throws unhandled exception trying to access localStorage on about:home r=mratcliffe
MozReview-Commit-ID: D5EVRMk8zEG
2016-07-01 06:26:00 +02:00
Phil Ringnalda 60ccb2c304 Back out 7d431089a2d2 (bug 1283870) for failures in test_evaluation-result.html 2016-07-01 18:26:52 -07:00
J. Ryan Stinnett d81f805922 Bug 1283583 - Clean up code style in devtools/server/main.js. r=ochameau
MozReview-Commit-ID: 48Jr1Si8oUh
2016-07-01 18:35:25 -05:00
J. Ryan Stinnett 945676479e Bug 1283583 - Clean up code style in devtools/server/child.js. r=ochameau
MozReview-Commit-ID: GoHv6jvX6M1
2016-07-01 18:35:25 -05:00
J. Ryan Stinnett d47ae084c1 Bug 1283886 - Allow template literals. r=tromey
MozReview-Commit-ID: DPHZjMLs4ED
2016-07-01 18:35:25 -05:00
James Long f359c2b1a1 Bug 1273730 - remove pretty-print button if debugging workers because it doesn't work r=ejpbruel 2016-07-01 17:40:27 -04:00
Joseph Yeh 955cdf4023 Bug 1279651 - The show-all button overlaps on inspector-breadcrumbs-toolbar
MozReview-Commit-ID: 5QqTsbh50PT
2016-06-27 00:01:00 +02:00
Lin Clark 91a3785fc2 Bug 1283870 - New console frontend: Use reps to render responses from the backend. r=bgrins
MozReview-Commit-ID: HYRdgpKDXF
2016-07-01 11:21:08 -04:00
Peter Elmers 77a6d046fa Bug 1283465 - New console frontend: Display cached messages. r=linclark
MozReview-Commit-ID: ArhGOuUY8ea
2016-06-30 06:59:55 -07:00
Eddy Bruel c92530c5cd Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-07-01 15:27:41 +02:00