Commit Graph

1538 Commits

Author SHA1 Message Date
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
Jarda Snajdr
65e076156d Bug 1255734 - DevTools: Inspecting a primitive value in console throws a TypeError. r=vporof
--HG--
extra : rebase_source : c10241573f3ca5f5ecbbb040a24f551d0a848f0d
2016-03-11 01:33:00 -05:00
Kumar McMillan
967430b3e2 Bug 1256246 - Improve prompt for loading an add-on from directory. r=ochameau
MozReview-Commit-ID: oVBrMvK3nQ

--HG--
extra : rebase_source : 62bf333451a249bff1f023c1fea794f93c7fbad4
2016-03-14 15:23:44 +01:00
Ryan VanderMeulen
da1885e860 Merge inbound to m-c. a=merge 2016-03-12 15:23:38 -05: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
simplyblue
01da15852e Bug 1253806 - [DevTools][Memory] label.label-by > span element does not have margin-inline-end. r=fitzgen 2016-03-11 12:14:46 +05:30
Patrick Brosset
5e78e651d9 Bug 1253817 - Avoid race conditions when waiting for inspector-updated in browser_markup_html_edit_03.js; r=miker
MozReview-Commit-ID: 1oOdghoir47

--HG--
extra : rebase_source : 1f2da9db5ffac5c9d9a93bd98d40cf445306d9e7
2016-03-11 10:11:17 +01:00
Julian Descottes
b6e87e7dbc Bug 1254726 - fix intermittent test_action-clear-snapshots_06 (osx10.6);r=fitzgen
After enabling diff view and selecting two snapshots, wait for TAKE_CENSUS_DIFF_END
action in the test before deleting all snapshots. Otherwise, TAKE_CENSUS_DIFF_END
might be dispatched after clearSnapshots toggled diff mode off.

MozReview-Commit-ID: HNmIVn1SC8c

--HG--
extra : rebase_source : 5f4e5541d07b7ab911773c197430857c29be7c6d
2016-03-11 03:04:07 +01:00
Jordan Santell
8aab5a4b33 Bug 1251033 - Part 4 - Integrate Frame component in webconsole. r=linclark 2016-03-11 08:33:44 -08:00
Carsten "Tomcat" Book
09388646a3 Merge mozilla-central to fx-team 2016-03-11 16:58:46 +01:00
Carsten "Tomcat" Book
e070379821 merge mozilla-inbound to mozilla-central a=merge 2016-03-11 16:50:43 +01:00
Jan Odvarko
26702a93c8 Bug 1252807 - Fix eslint warnings in the Net panel. r=pbro 2016-03-10 15:28:44 +01:00
Jan Odvarko
e9b03dfbcf Bug 1252807 - Fix eslint warnings in the Net panel. r=pbro 2016-03-10 15:25:15 +01:00
Julian Descottes
111a5d7590 Bug 1155465 - part2: inplace-editor: disable increment on up/down for PLAIN_TEXT;r=miker
This patch forces the increment step to 0 when the type of the inplace-editor is
PLAIN_TEXT.

This type is used by:
- markup view for editing text and comment nodes
- rule-view to edit selectors
- projecteditor resource tree to create or rename a file

All other inplace editors will still benefit from the increment/decrement feature.

MozReview-Commit-ID: 8tZiFMwmWM3

--HG--
extra : rebase_source : 5e379848e9ba09073dd9775a080fd66654fe9c9e
2016-03-09 22:09:29 +01:00
Julian Descottes
7bc5a05fcc Bug 1155465 - part1: layout-view: use content-type CSS_VALUE for editors;r=miker
Inplace editors for the layout view should use the CSS_VALUE content-type since they
allow to edit a CSS value, and not just plain text.

MozReview-Commit-ID: 9mQA1fSmXvD

--HG--
extra : rebase_source : 952e83cc28a4a218f7b88f7bd7bb3b132aa1bc37
2016-03-10 08:58:24 +01:00
Julian Descottes
f25a8e9101 Bug 1253785 - fix unhandled promise rejections: wait for 2nd ruleview-changed;r=pbrosset
As commented in the test, using createNewRuleViewProperty with "width:"
will actually trigger two ruleview-changed events :
- one when focusing the property-name input
- one when focusing the property value input (which is automatically done when hitting
  return in this case, since we only entered a property name)

MozReview-Commit-ID: GjJnwDr3ON6

--HG--
extra : rebase_source : d4f22915dfdd65d55b23a09f797402944870f017
2016-03-09 15:44:13 +01: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
Nicolas Chevobbe
9c8b86de81 Bug 1181839 - Include inspector/test/head.js (which imports shared-head.js) in animationinspector's tests and removes code duplication. r=pbro
MozReview-Commit-ID: GrsOewqAggD

--HG--
extra : rebase_source : 069d715fa2fc7a71a6615bd3a657a6211564584c
2016-03-08 23:20:09 +01:00
Jan Odvarko
a83efd2468 Bug 1247065 - Implement Tree Component. r=bgrins, r=linclark, r=jlongster 2016-02-09 22:38:20 +01:00
Andrew Liu
02937e8dd8 Bug 1224492 - Modify devtools client inspector to disable commented properties when they are pasted into the rule editor. r=tromey 2016-03-10 05:29:00 -05:00
Ryan VanderMeulen
94788c4c2b Backed out changeset b2e8a5b5b256 (bug 1251033) for browser_scratchpad_wrong_window_focus.js permafail.
CLOSED TREE

--HG--
extra : rebase_source : 606764793be850d2a975cdf01daa741801848eba
extra : amend_source : 6655d546e52d6661a3c8079a1f74233c9ef70a70
2016-03-10 20:22:44 -05:00
Jordan Santell
f636eb87f1 Bug 1251033 - Part 4 - Integrate Frame component in webconsole. r=linclark 2016-03-10 15:43:56 -08: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
Jordan Santell
2c116e74fa Bug 1254444 - Frame component should react to being focused by displaying a legible color in the memory tool. r=fitzgen 2016-03-09 23:29:49 -08:00
Jordan Santell
01777b48df Bug 1254736 - Do not link to unlinkable frames in Frame component. r=fitzgen 2016-03-09 23:29:48 -08:00
Lin Clark
1d48126258 Bug 1249106 - Fail tests when React propType errors are logged. r=jyrans
MozReview-Commit-ID: HlTDuMhsyX6
2016-03-09 21:50:42 -08:00
Brian Grinstead
004c46bd8f Bug 1214439 - requestLongerTimeout for browser_dbg_split-console-keypress.js due to linux e10s timeouts;r=me
MozReview-Commit-ID: DnkHLe6lFSA
2016-03-09 16:26:30 -08:00
Tim Nguyen
41e8d758e2 Bug 1253981 - Fix out of view breakpoint checkboxes in debugger. r=bgrins
MozReview-Commit-ID: IHM56SfHwjL
2016-03-09 21:13:57 +01:00
Eddy Bruel
399122456e Bug 1250896 - Refactor SourceActor to use protocol.js;r=jryans 2016-03-09 14:24:38 +01:00
Patrick Brosset
f50216770f Bug 1239047 - Make comment nodes draggable in the markup-view; r=miker
MozReview-Commit-ID: 9kb8EIn2egH

--HG--
extra : rebase_source : 3f1627b2b93fce5f31da1d836c377145266ab90b
2016-03-08 10:21:36 +01:00
Jordan Santell
bf88202287 Bug 1251033 - Part 3 - Fix unmerged chunk from eb9b84702b2c. a=philor 2016-03-08 21:58:47 -08:00
Jordan Santell
62f6b6c19c Bug 1251033 - Part 2 - FrameComponent should correctly handle erroneous line/column formats. r=fitzgen 2016-03-08 19:19:10 -08:00
Jordan Santell
afb1708698 Bug 1251033 - Part 1 - BrowserLoader now has an option to only load shared components and not require an additional directory. r=jryans 2016-03-08 19:19:09 -08:00
Brian Grinstead
c30875f1e9 Bug 1240881 - Fail more gracefully if webconsole actor is using a non-live Frame for evaluation. r=jlongster 2016-02-05 15:41:00 -05:00
Wes Kocher
8cd1d52715 Backed out changeset 1832f51ba1a5 (bug 1241714) for hitting the network
MozReview-Commit-ID: 2BUSSIto6N0
2016-03-08 16:44:16 -08:00
Wes Kocher
a80b3e7f67 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: FyYG71q4yxf
2016-03-08 16:09:09 -08:00
Wes Kocher
0fbf6c1476 merge inbound to m-c a=merge
MozReview-Commit-ID: BHxDQF6gIe3
2016-03-08 16:00:45 -08:00
Gabriel Luong
2c9726ca15 Bug 1241714 - Implement a selectable device list that applies settings to the viewport r=jryans 2016-03-08 15:25:17 -08:00
Julian Descottes
a50c314fc4 Bug 916582 - skip autocomplete suggestions if style attribute already closed;r=tromey
When editing the style attribute, do not trigger autocomplete suggestions if the style attribute
was already closed by a set of matching double or single quotes.

Added a new test and moved common test functions to a dedicated helper.

MozReview-Commit-ID: 5AfkNXWvqTA

--HG--
rename : devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute.js => devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_01.js
extra : rebase_source : 98101b99cde59dba808bc91465ddcebfd1518dda
2016-03-08 19:26:17 +01:00
Tooru Fujisawa
a9ce01a3e6 Bug 1253859 - Properly stringify thrown symbol in console. r=fitzgen 2016-03-09 01:32:34 +09:00
Lin Clark
05225c81fc Bug 1253650 - Fix React propType warnings. r=fitzgen 2016-03-04 18:23:00 +01:00
Julian Descottes
523168a54c Bug 1253881 - memory profiler: toggle diffing when clearing snapshots;r=fitzgen
When clearing all snapshots, if currently displaying a diff, dispatch the
diffing.toggleDiffing action.

MozReview-Commit-ID: 1DyPZ7tHC1X

--HG--
extra : rebase_source : 595d182023567c01fc14b7fb25fc65406296466d
2016-03-07 21:23:32 +01:00
Brian Grinstead
4fbcf8548f Bug 1243958 - e10s fixes for browser_webconsole_bug_588342_document_focus.js;r=linclark
MozReview-Commit-ID: 6UPTfFWAFE9
2016-03-07 16:54:18 -08:00
J. Ryan Stinnett
3094c5d8e4 Bug 1253781 - Better perf with pure render. r=gl
There are few easy wins that greatly improve our perf with React:

* Add the PureRenderMixin to pure components that always render the same thing
  given the same props and state.  This implements React's shouldComponentUpdate
  as a shallow equality check of the props and state, so render() will be
  skipped if they match the previous values.
* Change action dispatch functions so they are only created once instead of on
  each render().  If an outer component creates new functions for each render()
  call, then the PureRenderMixin equality check fails for only the new function
  instances, even though no data has changed.

MozReview-Commit-ID: D96X048nEF4
2016-03-07 12:00:43 -06:00
Patrick Brosset
61aab1f481 Bug 1245383 - Use ContentTask.spawn to access the content window in 2 scratchpad tests; r=ochameau
browser_scratchpad_contexts.js and browser_scratchpad_execute_print.js used to
access javascript properties on the content window object by using 'content.'
directly.
Now these tests use 'ContentTask.spawn' instead, which required the
runAsyncCallbackTests helper to be changed so it would use a Task and yield
on the promises returned by prepare and then.

MozReview-Commit-ID: Cgw2mRxPrP4

--HG--
extra : rebase_source : de57e5c7ab155ee48f537941e0db7cf7f82ed266
2016-03-07 17:56:05 +01:00
Gabriel Luong
9227e41d43 Bug 1253879 - Update the devtools-separator to be the same style as the sidebar tab separator r=pbro 2016-03-07 11:43:07 -05:00
Julian Descottes
ed8fb019e9 Bug 1230325 - markup-view: skip keyboard shortcuts if any modifier;r=pbrosset
Bail out from the markup view onKeyDown handler if any modifier is currently
true. All shortcuts specified in this handler are intended to be used without
modifier, so for now this approach is fine.

Added a test checking the use case mentioned in Bug 1230325, with the S
shortcut. In order to write the test, had to create an additional method on
the test actor to be able to wait for events in the window of the content process.

MozReview-Commit-ID: 67icou0HkfA

--HG--
extra : rebase_source : e7235c487134505563cae3c5ac8bdabd42dc4363
2016-03-04 18:15:32 +01:00