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

16100 Коммитов

Автор SHA1 Сообщение Дата
David Walsh 6c13a5eb85 Bug 1551728 - Fix jest tests for SourcesTreeItem r=jlast
Fixes a portion of the broken jest tests.

Differential Revision: https://phabricator.services.mozilla.com/D31155

--HG--
extra : moz-landing-system : lando
2019-05-14 23:55:19 +00:00
Derek Li 855039ff42 Bug 1550902 - Change max size of Secondary and Editor panes r=davidwalsh
Set a maximum size for panes

Differential Revision: https://phabricator.services.mozilla.com/D30743

--HG--
extra : moz-landing-system : lando
2019-05-14 22:07:38 +00:00
Oriol Brufau 4be85f2295 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-05-14 06:46:30 +00:00
Geoff Brown 2e23a14e8b Bug 1535287 - Cleanup remaining clipboard subsuite entries in manifest; r=ahal
I assume these were accidentally missed in bug 1546459.

Differential Revision: https://phabricator.services.mozilla.com/D31008

--HG--
extra : moz-landing-system : lando
2019-05-14 19:15:26 +00:00
Florens Verschelde cdb0ff84d7 Bug 1550040 - Add warning icon to contrast warning badge; r=yzen,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D30459

--HG--
extra : moz-landing-system : lando
2019-05-14 19:05:48 +00:00
Christoph Walcher d396718f90 Bug 1530138 - Added resend option in WebConsole r=nchevobbe,Honza
Added resend option in WebConsole

Differential Revision: https://phabricator.services.mozilla.com/D30779

--HG--
extra : moz-landing-system : lando
2019-05-14 12:47:08 +00:00
Yura Zenevich b8d8b8136d Bug 1550542 - make a sentence about no checks found less confusing. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D30596

--HG--
extra : moz-landing-system : lando
2019-05-14 12:27:53 +00:00
Yura Zenevich 9435e40740 Bug 1550542 - ensure expanded/collapsed state is set the focusable header element in accordion rather than the list item. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D30595

--HG--
extra : moz-landing-system : lando
2019-05-14 12:27:44 +00:00
Yura Zenevich 5006c3543f Bug 1550542 - fix a number of issues around aria-level within the accessibility tree. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D30594

--HG--
extra : moz-landing-system : lando
2019-05-14 12:31:13 +00:00
Belén Albeza 3ef458c297 Bug 1540689 - Update documentation links in the new about:debugging. r=jdescottes,daisuke,Ola
Differential Revision: https://phabricator.services.mozilla.com/D30491

--HG--
extra : moz-landing-system : lando
2019-05-14 13:17:27 +00:00
Florens Verschelde 235f2f4ed0 Bug 1519904 - Add borders between console messages; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D29966

--HG--
extra : moz-landing-system : lando
2019-05-13 17:01:26 +00:00
Kestrel b9ad900d6c Bug 1551150 - Override the old about:debugging's in-content category button min-width to better respond to compact window width r=dao
Differential Revision: https://phabricator.services.mozilla.com/D30872

--HG--
extra : moz-landing-system : lando
2019-05-13 17:52:43 +00:00
Nicolas Chevobbe 434435c86f Bug 1549388 - Render non-string messageText with GripMessageBody. r=bgrins.
Sometimes the messageText can be a longString, which was crashing
the whole console output since we were always assuming messageText
was a plain string.
We now render non-string messageText with reps so it handles longStrings.
A mocha test is added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D30875

--HG--
extra : moz-landing-system : lando
2019-05-13 23:47:19 +00:00
Nicolas Chevobbe 2ce628defc Bug 1551222 - Fix stacktrace for throwing console evaluated expressions. r=bhackett.
We now have stacktrace for expressions evaluated in the console
that throws, and we are stripping any frames that are devtools
internals.
But the way we were doing this meant that we were only having
one `debugger eval code` frame, even if the expression in the console
had multiple frames.
Also, if an expression was throwing without having any `debugger eval
code` frame (e.g. expression with SyntaxError), we were sending internal
frames.
This patch should fix those 2 cases and a linux 64 ccov intermittent
caused by a different line number for an internal frame in a fixture
packet.
Tests cases are added to the existing mochitest to ensure this
works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D30934

--HG--
extra : moz-landing-system : lando
2019-05-13 18:42:31 +00:00
Razvan Maries 044f8f95e7 Backed out changeset 60085ea6ff72 (bug 1543753) for causing debugger perma failures. CLOSED TREE 2019-05-14 03:20:20 +03:00
Brian Hackett 03090392f2 Bug 1547864 - Use a single debugger request to gather information needed to pause at a location, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D29292

--HG--
extra : rebase_source : fdd36325071826bb0f423c1b028c3ee1722e5984
2019-04-29 06:40:23 -10:00
Brian Hackett 13fb1413fb Bug 1543753 - Don't view sources that can't be loaded in the debugger, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D29593

--HG--
extra : rebase_source : 75e76b049d366b1324ea8fa1188fd4ea505c5348
2019-05-01 14:01:09 -10:00
Andreea Pavel 5bcec62d3c Merge mozilla-inbound to mozilla-central a=merge 2019-05-14 00:49:22 +03:00
Razvan Maries 30f93a0359 Backed out 3 changesets (bug 1468402) for causing perma fails on browser_grids_grid-list-subgrids.js. CLOSED TREE
Backed out changeset 6685fd957302 (bug 1468402)
Backed out changeset 63f40ac370c6 (bug 1468402)
Backed out changeset 567911d83bda (bug 1468402)
2019-05-13 20:21:54 +03:00
yulia 814de9f0fc Bug 1450284 - rename script spec to thread.js; r=jdescottes
Rather straighforward -- as per jryans recommendation, I have renamed the file to reflect
our naming conventions.

Differential Revision: https://phabricator.services.mozilla.com/D28641

--HG--
rename : devtools/shared/specs/script.js => devtools/shared/specs/thread.js
extra : moz-landing-system : lando
2019-05-13 13:56:18 +00:00
yulia cbc7ef06f1 Bug 1450284 - Complete method set in the Spec for Thread; r=jdescottes,ochameau
We need a complete specification in order to move forward with the front conversion. I
think this will also impact other parts of the refactoring, such as some of the thread specific code
in the debugger-client. This is a first pass, I did not go into detail about the return types.

Differential Revision: https://phabricator.services.mozilla.com/D28640

--HG--
extra : moz-landing-system : lando
2019-05-13 13:55:44 +00:00
Gabriel Luong a2eecd55ee Bug 1468402 - Part 3: Add test for subgrids in the grid list. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D30512
2019-05-09 11:28:53 -04:00
Michael Ratcliffe cdd7f08968 Bug 1548240 - Fix browser_rules_inactive_css_(flexbox|grid).js on Beta r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D30932

--HG--
extra : moz-landing-system : lando
2019-05-13 16:07:00 +00:00
Michael Ratcliffe 1390ecd567 Bug 1548240 - Disable test temporarily r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D30925

--HG--
extra : moz-landing-system : lando
2019-05-13 15:17:43 +00:00
Nicolas Chevobbe 1f7d966347 Bug 1550791 - Re-enable commented mocha test. r=jdescottes.
The test was disabled in Bug 1535484 because it was failing.
To fix the test, we need to pass a dispatch prop to the
EvaluationResult component.

Differential Revision: https://phabricator.services.mozilla.com/D30855

--HG--
extra : moz-landing-system : lando
2019-05-13 14:27:28 +00:00
Yura Zenevich 4ba1b5ae4c Bug 1549397 - add progress indicator to accessibility panel audit. r=yulia,flod
Differential Revision: https://phabricator.services.mozilla.com/D30454

--HG--
extra : moz-landing-system : lando
2019-05-13 14:01:16 +00:00
Nicolas Chevobbe bf28677acd Bug 1493361 - Use StringRep to render PageError message. r=Honza.
This allows us to benefit from the linkification that
is done there. We crop the URL at 120 chars for now. We might
consider bumping this up depending on the feedback we get.

We add both a mocha and a mochitest to make sure this work as expected.

Differential Revision: https://phabricator.services.mozilla.com/D29007

--HG--
extra : moz-landing-system : lando
2019-05-13 12:58:33 +00:00
Nicolas Chevobbe 5638fc9b73 Bug 1493361 - Add a `urlCropLimit` prop in StringRep. r=Honza.
This new prop allow us to define a maximum length for indivual
URLs (as opposed to `cropLimit`, which sets it for the whole text).
The URL regex is also modified to be able to linkify messages
wrapped in curly quotes.
Some tests are added to ensure we handle this prop as expected.

Differential Revision: https://phabricator.services.mozilla.com/D29006

--HG--
extra : moz-landing-system : lando
2019-05-13 12:58:24 +00:00
Julian Descottes 3e59924147 Bug 1549970 - Add test for aboutdebugging connection_attempt telemetry events r=daisuke
Depends on D30373

Differential Revision: https://phabricator.services.mozilla.com/D30374

--HG--
extra : moz-landing-system : lando
2019-05-13 12:02:28 +00:00
Julian Descottes a2fc32b207 Bug 1549970 - Record telemetry events for about:debugging connection attempts r=daisuke,janerik
Differential Revision: https://phabricator.services.mozilla.com/D30373

--HG--
extra : moz-landing-system : lando
2019-05-13 12:02:40 +00:00
Julian Descottes cb5e53c754 Bug 1549375 - Update try syntax for running damp tests in devtools documentation r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D30350

--HG--
extra : moz-landing-system : lando
2019-05-13 07:28:16 +00:00
Julian Descottes 5480b6bb57 Bug 1551167 - Move import of mochitest/helpers/context.js to test instead of head.js r=pbro
Importing scripts in shared head files is hard to maintain because it forces all browser ini that use the shared file to whitelist all its imports.
The debugger context helper is almost unused in the inspector, so it would be easier to just import it in the few tests that require it.
Also removed the whitelist entry in rules' browser.ini, no test in this suite used it.

Differential Revision: https://phabricator.services.mozilla.com/D30882

--HG--
extra : moz-landing-system : lando
2019-05-13 09:49:24 +00:00
Julian Descottes 34e70eb588 Bug 1550827 - Fix debugger XUL popup creation logic r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30741

--HG--
extra : moz-landing-system : lando
2019-05-12 18:51:09 +00:00
Tim Nguyen f6fb609705 Bug 1223368 - Followup: fix browser_inspector_search-01/06.js failures on a CLOSED TREE. r=me 2019-05-11 21:00:17 +02:00
Tim Nguyen fef5483c4f Bug 1223368 - Refactor searchbox style to be consistent across tools. r=fvsch,gl,Honza,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28334

--HG--
extra : moz-landing-system : lando
2019-05-11 17:54:16 +00:00
arthur.iakab 59ea6f2ddc Backed out changeset c8a2cbf18f3c (bug 1223368) for devtools failures on browser_inspector_search-01.js CLOSED TREE 2019-05-11 20:44:42 +03:00
Tim Nguyen d2328a28a9 Bug 1223368 - Refactor searchbox style to be consistent across tools. r=fvsch,gl,Honza,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28334

--HG--
extra : moz-landing-system : lando
2019-05-11 16:08:13 +00:00
Julian Descottes 9af087cfa9 Bug 1535484 - Add proper logs for node-devtools test suite r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30630

--HG--
extra : moz-landing-system : lando
2019-05-10 22:21:26 +00:00
Gabriel Luong 6331408d8c Bug 1468402 - Part 2: Indent the subgrids in the grid list. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D29316
2019-04-30 00:50:50 -04:00
Gabriel Luong 3b907fb0ac Bug 1468402 - Part 1: Add isSubgrid and subgridParentNode to the grid actor form. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D29317
2019-04-30 00:50:47 -04:00
Danielle Leblanc-Cyr e3182cadfb Bug 1405514 - Changes box model values' cursor and active/focus stylings. r=gl 2019-05-13 10:51:48 -04:00
Yura Zenevich 8f15becb4f Bug 1548241 - add telemetry for audit filter activation in accessibility panel. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29490

--HG--
extra : moz-landing-system : lando
2019-05-01 20:16:24 +00:00
Michael Ratcliffe a58a67412c Bug 1306054 - Use custom tooltip for inactive properties r=jdescottes,flod,rcaliman
### Changes

Probably the most important change apart from the tooltips is that we now only support one property at a time. This allows us to short circuit at the first invalid property and improve performance. This was previously agreed with Razvan but there were some relics left in the code.

`toolbox.xul`
- Added tooltips.ftl

`devtools/client/inspector/markup/test/helper_events_test_runner.js`:
- Had to change to synthesizeMouseAtCenter because CSS changes caused the original to fail.

`devtools/client/inspector/rules/rules.js`:
- Added `VIEW_NODE_INACTIVE_CSS` to node types and sorted alphabetically.
- Added new nodeInfo data for Inactive CSS icons.

`devtools/client/inspector/rules/test/browser_rules_inactive_css_flexbox.js` &
`devtools/client/inspector/rules/test/browser_rules_inactive_css_grid.js`:
- removed some listeners that are no longer needed

`devtools/client/inspector/rules/test/head.js`:
- Refactored `getPropertiesForRuleIndex()` in order to pass along information needed for testing our Fluent strings.
- Refactored `checkDeclarationIsInactive()` to check tooltip contnts using a new method.
- Added `checkInteractiveTooltip()` for checking the tooltip contents themselves.
- Simple changes to `runInactiveCSSTests()`.

`devtools/client/inspector/rules/views/text-property-editor.js`:
- We no longer create the tooltip by adding the title attribute.

`devtools/client/inspector/shared/node-types.js`:
- Changed the enum to use strings to simplify debugging.
- Added `VIEW_NODE_INACTIVE_CSS`.
- Sorted alphabetically.

`devtools/client/inspector/shared/tooltips-overlay.js`:
- Introduced a new tooltip type called `interactiveTooltip`.

`devtools/client/locales/en-US/inspector.properties`:
- Removed strings.

`devtools/client/locales/en-US/tooltips.ftl`:
- Added structured versions of the properties from `inspector.properties`.

`devtools/client/shared/widgets/tooltip/HTMLTooltip.js`:
- Made the tooltips obey the "prevent popup autohide" option in the browser debugger.

`devtools/client/shared/widgets/tooltip/InactiveCSSTooltipHelper.js`:
- Main file for handling InactiveCSS Tooltips.

`devtools/client/themes/tooltips.css`:
- Made arrow tooltips follow the Proton theme.

`devtools/server/actors/utils/inactive-property-helper.js`:
- General changes to support Fluent.
- Bail on first inactive property found.

### Latest Try (expecting green)

https://treeherder.mozilla.org/#/jobs?repo=try&revision=de28939206d444dc4b534a3e5cc7a84b8797bec3

Differential Revision: https://phabricator.services.mozilla.com/D29372

--HG--
extra : moz-landing-system : lando
2019-05-10 17:03:27 +00:00
Michael Ratcliffe 31429a113a Bug 1306054 - [inactive CSS] Fix current tests and add new test r=rcaliman
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=0bad22682ebfa917a91e9b95dab5345093f68d79

Differential Revision: https://phabricator.services.mozilla.com/D29025

--HG--
extra : moz-landing-system : lando
2019-05-07 14:59:05 +00:00
Michael Ratcliffe ba0ce74c15 Bug 1306054 - Display an indicator on properties with inactive CSS r=rcaliman
### Summary of Changes

1. Added `element-style.js::refreshUnusedCssAll()`:
   - This method refreshes the CSS declarations for every property change and then calls  `element-style.js::_updatePropertyUsed()` for each pseudo element.
2. Added `element-style.js::_updatePropertyUsed()`:
   - This method simply updates the unused CSS HTML for each property that needs it.
3. Added `alerticon-unused.svg`.
4. A tiny bit of tidying in `devtools/client/themes/rules.css`:
   - Added blank lines before comments.
   - Changed `0px` to `0`;
   - Merged both the `#ruleview-class-panel .classes` rules.
   - Added used and unused CSS styles.
   - Hooked `InactivePropertyHelper` into `devtools/server/actors/styles.js`
5. `devtools/server/actors/utils/inactive-property-helper.js` contains the actual unused CSS engine.
6. This feature exposed a race condition inside `head.js::assertShowPreviewTooltip()`. It was mousing over an element and sometimes the tooltip emitted "shown" before we added the listener. This is now fixed.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=016f8dc8e05dbaa89bc5a79b822ce23e786d3fc1

Differential Revision: https://phabricator.services.mozilla.com/D26879

--HG--
extra : moz-landing-system : lando
2019-05-07 14:58:50 +00:00
Dorel Luca a6a03d7eb9 Backed out changeset 865ec5a708ba (bug 1535484) for ESlint failure. CLOSED TREE 2019-05-10 20:08:37 +03:00
Julian Descottes ae042decfb Bug 1535484 - Add proper logs for node-devtools test suite r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30630

--HG--
extra : moz-landing-system : lando
2019-05-10 16:42:02 +00:00
David Walsh e8f079b017 Bug 1549987 - Improve scrolling feel for quick open r=jlast
Removes the smoothscrolling for QuickOpen

Differential Revision: https://phabricator.services.mozilla.com/D30420

--HG--
extra : moz-landing-system : lando
2019-05-10 15:08:40 +00:00
Miriam 3fddf37bb4 Bug 1537740 highlight from location to end of current token when paused on breakpoint
With the changes I made, any time the debugger is paused, only the token directly after the column breakpoint is highlighted. My commit also changes highlighting rules for debug lines without column breakpoints. I collected examples in the document below demonstrating cases with and without column breakpoints.

https://docs.google.com/document/d/1w9kaAzVgns5oQnONTPuPiREyhaq6NGd4mp6yvVUEU1Y/edit?usp=sharing

I changed one CSS file because without that change, the next column breakpoint after the token would also be highlighted which was misleading.

I would appreciate any feedback on these changes. Thank you!

Differential Revision: https://phabricator.services.mozilla.com/D30089

--HG--
extra : moz-landing-system : lando
2019-05-09 21:19:54 +00:00
Csoregi Natalia 7704517355 Backed out changeset f005c5114e06 (bug 1535484) for node devtools failures. CLOSED TREE 2019-05-10 17:48:51 +03:00
Julian Descottes 83aaa47d89 Bug 1535484 - Add proper logs for node-devtools test suite r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30630

--HG--
extra : moz-landing-system : lando
2019-05-10 14:31:49 +00:00
Julian Descottes dfb2622843 Bug 1548015 - Skip browser_aboutdebugging_devtoolstoolbox_shortcuts on ccov r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D30634

--HG--
extra : moz-landing-system : lando
2019-05-10 13:58:33 +00:00
Kestrel 3bd557d46f Bug 1547937 - Fix old about:debugging backgrounds and colors for dark mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D29335

--HG--
extra : moz-landing-system : lando
2019-05-09 18:27:47 +00:00
shindli bbb97fdfb0 Backed out changeset 6d527b0b37b4 (bug 1549987) for debugger failure CLOSED TREE 2019-05-09 21:55:04 +03:00
David Walsh 2fe301aa48 Bug 1549987 - Improve scrolling feel for quick open r=jlast
Removes the smoothscrolling for QuickOpen

Differential Revision: https://phabricator.services.mozilla.com/D30420

--HG--
extra : moz-landing-system : lando
2019-05-09 16:44:41 +00:00
Sorin Davidoi 23371408b1 Bug 1547821 - Sync 133 - Improve Quick Open performance r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30306

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:47 +00:00
derek-li 7ed549152a Bug 1547821 - Sync 133 - Ensure secondary pan splitter takes up entire height r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30305

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:43 +00:00
Sorin Davidoi 97bb455ae6 Bug 1547821 - Sync 133 - Don't manage focus via JavaScript r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30304

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:38 +00:00
Sebastian Hengst e5d127bbdb Bug 1547821 - Sync 133 - Use dedicated accesskey for editing log points r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30302

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:34 +00:00
Krishnal Ciccolella a021e45135 Bug 1547821 - Sync 133 - Changed gap placement on popover orientation-right r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30301

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:30 +00:00
Derek Li 10ac3a74c5 Bug 1547821 - Sync 133 - Remove white bottom bar from debugger r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30300

--HG--
extra : moz-landing-system : lando
2019-05-09 16:11:51 +00:00
David Walsh 33b9669f6a Bug 1547334 - Show logpoint icon in webconsole r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D29040

--HG--
extra : moz-landing-system : lando
2019-05-08 19:49:16 +00:00
Julian Descottes 6d85f4e2fa Bug 1549940 - Close about:debugging messages when clicking anywhere on the close button r=Ola
Simply moved the callback from the icon to the button and updated the test.

Differential Revision: https://phabricator.services.mozilla.com/D30339

--HG--
extra : moz-landing-system : lando
2019-05-09 12:59:00 +00:00
Cameron McCormack f5b7d1380b Bug 866102 - Implement -webkit-line-clamp. r=mats,emilio,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D20115

--HG--
extra : moz-landing-system : lando
2019-05-09 02:32:30 +00:00
Julian Descottes ff8f2e78c9 Bug 1543940 - Apply devtools framework menu changes to Debugger menu; r=jlast
Depends on D29887

Differential Revision: https://phabricator.services.mozilla.com/D28033

--HG--
extra : moz-landing-system : lando
2019-05-08 21:37:39 +00:00
Julian Descottes 99dfc67a31 Bug 1543940 - Remove useTopLevelWindow option from DevTools menu/utils.js helper r=ochameau
Depends on D27696

Differential Revision: https://phabricator.services.mozilla.com/D29887

--HG--
extra : moz-landing-system : lando
2019-05-08 21:37:01 +00:00
Julian Descottes 1a36f3e730 Bug 1543940 - Update tests to use toolbox.topDoc to query context-menu elements r=ochameau
Depends on D27695

Differential Revision: https://phabricator.services.mozilla.com/D27696

--HG--
extra : moz-landing-system : lando
2019-05-08 21:36:37 +00:00
Julian Descottes 048903ea35 Bug 1543940 - Use the toolbox top window for context menus r=ochameau
Depends on D28036

If a context menu is opened in the toolbox document when running in a frame with type=content, keyboard navigation will not move to the context menu when it's opened.

Differential Revision: https://phabricator.services.mozilla.com/D27695

--HG--
extra : moz-landing-system : lando
2019-05-08 21:36:04 +00:00
Julian Descottes 039d3e7c13 Bug 1543940 - menu.popup() should take a document argument instead of toolbox r=ochameau
Depends on D27693

Menu::popup and popupAtZoom are expecting a toolbox argument as last argument.
However, half of the callsites do not have access to the toolbox and just pass
a { doc } object. This is misleading when trying to work on menu.js because you
cannot rely on toolbox APIs.

Differential Revision: https://phabricator.services.mozilla.com/D28036

--HG--
extra : moz-landing-system : lando
2019-05-08 21:35:36 +00:00
Julian Descottes d66a731d54 Bug 1543940 - Rely on chromeEventHandler for toolboxContextMenu events r=ochameau
Using chromeEventHandler will allow us to catch events fired from any frame.
By default when DevTools are in a type=chrome frame, events also bubble across frames.
With type=content this is no longer the case.

Differential Revision: https://phabricator.services.mozilla.com/D27693

--HG--
extra : moz-landing-system : lando
2019-05-08 21:35:02 +00:00
Oana Pop Rus 443bc6002b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-09 00:58:43 +03:00
Oana Pop Rus 6934ea323a Merge inbound to mozilla-central. a=merge 2019-05-09 00:50:52 +03:00
Daisuke Akatsuka b3a9aace35 Bug 1539688: Add a test which disables local tab debugging. r=jdescottes
Depends on D30315

Differential Revision: https://phabricator.services.mozilla.com/D30316

--HG--
extra : moz-landing-system : lando
2019-05-08 07:18:39 +00:00
Daisuke Akatsuka b88985d8f2 Bug 1539688: Avoid to call listTabs() if the tab category does not display. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D30315

--HG--
extra : moz-landing-system : lando
2019-05-08 08:54:39 +00:00
jaril b7ba159b7a Bug 1549777 - Disable cursor events on preview bracket-arrow. r=jlast
The original bug was being caused by a mouseleave from the token and mouseenter into the bracket arrow being triggered immediately after the preview was rendered. This appears less often on longer variable names, but happen all the time for single character variable names.

The problem no longer persists after removing cursor events from the bracket arrow.

Differential Revision: https://phabricator.services.mozilla.com/D30222

--HG--
extra : moz-landing-system : lando
2019-05-07 21:13:11 +00:00
Emilio Cobos Álvarez 69d2f19cf4 Bug 1538101 - followup: Tweak source-mapped.scss and friends so that browser_webconsole_sourcemap_css.js keeps receiving a warning. r=orange
CLOSED TREE
2019-05-08 22:03:31 +02:00
Andreea Pavel 95a481edab Backed out 5 changesets (bug 1543940) for failing browser_menu_api.js on a CLOSED TREE
Backed out changeset aaa0f827616a (bug 1543940)
Backed out changeset 590b72185b69 (bug 1543940)
Backed out changeset 42e2136f684f (bug 1543940)
Backed out changeset a66967f17042 (bug 1543940)
Backed out changeset b1e6e932873c (bug 1543940)
2019-05-08 20:49:43 +03:00
Belén Albeza 2edb14f4b4 Bug 1547300 - Card content gets clipped when the viewport is too narrow.r=jdescottes,Ola,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D30070

--HG--
extra : moz-landing-system : lando
2019-05-08 17:27:02 +00:00
Jason Laster fcaae0ccbe Bug 1537779 - Improve column breakpoint UI performance. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D28552

--HG--
extra : moz-landing-system : lando
2019-05-08 17:18:38 +00:00
Daniel Varga 1ac516149e Backed out 1 changesets (bug 1543940) for mochitest failure at devtools/client/accessibility/test/mochitest/test_accessible_row_context_menu.html
Backed out changeset 7fe9661e8510 (bug 1543940)
2019-05-08 19:50:14 +03:00
Julian Descottes 1a7b1e1ca1 Bug 1543940 - Apply devtools framework menu changes to Debugger menu; r=jlast
Depends on D29887

Differential Revision: https://phabricator.services.mozilla.com/D28033

--HG--
extra : moz-landing-system : lando
2019-05-08 15:42:59 +00:00
Julian Descottes 49b74c0533 Bug 1543940 - Remove useTopLevelWindow option from DevTools menu/utils.js helper r=ochameau
Depends on D27696

Differential Revision: https://phabricator.services.mozilla.com/D29887

--HG--
extra : moz-landing-system : lando
2019-05-08 15:15:22 +00:00
Julian Descottes 8aa6f3861d Bug 1543940 - Update tests to use toolbox.topDoc to query context-menu elements r=ochameau
Depends on D27695

Differential Revision: https://phabricator.services.mozilla.com/D27696

--HG--
extra : moz-landing-system : lando
2019-05-08 15:14:54 +00:00
Julian Descottes 92f2dbb1c8 Bug 1543940 - Use the toolbox top window for context menus r=ochameau
Depends on D28036

If a context menu is opened in the toolbox document when running in a frame with type=content, keyboard navigation will not move to the context menu when it's opened.

Differential Revision: https://phabricator.services.mozilla.com/D27695

--HG--
extra : moz-landing-system : lando
2019-05-08 15:14:05 +00:00
Julian Descottes 6c24dca78c Bug 1543940 - menu.popup() should take a document argument instead of toolbox r=ochameau
Depends on D27693

Menu::popup and popupAtZoom are expecting a toolbox argument as last argument.
However, half of the callsites do not have access to the toolbox and just pass
a { doc } object. This is misleading when trying to work on menu.js because you
cannot rely on toolbox APIs.

Differential Revision: https://phabricator.services.mozilla.com/D28036

--HG--
extra : moz-landing-system : lando
2019-05-08 15:13:40 +00:00
Julian Descottes 2f080ac390 Bug 1543940 - Rely on chromeEventHandler for toolboxContextMenu events r=ochameau
Using chromeEventHandler will allow us to catch events fired from any frame.
By default when DevTools are in a type=chrome frame, events also bubble across frames.
With type=content this is no longer the case.

Differential Revision: https://phabricator.services.mozilla.com/D27693

--HG--
extra : moz-landing-system : lando
2019-05-08 15:13:32 +00:00
Yura Zenevich e577981a98 Bug 1549626 - fix an issue with incorrect text colour blending. Fallback on basic colour contrast algorythm when canvas approach fails. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D30145

--HG--
extra : moz-landing-system : lando
2019-05-08 15:04:57 +00:00
chujun 93f8b75c77 Bug 1548390 Double click logpoint in secondary pane opens logpoint panel r=davidwalsh
Add an `if` statement to handle logpoint when double click.
Add Mochitest for both conditional breakpoint and logpoint

Differential Revision: https://phabricator.services.mozilla.com/D30291

--HG--
extra : moz-landing-system : lando
2019-05-08 14:06:08 +00:00
David Walsh 0e8cd5dc37 Bug 1533418 - Support multiple workers as roots. r=jlast
http://dbg-workers.glitch.me

Updated tests in SourcesTree.spec.js to pass and
added test to ensure sources are added to the correct thread

Differential Revision: https://phabricator.services.mozilla.com/D29225

--HG--
extra : moz-landing-system : lando
2019-05-08 07:14:44 +00:00
Jason Laster 72aecadbca Bug 1548256 - Blank debugger when hovering variables. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D30246

--HG--
extra : moz-landing-system : lando
2019-05-08 13:08:24 +00:00
Jason Laster 982857ca95 Bug 1547858 - Array values are not shown in preview. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D30104

--HG--
extra : moz-landing-system : lando
2019-05-07 22:21:23 +00:00
Ola Gasidlo d475758e88 Bug 1548762 - Message "No devices discovered" should have color set to grey 50, r=jdescottes
Message "No devices discovered" should have color set to grey 50

Differential Revision: https://phabricator.services.mozilla.com/D30170

--HG--
extra : moz-landing-system : lando
2019-05-07 12:13:06 +00:00
Bogdan Tara baece9758d Backed out changeset 6bd85479233a (bug 1533418) for browser_browser_toolbox_debugger.js and browser_toolbox_view_source_03.js failures CLOSED TREE 2019-05-07 22:44:51 +03:00
Brad Werth 431c907781 Bug 1541175 Part 3: Update test expectations. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D26614

--HG--
extra : moz-landing-system : lando
2019-05-03 23:06:54 +00:00
Brad Werth fcf2e160d9 Bug 1541175 Part 2: Force RDM UI to be at 100% zoom. r=pbro,ochameau
Once RDM is up-and-running, the Zoom UI will stay synchronized with the
zoom level of the RDM content pane. These changes ensure that the RDM
tools are forced to 100%, and then does a fixup to get the Zoom UI to
match the RDM content pane zoom level again.

Differential Revision: https://phabricator.services.mozilla.com/D26045

--HG--
extra : moz-landing-system : lando
2019-05-06 07:21:13 +00:00
Brad Werth cda550669d Bug 1541175 Part 1: Prevent fullZoom and textZoom from being remapped on RDM docshell swap. r=ochameau
There is no need to transfer these properties because the swap makes
the outer browser act as if it is remote, and then the message manager
tunnel ensures that the outer browser will get and set the zoom values
from the inner browser.

Differential Revision: https://phabricator.services.mozilla.com/D29911

--HG--
extra : moz-landing-system : lando
2019-05-07 17:59:36 +00:00
David Walsh 8a3b4ecd9f Bug 1533418 - Support multiple workers as roots. r=jlast
http://dbg-workers.glitch.me

Updated tests in SourcesTree.spec.js to pass and
added test to ensure sources are added to the correct thread

Differential Revision: https://phabricator.services.mozilla.com/D29225

--HG--
extra : moz-landing-system : lando
2019-05-07 16:59:04 +00:00
Julian Descottes 2e2113744e Bug 1542286 - Add tests for Firefox Preview runtime info r=daisuke
Depends on D29485

Differential Revision: https://phabricator.services.mozilla.com/D30064

--HG--
extra : moz-landing-system : lando
2019-05-07 15:23:16 +00:00
Julian Descottes 4107188124 Bug 1542286 - Share runtime info with DebugTargetInfo component via remote-client-manager r=daisuke
Depends on D29462

Differential Revision: https://phabricator.services.mozilla.com/D29485

--HG--
extra : moz-landing-system : lando
2019-05-07 15:21:22 +00:00
Julian Descottes f828dbc07e Bug 1542286 - Show the application version instead of the Gecko version for Fenix runtimes r=daisuke
Depends on D29377

Differential Revision: https://phabricator.services.mozilla.com/D29462

--HG--
extra : moz-landing-system : lando
2019-05-07 12:04:36 +00:00
Julian Descottes 590a0556ef Bug 1542286 - Use the Firefox Preview logo in about:debugging r=daisuke
Depends on D29376

Differential Revision: https://phabricator.services.mozilla.com/D29377

--HG--
extra : moz-landing-system : lando
2019-05-07 12:02:28 +00:00
Julian Descottes 049dde546f Bug 1542286 - Show proper runtime name for Fenix in about:debugging r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D29376

--HG--
extra : moz-landing-system : lando
2019-05-07 12:02:05 +00:00
Jim Blandy 570a2fedee Bug 1540314: Devtools promise actor: Use ActorPool 'destroy' method. r=gl
The prior code calls '.cleanup()', but ActorPools have no 'cleanup' method. I
think it means to call 'destroy'.

Differential Revision: https://phabricator.services.mozilla.com/D29755

--HG--
extra : moz-landing-system : lando
2019-05-03 01:19:20 +00:00
Mihai Alexandru Michis 50e4f13359 Backed out 5 changesets (bug 1542286) for causing devtool failures at browser_about-devtools-toolbox_reload.js CLOSED TREE
Backed out changeset 8b43cfcebf9f (bug 1542286)
Backed out changeset d02d934560c5 (bug 1542286)
Backed out changeset dbb72223a684 (bug 1542286)
Backed out changeset 8a220edc2db3 (bug 1542286)
Backed out changeset 38220ee5ab0c (bug 1542286)
2019-05-07 12:04:53 +03:00
Julian Descottes a65b27ebde Bug 1542286 - Add tests for Firefox Preview runtime info r=daisuke
Depends on D29485

Differential Revision: https://phabricator.services.mozilla.com/D30064

--HG--
extra : moz-landing-system : lando
2019-05-07 06:30:43 +00:00
Julian Descottes 7a0ab85ed8 Bug 1542286 - Share runtime info with DebugTargetInfo component via remote-client-manager r=daisuke
Depends on D29462

Differential Revision: https://phabricator.services.mozilla.com/D29485

--HG--
extra : moz-landing-system : lando
2019-05-06 21:04:25 +00:00
Julian Descottes effa80f058 Bug 1542286 - Show the application version instead of the Gecko version for Fenix runtimes r=daisuke
Depends on D29377

Differential Revision: https://phabricator.services.mozilla.com/D29462

--HG--
extra : moz-landing-system : lando
2019-05-06 21:02:00 +00:00
Julian Descottes 3c60886916 Bug 1542286 - Use the Firefox Preview logo in about:debugging r=daisuke
Depends on D29376

Differential Revision: https://phabricator.services.mozilla.com/D29377

--HG--
extra : moz-landing-system : lando
2019-05-06 20:56:48 +00:00
Julian Descottes d69877ee25 Bug 1542286 - Show proper runtime name for Fenix in about:debugging r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D29376

--HG--
extra : moz-landing-system : lando
2019-05-06 20:56:47 +00:00
Megan Bailey 76142d0622 Bug 1545270 - Update CSS variable for Add Device Settings Input fields, r=victoria,pbro
Differential Revision: https://phabricator.services.mozilla.com/D29730

--HG--
extra : moz-landing-system : lando
2019-05-06 18:29:57 +00:00
Julian Descottes 6267b7b38c Bug 1401324 - Add mochitest for remembering temporary addon folder; r=daisuke
Depends on D29141

Differential Revision: https://phabricator.services.mozilla.com/D30005

--HG--
extra : moz-landing-system : lando
2019-05-07 06:37:19 +00:00
Julian Descottes b0810657e1 Bug 1401324 - Remember last folder used to load a temporary extension r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D29141

--HG--
extra : moz-landing-system : lando
2019-05-07 06:32:00 +00:00
Oana Pop Rus 65399363fb Merge inbound to mozilla-central. a=merge 2019-05-07 00:45:24 +03:00
Florens Verschelde 1383024db1 Bug 1549185 - Tweak the 12px Console icons; r=Honza
- Use an explicit 12x12 size in the SVG code
- Add a 12x12 variant of the globe icon, with a 1px stroke similar to the info icon
- Tweak the inner shapes of the info icon so that it looks a bit more clearly like a lowercase "i"

Differential Revision: https://phabricator.services.mozilla.com/D29961

--HG--
extra : moz-landing-system : lando
2019-05-06 11:32:38 +00:00
Jason Laster 17836b9070 Bug 1548438 - Repeatedly refreshing causes the UI to go blank. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D29605

--HG--
extra : moz-landing-system : lando
2019-05-06 15:01:02 +00:00
chujun 701692021f Bug 1545129 Prevent "Enter" event from adding a new line in CodeMirror r=davidwalsh
The conditional breakpoint panel is wrapped in CodeMirror (starting from 6b0b968515). When hitting `Enter`, debugger/node_modules/codemirror/lib/codemirror.js will run line 7153 onKeyDown(), in which a new line is added. Then ConditionalPanel.js onKey() runs.

Solution: Ask CodeMirror not to add a new line when hit `Enter`.

Question:
I added two test cases to Mochitest. If I put a `debugger;` statement in the test file, ran ./mach mochitest --jsdebugger file/path`, keep `step over`, all tests pass. But when I ran`./mach mochitest same/file/path`, terminal stopped at "waiting for state change" then gave an error "Failed to retrieve MOZ_UPLOAD_DIR env var."
Error message screenshot:
{F1285339}

Differential Revision: https://phabricator.services.mozilla.com/D29068

--HG--
extra : moz-landing-system : lando
2019-05-06 13:18:29 +00:00
Florens Verschelde 396100a0f3 Bug 1549324 - Fix red background color of Params and Response error; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D29995

--HG--
extra : moz-landing-system : lando
2019-05-06 11:24:28 +00:00
Julian Descottes 1390049a51 Bug 1548095 - Hide temporary addon category in about:debugging when xpinstall.enabled is false r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D29424

--HG--
extra : moz-landing-system : lando
2019-05-06 11:40:38 +00:00
Julian Descottes f1c34cfbf7 Bug 1523494 - Increase sw timeout in serviceworker_timeout.js mochitest r=daisuke
This mochitest had a very short SW timeout of 1 second, sometimes the worker would already be terminated before we could finish to attach a toolbox.
Increase the timeout to 4 seconds.

Differential Revision: https://phabricator.services.mozilla.com/D29154

--HG--
extra : moz-landing-system : lando
2019-05-06 11:37:26 +00:00
Daniel Varga f59107b417 Backed out changeset a0a023dac829 (bug 1392760) for debugger failure at object-inspector/types 2019-05-06 03:14:57 +03:00
Oriol Brufau 4687ff5e88 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-04-26 15:32:50 +00:00
Florens Verschelde f00a2adf5f Bug 1548317 - Fix twisty color in selected TreeView rows; r=Honza,yzen
Changes impact theme-twisty icons in the TreeView component:
- Make sure theme-twisty uses the selection color (white) in selected rows;
  but override that style for Network details accordion headers.
- Improve the vertical alignment and pixel-perfect icon rendering by
  making sure the icon element takes the full available height (16px)
  and avoiding assymetrical padding (affects the rendering of centered
  background-image, making them blurry on 1x displays).
- Tweak the horizontal spacing of theme-twisty icons so that they take
  up a total of 20px width (similar to what is used in Debugger and
  Inspector), versus 17px previously.

Differential Revision: https://phabricator.services.mozilla.com/D29550

--HG--
extra : moz-landing-system : lando
2019-05-05 13:39:41 +00:00
Yura Zenevich af91b95fa3 Bug 1548842 - always try to center selected row when toggling audit filter. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29830

--HG--
extra : moz-landing-system : lando
2019-05-03 17:46:58 +00:00
Nika Layzell 6eb2084136 Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley
This patch introduces a new type of content process, which has a dynamic name.
This type of content process is labeled as `webIsolated=${SITE_ORIGIN}` and is
used within fission-enabled windows.

To enable this, additional information about the fission status of the target
window must be passed into E10SUtils. This was done by updating every call site
manually to pass an extra boolean. A better solution perhaps should be used in
the future.

With this patch enabled, we now perform process switches, but only when
navigating to HTTP URIs. If we navigate to a non-HTTP URI in an iframe with
fission enabled, it will not behave correctly. This must be done in a
follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D29570

--HG--
extra : moz-landing-system : lando
2019-05-03 21:31:57 +00:00
Micah Tigley 827e4e2e78 Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 16:32:22 +00:00
Daniel Holbert 28786b973e Bug 1548589: Fix a code-comment in devtools to reference the new name of a renamed file. r=Honza
DONTBUILD because this is just a comment tweak.

Differential Revision: https://phabricator.services.mozilla.com/D29691

--HG--
extra : moz-landing-system : lando
2019-05-03 08:21:25 +00:00
Coroiu Cristina ea0445309e Backed out changeset 20874bfade8e (bug 1509255) for xpcshell failures at devtools/client/responsive.html/test/unit/test_rotate_viewport.js 2019-05-03 18:07:43 +03:00
Micah Tigley 97fb7f346e Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 14:00:37 +00:00
Razvan Caliman ee3a5432fb Bug 1093953 - (Part 2) Update test fixtures and add new test for CSS warnings in console. r=Honza
Depends on D28457

This commit separates the test-related changes from part one in D28457.

It updates the test fixtures to include the newly introduced `cssSelectors` field for messages used in tests.

It adds a test file for the newly introduced `CSSWarning` React component which is mostly a trimmed-down clone of the test for `PageError` component from which the component was forked. For now, just the basic toggle behavior of the component is tested. The test for calling the server to query DOM elements is not yet instrumented.

Differential Revision: https://phabricator.services.mozilla.com/D29345

--HG--
extra : moz-landing-system : lando
2019-05-03 11:21:09 +00:00
Razvan Caliman d0f3354428 Bug 1093953 - (Part 1) Make CSS warnings expandable to show affected DOM elements. r=Honza
This patch builds on [Bug 1537876](https://bugzilla.mozilla.org/show_bug.cgi?id=1537876) which associates CSS selectors with error messages where applicable.

This patch introduces a new React component, `CSSWarning`, for messages of type CSS. It forks the`PageError` component which was shared for `LOG` messages of type `JAVASCRIPT` and type `CSS`.

The `CSSWarning` component is expandable when the message has an associated CSS selector. When expanded, it runs a `document.querySelectorAll()` command to list all elements matching the selector. Clicking on any of the elements in the result jumps to the Inspector and select the corresponding node in the markup view.

Not all errors have associated CSS selectors. Not all selectors match elements. The errors/warnings are a result of the CSS Parser; there is no guarantee that the CSS rule is used anywhere on the document. The query may return an empty `NodeList`.

Differential Revision: https://phabricator.services.mozilla.com/D28457

--HG--
extra : moz-landing-system : lando
2019-05-03 13:01:27 +00:00
Julian Descottes 7b911e7022 Bug 1539456 - part2: Remove WebIDE toolbar button r=ntim,Ola
Depends on D29219

Differential Revision: https://phabricator.services.mozilla.com/D29220

--HG--
extra : moz-landing-system : lando
2019-05-03 08:40:49 +00:00
Julian Descottes 6cc021278c Bug 1539456 - part1: Rename Service Workers menu-item to Remote Debugging r=Ola,flod
Removed the Service Workers menu item, added Remote Debugging instead. Remote Debugging is displayed just above WebIDE

Differential Revision: https://phabricator.services.mozilla.com/D29219

--HG--
extra : moz-landing-system : lando
2019-05-03 11:41:24 +00:00
Julian Descottes aadde2aead Bug 1548569 - Fire event from ADB track-devices to unblock aboutdebugging initialization r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D29675

--HG--
extra : moz-landing-system : lando
2019-05-03 08:11:54 +00:00
Ola Gasidlo 9dda0571c2 Bug 1547182 - Added borders for error / warning messages r=jdescottes
Added borders for error / warning messages. Reduced line height in message body. Added more space between device list / message and refresh device button

Differential Revision: https://phabricator.services.mozilla.com/D29652

--HG--
extra : moz-landing-system : lando
2019-05-03 07:32:32 +00:00
Ola Gasidlo 33220dfdc0 Bug 1547658 - fix second line cut off in sidebar item__runtime__details r=jdescottes
Fixed second line that has been cut off in the sidebar item detail of the remote runtime

Differential Revision: https://phabricator.services.mozilla.com/D29649

--HG--
extra : moz-landing-system : lando
2019-05-03 07:13:09 +00:00
Yura Zenevich e1400699f4 Bug 1546081 - ensure that a11y audit filters do not shrink or wrap when resized. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29394

--HG--
extra : moz-landing-system : lando
2019-05-02 16:51:43 +00:00
Yura Zenevich 66f7cf81b0 Bug 1545304 - polish for a11y panel audit throbber styling. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29374

--HG--
extra : moz-landing-system : lando
2019-05-02 16:48:59 +00:00
Yura Zenevich e3cbd41a42 Bug 1547068 - making badges in tree non-interactive as per ui-review. r=mtigley
Depends on D29342

Differential Revision: https://phabricator.services.mozilla.com/D29363

--HG--
extra : moz-landing-system : lando
2019-05-02 18:55:33 +00:00
Yura Zenevich c087faa4dc Bug 1544710 - ensure that selected row is always visible within TreeView after update. Clean up scroll into view operations across all uses of TreeView. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29342

--HG--
extra : moz-landing-system : lando
2019-05-03 04:05:36 +00:00
Bogdan Tara a3eab309d8 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html crashes CLOSED TREE
Backed out changeset fc0ae629221a (bug 1510569)
Backed out changeset 97f6ac273b5d (bug 1510569)
2019-05-03 03:48:15 +03:00
Barret Rennie 93a50953e0 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-02 23:36:24 +00:00
Gurzau Raul 0068b9927d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-03 01:17:27 +03:00
Gurzau Raul 39cabb27e2 Merge inbound to mozilla-central. a=merge 2019-05-03 01:02:21 +03:00
Brindusan Cristian 05b6a8de1e Backed out 6 changesets (bug 1392408) for build bustages at nsContentPolicy.cpp and nsFrameLoaderOwner.cpp. CLOSED TREE
Backed out changeset a32ab60deb60 (bug 1392408)
Backed out changeset 69cbc0afb1f1 (bug 1392408)
Backed out changeset cd9081aac4bf (bug 1392408)
Backed out changeset d88d5959f4a6 (bug 1392408)
Backed out changeset 01fd757e335b (bug 1392408)
Backed out changeset 872645a5122c (bug 1392408)
2019-05-02 19:57:25 +03:00
Thomas Nguyen 23f12685bd Bug 1532318 - Part 3 : update js code related to the change of nsIHttpChannel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22787

--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:06 +00:00
shindli f58e49c03e Backed out changeset 082c0dba73cb (bug 1544710) for causing dt permafailures in devtools/client/netmonitor/test/browser_net_propertiesview-copy.js CLOSED TREE 2019-05-02 15:33:01 +03:00
Yura Zenevich 3a6c1c6a49 Bug 1544710 - ensure that selected row is always visible within TreeView after update. Clean up scroll into view operations across all uses of TreeView. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29342

--HG--
extra : moz-landing-system : lando
2019-05-02 04:32:33 +00:00
Julian Descottes 46a3720013 Bug 1531315 - Rename aboutdebugging test classnames from js-* to qa-* r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D28946

--HG--
extra : moz-landing-system : lando
2019-05-02 10:14:47 +00:00
Brian Grinstead 787d9413a8 Bug 1500626 - Convert <menuitem> bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D9322

--HG--
extra : moz-landing-system : lando
2019-05-02 19:28:18 +00:00
Jason Laster 8f13b0d82f Bug 1537779 - Improve column breakpoint UI performance. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D28868

--HG--
extra : moz-landing-system : lando
2019-05-02 19:21:21 +00:00
Bogdan Tara 86cbef62d0 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html failures CLOSED TREE
Backed out changeset 13c5249d66a7 (bug 1510569)
Backed out changeset a6ad4039d785 (bug 1510569)
2019-05-02 21:30:20 +03:00
Barret Rennie b32c02517c Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125

--HG--
extra : moz-landing-system : lando
2019-05-02 16:20:34 +00:00
Harald Kirschner ef4cfc237c Bug 1538404 - Adding button hover to jump-to-definition on event handlers r=nchevobbe
The button (using a div) did not have any hover state before this patch.
While the CSS tried to control the stroke color, the SVG was not set up
for this – also fixed in this bug to correctly use the theme colors.

Differential Revision: https://phabricator.services.mozilla.com/D24742

--HG--
extra : moz-landing-system : lando
2019-05-02 16:35:15 +00:00
yulia 77f46589d6 Bug 1494796 - Use promise pattern rather than callback pattern for threadClient methods; r=ochameau
This is preparation for moving the threadClient to a front. Fronts do not support the
callback style that clients have, they only support promises. As such, this patch migrates all
instances of the threadClient using callback style methods to promises. I have cc'd the debugger
team so that they are aware of this change and it doesn't take them by surprise.

try run : https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=dbd6cca9619ca0880e920d5b86fc6d6e0c728113

Differential Revision: https://phabricator.services.mozilla.com/D28966

--HG--
extra : moz-landing-system : lando
2019-05-02 15:39:20 +00:00
Julian Descottes d6ec45959c Bug 1548461 - Set about:debugging sidebar width to 280px to fit connection warning r=Ola
Connection warnig is too tall in the current 260px-wide sidebar.

Differential Revision: https://phabricator.services.mozilla.com/D29634

--HG--
extra : moz-landing-system : lando
2019-05-02 09:35:59 +00:00
Brian Hackett 2deee5ecd6 Bug 1392411 Part 3 - Add test for capturing websocket stacks in net monitor, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D28231

--HG--
extra : rebase_source : f691b2cf878069795089aa387ae7ef85ba499c68
2019-04-19 07:50:02 -10:00
Brian Hackett db5154104d Bug 1392411 Part 2 - Report stacks for websocket construction in net monitor, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D28229

--HG--
extra : rebase_source : 8335b8d0cfb2e96b88439b241016788deb6fab87
2019-04-19 07:42:58 -10:00
Brian Hackett 0f76b35375 Bug 1392408 Part 6 - Add test for capturing worker stacks in net monitor, r=ochameau.
--HG--
extra : rebase_source : 1188ad754fb69e289fcb0fd29d91ad51e4a892b3
2019-05-16 08:09:31 -10:00
Brian Hackett c2a42226a5 Bug 1392408 Part 5 - Listen for alternate stack traces in StackTraceCollector, r=ochameau.
--HG--
extra : rebase_source : 48e4e4f1bd6d63039051e492f87451e689e6a740
2019-05-16 08:09:07 -10:00
Brian Hackett 239349eaf6 Bug 1392408 Part 6 - Add test for capturing worker stacks in net monitor, r=ochameau.
--HG--
extra : rebase_source : 4d4c0e454dbe607462875a655aa407cfc9d57075
2019-04-19 07:34:51 -10:00
Brian Hackett 0a2217b0f5 Bug 1392408 Part 5 - Listen for alternate stack traces in StackTraceCollector, r=ochameau.
--HG--
extra : rebase_source : bcf3ad535fb151edecfd3e3e0f538e38827d4d67
2019-04-19 07:25:52 -10:00
Brian Hackett 1b63eb551b Bug 1544976 - Ignore exceptions thrown while attaching to worker threads, r=loganfsmyth.
--HG--
extra : rebase_source : 6e418bc3040f8ba82b9485b1f9706c16dd8dec87
2019-05-01 07:15:32 -10:00
Bogdan Tara fa8d90211a Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-05-23 07:44:57 +03:00
Andrew Swan 9ab1b341af Bug 1519577 Update devtools test to use a test-only xbl binding r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D31938

--HG--
extra : rebase_source : 3371f9975b868d2b24f14ae6d6e94d4d06db1e1d
2019-05-02 20:39:20 -07:00
Daniel Varga d8462f46cb Merge mozilla-central to mozilla-inbound. a=merge 2019-05-08 14:19:35 +03:00
Csoregi Natalia 26aadf7f93 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-05-08 06:40:43 +03:00
Brian Hackett e8264446f4 Bug 1230194 Part 3 - Add test for thrown values when doing console evaluations, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D27828

--HG--
extra : rebase_source : 069020b7a9615529b0725805b7486b0ad7347aac
2019-04-16 11:53:21 -10:00
Brian Hackett 42e04a6b23 Bug 1230194 Part 2 - Show stack for console evaluations that throw something, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D27827

--HG--
extra : rebase_source : 78bedd752592f1c8b6940b356c1ad43d9f1b6590
2019-04-16 11:51:52 -10:00
Mats Palmgren af98466fc0 Bug 1549223 - [css-grid-2] Remove single keyword 'subgrid' as a valid value for the 'grid' and 'grid-template' shorthands. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D29974

--HG--
extra : rebase_source : 4f76c70ab6335cd41e23bd692c0a4ea432b525e9
2019-05-06 02:43:50 +02:00
Mihai Alexandru Michis c995f0c31b Merge mozilla-central to mozilla-inbound a=merge CLOSED TREE 2019-05-16 12:47:56 +03:00
Daniel Varga 4bf41d68cf Merge mozilla-central to mozilla-inbound. a=merge 2019-05-16 07:19:28 +03:00
Daniel Varga 091774e8ae Merge mozilla-central to mozilla-inbound. a=merge 2019-05-16 00:33:52 +03:00
Brian Hackett 1cdfa2739f Bug 1543753 - Don't view sources that can't be loaded in the debugger, r=loganfsmyth. 2019-05-15 07:52:42 -10:00
Razvan Maries 8580df0d11 Bug 1456013. Disabled test browser_dbg-worker-scopes.js on Linux. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D29454

--HG--
extra : moz-landing-system : lando
2019-05-01 12:27:25 +00:00
neha 302a31866e Bug 1236509 -Fixes inconsistency in network panel: connection is secure but displayed icon is the globe instead of the lock r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D24320

--HG--
extra : moz-landing-system : lando
2019-05-01 15:16:11 +00:00
Razvan Maries f88dffff7e Backed out 2 changesets (bug 1306054) for l10n issues.
Backed out changeset 88fb590040c4 (bug 1306054)
Backed out changeset 4369c5635972 (bug 1306054)
2019-05-01 13:27:12 +03:00
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

Differential Revision: https://phabricator.services.mozilla.com/D28956

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Joel Maher 6611f95ab0 Bug 1546459 - remove subsuite=clipboard from manifests. r=ahal
remove subsuite=clipboard from manifests

Differential Revision: https://phabricator.services.mozilla.com/D28521

--HG--
extra : moz-landing-system : lando
2019-05-01 08:16:44 +00:00
Daniel Varga 5e20c14b02 Backed out 2 changesets (bug 1322385) for mochitest failure at: toolkit/content/tests/chrome/test_findbar_entireword.xul
Backed out changeset 31a0bd977b2f (bug 1322385)
Backed out changeset feef45c56170 (bug 1322385)
2019-04-30 22:10:33 +03:00
Brad Werth 97d34abaef Bug 1322385 Part 2: Add a test that RDM content triggers typeahead find correctly. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29085

--HG--
extra : moz-landing-system : lando
2019-04-29 22:01:07 +00:00
Logan Smyth 329acb6ec4 Bug 1547811 - Part 2: Use Resource utilities to implement Source getAllDisplayedSources. r=jlast
Depends on D29261

Differential Revision: https://phabricator.services.mozilla.com/D29262

--HG--
extra : moz-landing-system : lando
2019-04-29 21:49:22 +00:00
Logan Smyth d18ac69d16 Bug 1547811 - Part 1: Use Resource utility for Source type. r=jlast
Depends on D29260

Differential Revision: https://phabricator.services.mozilla.com/D29261

--HG--
extra : moz-landing-system : lando
2019-04-29 21:48:10 +00:00
Logan Smyth 35c2b39937 Bug 1547318 - Change resource util to more usable and update source-actor. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D29260

--HG--
extra : moz-landing-system : lando
2019-04-30 15:52:52 +00:00
yulia 2a531fdb64 Bug 1529247 - remove unused pausedLongString method, threadLongString and arrayBuffer methods; r=ochameau
Finally! the goal of all of this: removing three functions from threadClient that really belong as part of source client. PauseLongString is never used except in tests. ThreadLongString is only ever used by sourceClient. Same goes for the arrayBuffer method. This clears all of that out.

Differential Revision: https://phabricator.services.mozilla.com/D21715

--HG--
extra : moz-landing-system : lando
2019-04-30 14:44:23 +00:00
yulia ef38cc7174 Bug 1545021 - Convert ArrayBuffer to a Front and Protocoljs actor; r=ochameau,jdescottes
This introduces an ArrayBuffer front, so that we no longer need to go through the thread client to get an array buffer for the sourceFront (this is the only place it is used).

It also converts the arrayBufferActor to a protocol.js actor. I was running into an issue between them. I need to double check what this issue was. If these two refactors need to be split, I can do that, but for now it looks like it wasn’t that large of a change.

Differential Revision: https://phabricator.services.mozilla.com/D27878

--HG--
rename : devtools/shared/client/array-buffer-client.js => devtools/shared/fronts/array-buffer.js
extra : moz-landing-system : lando
2019-04-30 14:40:43 +00:00
yulia 69aff42510 Bug 1544697 - use LongStringFront in SourceFront; r=ochameau,jdescottes
This change does two things: it starts returning the longstring actor directly from the server. It also introduces a new type in the spec — sourcedata.

This sourcedata can handle either a plain form (for array buffer) or it writes to and from a front. This is the major change. It could be the basis for writing a union type for protocol.js, which would do the same thing based on a list (ie — RetVal(“nullable:arraybuffer|nullable:longstring”))

This could be useful for getting handling the return value of createValueGrip (https://searchfox.org/mozilla-central/rev/f46e2bf881d522a440b30cbf5cf8d76fc212eaf4/devtools/server/actors/object/utils.js#75)

This requires that this stack lands first: https://phabricator.services.mozilla.com/D27709

Differential Revision: https://phabricator.services.mozilla.com/D27877

--HG--
extra : moz-landing-system : lando
2019-04-30 08:04:33 +00:00
Julian Descottes 8430fc3bfe Bug 1547984 - Reduce aboutdebugging sidebar width r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D29359

--HG--
extra : moz-landing-system : lando
2019-04-30 15:38:45 +00:00
Michael Ratcliffe 5aab30087d Bug 1306054 - [inactive CSS] Fix current tests and add new test r=rcaliman
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=0bad22682ebfa917a91e9b95dab5345093f68d79

Differential Revision: https://phabricator.services.mozilla.com/D29025

--HG--
extra : moz-landing-system : lando
2019-04-30 15:22:46 +00:00
Michael Ratcliffe e2f2e51cd9 Bug 1306054 - Display an indicator on properties with inactive CSS r=rcaliman
### Summary of Changes

1. Added `element-style.js::refreshUnusedCssAll()`:
   - This method refreshes the CSS declarations for every property change and then calls  `element-style.js::_updatePropertyUsed()` for each pseudo element.
2. Added `element-style.js::_updatePropertyUsed()`:
   - This method simply updates the unused CSS HTML for each property that needs it.
3. Added `alerticon-unused.svg`.
4. A tiny bit of tidying in `devtools/client/themes/rules.css`:
   - Added blank lines before comments.
   - Changed `0px` to `0`;
   - Merged both the `#ruleview-class-panel .classes` rules.
   - Added used and unused CSS styles.
   - Hooked `InactivePropertyHelper` into `devtools/server/actors/styles.js`
5. `devtools/server/actors/utils/inactive-property-helper.js` contains the actual unused CSS engine.
6. This feature exposed a race condition inside `head.js::assertShowPreviewTooltip()`. It was mousing over an element and sometimes the tooltip emitted "shown" before we added the listener. This is now fixed.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=016f8dc8e05dbaa89bc5a79b822ce23e786d3fc1

Differential Revision: https://phabricator.services.mozilla.com/D26879

--HG--
extra : moz-landing-system : lando
2019-04-29 13:59:50 +00:00
yulia 9c5ed9f5ef Bug 1042642 - Remove eventSource from EnvironmentClient; r=jdescottes
After reviewing how the EnvironmentClient is used, it looks like the use of eventSource
might be some cruft from the past. Here is the try run:
https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=df4bb52f188f79b8006e8c40401e5af2258493ce

with the exception of whatever is going on Window 7 (which appeares also on central), it looks like
things are working as expected. The environment client will eventually have the event emitter, once
it is moved to being a front.

adding @nchevobbe as a subscriber, as this touches a dependancy of the scratchpad.

Differential Revision: https://phabricator.services.mozilla.com/D28962

--HG--
extra : moz-landing-system : lando
2019-04-30 14:57:10 +00:00
Julian Descottes 38267f73c2 Bug 1544692 - Enable devtools shortcuts and menu items in about:devtools-toolbox r=Ola
Depends on D29028

Differential Revision: https://phabricator.services.mozilla.com/D29029

--HG--
extra : moz-landing-system : lando
2019-04-30 13:34:29 +00:00
Julian Descottes b25fab84db Bug 1544692 - Fix splitconsole shortcut for about:devtools-toolbox r=Ola
Fixes a small issue with the splitconsole shortcut in about:devtools-toolbox

Differential Revision: https://phabricator.services.mozilla.com/D29028

--HG--
extra : moz-landing-system : lando
2019-04-30 11:30:12 +00:00
Julian Descottes d17c4c1bc1 Bug 1500354 - Add title to about:devtools-toolbox tabs r=ladybenko
Depends on D28964

Differential Revision: https://phabricator.services.mozilla.com/D28965

--HG--
extra : moz-landing-system : lando
2019-04-30 11:19:49 +00:00
Julian Descottes 06076d28e2 Bug 1500354 - Use window favicon for about:devtools-toolbox r=ladybenko
Depends on D28963

Differential Revision: https://phabricator.services.mozilla.com/D28964

--HG--
extra : moz-landing-system : lando
2019-04-30 11:19:31 +00:00
Julian Descottes 985478918f Bug 1500354 - Use wrench favicon for about:debugging r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D28963

--HG--
extra : moz-landing-system : lando
2019-04-30 11:19:29 +00:00
Ola Gasidlo 3f418c9eeb Bug 1547660 - Move tabs as first category displayed + fix tests r=jdescottes
Move tabs as first category in "this firefox" + remote runtime display

Differential Revision: https://phabricator.services.mozilla.com/D29185

--HG--
extra : moz-landing-system : lando
2019-04-29 14:39:53 +00:00
shindli 69784b3472 Backed out 2 changesets (bug 1544976) for causing xpcshell failures in devtools/client/memory/test/unit/test_action_diffing_02.js. a=backout
Backed out changeset 30b551b1a212 (bug 1544976)
Backed out changeset 1ebc89e3ad97 (bug 1544976)

--HG--
extra : source : 618d85aa18ee8402d69354e4980939fb89521436
extra : histedit_source : 1dab80aecf02d2cbc98cb97064a42cce16bb0511
2019-04-30 04:37:53 +03:00
shindli 06e03621c4 Merge inbound to mozilla-central. a=merge 2019-04-30 06:44:40 +03:00
Yura Zenevich ed9d7a2698 Bug 1544713 - make full page audit non-blocking. Fire 'audit-event' events when the full page audit completes or fails. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D28854

--HG--
extra : moz-landing-system : lando
2019-04-29 21:08:31 +00:00
Narcis Beleuzu f1b40d7c59 Backed out 3 changesets (bug 1500354) for dt failures on browser_aboutdebugging_serviceworker_timeout.js . CLOSED TREE
Backed out changeset 6596c844c27e (bug 1500354)
Backed out changeset dbb2526ae6eb (bug 1500354)
Backed out changeset e9e6acc1b0cc (bug 1500354)
2019-04-30 02:04:43 +03:00
Logan Smyth 9d48e224c0 Bug 1547115 - Memoize breakableLines to avoid resetting in editor often. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D29245

--HG--
extra : moz-landing-system : lando
2019-04-29 21:05:15 +00:00
Julian Descottes 4bd5637bbd Bug 1514787 - Remain on the same Runtime page when reloading about:debugging r=ladybenko,daisuke
The idea is to wait for ADB runtimes to be available before trying to render the initial route.
This way if we happen to find the runtime matching the current runtime, and if we still have a connected client for it, we can display the same runtime page.

Differential Revision: https://phabricator.services.mozilla.com/D28094

--HG--
extra : moz-landing-system : lando
2019-04-29 19:32:16 +00:00
Julian Descottes ebf9be668a Bug 1500354 - Add title to about:devtools-toolbox tabs r=ladybenko
Depends on D28964

Differential Revision: https://phabricator.services.mozilla.com/D28965

--HG--
extra : moz-landing-system : lando
2019-04-29 20:01:50 +00:00
Julian Descottes 729c4f0a48 Bug 1500354 - Use window favicon for about:devtools-toolbox r=ladybenko
Depends on D28963

Differential Revision: https://phabricator.services.mozilla.com/D28964

--HG--
extra : moz-landing-system : lando
2019-04-29 20:02:22 +00:00
Julian Descottes 4fa2c8fc42 Bug 1500354 - Use wrench favicon for about:debugging r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D28963

--HG--
extra : moz-landing-system : lando
2019-04-29 15:58:03 +00:00
Julian Descottes ad63201618 Bug 1537992 - Rename Profiler button and modal in about:debugging r=Ola,flod
Differential Revision: https://phabricator.services.mozilla.com/D29135

--HG--
extra : moz-landing-system : lando
2019-04-29 15:31:34 +00:00
Brian Hackett b72f8bf1f1 Bug 1544976 Part 2 - Add devtools.debugger.quiet quiet pref to suppress warnings from protocol errors, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D28933

--HG--
extra : rebase_source : da560fbf26cac1b7e48b36a254af4f0e279f6b1b
2019-04-25 14:21:26 -10:00
Brian Hackett 84a297858f Bug 1544976 Part 1 - Ignore exceptions thrown while attaching to worker threads, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D28932

--HG--
extra : rebase_source : 5e5297d3449ae9bf584d47f89570b76cb4d892d1
2019-04-25 14:20:17 -10:00
Jason Laster d831a88525 Bug 1547314 - Remove references to updatedSource. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D29036

--HG--
extra : moz-landing-system : lando
2019-04-29 17:52:58 +00:00
Brad Werth 86e52030da Bug 1538681 Part 2: Add a perma-fail test that scrollbars appear in proper location after resizing viewport. r=botond,gl
The test is marked as perma-fail because there are complications with
getting RDM and WindowSnapshot.js to work together. 4 approaches are
discussed in the test itself, and one is attempted, which perma-fails.
The approach that is attempted is the most likely to be turned into an
unexpected pass in the future, so the test is being added as perma-fail.

Differential Revision: https://phabricator.services.mozilla.com/D28900

--HG--
extra : moz-landing-system : lando
2019-04-29 17:54:52 +00:00
Ola Gasidlo f7392cb9c1 Bug 1545011 - added closing button to error messages on sidebar r=daisuke,jdescottes
Make the connection error + warning messages on the sidebar closeable

Differential Revision: https://phabricator.services.mozilla.com/D28676

--HG--
extra : moz-landing-system : lando
2019-04-29 08:50:46 +00:00
lloan d05cfbc970 Bug 1533144 - Include hostname from parent/window in HAR save default filename. r=Honza
Include the name of the window/parent hostname in the save HAR filename, e.g. if on mozilla.org, would download as "mozilla.org_Archive [time].har"

Differential Revision: https://phabricator.services.mozilla.com/D28732

--HG--
extra : moz-landing-system : lando
2019-04-29 06:35:02 +00:00
Razvan Maries 8ed4c0a1dd Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-04-28 00:51:21 +03:00
Yura Zenevich cae455a8a2 Bug 1546555 - include WCAG score as part of contrast check to only calculate once. Rename ColorContrastScores constant to SCORES to be used by all checks. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28753

--HG--
extra : moz-landing-system : lando
2019-04-27 13:33:27 +00:00
Yura Zenevich 7684e5c002 Bug 1546555 - make AccessibleActor form data a smallest set of accessible data necessary for the a11y panel to work. Allow for fetching full accessible object data via new hydrate method. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28752

--HG--
extra : moz-landing-system : lando
2019-04-27 13:33:17 +00:00
Emilio Cobos Álvarez 337c7bf696 Bug 1440537 - Don't unnecessarily use cross-origin iframes on a devtools test. r=pbro
See the rest of the patches in this bug for more context :)

Differential Revision: https://phabricator.services.mozilla.com/D28912
2019-04-27 12:40:36 +02:00
Logan Smyth 72fd0967d6 Bug 1547306 - Part 2: Move breakpointPosition data to be part of the source reducer. r=jlast
Depends on D29021

Differential Revision: https://phabricator.services.mozilla.com/D29022

--HG--
extra : moz-landing-system : lando
2019-04-26 23:00:41 +00:00
Logan Smyth d9176d700c Bug 1547306 - Part 1: Split getSelectedLocation into its own file to avoid dependency cycle. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D29021

--HG--
extra : moz-landing-system : lando
2019-04-26 23:00:26 +00:00
Julian Descottes 1d480b5525 Bug 1544709 - Register global keyboard shortcuts on chromeEventHandler r=ochameau
Depends on D27686
Toolbox, zoom keys and inspector search should use the chromeeventhandler as event target.
They need to capture events from inner frames.

Differential Revision: https://phabricator.services.mozilla.com/D27688

--HG--
extra : moz-landing-system : lando
2019-04-26 16:40:57 +00:00
Julian Descottes 34d2565b2f Bug 1544709 - Use chromeEventHandler for splitConsole events r=ochameau
Depends on D27685

Differential Revision: https://phabricator.services.mozilla.com/D27686

--HG--
extra : moz-landing-system : lando
2019-04-26 15:45:33 +00:00
Julian Descottes 53817a68de Bug 1544709 - Move all shortcuts registration for toolbox in addShortcuts method r=ochameau
As we will move shortcuts to use chromeEventHandler as their target, we need an easy way to add and remove them on host switch.
The chromeEventHandler will change when switching from window to docked hosts (and vice versa)

Differential Revision: https://phabricator.services.mozilla.com/D27685

--HG--
extra : moz-landing-system : lando
2019-04-26 15:43:33 +00:00
Brian Grinstead aab8a44fd1 Bug 1547326 - Convert storage inspector buttons to html:button in order to drop support for <xul:button class="devtools-button"> r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29035

--HG--
extra : moz-landing-system : lando
2019-04-26 20:19:55 +00:00
Ola Gasidlo 752f56a4e4 Bug 1546370 - Revert Node + Jest version bump r=jdescottes,ladybenko
Revert Node + Jest version bump as try is not supporting node >=10

Differential Revision: https://phabricator.services.mozilla.com/D28484

--HG--
extra : moz-landing-system : lando
2019-04-26 13:10:22 +00:00
Logan Smyth 46e795b6b5 Bug 1547307 - Part 6: Ensure that we don't try to add the same Source multiple times. r=jlast
Depends on D29019

Differential Revision: https://phabricator.services.mozilla.com/D29020

--HG--
extra : moz-landing-system : lando
2019-04-26 18:56:15 +00:00
Logan Smyth adb2a9cb50 Bug 1547307 - Part 5: Recalculate relative URL on add/root-edit. r=jlast
Depends on D29018

Differential Revision: https://phabricator.services.mozilla.com/D29019

--HG--
extra : moz-landing-system : lando
2019-04-26 17:38:17 +00:00
Logan Smyth 02321cf60c Bug 1547307 - Part 4: Remove unused createSource function. r=jlast
Depends on D29017

Differential Revision: https://phabricator.services.mozilla.com/D29018

--HG--
extra : moz-landing-system : lando
2019-04-26 17:37:52 +00:00
Logan Smyth 57534d4fb8 Bug 1547307 - Part 3: Make blackbox-update a standalone function. r=jlast
Depends on D29016

Differential Revision: https://phabricator.services.mozilla.com/D29017

--HG--
extra : moz-landing-system : lando
2019-04-26 17:35:38 +00:00
Logan Smyth 9cac8e9ba9 Bug 1547307 - Part 2: Convert UPDATE_SOURCE action for specific usecase. r=jlast
Depends on D29015

Differential Revision: https://phabricator.services.mozilla.com/D29016

--HG--
extra : moz-landing-system : lando
2019-04-26 17:35:13 +00:00
Logan Smyth fcc49073c5 Bug 1547307 - Part 1: Remove the JsSource/WasmSource type distinction. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D29015

--HG--
extra : moz-landing-system : lando
2019-04-26 17:34:42 +00:00
Brian Hackett 4a8df2e83e Bug 1531612 - Allow uncaught rejection while running test, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D28930

--HG--
extra : rebase_source : 293ddcbfdb45d4fe95fddf930dd38db6e97a5dab
2019-04-25 10:52:27 -10:00
Thomas dfa7158ec5 Bug 1521917 - Set a max width on infobar text. r=mtigley
Add a max width on infobar when inspecting elements.
The intent is to prevent very long infobars due to autogenerated classes or id.

Differential Revision: https://phabricator.services.mozilla.com/D28276

--HG--
extra : moz-landing-system : lando
2019-04-26 16:44:53 +00:00
Julian Descottes 46c3ef7c76 Bug 1546635 - fix about:debugging scrollbar cropped by the viewport;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D28638

--HG--
extra : moz-landing-system : lando
2019-04-26 16:04:56 +00:00
Julian Descottes 7053bd7055 Bug 1545482 - THIS_FIREFOX connection type is not recognized;r=ladybenko
Using split("-") was clashing with the connection type "this-firefox".
Added unit test for remote-client-manager.

Differential Revision: https://phabricator.services.mozilla.com/D28066

--HG--
extra : moz-landing-system : lando
2019-04-26 15:25:12 +00:00
David Walsh 6d36ef7fff Bug 1547028 - Make the debugger DebuggerPanel instead of NewDebuggerPanel r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D28875

--HG--
extra : moz-landing-system : lando
2019-04-26 12:24:57 +00:00
David Walsh 2294a7e391 Bug 1546462 - Don't run search upon location change r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D28740

--HG--
extra : moz-landing-system : lando
2019-04-26 14:30:04 +00:00
Mellina Yonashiro c3aca51174 Bug 1533502 - Debugger dumps log of every action while using it r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D23965

--HG--
extra : moz-landing-system : lando
2019-04-26 14:10:02 +00:00
Julian Descottes 937ffe1f89 Bug 1544372 - part3: update mochitest to check hidden webextension visibility in about:debugging r=Ola,daisuke
Depends on D28630

Differential Revision: https://phabricator.services.mozilla.com/D28631

--HG--
rename : devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_system_addons.js => devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_hidden_addons.js
extra : moz-landing-system : lando
2019-04-26 13:59:07 +00:00
Julian Descottes 6ccaf3f597 Bug 1544372 - part2: filter out hidden webextensions by default in about:debugging r=daisuke,Ola
Depends on D28629
Follows exactly the same pattern as showSystemAddons. Enabled by default for local builds, disabled otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D28630

--HG--
extra : moz-landing-system : lando
2019-04-26 13:58:35 +00:00
Julian Descottes 6bb4bedecb Bug 1544372 - part1: sort webextension actor objects alphabetically (tidying) r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D28629

--HG--
extra : moz-landing-system : lando
2019-04-26 13:57:04 +00:00
yulia 1aa3bce3f9 Bug 1544694 - move and rename SourceClient to SourceFront; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27709

--HG--
rename : devtools/shared/client/source-client.js => devtools/shared/fronts/source.js
extra : moz-landing-system : lando
2019-04-26 13:50:47 +00:00
yulia 47738413e6 Bug 1544694 - Convert Source Client to a Front; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27708

--HG--
extra : moz-landing-system : lando
2019-04-26 12:51:07 +00:00
yulia 418c70d897 Bug 1544694 - remove unused client getters 'request' and '_transport' from sourceClient; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27707

--HG--
extra : moz-landing-system : lando
2019-04-26 12:43:45 +00:00
Honza Bambas 5f945421d4 Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
Differential Revision: https://phabricator.services.mozilla.com/D23150

--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Julian Descottes 8253159952 Bug 1543093 - Fix RTL for DevTools in Browser Toolbox;r=nchevobbe
Using the toolbox window to read the "direction" seems to fix the issue.
Added a mochitest, had to create a dedicated browser ini file in order to setup RTL properly.

Differential Revision: https://phabricator.services.mozilla.com/D28841

--HG--
extra : moz-landing-system : lando
2019-04-25 18:53:32 +00:00
Gurzau Raul 71e35400ef Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-25 19:30:38 +03:00
Gurzau Raul dc61b90737 Merge inbound to mozilla-central. a=merge 2019-04-25 19:19:37 +03:00
Belén Albeza 0a6a1831d4 Bug 1505126: Part 2 - Render the ADB status into a new component, with an icon r=jdescottes,daisuke,Ola
Differential Revision: https://phabricator.services.mozilla.com/D28664

--HG--
extra : moz-landing-system : lando
2019-04-25 16:07:41 +00:00
Belén Albeza ae85677b92 Bug 1505126 - Part 1: UX fixes. r=jdescottes,daisuke,Ola
Differential Revision: https://phabricator.services.mozilla.com/D28515

--HG--
extra : moz-landing-system : lando
2019-04-25 16:05:08 +00:00
Wizard 150d7412e1 Bug 1546277 - Remove the className for the console.assert element. r=nchevobbe.
The className was making the color purple, although we want it to be red.
Removing the className makes it red.

Differential Revision: https://phabricator.services.mozilla.com/D28616

--HG--
extra : moz-landing-system : lando
2019-04-25 09:17:48 +00:00
Bogdan Tara b77143169d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-25 12:51:48 +03:00