Commit Graph

389 Commits

Author SHA1 Message Date
Michael Ratcliffe
bc2b9dd938 Bug 1264993 - Unable to list/edit certain cookies in GCLI r=jwalker
Simple patch to correct errors in cookie host matching:
  1. Match domains starting with a . in case this style was used e.g. .test.example.com
  2. Match localhost URLS.

MozReview-Commit-ID: 9qqnsNaW5oK

--HG--
extra : transplant_source : %EF1o%A1u%97%9F%9D%99%97%DF%E0%C2D%09%E8%AFH%B7%1B
2016-04-18 13:54:23 +01:00
Luca Greco
c50767b44e Bug 1211665 - Filter add-ons console messages based on addonId. r=ochameau
MozReview-Commit-ID: 2yEWhX6shkx

--HG--
rename : devtools/shared/tests/unit/test_consoleID.js => devtools/shared/tests/unit/test_console_filtering.js
extra : transplant_source : yQ%0C%EA%DE%C3%CB%1A%93%89%92e%A5%B8X%94%60K%81W
2016-03-29 17:40:39 +02:00
Carsten "Tomcat" Book
63dd433e61 Merge mozilla-central to mozilla-inbound 2016-04-16 11:23:40 +02:00
Carsten "Tomcat" Book
558930f4e9 Backed out changeset e673dbc9848f (bug 1232686) for breaking VS2013 Builds 2016-04-16 10:57:53 +02:00
Wes Kocher
4f233d527d Merge fx-team to central, a=merge
MozReview-Commit-ID: J70qG3TcPFl
2016-04-15 15:36:39 -07:00
Morgan Phillips
286ca684cf Bug 1264780 - Handle destructuring cases when forcing binding initialization; r=bgrins
--HG--
extra : rebase_source : 98cd72020897bb606ce1b7ce98ac9f7a368f293b
2016-04-15 19:01:09 -07:00
Wes Kocher
115c5a357a Merge m-c to inbound, a=merge
MozReview-Commit-ID: 2zwhun4JqPs
2016-04-15 15:39:25 -07:00
Jonas Sicking
9c521f30da Bug 1264706: Move nsILocalCertService, and implementation, to security/manager/ssl in order to alloow use w use elsewhere in gecko. r=dkeeler
--HG--
rename : devtools/shared/security/LocalCertService.cpp => security/manager/ssl/LocalCertService.cpp
rename : devtools/shared/security/LocalCertService.h => security/manager/ssl/LocalCertService.h
rename : devtools/shared/security/nsILocalCertService.idl => security/manager/ssl/nsILocalCertService.idl
rename : devtools/shared/security/tests/unit/test_cert.js => security/manager/ssl/tests/unit/test_local_cert.js
2016-04-15 14:52:13 -07:00
Carsten "Tomcat" Book
2b4e065b02 Merge mozilla-central to fx-team 2016-04-15 14:01:06 +02:00
Carsten "Tomcat" Book
c4445ccd33 merge mozilla-inbound to mozilla-central a=merge 2016-04-15 11:41:41 +02:00
Morgan Phillips
3b6e22e1bd Bug 1264095 - Replace ** with e for generating large numbers; r=ryanvm 2016-04-13 03:18:41 -07:00
Alexandre Poirot
c0d0fa5173 Bug 1263629 - Use promise module invisible to the debugger for the browser toolbox server. r=jryans 2016-04-14 14:32:21 -07:00
Alexandre Poirot
2304fa0495 Bug 1261665 - Remove unecessary Loader.jsm main in favor of require(). r=jryans 2016-04-14 01:40:43 -07:00
Chris Peterson
5cf84aa32d 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
60dcde7875 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

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00
Nick Fitzgerald
cd2c23a435 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.

--HG--
rename : devtools/client/memory/actions/dominator-tree-display.js => devtools/client/memory/actions/label-display.js
rename : devtools/client/memory/reducers/dominator-tree-display.js => devtools/client/memory/reducers/label-display.js
2016-04-11 18:04:31 -07:00
Jason Laster
6a4ea6ca92 Bug 1250110 - Clean up the path utility functions. r=ejpbruel 2016-04-07 11:58:00 -04:00
Andrea Marchesini
83a08cd72e Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-10 05:46:07 +01:00
Ryan VanderMeulen
1c7872d0af Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures. 2016-04-09 15:36:07 -04:00
Andrea Marchesini
d09d8959fe Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-09 19:09:49 +01:00
Dave Townsend
fc4c4ab84a 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

--HG--
extra : rebase_source : e6db0fd0ef477cd4fd2196b1036783f0974c586b
extra : histedit_source : 03eea033884969cc2a340316377318b0487ebdf2
2016-04-05 11:31:19 -07:00
Jarda Snajdr
e6efccfea4 Bug 890913 - Parser.jsm: support SpreadExpression r=vporof 2016-04-04 04:44:00 +02:00
Jarda Snajdr
fe9ec4e232 Bug 1260756 - make Parser.jsm ESLint-clean. r=vporof 2016-03-31 02:32:00 +02:00
Jarda Snajdr
b5ad9a5138 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
d6a64fd361 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
645513565f Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Nick Fitzgerald
ffd2846070 Bug 1237054 - Part 0: Make tests fail if DevToolsUtils.assert fails; r=jryans 2016-04-05 19:21:00 +02:00
Alexandre Poirot
e6645862ac Bug 1261092 - Simplify gcli initialization/destruction codepaths. r=jryans,jwalker 2016-04-05 07:16:48 -07:00
Chris Manchester
f7a1b3fb60 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
9050862722 Bug 1255133 - Surface links to external documentation alongside relevant error messages 1/2; r=bgrins
--HG--
extra : rebase_source : 2c285070e648d42ccdd523c2415c6c6c6ed1a871
extra : amend_source : c6dd5cd109d6a767523dab6d35f8f3509995d9cd
2016-04-01 23:17:49 -07:00
Jared Wein
8955f79d9b 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
370ca8535c 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
4dbcfae693 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
3976954edf 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

--HG--
extra : transplant_source : %1B%40%A24%EDW.%C5%96%C8m%3C%1F4%DA%F78%D1%26%8B
2016-03-28 21:01:32 +02:00
J. Ryan Stinnett
df00956606 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
1a331c72d1 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

--HG--
extra : histedit_source : bbc90e79f8ddc76b79faec7ce027b549aaaead45
2016-03-31 16:19:59 -07:00
Nick Fitzgerald
81e06bd5ae Bug 1260938 - Add the ThreadSafeDevToolsUtils.isSet utility; r=jimb a=kwierso
MozReview-Commit-ID: IqY3Abv3OX

--HG--
extra : histedit_source : cba614f975f01cdedab0d0e9f93715214055dec7
2016-03-31 16:19:47 -07:00
Nick Fitzgerald
c4c900965c 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

--HG--
extra : histedit_source : e48cc59b522ce82f649f077b4686cea4715980f1
2016-03-31 16:19:22 -07:00
Nick Fitzgerald
546829d13e 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

--HG--
extra : histedit_source : eb6e4f8c54f536c84b08da22ef60cfa56a5075c8
2016-03-31 16:18:44 -07:00
Jarda Snajdr
577efe7928 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
dfb9426d0e 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
3475bae57b 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
664b09649c Bug 1260260 - Add comments documenting members of CensusTreeNode; r=jsantell 2016-03-28 14:31:00 +02:00
Alexandre Poirot
4154d9854b 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
a5bb09fb90 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
169058c32c 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
72d3e813fa 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
76c8287ad6 Bug 1249934 - Avoid CPOWs in GCLI cookie commands. r=jwalker
MozReview-Commit-ID: 3a1PoMDbUYW
2016-03-24 14:10:27 -05:00
Nicolas Chevobbe
c123351274 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

--HG--
extra : transplant_source : %5B%E5%AD%22%D2%20uk%07%EE%A9%E4%91YS%B3R%C3%DF%21
2016-03-08 23:04:54 +01:00
Terrence Cole
2177cca5cd Bug 1232686 - Use decltype to infer Variant::match return type; r=fitzgen 2015-12-15 07:45:22 -08:00