Граф коммитов

868 Коммитов

Автор SHA1 Сообщение Дата
Tom Tromey d0a35ae517 Bug 1328016 - add parseNamedDeclarations and use in rule view; r=pbro
MozReview-Commit-ID: 25LvVRvbpIm

--HG--
extra : rebase_source : bc1d33cf183212863b5b9a1a138d8671aad995b3
2017-01-03 13:14:08 -07:00
Ricky Chien b8d8e17b15 Bug 1328500 - Support input field in TreeView r=Honza
MozReview-Commit-ID: G80lLUK8CPT

--HG--
extra : rebase_source : d65638f4fa1667620eef1948729bd2b23842983e
2017-01-04 13:32:00 +08:00
Steve Chung 054529f0f9 Bug 1324334 - Migrate Chart.jsm to js and remove xul components in the chart, r=Honza,rickychien
MozReview-Commit-ID: CvVJlolZ8pZ

--HG--
rename : devtools/client/shared/widgets/Chart.jsm => devtools/client/shared/widgets/Chart.js
extra : rebase_source : 6ab3e570f9bbe27c4228dd333c0eec182b0381c1
2016-12-16 15:47:03 +08:00
Ricky Chien beec56c1e2 Bug 1328567 - TreeView expandedNodes should update when props changed r=Honza
MozReview-Commit-ID: FdJWqTY52eW

--HG--
extra : rebase_source : 66d3716f3da3aecb21cbdc34211d9c754c06b13c
2017-01-04 18:13:00 +08:00
Jared Wein 560afd3f8e Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn

--HG--
extra : rebase_source : f78d800263b8544ce0accbdb2dc57b303969543f
2017-01-03 10:07:50 -05:00
Alexandre Poirot 05785798fb Bug 1323466 - Lazy load optional deps from toolbox.js. r=jryans
MozReview-Commit-ID: 1E8fm9dfCwj

--HG--
extra : rebase_source : 450455e6d9044c264cbf4513622a87b9ce99c267
2016-12-14 08:33:54 -08:00
Ryan VanderMeulen e2cc59fb34 Merge m-c to autoland. a=merge 2016-12-30 10:05:04 -05:00
Sébastien Blin 10f0b72494 Bug 1315667 - Fix resizing inspector sidebar when zooming. r=Honza 2016-11-29 07:49:00 -05:00
Greg Tatum 555caa01f2 Bug 1245921 - Turn toolbox toolbar into a React component r+miker r=miker
MozReview-Commit-ID: 4UZbcfw2YI9

--HG--
extra : rebase_source : 9e9e8bfed8c8511ade6c7307a0201b88b0781fba
2016-11-18 15:02:21 -06:00
Greg Tatum 8eca822d58 Bug 1245921 - Monkey patch ReactDOM event system for XUL; r+miker r=miker
XUL iframes inside of a privileged XUL document propagate events
between the documents. This breaks React's event model, as React
captures all events at the document level. In the XUL document
containing a XUL iframe, these events end up being dispatched twice.
This fix tricks react into thinking the toolbox.xul document is the only
root document, thus fixing the event system.

MozReview-Commit-ID: B3XF3L6rax1

--HG--
extra : rebase_source : 723d21342dc876a8342882ae066b36c26daf37d2
2016-12-23 15:57:03 -06:00
Nicolas Chevobbe 6c17e99d36 Bug 1318796 - Open the appropriate tool when clicking on a location in the new console; r=jdescottes
We were always opening the debugger when clicking on the location link,
which could be wrong since we can have CSS warnings, or logs coming from Scratchpad.
So we add the function to open in StyleEditor and Scratchpad, and copy some mochitests
that where testing the interaction with those links.


MozReview-Commit-ID: 73mQNfy199m

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_location_debugger_link.js
rename : devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_location_scratchpad_link.js
rename : devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_location_styleeditor_link.js
rename : devtools/client/webconsole/test/test-bug-766001-console-log.js => devtools/client/webconsole/new-console-output/test/mochitest/test-location-debugger-link-console-log.js
rename : devtools/client/webconsole/test/test-bug-766001-js-errors.js => devtools/client/webconsole/new-console-output/test/mochitest/test-location-debugger-link-errors.js
rename : devtools/client/webconsole/test/test-bug-766001-js-console-links.html => devtools/client/webconsole/new-console-output/test/mochitest/test-location-debugger-link.html
rename : devtools/client/webconsole/test/test-bug-782653-css-errors-1.css => devtools/client/webconsole/new-console-output/test/mochitest/test-location-styleeditor-link-1.css
rename : devtools/client/webconsole/test/test-bug-782653-css-errors-2.css => devtools/client/webconsole/new-console-output/test/mochitest/test-location-styleeditor-link-2.css
rename : devtools/client/webconsole/test/test-bug-782653-css-errors.html => devtools/client/webconsole/new-console-output/test/mochitest/test-location-styleeditor-link.html
extra : rebase_source : a8494acb5e450f86fa9cddd34515265fc3494d17
2016-12-01 08:29:43 +01:00
Michael Ratcliffe 18a7d3b601 Bug 1322873 - Bug 1322873 - Add React event bubbles to the Markup View r=miker
MozReview-Commit-ID: 5uGOROUTrn2

--HG--
extra : rebase_source : 0009443e5226883d55b2d3d917a7cd408f3adc76
2016-12-24 21:41:15 +00:00
Wes Kocher c2cdfab9c9 Backed out changeset ff9a07a874fd (bug 1322873) for failing the tests it added a=backout 2016-12-23 16:00:18 -08:00
Michael Ratcliffe 02b002221a Bug 1322873 - Bug 1322873 - Add React event bubbles to the Markup View r=tromey
DevRel have made it clear that one of the number one complaints they hear is that we are not supporting React in our tools.

So how about we have our event bubbles include React events and allow people to go to the event listener source in the debugger?

I don't believe that any other tool does this so it is totally worth doing... and in time for Christmas as well ;)

Works just fine in development and production versions of React.

It also works in the browser toolbox so it can be used to debug events in our own tools e.g. The Debugger.

The files under devtools/client/inspector/markup/test/ are either test or React library files so they only really need a cursory glance.

This means that you should focus on the following files when reviewing:
 - devtools/client/locales/en-US/inspector.properties
 - devtools/client/shared/widgets/tooltip/EventTooltipHelper.js
 - devtools/server/actors/inspector.js
 - devtools/server/event-parsers.js

Now allowed the use of JSX in mochitests and fixed all eslint errors.

MozReview-Commit-ID: AtxhainieQe

--HG--
extra : rebase_source : c57ce476875b19b99ef9e2dcf66df1274809fa54
2016-12-19 11:23:49 +00:00
JerryShih 721c429ccb Bug 1310681 - update devtool color function test for colorUtils.colorToRGBA default argument changing. r=tromey
MozReview-Commit-ID: Aa2wW4rEDs

--HG--
extra : rebase_source : 4ccfb2c041b109477613a256cdc8d4670765b269
2016-10-21 15:29:01 -04:00
JerryShih 2511e53948 Bug 1310681 - pass css-color-4 color function supporting info to devtool css OutputParser and SwatchColorPickerTooltip. r=tromey
Pass css-color-4 supporting status from css-property db to OutputParser and SwatchColorPickerTooltip.

MozReview-Commit-ID: N1ffWOlf9f

--HG--
extra : rebase_source : 94b281c2c101d27dc169a6ba6eeca5acf60b8f16
2016-10-21 14:59:07 -04:00
Sebastian Hengst 687833a39a Backed out changeset 6b0e836a33a9 (bug 1316265) for leaks in Linux x64 devtools tests. r=backout 2016-12-20 19:35:54 +01:00
Sebastian Hengst b4fa7eafd2 Backed out changeset 70b75b80fb80 (bug 1316265) 2016-12-20 19:35:18 +01:00
Tim Nguyen 92efda9b32 Bug 1316265 - Remove unnecessary Task.async() and yield from test. r=nchevobbe
MozReview-Commit-ID: 7fi7Pj7eJjd

--HG--
extra : rebase_source : 86deeffa31ebc0c552859f89c33f28a3be8edc75
2016-12-20 15:37:30 +01:00
Tim Nguyen 26aaa118a1 Bug 1316265 - Reps: display when a function is a generator or an async function. r=nchevobbe
MozReview-Commit-ID: C79EAU4vN1u

--HG--
extra : rebase_source : a6a2f2c3a6673915811993db852f0c799a96d3c6
2016-12-20 15:34:50 +01:00
Julian Descottes 375c5fe2a4 Bug 1323638 - fix devtools services shim for child preferences;r=jlast
MozReview-Commit-ID: HlzAeHOuG2a

--HG--
extra : rebase_source : 062adff9dc8b72249f9a754b27ee0d9ceacfff3c
2016-12-15 07:19:44 +01:00
Nicolas Chevobbe beaeb0e42e Bug 1322083 - Fix Reps with safeGetterValues; r=ntim
Sometimes (e.g. for window.applicationCache), Reps was shown with a negative number
before the "more..." label. This was due to displaying the children of safeGeterValues
property but not taking them into account for the total number of properties in the object
when displaying the "more..." label.
We fix this and add a test case to make sure we won't have this bug later

MozReview-Commit-ID: 1qBCvehV0Jc

--HG--
extra : rebase_source : 44461f378681407665c6426c0b30be87ae95488a
2016-12-17 20:07:29 +01:00
Gabriel Luong 1e634e99df Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes 2016-12-17 12:44:56 +09:00
Ricky Chien a75599dcae Bug 1309188 - Implement Security Panel r=Honza
MozReview-Commit-ID: LgYB97ByYdR

--HG--
extra : rebase_source : 727106dd9413e05b7c0ad5a6fa8bd109ca91a7e6
2016-11-24 21:50:49 +08:00
Jarda Snajdr 79f7a22b80 Bug 1309866 - Add option for loading common libraries to BrowserLoader r=Honza,jlongster
MozReview-Commit-ID: HGS3T6QcOvF
2016-11-23 16:43:41 +01:00
Carsten "Tomcat" Book 96b65956d8 Backed out changeset ec1ebd2666c7 (bug 1309866) 2016-12-09 15:45:49 +01:00
Jarda Snajdr 2df219dc2b Bug 1309866 - Add option for loading common libraries to BrowserLoader r=Honza,jlongster
MozReview-Commit-ID: HGS3T6QcOvF

--HG--
extra : rebase_source : 473d2d4876ee60bc68a4144b0bf059b3aac22b45
2016-11-23 16:43:41 +01:00
Julian Descottes 3f0ff25997 Bug 1321509 - use devtools-local-toolbox to load the inspector in content;r=bgrins,tromey
Add package.json to devtools/client/inspector
Integration with devtools-local-toolbox:
- provides development server
- default webpack config
- landing page to select a tab

In this patch:
- bin/dev-server-js contains the inspector specific routes
- webpack/*-sham.js : inspector dependencies that had to be mocked
  ideally, decoupling work should continue and the inspector client
  should only ever require files that require no chrome priviledged
  APIs.
- toolbox.js contains the interface with devtools-local-toolbox bootstrap
  and the inspector panel initialization
- configs/development.json is the inspector config for the devtools-local-toolbox

MozReview-Commit-ID: 7YQLUlgSyDX

--HG--
extra : rebase_source : aba8fac87b66546dbb98f8f8d476cd1557c2659d
2016-12-07 18:24:51 +01:00
Towkir Ahmed e88165e1ca Bug 1313486 - Fix unicode-bidi for DOM label and value in RTL locales. r=Honza
--HG--
extra : rebase_source : 1ed7cdc2a2c0002e2d32dc92523914d1db7fbbc8
2016-11-25 10:16:00 -05:00
Wes Kocher 9e952ef90e Backed out 3 changesets (bug 1309866) for too many intermittent test failures after landing a=backout
Backed out changeset 30baf39ed89f (bug 1309866)
Backed out changeset e0e09f7f22a3 (bug 1309866)
Backed out changeset 75d37553b7cd (bug 1309866)
2016-12-02 11:14:57 -08:00
Wes Kocher b5de71ec44 Merge m-c to autoland, a=merge 2016-12-01 15:46:49 -08:00
Ruturaj K. Vartak f749394c02 Bug 1320304 - Firebug theme - Wrong height of Inspector, Network side panel tabs. r=Honza 2016-11-29 22:53:00 -05:00
Brian Grinstead 47309efaed Bug 1259603 - Use ConsoleEvents for cached messages and observing messages when webconsole actor is running;r=ejpbruel
MozReview-Commit-ID: E3oG451qPe9

--HG--
rename : devtools/server/actors/utils/webconsole-utils.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/utils/webconsole-worker-utils.js => devtools/server/actors/utils/webconsole-worker-listeners.js
extra : rebase_source : 6e60511fc0432c24fe7b85f6a24924c66ecd5547
2016-11-30 10:32:48 -08:00
Nicolas Chevobbe 5b80eb8f49 Bug 1321518 - Fix requireHelper for enzyme. r=bgrins
Bug 1312236 updated React to v15.3.2 which was making webconsole's mocha test fail.
An error was thrown because the path and export we do in requireHelper to make enzyme
able to call React functions was changed.
We fix the require to ReactDOM by using the react-dom.js file, and we add the similar
react-dom-server.js for ReactDOMServer functions.

Tests now run like they used to.

MozReview-Commit-ID: GXIQJPlqp4A

--HG--
extra : rebase_source : 909bde919dd4d77d8910b4dba7392283f130333a
2016-12-01 19:47:36 +01:00
Tom Tromey f504948b28 Bug 1316630 - don't emit pref-changed event on gDevTools; r=jdescottes
MozReview-Commit-ID: CCqAf8dBFSY

--HG--
extra : rebase_source : dac78e13ef9e52c5f36c17372d023be62c4396e7
2016-11-21 08:47:10 -07:00
Tom Tromey b6eca933c1 Bug 1316630 - move PrefObserver to devtools/shared/prefs.js; r=jdescottes
MozReview-Commit-ID: C4KxFxv2LVT

--HG--
extra : rebase_source : 484a654309eab406913f944d6aa8988c567641d7
2016-11-14 15:46:19 -07:00
Nicolas Chevobbe d1a4f7ed79 Bug 1320359 - Make EventRep displays like events were displayed in old console; r=Honza
Add a target property and show the event name (and modifiers if any) in the title.
Minor edit in GripRep to allow to pass a title as a prop.
Edit tests accordingly, and add some to test node highlighting.

MozReview-Commit-ID: JmMidejKS6m

--HG--
extra : rebase_source : 29ad4d398ad7518d752b323a6e6393cd30b18a0a
2016-11-25 23:52:06 +01:00
Jarda Snajdr 9529594eba Bug 1309866 - Add option for loading common libraries to BrowserLoader r=Honza,jlongster
MozReview-Commit-ID: HGS3T6QcOvF

--HG--
extra : rebase_source : 941e27ee1c0864ae6f9da82e8ed49d2defdcf4cf
2016-11-23 16:43:41 +01:00
Michael Ratcliffe cb47ff5513 Bug 1320362 - Move indexedDb storage type in the storage inspector into a new column r=jdescottes
Ideally we would have used the GUID to join fields to build the compound key but because we show the uniqueId in the tree that would lead to an ugly user experience. As an
alternative we simply use e.g. db1 (default) as the uniqueId. This works as a unique key, is informative for the user and means minimal changes to tests.

MozReview-Commit-ID: I0XxTIoV33p

--HG--
extra : rebase_source : a8a9729ae639f68e849fc8239c36f451496847ad
2016-11-29 10:57:18 +00:00
Carsten "Tomcat" Book 06069f9b3c Merge mozilla-central to mozilla-inbound 2016-11-29 16:49:35 +01:00
Carsten "Tomcat" Book 68202ee27c merge mozilla-inbound to mozilla-central a=merge 2016-11-29 16:47:18 +01:00
Jarda Snajdr d4a2d004d4 Bug 1312236 - Fix Tree component tests after upgrade to React 15 r=fitzgen
MozReview-Commit-ID: 1hHF3JLg4W
2016-11-28 14:38:00 +01:00
Lin Clark 7e4edbd45d Bug 1312236 - Update React to 15.3.2 r=jsnajdr
MozReview-Commit-ID: LLIjkUt5AUU
2016-11-28 14:38:00 +01:00
Michael Ratcliffe 8fd7191757 Bug 1315639 - Event listener popup needs rewriting r=gerv,pbro
Changes:
  - Removed 5 lines from toolkit/content/license.html as requested by gerv.

MozReview-Commit-ID: COFNoCDVyp6

--HG--
rename : devtools/client/inspector/markup/test/browser_markup_events1.js => devtools/client/inspector/markup/test/browser_markup_events_01.js
rename : devtools/client/inspector/markup/test/browser_markup_events2.js => devtools/client/inspector/markup/test/browser_markup_events_02.js
rename : devtools/client/inspector/markup/test/browser_markup_events3.js => devtools/client/inspector/markup/test/browser_markup_events_03.js
rename : devtools/client/inspector/markup/test/doc_markup_events1.html => devtools/client/inspector/markup/test/doc_markup_events_01.html
rename : devtools/client/inspector/markup/test/doc_markup_events2.html => devtools/client/inspector/markup/test/doc_markup_events_02.html
rename : devtools/client/inspector/markup/test/doc_markup_events3.html => devtools/client/inspector/markup/test/doc_markup_events_03.html
extra : rebase_source : a8257bfe65c6b69bb90add5c37e99dfaad14bf2d
2016-11-04 17:16:50 +00:00
Nicolas Chevobbe 7ce08bec8a Bug 1320399 - Fix error in Grip Rep; r=nchevobbe
Check that the `preview` property is not null before using it.
The bug was harmless because we catch it and return an
empty array as the properties of the grip, which is the same
when we don't have anything in the preview prop.

MozReview-Commit-ID: COU8XLATw7x

--HG--
extra : rebase_source : e3b4efbc4957efdeda760917b6b7d22ad02f64ce
2016-11-26 20:47:09 +01:00
Nicolas Chevobbe 95aa11f632 Bug 1320161 - Fix objectLink in Attribute Rep; r=Honza
MozReview-Commit-ID: IaHGVZbxHhR

--HG--
extra : rebase_source : 41bef0443bcb394211bf68187d4fa412a9f23e1d
2016-11-24 19:19:28 +01:00
djmdev c24c73becd Bug 1316613 - Disables eyedropper icon if the eyedropper highlighter is unavailable.r=jdescottes
MozReview-Commit-ID: 3HhqqGqnoHo

--HG--
extra : rebase_source : 19eaf23766650bbaf25062dccf7c3fe3bd0c58a3
extra : histedit_source : e601ebf85efc214bf5c650d76298c6a9dca72bd9
2016-11-24 03:08:28 +05:30
Astley Chen 33ca2973e8 Bug 1270406 - Unprefix pseudo-class dir in DevTool resources. r=pbro
MozReview-Commit-ID: Dw5DhErHkY8

--HG--
extra : rebase_source : 433e1e764025578074d4fff132233b880d405b20
2016-11-22 23:05:18 +08:00
Michael Ratcliffe b4e6fa3527 Bug 1146194 - Multiple cookies with the same name not shown r=gl
Stubborn debugger statement.

MozReview-Commit-ID: F2qgWofemHG

--HG--
rename : devtools/client/storage/test/browser_storage_dynamic_updates.js => devtools/client/storage/test/browser_storage_dynamic_updates_sessionStorage.js
extra : rebase_source : 07934238d3c2d8dbc1a81d28d9a3a710ee39a126
2016-11-11 15:57:51 +00:00
Carsten "Tomcat" Book cf6fb9d85b Merge mozilla-central to autoland 2016-11-22 16:29:49 +01:00