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

841 Коммитов

Автор SHA1 Сообщение Дата
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
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Tom Tromey 5ee540dc6b Bug 1319150 - allow function-style observers in Services shim; r=jdescottes
MozReview-Commit-ID: Zq687zNvyI

--HG--
extra : rebase_source : 31f65225fb89c41f4d58e99d4d4f73591da42b92
2016-11-21 11:51:06 -07:00
Nicolas Chevobbe 0a6699a875 Bug 1312178 - Make Reps modes constants; r=Honza
Edit tests and component creation accordingly.

MozReview-Commit-ID: Gsj6QwNTjL0

--HG--
extra : rebase_source : efd64e3b50a383ab5df9d939380274a9f2074914
2016-11-20 19:53:16 +01:00
Gabriel Luong 3595c7be37 Bug 1308260 - Part 3: Dispatch the new grid data and update the store with the new grid state. r=jryans
--HG--
rename : devtools/client/responsive.html/utils/enum.js => devtools/client/shared/enum.js
2016-11-22 02:07:09 +08:00
Carsten "Tomcat" Book a69c372ef1 Merge mozilla-central to autoland 2016-11-18 16:57:20 +01:00
Nicolas Chevobbe db06f9352c Bug 1314573 - Modify textNode Reps modes to match elementNodeRep; r=Honza
On elementNodeRep, we have different outputs for tiny and short modes, and
short and long modes are the same.
Since the current long mode of textNodeRep aren't used anywhere, we can do the
same, i.e. have a really small representation for tiny mode, and then the same
rendering for short and long modes.
Modify tests to adapt them to the new rendering.

MozReview-Commit-ID: BRA7iADkn1C

--HG--
extra : rebase_source : 1e33216239ebdcde47a0f7e80e3c138a8d3335f2
2016-11-17 18:04:55 +01:00
Nicolas Chevobbe 1cc8b8d571 Bug 1314573 - Make Reps "long" mode displays first 10 items for object & array-like grips; r=Honza
Adapt tests that relied on an other length for long mode.

MozReview-Commit-ID: J00UmOa2AwJ

--HG--
extra : rebase_source : a7ff746662f006e1a132ce1e21cac3a0cbbea0e2
2016-11-17 08:02:28 +01:00
Dalimil Hajek eced87deb9 Bug 1314539 - Unify license files and Mozilla license headers in vendor directory. r=odvarko
--HG--
extra : rebase_source : 8c40fb6a4a41aabb8955e376cb6ee72fef8b9329
2016-11-15 08:12:00 -05:00
Gabriel Luong ae931577fd Bug 1302536 - Adds a toggleable button next to the 'display: grid' declaration to toggle the grid highlighter r=pbro 2016-11-16 22:35:20 +09:00
Nicolas Chevobbe cfd14cf481 Bug 1307941 - Add DOM nodes highlighter in new console frontend; r=bgrins
Add in serviceContainer highlight and unhighlight utils function so they can
be accessible in components.
Fix EvaluationResult component to pass the serviceContainer to the MessageBody.
Modify ElementNodeRep and TextNodeRep to allow passing them function properties
`onDOMNodeMouseOver` and `onDOMNodeMouseOut` that will be called respectively
on mouseOver and mouseOut.
Add a mochitest in the webconsole to make sure we indeed highlight and unhighlight
node as expected, and add tests in Reps to make sure the passed functions get called
as expected.

MozReview-Commit-ID: 8o8WM7vBfMM

--HG--
extra : rebase_source : 445f02a72b1c9859c0b034ca9e941a7f3df9f4e0
2016-11-04 23:53:35 +01:00
Nicolas Chevobbe 43e68544c4 Bug 1316225 - Add a Rep for Error objects; r=Honza
Handle the different kind of error objects.
Allow to pass a className to the objectLink component.
Add test to make sure we handle those objects as expected.

MozReview-Commit-ID: IC7ruV9odw1

--HG--
extra : rebase_source : b80c612f198af266d52ba6a56693923452a50dec
2016-11-11 01:20:55 +01:00
Tim Nguyen 3c755128db Bug 1316723 - Fix more eslint errors in devtools/client/shared/. r=tromey
MozReview-Commit-ID: IzXyqkQECKb

--HG--
extra : rebase_source : dee2c883181474a33a9afcd1c9cb73afd4122a8c
2016-11-11 09:09:50 +00:00
Wes Kocher c7d27df096 Merge mozilla-central to autoland a=merge 2016-11-11 14:10:32 -08:00
Carsten "Tomcat" Book cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Tom Tromey c0406c7342 Bug 1316700 - make developer-toolbar.js eslint-clean; r=jryans
MozReview-Commit-ID: FgvsY8PTpCj

--HG--
extra : rebase_source : f2ad123ecee242547371fd7e8482cf1e9c6bb02f
2016-11-10 14:07:02 -07:00
Tooru Fujisawa 0de491a387 Bug 1315242 - Part 6: Update test_frame_01.html to follow new behavior of location. r=bgrins 2016-11-11 06:34:14 +09:00
Tooru Fujisawa 1aace015d6 Bug 1315242 - Part 2: Display line number and column number in error message for console input. r=bgrins 2016-11-11 01:06:26 +09:00
Tooru Fujisawa d58043b509 Backed out changeset fd1505a03d78 for mochitest chrome bustage (bug 1315242) 2016-11-11 03:04:46 +09:00
Carsten "Tomcat" Book f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Tooru Fujisawa ea7adec077 Bug 1315242 - Part 2: Display line number and column number in error message for console input. r=bgrins 2016-11-11 01:06:26 +09:00
Nicolas Chevobbe 86c2afef9c Bug 1302982 - Add Rep for LongString; r=Honza
Display a longString with what is available on the grip.
Straight from the server, a longString grip has a "initial"
property, which contains the first 10000 chars of the string.
The grip can also contains a "fullText" property that should
be set when the user want to display the full text of the string.
For example, in the DOM Panel, it would be when the user click on
the expand arrow.
The fullText needs to be computed with the result of the
LongStringClient.substring function, but it's not the responsability
of the Reps to do such thing.

In rep-utils, we extract the logic that replace non-printable
characters in its own function and export it, so we can use it outside
the cropString function.

Add some test to make sure LongString are displayed as expected in the
several modes.

MozReview-Commit-ID: 3P9fPBixm2v

--HG--
extra : rebase_source : 87ed610cb6d2e142728f0df9d35f1dd7a4748d18
2016-11-03 18:08:16 +01:00
Nicolas Chevobbe 4ce68bc581 Bug 1311168 - Handle document fragment in grip array rep; r=Honza
MozReview-Commit-ID: Cq2YyKlMjjQ

--HG--
extra : rebase_source : 9a2eee2d7cec16eb3a27938fd5e0174ab0e5989e
2016-10-23 19:31:41 +02:00
Phil Ringnalda 9a35a9e7b6 Merge m-c to autoland 2016-11-07 20:41:56 -08:00
Phil Ringnalda 2c7a3afd66 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
James Long 8ad312e3e3 Bug 1315289 - Use correct API for opening a source in the debugger r=me 2016-11-07 13:10:03 -05:00
Tom Tromey 89d1b0e084 Bug 1310279 - add "wm" to Services shim; r=jdescottes
MozReview-Commit-ID: 2uW8RM2ufaf

--HG--
extra : rebase_source : 7b8ab7c18218f47f303c3323f942d8b1071af546
2016-10-20 14:34:23 -06:00
Nicolas Chevobbe 1886bc48c0 Bug 1314590 - Add Mozilla license header in devtools/client/shared/components/test/mochitest/ files. r=Honza;
MozReview-Commit-ID: FayTCRXuAWN

--HG--
extra : rebase_source : 515227d83a3df45a38a4d65068cd05109704a6e1
2016-11-03 22:41:18 +01:00