Commit Graph

18033 Commits

Author SHA1 Message Date
David Walsh
25f15897bf Bug 1589269 - Enforce minimum width for search and blocking panels r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D49517

--HG--
extra : moz-landing-system : lando
2019-10-17 09:53:35 +00:00
David Walsh
347d07cd09 Bug 1589160 - Update tab language for request blocking r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D49465

--HG--
extra : moz-landing-system : lando
2019-10-17 10:04:36 +00:00
David Walsh
0843a344a5 Bug 1583042 - Change devtools debugger shortcut r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D47502

--HG--
extra : moz-landing-system : lando
2019-10-17 07:29:45 +00:00
Nicolas Chevobbe
7ef8a79951 Bug 1589001 - Rename (web)consoleClient variables and properties to webConsoleFront. r=Honza.
The webconsole actor now has an associated front for some
time, but the naming of variables and properties didn't
reflect that (most weren't updated and were still calling
it a client).
This patch tries to rename all those variables so it's more
obvious we're dealing with an actual front.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 10:16:46 +00:00
Julian Descottes
459b71deed Bug 1589087 - Update regular expression used in ADB to extract Fenix version r=ladybenko
The format of the Fenix versionName on Nightly no longer matches our regular expression.
Updating the regular expression to accommodate both versions such as "2.1.0" and "Nightly 191016 06:01"

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

--HG--
extra : moz-landing-system : lando
2019-10-17 09:08:44 +00:00
Bogdan Tara
7e9efc5de3 Backed out changeset 29bc3ebe8b4e (bug 1588997) for browser_ext_devtools_panels_elements_sidebar.js && browser_ext_find.js failures CLOSED TREE
--HG--
rename : devtools/shared/fronts/environment.js => devtools/shared/client/environment-client.js
rename : devtools/shared/fronts/property-iterator.js => devtools/shared/client/property-iterator-client.js
rename : devtools/shared/fronts/symbol-iterator.js => devtools/shared/client/symbol-iterator-client.js
2019-10-17 10:51:19 +03:00
jaril
e1c2cd6db5 Bug 1588997 - Convert ObjectClient to protocol.js front. r=nchevobbe.
- Converted the ObjectClient into an protocoljs Front
- Converted the SymbolIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the PropertyIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the EnvironmentClient into a protocoljs Front and moved it to devtools/shared/fronts
- Modified calls to `DebuggerClient.release()` so that it tries to call the ObjectFront's release method first, and falls back on `DebuggerClient.release()` if there's no object front
- Changed reps so that it instantiates only one ObjectClient per grip
- Changed tests so that they expect what the Front's request method resolves to where applicable (i.e. ObjectFront.allocationStack resolves to allocationStack, not a packet object with an allocationStack property)
- Changed callbacks provided to ObjectClient methods to be chained to the ObjectFront methods (e.g. ObjectClient.getScope(callback) changed to ObjectFront.getScope().callback())
- Changed tests to use async/await (test_framebindings-x.js, test_functiongrips-x.js, test_objectgrips-x.js)
- Changed tests to expect protocoljs to throw an error string instead of an error object (test_objectgrips-fn-apply-03.js, test_threadlifetime-02.js, test_pauselifetime-03.js)

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

--HG--
rename : devtools/shared/client/environment-client.js => devtools/shared/fronts/environment.js
rename : devtools/shared/client/property-iterator-client.js => devtools/shared/fronts/property-iterator.js
rename : devtools/shared/client/symbol-iterator-client.js => devtools/shared/fronts/symbol-iterator.js
extra : moz-landing-system : lando
2019-10-16 17:09:35 +00:00
David Walsh
34cd114993 Bug 1576145 - Show DOM nodes in for DOM Mutation Breakpoints in WhyPaused block r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D45248

--HG--
extra : moz-landing-system : lando
2019-10-17 02:04:45 +00:00
Daisuke Akatsuka
1cfc17bb27 Bug 1588961: Add a test for the event that the selected node is changed. r=rcaliman
Depends on D49377

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

--HG--
extra : moz-landing-system : lando
2019-10-17 01:30:56 +00:00
Daisuke Akatsuka
0e91f94568 Bug 1588961: Update the content when the selected node is changed. r=rcaliman
Depends on D49256

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

--HG--
extra : moz-landing-system : lando
2019-10-16 14:34:26 +00:00
Miriam
b43fd031d9 Bug 1582304: Ensure you can add a watchpoint to property within a bucket, prototype, or default properties.
Differential Revision: https://phabricator.services.mozilla.com/D49496

--HG--
extra : moz-landing-system : lando
2019-10-17 00:45:31 +00:00
Logan Smyth
6e3be305df Bug 1581530 - Re-apply usage of .enable/.disable accidentally reverted in Bug 997119. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D49382

--HG--
extra : moz-landing-system : lando
2019-10-16 18:13:41 +00:00
zhaogang
bd399a64e2 Bug 1578752 - Pass event listener column to debugger for more accurate pretty print. r=davidwalsh
Now the event listener tooltip url in the inspector will have an additional column part for generated file, which will be parsed as location.column to debugger, and the debugger pretty print can correctly create and use source map. It's the same bug as [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1045237 | Bug 1045237]], [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1134798 | Bug 1134798 ]], and [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1175911 | Bug 1175911 ]]

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

--HG--
extra : moz-landing-system : lando
2019-10-16 23:03:15 +00:00
Florens Verschelde
995baa5ff2 Bug 1588796 - New search-in-file highlight style in Debugger and Style Editor; r=davidwalsh,gl
Differential Revision: https://phabricator.services.mozilla.com/D49439

--HG--
extra : moz-landing-system : lando
2019-10-16 22:12:30 +00:00
Ciure Andrei
e2d920bc53 Backed out changeset 48816580680d (bug 1583042) for causing browser_ext_commands_onCommand.js to perma fail CLOSED TREE 2019-10-17 01:36:27 +03:00
David Walsh
6ded71ab21 Bug 1583042 - Change devtools debugger shortcut r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D47502

--HG--
extra : moz-landing-system : lando
2019-10-16 17:18:18 +00:00
jaril
7628563796 Bug 1504025 - Fixed replay line indicator to display properly r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D49327

--HG--
extra : moz-landing-system : lando
2019-10-16 19:06:11 +00:00
Gabriel Luong
307fdf196f Bug 1568126 - Part 3: Use the contextual WalkerFront in the markup view event handlers. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D49346

--HG--
extra : moz-landing-system : lando
2019-10-16 18:19:02 +00:00
Cosmin Sabou
1e37dfb648 Backed out changeset 7bcfcf9c5a8a (bug 1583042) for browser chrome failures on browser_ext_commands_onCommand.js CLOSED TREE 2019-10-16 19:21:42 +03:00
David Walsh
047a6a5f5c Bug 1583042 - Change devtools debugger shortcut r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D47502

--HG--
extra : moz-landing-system : lando
2019-10-16 15:07:25 +00:00
Mellina Y.
3d366d4c4a Bug 1582658 - Enable ESLint for all of devtools/client/storage/test/. r=miker
Differential Revision: https://phabricator.services.mozilla.com/D47679

--HG--
extra : moz-landing-system : lando
2019-10-16 13:50:08 +00:00
alessandro
378c81687d Bug 1541411 - Enforce Title Case on labels across panels. r=fvsch
Enforced Title Case on all the labels listed in the bug description for all panels except the Debugger.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 11:15:00 +00:00
Nicolas Chevobbe
3469d5121d Bug 1587839 - Pass the sourceId to sourcemap service subscribe callback. r=loganfsmyth.
The sourceId is then used in the various places where we call the sourcemap service.
A test is added in the console to make sure that we do navigate to the mapped
location in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 00:16:55 +00:00
Daisuke Akatsuka
38f4dd72f0 Bug 1587690: Add jest tests for components. r=ladybenko
Depends on D48950

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

--HG--
extra : moz-landing-system : lando
2019-10-16 01:32:48 +00:00
Daisuke Akatsuka
4d4cbd6fa5 Bug 1587690: Add a test for CSS property issues. r=ladybenko
Depends on D48949

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

--HG--
rename : devtools/client/inspector/compatibility/test/.eslintrc.js => devtools/client/inspector/compatibility/test/browser/.eslintrc.js
extra : moz-landing-system : lando
2019-10-15 14:02:34 +00:00
Daisuke Akatsuka
b09ad6a127 Bug 1587690: Implement simple issue list UI. r=rcaliman,ladybenko
Depends on D48948

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

--HG--
extra : moz-landing-system : lando
2019-10-15 07:27:25 +00:00
Daisuke Akatsuka
9192aeb547 Bug 1587690: Implement basic Redux flow. r=rcaliman,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D48948

--HG--
extra : moz-landing-system : lando
2019-10-16 01:24:48 +00:00
jaril
23830a0484 Bug 1579928 - Reflect proper message order in the console for evaluations during replay r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D49229

--HG--
extra : moz-landing-system : lando
2019-10-15 20:56:27 +00:00
Gabriel Luong
7225b50741 Bug 1568126 - Part 2: Make InspectorStyleChangeTracker work with fission. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D48607

--HG--
extra : moz-landing-system : lando
2019-10-15 18:21:50 +00:00
Armando Ferreira
1b620ea961 Bug 1523868 - Add a doorhanger options menu in console toolbar - Part 1.
Differential Revision: https://phabricator.services.mozilla.com/D47979

--HG--
extra : moz-landing-system : lando
2019-10-15 17:04:30 +00:00
Narcis Beleuzu
072545a7c3 Bug 1587777 - Fix Linting on constants.js . CLOSED TREE 2019-10-15 20:44:17 +03:00
Narcis Beleuzu
749a47cb03 Bug 1587777 - Fix Linting on constants.js . CLOSED TREE 2019-10-15 20:14:52 +03:00
David Walsh
55204b4619 Bug 1587777 - Implement request blocking toolbar button r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D48914

--HG--
extra : moz-landing-system : lando
2019-10-15 16:32:33 +00:00
David Walsh
d920e3e85f Bug 1584988 - Only allow files to be dropped onto HAR overlay r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D48982

--HG--
extra : moz-landing-system : lando
2019-10-15 15:29:51 +00:00
Greg Tatum
037581be8e Bug 1588086 - Fix the multi-modal getSymbolTable; r=julienw
The function had the wrong argument parameters, and it wasn't
fetching the latest list of objdirs.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 11:25:18 +00:00
Alexandre Poirot
f5ed7d3556 Bug 1588730 - Ensure calling form() before calling notifying onFront listeners. r=jdescottes
You can listen for fronts creation via `parentFront.onFront(typeName, callback)`.
For now, we were calling `callback` before we pass the `form` to Front.
This leads to empty attributes as the Front doesn't have access to any data.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 15:56:18 +00:00
Alexandre Poirot
dc833aabf2 Bug 1588730 - Convert test_protocol_simple to async/await. r=jdescottes
I thought I would contribute to this test.
As it doesn't involve any child actor, I'm not, but this cleanup is still valuable.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 15:55:57 +00:00
Dorel Luca
4bb1aa3b3b Backed out changeset 03643a08fe82 (bug 1523868) for Node failure in Unexpected token y in JSON at position 0. CLOSED TREE 2019-10-15 18:42:20 +03:00
Razvan Caliman
9b1cea50c2 Bug 1581850 - Ensure target elements are highlighted when hovering selectors in DevTools Style Editor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D46155

--HG--
extra : moz-landing-system : lando
2019-10-15 13:24:21 +00:00
Armando Ferreira
05826d08b2 Bug 1523868 - Add a doorhanger options menu in console toolbar - Part 1.
Differential Revision: https://phabricator.services.mozilla.com/D47979

--HG--
extra : moz-landing-system : lando
2019-10-15 15:31:32 +00:00
Sorin Davidoi
6a6c20a378 Bug 1588262 - fix(devtools/debugger/sources): Display project root header inline r=davidwalsh
Uses flex display the information inline.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:33:21 +00:00
Nicolas Chevobbe
99657d8d0b Bug 1580181 - Reorganize js-property-provider. r=ochameau.
Move analyzeInputString function below JSPropertyProvider, so
the exported function appears first in the file.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:24:48 +00:00
Nicolas Chevobbe
c273de43c0 Bug 1580181 - Remove debuggee existence check in webconsole actor autocomplete. r=ochameau.
We always have a debugee for the eval window, so we can
remove the now unnecessary check.
We also take this as an opportunity to always attach the
thread when attaching the console in devtools/shared/webconsole/test/common.js
as it's what makes the evalWindow a debuggee.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:24:27 +00:00
Florens Verschelde
dec9e481a5 Bug 1588294 - Project search results style tweaks, new highlight colors; r=davidwalsh
- Use tabular numbers in search input message to reduce layout shifts that impact the loader icon
- Use new highlight colors in search results
- Use standard code font-family (platform-dependent) and font-size (11px); change result row height to 18px (from 16px)
- Add row hover background color, similar to Network request list
- And a few more spacing tweaks

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

--HG--
extra : moz-landing-system : lando
2019-10-15 14:08:30 +00:00
David Walsh
fc0c35cd6b Bug 1585320 - Always show request blocking top bar r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D48992

--HG--
extra : moz-landing-system : lando
2019-10-14 13:39:48 +00:00
David Walsh
bd71d094b3 Bug 1588258 - Prevent React key erro in debugger's Breakpoints panel r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D49047

--HG--
extra : moz-landing-system : lando
2019-10-15 02:25:06 +00:00
Emilio Cobos Álvarez
1abff7e4ce Bug 1588743 - Update property database.
MANUAL PUSH: Left this hanging around due to phlay's confirmation dialog.

CLOSED TREE
2019-10-15 15:02:36 +02:00
Nicolas Chevobbe
1072b519ce Bug 1586181 -Remove hover border on console messages. r=Harald.
The inline start border on hover is now unnecessary
since we have block borders.
Some properties are tweaked to ensure everything is
still lined up properly.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 11:35:53 +00:00
Florens Verschelde
c0abb5bc27 Bug 1588759 - Remove test style in animation.css; r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D49281

--HG--
extra : moz-landing-system : lando
2019-10-15 11:59:19 +00:00
Daisuke Akatsuka
acc2c9a23e Bug 1587253: Move browser test to under test/browser. r=rcaliman
Depends on D48647

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

--HG--
rename : devtools/client/inspector/compatibility/test/browser.ini => devtools/client/inspector/compatibility/test/browser/browser.ini
rename : devtools/client/inspector/compatibility/test/browser_compatibility_preference.js => devtools/client/inspector/compatibility/test/browser/browser_compatibility_preference.js
rename : devtools/client/inspector/compatibility/test/head.js => devtools/client/inspector/compatibility/test/browser/head.js
extra : moz-landing-system : lando
2019-10-15 10:04:30 +00:00