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
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
Nick Fitzgerald
6c085d3c3b
Bug 1257687 - Add a utility to convert a count breakdown into a bucket breakdown. r=jsantell
...
--HG--
extra : amend_source : 7e06a8679279385a584effae291a63217801a45a
2016-03-18 17:47:41 -04:00
Nick Fitzgerald
d5b9afe7c5
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
c3257f182b
Merge mozilla-central to fx-team
2016-03-17 11:16:06 +01:00
Carsten "Tomcat" Book
f298917442
merge mozilla-inbound to mozilla-central a=merge
2016-03-17 11:00:17 +01:00
James Long
ccf6949bd1
Bug 1248303 - respect break on exceptions flag in subsequent debugger instances r=ejpbruel
2016-03-16 13:53:34 -04:00
Tom Tromey
a87cc36082
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
fbafa60ad1
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
b9e0dc0161
Bug 1255266 - create sandbox with system principal. r=jryans,khuey.
...
MozReview-Commit-ID: LZRA24MRp1K
--HG--
extra : rebase_source : 3cb57e131321848da764e26b3741443f91acb003
2016-03-15 19:51:02 +08:00
Alexandre Poirot
8cd3f29a49
Bug 1252247 - Load devtools/clients resources lazily when used from devtools/server. r=jryans
2016-03-16 06:42:18 -07:00
Carsten "Tomcat" Book
f986401fdc
Merge mozilla-central to fx-team
2016-03-16 11:26:20 +01:00
Victor Porof
57172ba5b4
Bug 1245886 - Refactor performance tests, r=jsantell
...
--HG--
rename : devtools/client/performance/test/browser_perf-categories-js-calltree.js => devtools/client/performance/test/browser_perf-calltree-js-categories.js
rename : devtools/client/performance/test/browser_perf-columns-js-calltree.js => devtools/client/performance/test/browser_perf-calltree-js-columns.js
rename : devtools/client/performance/test/browser_perf-events-calltree.js => devtools/client/performance/test/browser_perf-calltree-js-events.js
rename : devtools/client/performance/test/browser_perf-columns-memory-calltree.js => devtools/client/performance/test/browser_perf-calltree-memory-columns.js
rename : devtools/client/performance/test/browser_perf-details-01.js => devtools/client/performance/test/browser_perf-details-01-toggle.js
rename : devtools/client/performance/test/browser_perf-details-02.js => devtools/client/performance/test/browser_perf-details-02-utility-fun.js
rename : devtools/client/performance/test/browser_perf-details-03.js => devtools/client/performance/test/browser_perf-details-03-without-allocations.js
rename : devtools/client/performance/test/browser_perf-details-04.js => devtools/client/performance/test/browser_perf-details-04-toolbar-buttons.js
rename : devtools/client/performance/test/browser_perf-details-05.js => devtools/client/performance/test/browser_perf-details-05-preserve-view.js
rename : devtools/client/performance/test/browser_perf-details-07.js => devtools/client/performance/test/browser_perf-details-06-rerender-on-selection.js
rename : devtools/client/performance/test/browser_perf-details-waterfall-render.js => devtools/client/performance/test/browser_perf-details-render-00-waterfall.js
rename : devtools/client/performance/test/browser_perf-details-calltree-render.js => devtools/client/performance/test/browser_perf-details-render-01-js-calltree.js
rename : devtools/client/performance/test/browser_perf-details-flamegraph-render.js => devtools/client/performance/test/browser_perf-details-render-02-js-flamegraph.js
rename : devtools/client/performance/test/browser_perf-details-memory-calltree-render.js => devtools/client/performance/test/browser_perf-details-render-03-memory-calltree.js
rename : devtools/client/performance/test/browser_perf-details-memory-flamegraph-render.js => devtools/client/performance/test/browser_perf-details-render-04-memory-flamegraph.js
rename : devtools/client/performance/test/browser_perf-markers-docload.js => devtools/client/performance/test/browser_perf-docload.js
rename : devtools/client/performance/test/browser_perf-details-waterfall-gc-snap.js => devtools/client/performance/test/browser_perf-gc-snap.js
rename : devtools/client/performance/test/browser_perf-marker-details-01.js => devtools/client/performance/test/browser_perf-marker-details.js
rename : devtools/client/performance/test/browser_perf-options-01.js => devtools/client/performance/test/browser_perf-options-01-toggle-throw.js
rename : devtools/client/performance/test/browser_perf-options-02.js => devtools/client/performance/test/browser_perf-options-02-toggle-throw-alt.js
rename : devtools/client/performance/test/browser_perf-options-03.js => devtools/client/performance/test/browser_perf-options-03-toggle-meta.js
rename : devtools/client/performance/test/browser_perf-options-enable-framerate.js => devtools/client/performance/test/browser_perf-options-enable-framerate-01.js
rename : devtools/client/performance/test/browser_perf-options-allocations.js => devtools/client/performance/test/browser_perf-options-propagate-allocations.js
rename : devtools/client/performance/test/browser_perf-options-profiler.js => devtools/client/performance/test/browser_perf-options-propagate-profiler.js
rename : devtools/client/performance/test/browser_perf-clear-01.js => devtools/client/performance/test/browser_perf-recordings-clear-01.js
rename : devtools/client/performance/test/browser_perf-clear-02.js => devtools/client/performance/test/browser_perf-recordings-clear-02.js
rename : devtools/client/performance/test/browser_perf-theme-toggle-01.js => devtools/client/performance/test/browser_perf-theme-toggle.js
rename : devtools/client/performance/test/browser_profiler_tree-abstract-01.js => devtools/client/performance/test/browser_perf-tree-abstract-01.js
rename : devtools/client/performance/test/browser_profiler_tree-abstract-02.js => devtools/client/performance/test/browser_perf-tree-abstract-02.js
rename : devtools/client/performance/test/browser_profiler_tree-abstract-03.js => devtools/client/performance/test/browser_perf-tree-abstract-03.js
rename : devtools/client/performance/test/browser_profiler_tree-abstract-04.js => devtools/client/performance/test/browser_perf-tree-abstract-04.js
rename : devtools/client/performance/test/browser_profiler_tree-view-01.js => devtools/client/performance/test/browser_perf-tree-view-01.js
rename : devtools/client/performance/test/browser_profiler_tree-view-02.js => devtools/client/performance/test/browser_perf-tree-view-02.js
rename : devtools/client/performance/test/browser_profiler_tree-view-03.js => devtools/client/performance/test/browser_perf-tree-view-03.js
rename : devtools/client/performance/test/browser_profiler_tree-view-04.js => devtools/client/performance/test/browser_perf-tree-view-04.js
rename : devtools/client/performance/test/browser_profiler_tree-view-05.js => devtools/client/performance/test/browser_perf-tree-view-05.js
rename : devtools/client/performance/test/browser_profiler_tree-view-06.js => devtools/client/performance/test/browser_perf-tree-view-06.js
rename : devtools/client/performance/test/browser_profiler_tree-view-07.js => devtools/client/performance/test/browser_perf-tree-view-07.js
rename : devtools/client/performance/test/browser_profiler_tree-view-08.js => devtools/client/performance/test/browser_perf-tree-view-08.js
rename : devtools/client/performance/test/browser_profiler_tree-view-09.js => devtools/client/performance/test/browser_perf-tree-view-09.js
rename : devtools/client/performance/test/browser_profiler_tree-view-10.js => devtools/client/performance/test/browser_perf-tree-view-10.js
rename : devtools/client/performance/test/browser_profiler_tree-view-11.js => devtools/client/performance/test/browser_perf-tree-view-11.js
rename : devtools/shared/performance/process-communication.js => devtools/client/performance/test/helpers/profiler-mm-utils.js
2016-03-16 09:39:39 +01:00
Christoph Kerschbaumer
eedfade0b0
Bug 1122236 - CSP: block-all-mixed-content - GCLI updates (r=jwalker)
2016-03-15 16:07:34 -07:00
Carsten "Tomcat" Book
6f6971137f
Merge mozilla-central to mozilla-inbound
2016-03-15 10:44:42 +01:00
Carsten "Tomcat" Book
344f5598d6
merge mozilla-inbound to mozilla-central a=merge
2016-03-15 10:43:02 +01:00
Jordan Santell
63679ce4b8
Bug 1177279 - Create a SourceLocationController to manage the state of updating sources for source mapping. r=jlong,jryans
2016-03-14 18:49:07 -07:00
Tom Tromey
ca928d3839
Bug 1255827 - Put loader-defined globals in devtools/.eslintrc. r=jryans
...
MozReview-Commit-ID: BkNfuA4Dotj
2016-03-11 09:19:00 -05:00
Nick Fitzgerald
1685818a63
Bug 1254092 - TraceIncomingCCWs should work at the JSCompartment level of granularity. r=jimb
...
There can be multiple compartments within the same zone, only one of which is a
debuggee. In this scenario, CCWs from other compartments into the debuggee
compartment should be traced and treated as roots. Therefore, dealing with CCWs
at the JS::Zone level is incorrect, and this patch changes the granularity level
to JSCompartments. If you look at the callers and uses of the function, it makes
much more sense now.
Additionally, it renames `JS_TraceIncomingCCWs` to `JS::TraceIncomingCCWs`.
--HG--
rename : devtools/shared/heapsnapshot/tests/gtest/DoesCrossZoneBoundaries.cpp => devtools/shared/heapsnapshot/tests/gtest/DoesCrossCompartmentBoundaries.cpp
rename : devtools/shared/heapsnapshot/tests/gtest/DoesntCrossZoneBoundaries.cpp => devtools/shared/heapsnapshot/tests/gtest/DoesntCrossCompartmentBoundaries.cpp
2016-03-14 16:11:00 +01:00
Patrick Brosset
b9fbc09651
Bug 1246088 - ESLint cleanups of devtools/shared/layout/utils.js; r=bgrins
...
MozReview-Commit-ID: gUB8kFMQVF
--HG--
extra : rebase_source : 7c2445645a123c00c79e3ca8829632d71dee0079
2016-03-09 12:09:48 +01:00
Patrick Brosset
4c08a64bcd
Bug 1246088 - Safely access contentWindow in iframe and embed; r=bgrins
...
MozReview-Commit-ID: 6GRsMsJPn5x
--HG--
extra : rebase_source : e2a69eead5a64287fcf5575ca6f09464edf121ca
2016-03-09 11:54:12 +01:00
Tooru Fujisawa
a9ce01a3e6
Bug 1253859
- Properly stringify thrown symbol in console. r=fitzgen
2016-03-09 01:32:34 +09:00
Myk Melez
db9a40ca42
Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco
2016-03-07 13:33:12 -08:00
Jarda Snajdr
3986fe2698
Bug 1244725
: DevTools: Show text of a HTTP response for video live streaming content types r=Honza
...
MozReview-Commit-ID: CA4tiyEtsTX
--HG--
extra : rebase_source : cb53c731f051df2083f197ccc5977e96ab19b52f
2016-03-03 04:39:00 -08:00