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

553 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa be551e20bb Bug 883377 - Part 5: Update devtools to follow displayName change. r=miker 2016-12-03 07:44:22 +09: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
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
Phil Ringnalda 0c055ccbcf Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5JquuqfrPPy
2016-11-30 19:18:47 -08:00
Michael Brennan 9d5d426590 Bug 1316855 - Tooltip of "Toolbox Buttons" should show their shortcut. r=jryans 2016-11-29 13:21: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
Phil Ringnalda 4f2b77776e Merge m-c to m-i
MozReview-Commit-ID: IQH3p0Fs2su
2016-11-29 19:32:37 -08:00
André Bargull 75e7c1e895 Bug 1319935 - Remove String generics uses in devtools. r=bgrins
--HG--
extra : rebase_source : c358aeafcfae021f8cf3f3bad723ef9a1f763228
2016-11-24 13:16:44 -08:00
Nicolas Chevobbe 0f7459dfc2 Bug 1319247 - Fix devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_batching.js intermittent; r=bgrins
Adjust `waitFor` default interval and retries in head.js to speed things up for the better case.
In the test, remove the logging when the state changes saves a lot of time.

MozReview-Commit-ID: LWdClmzzJ3P

--HG--
extra : rebase_source : 7b1e3ab8925e4cb77119d1f007761d51879959ba
2016-11-24 20:19:44 +01:00
Carsten "Tomcat" Book a666835bf5 merge mozilla-inbound to mozilla-central a=merge
--HG--
extra : rebase_source : 7f6b0f633da54f747b30496110e5260a226fe249
2016-11-25 15:36:56 +01:00
Jarda Snajdr aed5b28836 Bug 1320110 - WebConsoleClient API calls should return promises r=ochameau
MozReview-Commit-ID: 1mmGGUgIwqA

--HG--
extra : rebase_source : 37a1024dbae384461008634ef6a3d3fb62f1a66b
2016-11-24 16:12:25 +01:00
Bob Owen 47ce281631 Bug 1147911 Part 8: Create separate content process for file:// URIs. r=gabor, r=gijs, r=smaug 2016-11-24 15:08:32 +00:00
Bob Owen 7703f00919 Bug 1147911 Part 4: Fix test to allow for separate file content process. r=ochameau 2016-11-24 15:08:31 +00:00
Sebastian Hengst 473a23f31e Backed out changeset 7dc106b54960 (bug 1147911) 2016-11-23 18:33:02 +01:00
Sebastian Hengst e1fcbcf994 Backed out changeset 2a7569652090 (bug 1147911) 2016-11-23 18:32:46 +01:00
Bob Owen fd9634b56e Bug 1147911 Part 8: Create separate content process for file:// URIs. r=gabor, r=gijs, r=smaug 2016-11-23 13:36:58 +00:00
Bob Owen 145a67c6d0 Bug 1147911 Part 4: Fix test to allow for separate file content process. r=ochameau 2016-11-23 13:36:58 +00:00
Tom Schuster 78e10f98ab Bug 755821 - Parse arguments of Function constructor properly. r=shu 2016-10-15 11:47:00 +09:00
Fred Lin 2b3cb25777 Bug 1314528 - [webconsole] enable mocha test on windows;r=linclark
MozReview-Commit-ID: 4jRGiMnkj9k

--HG--
extra : rebase_source : 203c4079a3c3888292e856d773f47df418c0c388
2016-11-16 09:29:20 +08:00
Fred Lin e8bca4b983 Bug 1314528 - [webconsole] rename requireHelper to require-helper;r=linclark
MozReview-Commit-ID: BiVyX2EY2cV

--HG--
rename : devtools/client/webconsole/new-console-output/test/requireHelper.js => devtools/client/webconsole/new-console-output/test/require-helper.js
extra : rebase_source : 6fcaac8590181ce40d73e5f5757223238ce8a4cb
2016-11-16 09:26:03 +08: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
Jarda Snajdr 947b7a3cd2 Bug 1309866 - Migrate RequestsMenuView to a React component with Redux store r=Honza
MozReview-Commit-ID: IMu1sJLxQYy

--HG--
extra : rebase_source : 9c128a3e145974d5ffd2c77014cd064f75119919
2016-10-11 15:13:28 +02:00
Nicolas Chevobbe 059061f01f Bug 1314573 - Uses Reps in long mode in the console; r=bgrins
In the MessageBody component, we already have the "mode" props we use
to pass it to the Reps. We only default it to "long" so most of the
message will use it.
We only need to specify to use "short" mode in ConsoleTable cells.

MozReview-Commit-ID: 6KyZkN86bHJ

--HG--
extra : rebase_source : 39fcc8ff5cb3386663fb5f0821cecd78abae00b3
2016-11-17 13:38:23 +01:00
Brian Grinstead 2448c2e6e5 Bug 1317423 - Remove unused declarations after move;r=jlast
MozReview-Commit-ID: 9hD6rAbGYP9
2016-11-16 15:38:24 -08:00
Brian Grinstead c8e3b60942 Bug 1317423 - Move WebConsoleConnectionProxy into its own module;r=jlast
MozReview-Commit-ID: EMEo0CqlOPM

--HG--
rename : devtools/client/webconsole/webconsole.js => devtools/client/webconsole/webconsole-connection-proxy.js
2016-11-16 15:38:22 -08:00
Tim Nguyen db1c58b6ed Bug 1307871 - Add new console frontend support for 'Enable timestamps' pref. r=bgrins
MozReview-Commit-ID: FshE769sETL

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_timestamps.js
extra : rebase_source : 0990d586a20cbaa7e8603f3a0aadf664200506cd
2016-11-15 19:23:47 +00: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
Tim Nguyen 249e72c86d Bug 1307942 - Add CSS warnings and errors to new console. r=bgrins
MozReview-Commit-ID: FB0P3X0r7Jz

--HG--
extra : rebase_source : c902386ce1a8b266a34c3c83d5b693d8c47b5ffb
2016-11-14 17:33:29 +00: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
Tooru Fujisawa 456e0331df Bug 1315242 - Part 5: Add a testcase for location in Evaluation Result. r=bgrins 2016-11-11 01:06:26 +09:00
Tooru Fujisawa 711fe4b331 Bug 1315242 - Part 4: Update stub. r=bgrins 2016-11-11 01:06:26 +09:00
Tooru Fujisawa 0bb46763c0 Bug 1315242 - Part 3: Add a test input for syntax error in Evaluation Result. r=bgrins 2016-11-11 01:06:26 +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
Tooru Fujisawa 6e79da1738 Backed out changeset 07585bbe0c8f (bug 1315242) 2016-11-11 03:04:10 +09:00
Tooru Fujisawa 758659f807 Backed out changeset 5778f05e78db (bug 1315242) 2016-11-11 03:04:07 +09:00
Tooru Fujisawa dcad4ac006 Backed out changeset ce34d3f8a3b7 (bug 1315242) 2016-11-11 03:04:03 +09:00
Carsten "Tomcat" Book f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Tooru Fujisawa 116a43b9d0 Bug 1315242 - Part 5: Add a testcase for location in Evaluation Result. r=bgrins 2016-11-11 01:06:26 +09:00
Tooru Fujisawa 85e0da8e93 Bug 1315242 - Part 4: Update stub. r=bgrins 2016-11-11 01:06:26 +09:00
Tooru Fujisawa 2d87695fd3 Bug 1315242 - Part 3: Add a test input for syntax error in Evaluation Result. r=bgrins 2016-11-11 01:06:26 +09: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
Jared Wein 5bb7b57b66 Bug 1316096 - Change eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error. r=mossop
MozReview-Commit-ID: 2Xuj5nxuQdO

--HG--
extra : rebase_source : fab5c4903b47d48080ff3c07825440e12f718698
2016-11-08 15:14:19 -05:00
Wes Kocher 008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Phil Ringnalda 592b02e148 Merge m-c to m-i
MozReview-Commit-ID: 8cFOopE3aHd
2016-11-07 20:40:30 -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
Blake Kaplan e206d178b4 Bug 1311197 - Remove a shim use from devtools tests. r=Gijs
MozReview-Commit-ID: LXfgna5sb9s
2016-11-07 14:43:43 -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
Nicolas Chevobbe 25ccec6cf2 Bug 1307905 - Ignore irrelevant properties in stub generation; r=linclark
This can be tested by inserting a new stub in first position, in order to change
the actor id on the existing stubs, and then check in the resulting diff that
actor id, timestamp and timer properties are not modified.

MozReview-Commit-ID: K5enQ5cF7RR

--HG--
extra : rebase_source : 7e52d01393d84b3fef637682faae668179093a0a
2016-10-25 20:16:50 +02:00