Commit Graph
1232 Commits
Author SHA1 Message Date
Alexandre Poirot 4302367585 Bug 1261665 - Remove unecessary Loader.jsm main in favor of require(). r=jryans 2016-04-14 01:40:43 -07:00
Chris Peterson 7cebfeb3e1 Bug 1103588 - Part 2: Replace deprecated String#contains with String#includes in devtools tests. r=jryans 2016-04-09 16:04:36 -07:00
Nicholas Nethercote a35143c546 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2
2016-04-01 11:00:01 +11:00
Nick Fitzgerald f2a6ddf449 Bug 1249788 - Implement the census individuals view; r=jsantell
This adds the INDIVIDUALS view state to the memory panel, renames "dominator
tree display" to "label display", and adds a view for listing the individual
nodes in a census group and inspecting each nodes' retaining paths.
2016-04-11 18:04:31 -07:00
Jason Laster c179dc4f80 Bug 1250110 - Clean up the path utility functions. r=ejpbruel 2016-04-07 11:58:00 -04:00
Andrea Marchesini 0d6b911fbc Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-10 05:46:07 +01:00
Ryan VanderMeulen f16cc2b8b7 Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures. 2016-04-09 15:36:07 -04:00
Andrea Marchesini c505892d92 Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-09 19:09:49 +01:00
Dave Townsend 4ac1a46d5e Bug 1257246: Update devtools for eslint 2. r=pbro
ESLint 2 now flags anonymous generator functions according to
generator-star-spacing. Most of the changes here are correcting that.

MozReview-Commit-ID: 9xg2Gmlaz94
2016-04-05 11:31:19 -07:00
Jarda Snajdr 3538a22f3e Bug 890913 - Parser.jsm: support SpreadExpression r=vporof 2016-04-04 04:44:00 +02:00
Jarda Snajdr 8aa68f9ae7 Bug 1260756 - make Parser.jsm ESLint-clean. r=vporof 2016-03-31 02:32:00 +02:00
Jarda Snajdr 0613c1e5a1 Bug 1260756 - The SyntaxTreeVisitor in Parser.jsm fails to process template literals and function default arguments. r=vporof 2016-03-31 01:49:00 +02:00
Nick Fitzgerald 8729b35216 Bug 1250966 - Ignore retaining paths that are strictly a super set of other paths. r=jimb 2016-04-06 16:23:00 -04:00
Dragana Damjanovic 1080454580 Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell 2016-04-13 15:34:36 +02:00
Nick Fitzgerald 7df204612a Bug 1237054 - Part 0: Make tests fail if DevToolsUtils.assert fails; r=jryans 2016-04-05 19:21:00 +02:00
Alexandre Poirot 1dd77421e8 Bug 1261092 - Simplify gcli initialization/destruction codepaths. r=jryans,jwalker 2016-04-05 07:16:48 -07:00
Chris Manchester a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Morgan Phillips b210844a9f Bug 1255133 - Surface links to external documentation alongside relevant error messages 1/2; r=bgrins 2016-04-01 23:17:49 -07:00
Jared Wein 344dc31204 Backout the backout because follow-up fix got pushed. Bug 1259859 - Add a test that looks for misused characters in user-facing strings. r=dolske,jryans
MozReview-Commit-ID: IBHYB76bvsk
2016-04-02 10:50:50 +02:00
Sebastian Hengst 0fb917a8da Backed out changeset a877338b4740 (bug 1259859) for failures in devtools mochitest browser_cmd_highlight_03.js. r=backout 2016-04-02 10:45:08 +02:00
Jared Wein b9795f7bf4 Bug 1259859 - Add a test that looks for misused characters in user-facing strings. r=dolske,jryans
MozReview-Commit-ID: IBHYB76bvsk
2016-04-02 02:27:36 -04:00
Nicolas Chevobbe add0813306 Bug 1259559 - Units cycling with shift+click persists value in Style editor. r=miker
Add an 'unit-change' event fired when shift+click on color and angle swatches.
Add a listener on this event in text-property-editor.js to call the same function
that's called when tooltip edit is commited to persist the new unit.
Edit some tests to adapt to this new behaviour and create some tests to make sure
the value obtained via shift+click are actually persisted.

MozReview-Commit-ID: CcF4oiBPEzT
2016-03-28 21:01:32 +02:00
J. Ryan Stinnett aa69a9e56c Bug 1240804 - Use common instance of Promise.jsm for test harness promise rejection handling. r=ochameau
MozReview-Commit-ID: 61y0npnHyyU
2016-03-31 19:46:14 -05:00
Nick Fitzgerald 8047e4f7d7 Bug 1260939 - Add a method for getting census individuals and their shortest paths to HeapAnalyses{Client,Worker}; r=jimb a=kwierso
MozReview-Commit-ID: HHJ2masZB4k
2016-03-31 16:19:59 -07:00
Nick Fitzgerald 99df2890c3 Bug 1260938 - Add the ThreadSafeDevToolsUtils.isSet utility; r=jimb a=kwierso
MozReview-Commit-ID: IqY3Abv3OX
2016-03-31 16:19:47 -07:00
Nick Fitzgerald 53ff2177a3 Bug 1260590 - Add the CensusUtils.getCensusIndividuals utility; r=jimb a=kwierso
This commit adds the `getCensusIndividuals` utility for getting the individual
node IDs that match the census leaves specified by the given indices in a
pre-order depth-first traversal of a census report generated with the given
breakdown.

MozReview-Commit-ID: A4IRcP82iCC
2016-03-31 16:19:22 -07:00
Nick Fitzgerald 91f40f81b5 Bug 1260589 - Add the ThreadSafeDevToolsUtils.flatten utility; r=jimb a=kwierso
The `flatten` function takes an array of arrays and flattens them to a single
array, removing one level of nesting. It does not recursively flatten multiple
levels of nesting.

MozReview-Commit-ID: ErDMHbT2IX
2016-03-31 16:18:44 -07:00
Jarda Snajdr 8faf50394c Bug 1172920: DevTools: Map/Set entries should be visible in the Variables view r=vporof,tromey a=kwierso
MozReview-Commit-ID: HzwnqO1uQ4o
2016-03-31 16:12:38 -07:00
Nick Fitzgerald 79f6bb0214 Bug 1260307 - Add the CensusUtils.getReportLeaves utility for getting leaves in a census report; r=jimb 2016-03-29 08:54:00 +02:00
Nick Fitzgerald 88336ca575 Bug 1260261 - Associate a CensusTreeNode with the leaf in the census report from which it was generated; r=jimb
This commit gives every `CensusTreeNode` instance a `reportLeafIndex` member
that is an index into a pre-order traversal of the census report from which it
was generated. This can be used to get the leaf in the census report
corresponding to a given `CensusTreeNode` instance.
2016-03-29 08:53:00 +02:00
Nick Fitzgerald 6acfdeee6f Bug 1260260 - Add comments documenting members of CensusTreeNode; r=jsantell 2016-03-28 14:31:00 +02:00
Alexandre Poirot 3342fc0261 Bug 1259045 - Prevent loading Loader.jsm when using event-emitter.js as a JSM. r=jryans 2016-03-29 06:28:17 -07:00
Nick Fitzgerald 94868fc94d Bug 1258236 - Change the way we test for end-of-stream in ReadHeapSnapshot; r=sfink
Fold reading the size of the next message and testing whether the stream has
more data into the same operation.

MozReview-Commit-ID: GUJymKy7qsj
2016-03-25 14:53:00 +01:00
Nicolas Chevobbe 00e3dbd919 Bug 1259777 - Remove unnecessary DOMUtils lazy load in css-angle.js . r=pbro
MozReview-Commit-ID: 3byxrCy63Pv
2016-03-25 17:34:51 +01:00
J. Ryan Stinnett 5dcf888623 Bug 1233780 - Avoid CPOWs in GCLI security csp. r=jwalker
MozReview-Commit-ID: Gb6tuRL8Tcn
2016-03-24 14:10:27 -05:00
J. Ryan Stinnett 6a38cce524 Bug 1249934 - Avoid CPOWs in GCLI cookie commands. r=jwalker
MozReview-Commit-ID: 3a1PoMDbUYW
2016-03-24 14:10:27 -05:00
Nicolas Chevobbe b4e805d826 Bug 1250835 - Display swatch for angles in the rules panel. r=miker
Add a swatch before angle values in the rules panel and allow cycling
through angle units with shift+click (like we already do for color units).

MozReview-Commit-ID: CWhoUQTkP1G
2016-03-08 23:04:54 +01:00
Terrence Cole 005914496e Bug 1232686 - Use decltype to infer Variant::match return type; r=fitzgen 2015-12-15 07:45:22 -08:00
Ryan VanderMeulen 04ebea4e8c Merge m-c to inbound. a=merge CLOSED TREE 2016-05-19 12:49:49 -04:00
Tim Huang 0a60cbfed3 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe 2016-05-18 20:42:00 -04:00
Martin Thomson 6551249aee Bug 1250568 - Adding TLS 1.3 to nsISSLStatus, r=keeler
MozReview-Commit-ID: 4mLdtsdFoKN
2016-04-04 16:21:19 -03:00
Nick Fitzgerald 39547b26f8 Bug 1257687 - Add a utility to convert a count breakdown into a bucket breakdown. r=jsantell 2016-03-18 17:47:41 -04:00
Nick Fitzgerald b6f019573e Bug 1257696 - Ensure that repeatedly converting the same census report into a CensusTreeNode tree results in the same CensusTreeNode tree. r=jsantell 2016-03-17 16:42:00 -04:00
Carsten "Tomcat" Book 1e23650f5b Merge mozilla-central to fx-team 2016-03-17 11:16:06 +01:00
Carsten "Tomcat" Book c70f5f1592 merge mozilla-inbound to mozilla-central a=merge 2016-03-17 11:00:17 +01:00
James Long f701700b17 Bug 1248303 - respect break on exceptions flag in subsequent debugger instances r=ejpbruel 2016-03-16 13:53:34 -04:00
Tom Tromey 0b734b1b7c Bug 1255799 - remove obsolete TODO from network-monitor.js; r=odvarko
MozReview-Commit-ID: Lbx8C41oSqG
2016-03-16 08:16:00 +01:00
Tom Tromey c0dd7eb1a4 Bug 1255799 - make devtools/client/webconsole eslint-clean; r=odvarko
MozReview-Commit-ID: AnaXFFHlNLM
2016-03-16 08:16:00 +01:00
Shih-Chiang Chien afeb2fdd4f Bug 1255266 - create sandbox with system principal. r=jryans,khuey.
MozReview-Commit-ID: LZRA24MRp1K
2016-03-15 19:51:02 +08:00
Alexandre Poirot 04ddf1ca05 Bug 1252247 - Load devtools/clients resources lazily when used from devtools/server. r=jryans 2016-03-16 06:42:18 -07:00