Commit Graph
815 Commits
Author SHA1 Message Date
Sebastian Hengst cbb8f10459 Backed out changeset 306169f86028 (bug 1380709) 2017-08-02 18:05:21 +02:00
Sebastian Hengst 35840907da Backed out changeset 44cfd92f709c (bug 1380709) 2017-08-02 18:05:20 +02:00
Nicolas Chevobbe 308ac6bf39 Bug 1380709 - Add mochitests and mocha tests to ensure entries are loaded as expected. r=bgrins
This adds several tests to make sure we can expand Sets and Maps entries, and that we manage
those properties in the store as expected.
We also add a stub for a Set object and take this as an opportunity to fix the stub name.

MozReview-Commit-ID: ChhIHKMPINF
2017-08-01 16:27:00 +02:00
Nicolas Chevobbe 92875b786e Bug 1380709 - Fetch Map/Set entries when expanding the Object Inspector. r=bgrins
Add getObjectEntries and loadObjectEntries as props for the ObjectInspector so
we can display entries on Maps and Sets.

MozReview-Commit-ID: Cy6SjxwclHI
2017-08-01 16:17:00 +02:00
Brian Grinstead 5edc019046 Bug 1385157 - Don't focus jsterm if the output region wasn't clicked;r=nchevobbe
MozReview-Commit-ID: Gv60PSFKErD
2017-07-31 11:57:47 -07:00
Tom Tromey b7ccf51b81 Bug 1385032 - add logErrorInPage to tab target in devtools; r=bgrins
This adds a method that can be called by the toolbox to log something to
the web console.

MozReview-Commit-ID: GpZtWwNVVGO
2017-07-07 12:53:32 -06:00
Wes Kocher 30e589816e Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Sebastian Hengst 48a3ab21ca merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-07-27 18:20:18 +02:00
Sebastian Hengst 32ea619857 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Sebastian Hengst d66790bf1e Backed out changeset 3ab3a5481b90 (bug 1369801)
MozReview-Commit-ID: KOBAIPo7laO
2017-07-27 18:14:13 +02:00
Junior Hsu f3a99c30c7 Bug 1373198 - Part 12: Disable RCWN for the devtools mochitest. r=rickychien 2017-07-26 04:18:00 -04:00
Nicolas Chevobbe abb470b008 Bug 1383017 - Remove border for top-level messages. r=bgrins
This adds a data-indent attribute to the message indent component
so we can target it in CSS.

MozReview-Commit-ID: DEUTHe42Pa0
2017-07-18 17:00:14 +01:00
Brian Grinstead b5d0055391 Bug 1383208 - Allow for null functionName in console messages;r=baku
MozReview-Commit-ID: 47O6kPQ3W8o
2017-07-26 15:14:07 -07:00
Julian Descottes 5554fc2ba6 Bug 1369801 - dt-addon: use window object in webconsole/net/main to load stylesheets;r=jryans
From console/net/main.js we are calling loadSheet from sdk/stylesheet/utils.
This API needs a real window object to work, but now that devtools are loaded
as a system addon, by default the global object is a sandbox wrapper.

Use the window object which points to the actual Window instead.

MozReview-Commit-ID: LxDNfDiOso3
2017-07-12 19:26:33 +02:00
Julian Descottes 8c0c562ada Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t
2017-07-11 12:30:22 +02:00
Brian Grinstead 01310e5ea5 Bug 1382833 - Add regression test for CPOWs in the Browser Console;r=jimb
MozReview-Commit-ID: 6OEnLdOpg4Q
2017-07-26 11:22:59 -07:00
Nicolas Chevobbe 97c62ce736 Bug 1380790 - devtools reps: update bundle to v0.10.0; r=bgrins
This also fixes a few tests that were failing due to changes
in how we now render arrays and objects in tiny mode.

MozReview-Commit-ID: 9JRjDQQ46FA
2017-07-25 17:52:38 +02:00
Nicolas Chevobbe ee4a4c043c Bug 881480 - Add ownSymbols to object preview; r=ochameau
This adds an `ownSymbols` and an `ownSymbolsLength` properties to the
grip `preview` property so we can retrieve them in the frontend.
This also refactors the newly introduced test for symbols and add a
function which test the content of the preview property in the grip.
The console test packet stubs files were updated to take this into account.

MozReview-Commit-ID: 7rPxFcS5uXE
2017-07-24 15:25:46 +02:00
Alexandre Poirot c800f15849 Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. r=jdescottes
MozReview-Commit-ID: L6k7SPf8czd
2017-07-20 13:52:57 +02:00
Brian Grinstead ef90612e82 Bug 1380499 - Prevent horizontal scrollbar from appearing in the console after vertical overflow. r=nchevobbe
MozReview-Commit-ID: zU3uHLLmef
2017-07-22 07:58:42 -07:00
Jan Odvarko 075eabaf1c Bug 1326937 - Fix persistent logs; r=bgrins
MozReview-Commit-ID: BLsEmTwkrxK
2017-07-21 11:20:02 +02:00
Jan Odvarko c26c0a47f9 Bug 1326937 - Fix CSS; r=bgrins
MozReview-Commit-ID: CKWZM1mG7YA
2017-06-23 14:22:46 +02:00
Jan Odvarko 65932bda75 Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: G2TzrRF0Vag
2017-06-09 09:42:34 -07:00
Johann Hofmann 3fca548c18 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT
2017-07-20 17:45:56 +02:00
Nicolas Chevobbe 550c5dbe71 Bug 1382690 - Adapt extensions inspect() calls to the new frontend. r=bgrins
The inspect command in extension was directly calling jsterm.inspectObject and doing so bypassed
the code we implemented for the command on the new frontend (i.e. no more variable view).
This patch modifies the jsterm inspectObject function so it can do the expected behavior,
and also reverts some changes made in the original inspect command bug, so we only deal with
the new frontend code in jsterm.inspectObject.
This implied changing an extension test that was waiting for the variable view to boot-up.
The test was modified to match the tests we already have for the inspect command on the new
console frontend.

MozReview-Commit-ID: 8fZV20Mck8r
2017-07-20 14:56:46 +02:00
Nicolas Chevobbe 032e8ce73a Bug 1374680 - Retrieve indent property from the message in the messages types components; r=bgrins
We don't retrieve the indent from the MessageContainer anymore, but from the lowest-level
component where we have access to the full message data, i.e. the messages types components (e.g.
ConsoleApi, EvaluationResult, … ).

MozReview-Commit-ID: JkaIcxnyt3W
2017-06-22 11:57:28 +02:00
Jan Odvarko 1b66e0ee95 Bug 1378850 - Stop using sdk/core/heritage in DevTools webconsole hudservice; r=sole,zer0
MozReview-Commit-ID: GWH1hYt3pUr
2017-07-07 13:37:56 +02:00
Ryan VanderMeulen 96dea1ec83 Backed out changeset 68c5012ba344 (bug 1378850) for ESlint no-unused-vars failures on a CLOSED TREE. 2017-07-19 12:26:25 -04:00
Jan Odvarko fd16f0afe1 Bug 1378850 - Stop using sdk/core/heritage in DevTools webconsole hudservice; r=sole,zer0
MozReview-Commit-ID: GWH1hYt3pUr
2017-07-07 13:37:56 +02:00
Jan Odvarko f842b59be1 Bug 1378825 - Stop using sdk/stylesheet/utils in DevTools; r=zer0
MozReview-Commit-ID: F26gvdnTbhT
2017-07-10 11:10:55 +02:00
Nicolas Chevobbe 2e1627a607 Bug 1379570 - Adapt the inspect command to the new console frontend. r=bgrins
MozReview-Commit-ID: LsT12pOJhvV
2017-07-11 13:50:59 +02:00
Wes Kocher 4bc98bfd1b Backed out changeset c676af6947ac (bug 1379570) for devtools failures in browser_webconsole_check_stubs_console_api.js a=backout
MozReview-Commit-ID: GMaDw6nXEwJ
2017-07-17 14:12:35 -07:00
Nicolas Chevobbe d4a4ecd2ad Bug 1379570 - Adapt the inspect command to the new console frontend. r=bgrins
MozReview-Commit-ID: LsT12pOJhvV
2017-07-11 13:50:59 +02:00
Sebastian Hengst 6aa896a12d Backed out changeset 227ff88b9848 (bug 1326937) for timing out in browser_ext_devtools_inspectedWindow_eval_bindings.js. r=backout on A CLOSED TREE 2017-07-17 20:48:25 +02:00
Sebastian Hengst eda374df44 Backed out changeset d99559a7adc7 (bug 1326937) 2017-07-17 20:47:41 +02:00
Jan Odvarko ffef152b76 Bug 1326937 - Fix CSS; r=bgrins
MozReview-Commit-ID: BrQKy5Vgbed
2017-06-23 14:22:46 +02:00
Brian Grinstead 2085208361 Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: 6Pxao2KmSb4
2017-06-09 09:42:34 -07:00
Junior Hsu ded770e714 Bug 1373198 - Part 5: disable rcwn for devtools mochitest tests which require deterministic cache behavior, r=Honza 2017-07-12 02:02:00 +02:00
Yoshi Huang 6aa2a312e4 Bug 1377523 - Part 6: fix in webconsole/. r=pbro
Use srcdoc for iframe.
2017-07-13 12:28:04 +08:00
Nicolas Chevobbe cd7cd71ba5 Bug 1307922 - Add support for console.dir(); r=Honza
MozReview-Commit-ID: 9TKWqF5FOWr
2017-07-12 14:57:00 +02:00
Nicolas Chevobbe 113448d80a Bug 1308566 - Add a mochitest for the ObjectInspector in the console. r=bgrins
MozReview-Commit-ID: GDiZEo7xfPJ
2017-07-11 09:55:40 +02:00
Nicolas Chevobbe 31aafcfef3 Bug 1308566 - Fixes broken tests due to the ObjectInspector switch. r=bgrins
Some tests were failing after switching to ObjectInspector.
Here we remove the ones that are specific to the VariableView, and
fix the "store as global" one.

MozReview-Commit-ID: 4IhNp4MTC2k
2017-06-29 09:15:16 -07:00
Nicolas Chevobbe 0bf0d3e837 Bug 1308566 - Release actors from loaded properties. r=bgrins,Honza
Because we need to check in an another property from the store for actors to release,
a little refactor of how we deal with actors to be released was needed.
So instead of tracking removed messages from the store, we directly track removed actors.
We can compute this list directly in the reducer, and it even allow us to simplify the enhancer a bit.
Some tests where added to make sure we do handle loaded properties in the store.

MozReview-Commit-ID: 72F2wl3UaLA
2017-06-28 16:51:46 -07:00
Nicolas Chevobbe 6666fbf743 Bug 1308566 - Use Object Inspector in Console. r=bgrins,Honza
MozReview-Commit-ID: 9jzXwHlBu3X
2017-07-11 16:29:41 +02:00
Frederik Braun 96b2642639 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Paolo Amadini 6db1a43ab3 Bug 1374242 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz
2017-06-29 00:13:06 +01:00
Sebastian Hengst 7e5fae0fc9 Backed out changeset 1cd9e27f0fa1 (bug 1351608) 2017-06-29 01:01:15 +02:00
Frederik Braun 3332995b26 Bug 1351608 - Comment out existing violations to no-unsanitize rule. r=standard8 2017-06-28 12:50:38 -07:00
Jan Odvarko ff5dbd46a2 Bug 1375458 - New alias for debounce module; r=nchevobbe
MozReview-Commit-ID: CQ62g6ZnlGk
2017-06-22 13:19:15 +02:00
Nicolas Chevobbe 05d4b607fe Bug 1307954 - Add integration test for clicking on network event message url; r=Honza.
This ensures that clicking on a message open the netmonitor panel, with the network
item clicked being selected in the netmonitor panel.
The loadDocument was edited to accept a URL instead of relying on the existence of
a TEST_PATH variable. Callsites where thus modified.

MozReview-Commit-ID: 3dbX1Myxirz
2017-06-20 15:14:32 +02:00