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

19609 Коммитов

Автор SHA1 Сообщение Дата
Micah Tigley 6f685c3a2a Bug 1606852 - Clean up backwards compatibility overhead from emulation actor refactor r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D66322

--HG--
extra : moz-landing-system : lando
2020-03-11 11:46:13 +00:00
Alexandre Poirot 3783fcf985 Bug 1619622 - Use the TargetList to retrieve the current top level target in the debugger. r=jdescottes,jlast
Differential Revision: https://phabricator.services.mozilla.com/D66133

--HG--
extra : moz-landing-system : lando
2020-03-11 13:35:59 +00:00
Alexandre Poirot 3494500cee Bug 1619622 - Use the TargetList to fetch content process targets in the Debugger. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D65125

--HG--
extra : moz-landing-system : lando
2020-03-11 13:35:56 +00:00
Alexandre Poirot 52c9fad1b6 Bug 1619622 - Stop returning any value from ThreadActor.attach. r=jdescottes
We weren't actually returning any value.
The only case when we return something is when the RDP method throws and return
an object response with an "error" attribute.
I imagine this has been refactored incorectly from old style actor to protocol.js.
We should throw in case of errors if we want to transfer a RDP message with "error" attribute.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 13:35:54 +00:00
Alexandre Poirot b7bd94a4f5 Bug 1619622 - Return only the thread front from Target.attachThread. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D65124

--HG--
extra : moz-landing-system : lando
2020-03-11 13:35:46 +00:00
Alexandre Poirot fcbaa10019 Bug 1619622 - Remove unecessary attributes set on Target classes related to thread front. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D65123

--HG--
extra : moz-landing-system : lando
2020-03-11 13:35:44 +00:00
Alexandre Poirot 3b193b3c3b Bug 1594754 - Make target-list support all workers in the browser toolbox. r=jdescottes
For now, this is only an equivalent of the existing listAllWorkerTargets.
But thanks to it using the TargetList API to listen to processes,
it can fetch only the workers from the newly-created processes
or only for the process which have their worker list updated.
Follow-up would be necessary to:
* optionally listen for SW in the content toolbox codepath
* expose SW Registrations?

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

--HG--
extra : moz-landing-system : lando
2020-03-11 12:34:43 +00:00
Micah Tigley aa2e990453 Bug 1621306 - Enable the devtools.responsive.browserUI.enabled pref in Nightly only r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D66246

--HG--
extra : moz-landing-system : lando
2020-03-11 11:41:48 +00:00
Alexandre Poirot 0f4a46b235 Bug 1620257 - Print the actorID when we receive a error in protocol.js Fronts. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D65525

--HG--
extra : moz-landing-system : lando
2020-03-10 22:29:04 +00:00
Hubert Boma Manilla 49a7184460 Bug 1613895 - renamed and moved NetworkDetailsPanel to NetworkDetailsBar r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D65924

--HG--
rename : devtools/client/netmonitor/src/assets/styles/NetworkDetailsPanel.css => devtools/client/netmonitor/src/assets/styles/NetworkDetailsBar.css
rename : devtools/client/netmonitor/src/components/NetworkDetailsPanel.js => devtools/client/netmonitor/src/components/request-details/NetworkDetailsBar.js
extra : moz-landing-system : lando
2020-03-10 14:20:12 +00:00
Hubert Boma Manilla 3eff9704c3 Bug 1613886 - Moved the timings and stacktrace panels to /requst-details r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D65909

--HG--
rename : devtools/client/netmonitor/src/components/StackTracePanel.js => devtools/client/netmonitor/src/components/request-details/StackTracePanel.js
rename : devtools/client/netmonitor/src/components/TimingsPanel.js => devtools/client/netmonitor/src/components/request-details/TimingsPanel.js
extra : moz-landing-system : lando
2020-03-09 12:40:29 +00:00
Nicolas Chevobbe a75555296e Bug 1620967 - Clean up EvaluationContextSelector. r=jlast.
Store and expose thread types in constants, and use those.
Only loop once through the threads.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 15:16:17 +00:00
Nicolas Chevobbe 3f2cbeac4f Bug 1620967 - Rename EvaluationSelector to EvaluationContextSelector. r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D65965

--HG--
rename : devtools/client/webconsole/components/Input/EvaluationSelector.css => devtools/client/webconsole/components/Input/EvaluationContextSelector.css
rename : devtools/client/webconsole/components/Input/EvaluationSelector.js => devtools/client/webconsole/components/Input/EvaluationContextSelector.js
extra : moz-landing-system : lando
2020-03-10 10:11:08 +00:00
Nicolas Chevobbe 5836242575 Bug 1620255 - Change context selector button color when non-top context is selected. r=jlast.
This patch changes the color of the evaluation context selector button
when another context than Top is selected.
This hopefully will help the user to see they're in a different context
than the regular one, which can be helpful since the context can be
changed by actions in the toolbox, and not only from the user explicitely
selecting another context.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 10:28:03 +00:00
Nicolas Chevobbe 6060f6272c Bug 1619302 - Update instant evaluation result when a new thread is selected. r=jlast.
When a thread is selected, either via the context list,
or through the toolbox actions, we dispatch a new action
that will do another instant evaluation so any results
we get matches the selected context.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 21:51:55 +00:00
Dorel Luca 5ccbcf6bec Backed out changeset b8146414348a (bug 1621306) for XPCShell failure in xpcshell/test_rotate_viewport.js 2020-03-11 03:41:29 +02:00
Tom Schuster cf9658bab6 Bug 1619177 - Fix two tests outside js/. r=jdescottes,zombie
For test_protocol_stack we now generate a different function name like
onConnect/>. This happens because the test doesn't execute with strict mode
anymore, which would inhibit lazy parsing. With lazy parsing we get
different function naming ..

option("strict") will throw now.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 22:59:49 +00:00
Micah Tigley 7610468ce0 Bug 1621316 - Ensure that initializing RDM is completed before destroying r=jdescottes,bradwerth
It's possible to trigger a call to `destroy` in RDM immediately after opening it. If this happens then there's the chance UI hasn't finished connecting to the DevTools server, which is where we create a new TargetList to support target-switching in RDM. Since this list is unavailable when `destroy` is called, we get the issue being reported for this bug.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 23:25:47 +00:00
Micah Tigley ca85680174 Bug 1621306 - Enable the devtools.responsive.browserUI.enabled pref in Nightly only r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D66246

--HG--
extra : moz-landing-system : lando
2020-03-10 19:07:55 +00:00
Daniel Varga d7b9c8bff0 Backed out changeset d17023ed99b6 (bug 1615102) for causing devtools failures at devtools/client/netmonitor/test/browser_net_column-resize-fit.js
CLOSED TREE
2020-03-10 23:28:32 +02:00
Farooq AR 2d1c4a556b Bug 1615102 - Resize column to fit content. r=Harald,Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D65077

--HG--
extra : moz-landing-system : lando
2020-03-09 11:56:00 +00:00
Greg Tatum 437583a6a9 Bug 1621311 - Fix keyboard shortcuts for the profiler; r=canaltinova
This regression fix does not include a test, but I'll try and follow-up with one.
I'd prefer to get this fixed sooner rather than later. I attempted to write a test
for the shortcuts before, and I failed due to some kind of race condition.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 16:55:20 +00:00
Alexandre Poirot 1000518401 Bug 1589132 - Remove husky from debugger. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D66134

--HG--
extra : moz-landing-system : lando
2020-03-10 00:01:18 +00:00
Hubert Boma Manilla 00a4d91ba9 Bug 1618600 - Fixed the scrollbar overlaying text r=Harald,Honza
Added css to fix horizontal scrollbar overlapping text

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

--HG--
extra : moz-landing-system : lando
2020-03-10 09:43:06 +00:00
Jason Laster fc7567b2d8 Bug 1620291 - support async stacks in beta. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D66152

--HG--
extra : moz-landing-system : lando
2020-03-10 00:12:09 +00:00
Micah Tigley 5ab2483cb5 Bug 1620413 - Fix and re-enable RDM tests that fail on calling the load function r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D65626

--HG--
extra : moz-landing-system : lando
2020-03-09 21:24:08 +00:00
Noemi Erli da8e27212f Bug 1620666 - Add missing line r=fix CLOSED TREE 2020-03-09 18:38:20 +02:00
Jason Laster ca0e769cfb Bug 1620666 - call stack group padding was removed after async-ui landed. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D65791

--HG--
extra : moz-landing-system : lando
2020-03-06 20:29:47 +00:00
Bryan Kok 2e03a48d33 Bug 1247083 - Number inline and new stylesheets separately in Style Editor; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D62019

--HG--
extra : moz-landing-system : lando
2020-03-09 15:50:29 +00:00
Greg Tatum 5caa818a75 Bug 1620323 - Revert preferences in the head file for performance-new tests; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D65578

--HG--
extra : moz-landing-system : lando
2020-03-09 15:04:22 +00:00
Greg Tatum 801c03be29 Bug 1619748 - Update code documentation for the new about:profiling workflow; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D65203

--HG--
extra : moz-landing-system : lando
2020-03-09 15:02:17 +00:00
Greg Tatum 9e6847fac4 Bug 1611817 - Migrate remaining chrome tests to devtools browser tests; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D65153

--HG--
extra : moz-landing-system : lando
2020-03-09 15:01:26 +00:00
Greg Tatum 24b1c74c7b Bug 1597388 - Hook about:profiling up to remote debugging; r=julienw,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D65152

--HG--
extra : moz-landing-system : lando
2020-03-09 15:01:02 +00:00
Greg Tatum 45cedbd5fa Bug 1611817 - Add mochitests for the performance-new panel in DevTools; r=julienw
Note that this patch also updates the setReactFriendlyInputValue function in
head.js, as it was not working for selects.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:57:56 +00:00
Greg Tatum 68c5d4cc04 Bug 1611817 - Fix race condition in DevTools shutdown and stopProfilerAndDiscardProfile; r=julienw
This race condition is really only exposed in automated testing, but it
was making the DevTools performance-new mochitests intermittent.

The race looks like this:

* stopProfilerAndDiscardProfiler() request
* perf actor process the request
* The gecko profiler sends an event notifying that the profiler stopped
* DevTools updates the UI upon receiving the event
* The test suite sees the UI update, and triggers a close of DevTools
* Error: Connection closed, pending request
* stopProfilerAndDiscardProfiler still hasn't sent the response yet

This patch fixes it by not throwing an error if the panel is already destroyed.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:57:05 +00:00
Greg Tatum 806c8be4d6 Bug 1618002 - Migrate about:profiling chrome tests to only browser tests;r=julienw
The browser chrome tests previously only tested the performance-new client
from a unit testing perspective. I originally wrote them this way so that
they would be fast, and not flaky, as the client actually runs the profiler
and full browser infrastructure. However, these tests haven't been really
great at catching bugs, and the tests break pretty easy to due implementation
changes for the client.

The new browser tests have been proving fast, reliable, and great at catching
regressions. This patch moves all of the about:profiling related tests to be
exclusively mochitests.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:56:21 +00:00
Greg Tatum 78e4a1804f Bug 1594798 - Store remote prefs on the client under a separate pref branch; r=julienw
Currently the preferences for remote profiling are stored on the debuggee. This leads
to a negative user experience, as oftentimes phones do not persist the preferences.
This patch changes the strategy to store one set of preferences for local profiling,
and a second set of preferences for remote profiling.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:55:16 +00:00
Greg Tatum e715a2fbe1 Bug 1597385 - Remove unused codepaths and style in the DevTools panel migration; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D65147

--HG--
extra : moz-landing-system : lando
2020-03-09 14:54:35 +00:00
Greg Tatum c3340d41b3 Bug 1597385 - Create a stripped down version of the profiler front-end; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D65146

--HG--
rename : devtools/client/performance-new/components/DevToolsAndPopup.js => devtools/client/performance-new/components/DevToolsPanel.js
extra : moz-landing-system : lando
2020-03-09 14:52:57 +00:00
Greg Tatum 6325813760 Bug 1597385 - Move the features descriptions to a shared location; r=julienw
DevTools and about:profiling will both use them, so place them in a shared utils
folder, and put the type definition in a shared location.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:51:42 +00:00
Noemi Erli bf970d5a39 Backed out 2 changesets (bug 1459953) for causing devtools failures regarding listServiceWorkerRegistrations CLOSED TREE
Backed out changeset 1a8916dc09ee (bug 1459953)
Backed out changeset 71141fa6d324 (bug 1459953)
2020-03-09 17:03:15 +02:00
Belén Albeza cad36d87f0 Bug 1459953 - Part 2: Add mochitest r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D64782

--HG--
extra : moz-landing-system : lando
2020-03-09 11:50:42 +00:00
Belén Albeza 40432665ef Bug 1459953 - Part 1: Show all service worker states r=jdescottes,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D63864

--HG--
extra : moz-landing-system : lando
2020-03-09 11:44:09 +00:00
Kriti Singh 2e218ad6e6 Bug 1580155: Rename event constants used only for tests r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D64868

--HG--
extra : moz-landing-system : lando
2020-03-09 10:54:33 +00:00
Uday b954b2e459 Bug 1590046 - Formatting for Action Cable WebSocket messages. r=Harald,Honza
Differential Revision: https://phabricator.services.mozilla.com/D65191

--HG--
extra : moz-landing-system : lando
2020-03-09 09:41:42 +00:00
Mihai Alexandru Michis b4fb6157a2 Bug 1601331 - Disable browser_webconsole_network_reset_filter.js on fission for frequent failures. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D65750

--HG--
extra : moz-landing-system : lando
2020-03-09 08:24:53 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Mark Banner b2df945d37 Bug 1620542 - Turn on linting of .eslintrc.js files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D65704

--HG--
extra : moz-landing-system : lando
2020-03-07 09:30:44 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Boris Zbarsky 0082f55dee Bug 1618011 part 7. Switch most error messages used in bindings to having a method name prefix. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D64888

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:16 +00:00