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

2067 Коммитов

Автор SHA1 Сообщение Дата
Claudia 8ceed704c6 Bug 1745415 - [devtools] Makes the New Custom Request Panel the default in Nightly r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D137868
2022-02-11 09:51:01 +00:00
Jan Odvarko f5670ffaf1 Bug 1754397 - [devtools] Remove MDN links from the Network Monitor source r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D138259
2022-02-09 15:52:08 +00:00
Jan Odvarko 6da05abb10 Bug 1753426 - [devtools] Fix documentation links in the source code r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D137748
2022-02-07 13:08:10 +00:00
Claudia 38636e81ce Bug 1745412 - [devtools] Allows user to disable existing HTTP Headers and the params in New Custom Request Panel r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D137685
2022-02-04 17:45:10 +00:00
Claudia f3d314c604 Bug 1745413 - [devtools] Allows user to see a list of (read only) headers in New Custom Request Panel r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D137684
2022-02-04 17:45:10 +00:00
Claudia ebf7c00a00 Bug 1745408 - [devtools] Allows user to edit/add/remove URL parameters in New Custom Request Panel r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D137306
2022-02-04 17:45:09 +00:00
Claudia c3213e0dad Bug 1745409 - [devtools] Allows user to edit/add/remove HTTP Headers in New Custom Request Panel r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D137287
2022-02-04 17:45:09 +00:00
Norisz Fay f20c5c07db Backed out changeset 3e8efb4985f7 (bug 1753426) for causing multiple devtools failures 2022-02-04 16:17:25 +02:00
Jan Odvarko 0d6fafe87e Bug 1753426 - [devtools] Fix documentation links in the source code r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D137748
2022-02-04 11:40:50 +00:00
angelina 458f2e55fe Bug 1656852 click on a link in Network Headers Panel r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D129426
2022-02-03 12:19:48 +00:00
Claudia 50fa24f109 Bug 1745410 - [devtools] Allows user to edit the request body (POST body) in New Custom Request Panel r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D136633
2022-01-27 10:07:21 +00:00
Claudia 015a4e298b Bug 1745395 - [devtools] Makes URL input into a multi-line text area in New Custom Request Panel r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D136478
2022-01-27 10:07:21 +00:00
Claudia 6748189c7e Bug 1745411 - [devtools] - Allows user to clear the content of the New Custom Request Panel. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D136162
2022-01-21 12:23:41 +00:00
Claudia 840135fa1c Bug 1745396 - [devtools] Create a drop down list to HTTP Method in New Custom Request Panel. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D136025
2022-01-21 12:23:41 +00:00
Claudia e54f4ec3cc Bug 1744786 - [devtools] Default select the new request that was sent by edit and resend panel r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D135729
2022-01-18 08:23:09 +00:00
Claudia 4650e8c828 Bug 1745383 - [devtools] Adds basic functionality for the new HTTP Custom request panel r=bomsy
Depends on D135241

Differential Revision: https://phabricator.services.mozilla.com/D135039
2022-01-14 22:33:59 +00:00
Claudia f6d60d9cd8 Bug 1745383 - [devtools] Clean up the selected request reducer and adds a new selector to get clicked request r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D135241
2022-01-14 10:04:56 +00:00
Kershaw Chang 5d806765a0 Bug 1741425 - Enable more mochitest with socket process, r=ahal,webdriver-reviewers,preferences-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D134485
2022-01-11 09:49:45 +00:00
Hubert Boma Manilla 471efce1da Bug 1747494 - [devtools] Should display only one request per URL for images from the cache r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D135038
2022-01-07 15:18:48 +00:00
Alexandre Poirot a8f78a3769 Bug 1747804 - [devtools] Fix har export when some requests can't be retrieved. r=nchevobbe
HAR export was still producing empty har files if any of the request
currently displayed in the netmonitor can't be completely retrieved.
This includes all lazy data. But if any request has been destroyed in the server
fetching any lazy data will throw.

Differential Revision: https://phabricator.services.mozilla.com/D134789
2022-01-04 21:37:11 +00:00
Alexandre Poirot 4aac2bc737 Bug 1740116 - [devtools] Fix fetching extra data about cancelled navigation request. r=nchevobbe
These exception may happen when some pending request from the previous page
are received lated by the netmonitor, which tries to fetch extra data about these
old requests.
On the server side, these requests are destroyed when devtools.netmonitor.persistlog=false.
(which is the default behavior)

Differential Revision: https://phabricator.services.mozilla.com/D132495
2021-12-16 21:59:09 +00:00
Tom Ritter 47d1ab15d8 Bug 1746239: Load netmonitor devtools scripts via an absolute uri rather than relative r=Honza
Depends on D133931

Differential Revision: https://phabricator.services.mozilla.com/D133932
2021-12-16 15:24:54 +00:00
Hubert Boma Manilla 543d221bf6 Bug 1733420 - [devtools] Migrate the remaining tests to http-first r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D133663
2021-12-16 10:03:03 +00:00
Claudia 1563d9dc45 Bug 1744783 - [devtools] Add new context menu for the New Custom Request panel r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D133649
2021-12-15 15:59:06 +00:00
Claudia 993ac25bd2 Bug 1744782 - [devtools] Add new toolbar button for the New Custom Request panel r=bomsy
This is the first part of this bug, the next patch will include the context menu item

Differential Revision: https://phabricator.services.mozilla.com/D133506
2021-12-15 15:59:05 +00:00
Claudia f90f2e8dc0 Bug 1744790 - [devtools] Add new Edit and resend panel in the left side panel r=bomsy
This patch creates an HTTP Custom request component without functionality, only shows the new panel on the left. Also, it adds a simple test, that will be uptaded as new features are added.

Differential Revision: https://phabricator.services.mozilla.com/D133390
2021-12-15 15:59:05 +00:00
Claudia 90864a0bd8 Bug 1675762 - [devtools] Use AppErrorBoundary component in the Console panel r=bomsy,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D129946
2021-12-13 08:23:46 +00:00
Kershaw Chang 0d043867db Bug 1734573 - Fix failed test, r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D127825
2021-12-07 11:45:38 +00:00
Hubert Boma Manilla 5facb6d63a Bug 1737252 - [devtools] Escaping back tick signs r=nchevobbe
This patch escapes the back ticks properly. There may need to be further
thoughts on having seperate context menu items for powershell versus cmd.exe
enabling us to efficiently handles those differently.

Differential Revision: https://phabricator.services.mozilla.com/D131033
2021-11-25 21:54:15 +00:00
Claudia fad8547640 Bug 1731770 - [devtools] Persit expanded nodes state in the Response Panel. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D128190
2021-11-25 14:56:48 +00:00
Nicolas Chevobbe 72a01fca06 Bug 1741811 - [devtools] Make watchTargets take a single object param. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D131755
2021-11-23 13:23:35 +00:00
Narcis Beleuzu 81698c54eb Backed out changeset 9dfd5e6601a1 (bug 1505304) as requested by nchevobbe 2021-11-23 14:56:24 +02:00
Nicolas Chevobbe 5d77281fc2 Bug 1505304 - [devtools] Make watchTargets take a single object param. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D131755
2021-11-23 12:39:19 +00:00
Julian Descottes 212faeb0c3 Bug 1741369 - [devtools] Update paths to loader files in devtools/ r=ochameau
Depends on D131216

Differential Revision: https://phabricator.services.mozilla.com/D131217
2021-11-17 12:43:26 +00:00
Narcis Beleuzu cc1b82440a Backed out changeset 1f2fde2975bb (bug 1731770) for dt failure on browser_net_details_copy.js . CLOSED TREE 2021-11-08 14:27:34 +02:00
Claudia efa834cd24 Bug 1731770 - [devtools] Persit expanded nodes state in the Response Panel. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D128190
2021-11-08 10:57:39 +00:00
angelina 97cdc02a03 Bug 1733285 List xhtml in HTML filter r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D128267
2021-11-05 14:01:39 +00:00
Hubert Boma Manilla 8fc47e85e4 Bug 1738255 - [devtools] Use async/await and promises for the in the netmonitor test pages r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D129816
2021-11-03 12:45:01 +00:00
alessia_vanni fc75050c26 Bug 1736036 - Intermittent devtools/client/netmonitor/test/browser_net_url-preview.js r=bomsy,Honza
Differential Revision: https://phabricator.services.mozilla.com/D129138
2021-11-01 11:49:11 +00:00
angelina 7bc5cfbd80 Bug 1733089 Minor css changes to vertically center items r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D129407
2021-10-28 13:08:22 +00:00
Noemi Erli 0ac4387461 Backed out 2 changesets (bug 1734573) per developer's request CLOSED TREE
Backed out changeset 7d7d9674f18f (bug 1734573)
Backed out changeset 0e5afef7d074 (bug 1734573)
2021-10-27 21:43:19 +03:00
Kershaw Chang 884ae6cd4e Bug 1734573 - Fix failed test, r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D127825
2021-10-26 19:39:28 +00:00
Onyinye Ezike 699e151280 Bug 1714809 - [devtools] fix copy as cURL that returns invalid header. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D128600
2021-10-26 14:36:38 +00:00
criss 7c13c79ea0 Backed out 2 changesets (bug 1734573) for causing failures on browser_net_brotli.js. CLOSED TREE
Backed out changeset 1b2194a0e1ec (bug 1734573)
Backed out changeset 51a00e9f45a3 (bug 1734573)
2021-10-26 15:02:41 +03:00
Kershaw Chang 262d2490e3 Bug 1734573 - Fix failed test, r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D127825
2021-10-26 11:21:44 +00:00
Hubert Boma Manilla 11d12597e4 Bug 1735024 - [devtools] Fix the leaks from firefox data provider r=ochameau
Fixes the leaks of the cached stacktrace info in stackTraceInfoByActorID.
Prior to this fix, the stacktrace info in the cache is only removed when the stacktrace
details panel is opened, meaning if the details panel is never opened the
info is never cleared and leaks.
This fixes the netmonitor and the webconsole as they both use the data provider

### Leak Info

####  Netmonitor
Before: 151 leaked objects (14611 with missing allocation site) in the parent process
After: -111 leaked objects (14150 with missing allocation site) in the parent process

#### Webconsole
Before: 271 leaked objects (13996 with missing allocation site) in the parent process
After: 1 leaked objects (13810 with missing allocation site) in the parent process

Differential Revision: https://phabricator.services.mozilla.com/D128015
2021-10-25 13:57:44 +00:00
Evgenia Kotovich 228e38a58c Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-25 11:12:41 +00:00
Hubert Boma Manilla 7ef6129206 Bug 1737253 - [devtools] Remove backward compatibility code for network persist r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D129258
2021-10-22 19:41:10 +00:00
criss 152f71d4d3 Backed out changeset b60f98f26664 (bug 1576768) for causing mochitest failures. CLOSED TREE 2021-10-22 15:55:50 +03:00
Evgenia Kotovich e29e29aa5a Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-22 11:39:46 +00:00
Butkovits Atila 501936a356 Backed out changeset 5d37c5a5e07a (bug 1735024) for causing node failure. CLOSED TREE 2021-10-22 14:10:27 +03:00
Hubert Boma Manilla 2f8a28d28d Bug 1735024 - [devtools] Fix the leaks from firefox data provider r=ochameau
Fixes the leaks of the cached stacktrace info in stackTraceInfoByActorID.
Prior to this fix, the stacktrace info in the cache is only removed when the stacktrace
details panel is opened, meaning if the details panel is never opened the
info is never cleared and leaks.
This fixes the netmonitor and the webconsole as they both use the data provider

### Leak Info

####  Netmonitor
Before: 151 leaked objects (14611 with missing allocation site) in the parent process
After: -111 leaked objects (14150 with missing allocation site) in the parent process

#### Webconsole
Before: 271 leaked objects (13996 with missing allocation site) in the parent process
After: 1 leaked objects (13810 with missing allocation site) in the parent process

Differential Revision: https://phabricator.services.mozilla.com/D128015
2021-10-22 10:43:34 +00:00
Alexandre Poirot 77f31c59a5 Bug 1717724 - [devtools] Remove blockedUrls traits. r=nchevobbe,devtools-backward-compat-reviewers
This has been introduced in Fx 80 via bug 1546394
and can now be considered as default backend API.

Differential Revision: https://phabricator.services.mozilla.com/D118583
2021-10-19 12:27:58 +00:00
Julian Descottes 8130ddcaa7 Bug 1735660 - [devtools] Ensure tests within devtools/client/netmonitor are https-first compliant r=bomsy
A lot of tests need to disable https-first because of the proxy issue.

Differential Revision: https://phabricator.services.mozilla.com/D128640
2021-10-19 06:20:49 +00:00
Evgenia Kotovich 0d0980ee0d Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli 2bba3cec69 Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE 2021-10-18 02:05:57 +03:00
Evgenia Kotovich 3e3dff109c Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Alexandru Michis dac6815201 Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich a8b32926fa Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
alessia_vanni 362943a25c Bug 1732305 - Last parameter in a GET request not shown - Test added - r=bomsy,Honza
Differential Revision: https://phabricator.services.mozilla.com/D128391
2021-10-15 10:42:39 +00:00
alessia_vanni d07baf9ce7 Bug 1732305 - Last parameter in a GET request not shown r=bomsy,Honza
Differential Revision: https://phabricator.services.mozilla.com/D128338
2021-10-15 10:42:38 +00:00
Sean Feng cb015ca305 Bug 1722759 - Remove the unneeded performRequests usage in browser_net_resend_csp r=bomsy
`performRequests` does 2 things, it waits for an request and call the
performRequests() method.

For this particular test, this wait waited for the resent CSP request,
and the following performRequests() call isn't really needed. This starts
to cause trouble for us because the following performRequests() would
make a image got loaded from the cache, which would introduce one extra
image request to the devtool monitor.

Differential Revision: https://phabricator.services.mozilla.com/D127195
2021-10-12 22:30:46 +00:00
Sean Feng 8887cb01db Bug 1722759 - Add a test for display image cache in netmonitor r=bomsy
Depends on D121122

Differential Revision: https://phabricator.services.mozilla.com/D121422
2021-10-12 22:30:46 +00:00
Claudia e4b55cb04e Bug 1719250 - [devtools] Stop deduping array query parameters. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D126343
2021-10-10 20:39:08 +00:00
june wilde 692c22b993 Bug 1670058 - support Global Privacy Control signal; r=smaug,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126966
2021-10-07 07:55:30 +00:00
Alexandru Michis 485a54ca75 Backed out changeset b61b692cfbce (bug 1670058) for causing bustages in nsHttpChannel.cpp
CLOSED TREE
2021-10-05 19:49:52 +03:00
june wilde e864a69420 Bug 1670058 - support Global Privacy Control signal; r=smaug,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126966
2021-10-05 15:00:30 +00:00
Sebastian Hengst 81b2fc9463 Bug 1732635 - skip browser_net_response_CORS_blocked.js on Linux opt with a11y checks until the frequent failure gets resolved. r=bomsy DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127532
2021-10-05 13:29:43 +00:00
colin_czb 8df5d9f9e5 Bug 1654257 - change isImage filter to detect images with wrong MIME. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D126620
2021-09-30 15:56:14 +00:00
Christoph Kerschbaumer 4e6ec65a70 Bug 1732287: Update tests within devtools/client/netmonitor to work with https-first enabled r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D126763
2021-09-29 09:29:08 +00:00
Hubert Boma Manilla 068c4671f6 Bug 1731460 - [devtools] Share the AppErrorBoundary Component accross panels r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D126038
2021-09-28 07:06:01 +00:00
Jan Odvarko 2ea12d217d Bug 1698770 - [devtools] Properly link to an existing architecture doc page for the Network panel r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D126217
2021-09-27 10:23:28 +00:00
Marian-Vasile Laza 125767b9c3 Backed out changeset 329f9ecbad12 (bug 1654257) for causing mochitest failures on browser_net_brotli.js. 2021-09-27 13:46:52 +03:00
colin_czb ea7fdbb90f Bug 1654257 - change isImage filter to detect images with wrong MIME. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D126620
2021-09-27 08:02:56 +00:00
Mattias de los Rios Rogers 45787095cc Bug 1671147 - Show when responses have been blocked by CORS. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D114377
2021-09-27 07:07:06 +00:00
Hubert Boma Manilla 90ad024da8 Bug 1729017 - [devtools] Fix Response panel crash when mimetype does not exist r=nchevobbe
If no mime-type exists, render as plain text

Differential Revision: https://phabricator.services.mozilla.com/D125167
2021-09-13 10:36:21 +00:00
Alexandre Poirot 329c56536c Bug 1439509 - [devtools] Clear network events when their related WindowGlobal is destroyed. r=bomsy,devtools-backward-compat-reviewers,jdescottes
The main challenge here is to still support persist-logs feature of the netmonitor.
When this feature is enabled we have to keep around all the Network Events as before this patch.

Fission refactoring and the migration to server side NETWORK_EVENT watchers made
this fix significantly easier as we can now more easily reach out the parent process
code which is keeping things allocated.

Differential Revision: https://phabricator.services.mozilla.com/D124318
2021-09-07 17:51:52 +00:00
Julian Descottes 17c3cf6da0 Bug 1728092 - [devtools] Wait properly for toolbox to completely load after a reload in netmonitor tests r=bomsy
Depends on D124169

Differential Revision: https://phabricator.services.mozilla.com/D124188
2021-09-02 11:38:54 +00:00
Julian Descottes dda97ab361 Bug 1688067 - [devtools] Add missing await before navigation in browser_net_charts-06.js r=ochameau
Depends on D124168

Looked for other spots missing await before navigateTo, only found this one, let's fix it.

Differential Revision: https://phabricator.services.mozilla.com/D124169
2021-09-01 19:24:25 +00:00
Julian Descottes df5701fd64 Bug 1688067 - [devtools] Repurpose refreshTab as reloadBrowser and use in browser_toolbox_error_count_reset_on_navigation.js r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D124168
2021-09-01 19:24:24 +00:00
Alexandre Poirot 3b693fede5 Bug 1727323 - [devtools] Enable bfcache in parent in tests that have been fixed thanks to server targets. r=bomsy
All these tests most likely have been fixed with the enabling of server targets.
Because bfcache in parent was introducing more cross process navigations,
being initiated from the server, having the support of server targets was uterly
important to support bfcacheInParent.

Differential Revision: https://phabricator.services.mozilla.com/D123448
2021-08-25 17:16:27 +00:00
Alexandre Poirot ebf34c96a5 Bug 1727325 - [devtools] Enable all DevTools tests which now pass on Fission. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D123452
2021-08-25 15:48:34 +00:00
Hubert Boma Manilla e4899f2938 Bug 1722337 - [devtools] Fix intermittent failures on browser_net_stacktraces-visibility.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D122114
2021-08-13 13:46:37 +00:00
Michelle Goossens e4f0a37c76 Bug 1723573 - Migrate mochitest-devtools-chrome from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D122110
2021-08-10 14:49:46 +00:00
Mustafa_Abdelmogoud 4b5805a40c Bug 1719266 - [devtools] Highlight the right selected cookie. :Honza r=Honza DONTBUILD
Add one more assertion to make sure only one cookies is selected

Differential Revision: https://phabricator.services.mozilla.com/D122002
2021-08-09 11:15:48 +00:00
Iulian Moraru 5d99e66d7f Bug 1722337 - disable browser_net_stacktraces-visibility.js on linux_18.04_64 for frequent failures. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121919
2021-08-07 03:34:01 +00:00
Jon Bauman 909cb45a39 Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121819
2021-08-05 15:48:00 +00:00
Kagami Sascha Rosylight a275bca0a3 Bug 1635018 - Part 4: Replace dragexit with dragleave in devtools/ r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D121192
2021-08-05 14:33:40 +00:00
Kiran Ghanekar 85da52a792 Bug 1696108 - Adjusted position of learn-more-link buttons and header text r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D121209
2021-08-05 07:01:52 +00:00
Christoph Kerschbaumer eb4ef1f7e3 Bug 1722914: Update some devtools tests to work with https-first enabled r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D121202
2021-08-02 07:49:52 +00:00
Hubert Boma Manilla c0f417dca9 Bug 1722677 - [devtools] Fix intermittent for browser_net_stacktraces-visibility.js with server targets r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D121072
2021-07-28 11:51:37 +00:00
Alexandre Poirot 472ebe58a2 Bug 1722664 - [devtools] Fix browser_net_error-boundary-01.js intermittent with server targets. r=nchevobbe
Accessing TargetMixin.localTab during destroy is risky as it may throw.
Reading TabDescriptor.localTab is safer as it will never throw.

This test was failing intermittently on debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D121055
2021-07-28 11:42:28 +00:00
Hubert Boma Manilla 4d911c3bf0 Bug 1722320 - [devtools] Fix intermittent for browser_net_stacktraces-visibility r=nchevobbe
Switched to using a simple/consistent test page with one request
as we just test stacktrace visibility

Differential Revision: https://phabricator.services.mozilla.com/D120941
2021-07-27 13:42:18 +00:00
Hubert Boma Manilla 2c45a516e9 Bug 1722153 - [devtools] Fix blank stacktrace panel when opening from a second location r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D120819
2021-07-26 13:07:55 +00:00
Hubert Boma Manilla d54f0f14dd Bug 1721384 - [devtools] Fix browser_net_websocket_stacks.js with server side targets r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D120620
2021-07-26 11:51:53 +00:00
Black-Hole 3a485d9a59 Bug 1720985 - [devtools] copy as cURL result incorrect. r=jdescottes
Only when post data exists, should add --data-raw

Differential Revision: https://phabricator.services.mozilla.com/D120128
2021-07-22 11:41:23 +00:00
Andrew Osmond 72b3f48bf4 Bug 1717627 - Move Linux devtools tests to WebRender. r=ahal
--- target_task_set@d009f0738a
+++ target_task_set@ao_ci_linux_devtools
+test-linux1804-64-asan-qr/opt-mochitest-devtools-chrome-e10s
-test-linux1804-64-asan/opt-mochitest-devtools-chrome-e10s
+test-linux1804-64-qr/debug-mochitest-devtools-chrome-e10s
+test-linux1804-64-qr/debug-mochitest-devtools-chrome-fis-e10s
+test-linux1804-64-qr/debug-mochitest-devtools-chrome-swr-e10s
+test-linux1804-64-qr/opt-mochitest-devtools-chrome-e10s
+test-linux1804-64-qr/opt-mochitest-devtools-chrome-fis-e10s
-test-linux1804-64/debug-mochitest-devtools-chrome-e10s
-test-linux1804-64/debug-mochitest-devtools-chrome-fis-e10s
-test-linux1804-64/opt-mochitest-devtools-chrome-a11y-checks-e10s
-test-linux1804-64/opt-mochitest-devtools-chrome-e10s
-test-linux1804-64/opt-mochitest-devtools-chrome-fis-e10s
+test-macosx1015-64-qr/debug-mochitest-devtools-chrome-e10s

mozilla-central

--- target_task_set@d009f0738a
+++ target_task_set@ao_ci_linux_devtools
+test-linux1804-64-asan-qr/opt-mochitest-devtools-chrome-e10s
-test-linux1804-64-asan/opt-mochitest-devtools-chrome-e10s
+test-linux1804-64-ccov-qr/opt-mochitest-devtools-chrome-e10s
-test-linux1804-64-ccov/opt-mochitest-devtools-chrome-e10s
+test-linux1804-64-qr/debug-mochitest-devtools-chrome-e10s
+test-linux1804-64-qr/debug-mochitest-devtools-chrome-fis-e10s
+test-linux1804-64-qr/debug-mochitest-devtools-chrome-swr-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-devtools-chrome-e10s
+test-linux1804-64-shippable-qr/opt-mochitest-devtools-chrome-fis-e10s
-test-linux1804-64-shippable/opt-mochitest-devtools-chrome-a11y-checks-e10s
-test-linux1804-64-shippable/opt-mochitest-devtools-chrome-e10s
-test-linux1804-64-shippable/opt-mochitest-devtools-chrome-fis-e10s
-test-linux1804-64/debug-mochitest-devtools-chrome-e10s
-test-linux1804-64/debug-mochitest-devtools-chrome-fis-e10s
+test-macosx1015-64-qr/debug-mochitest-devtools-chrome-e10s

Differential Revision: https://phabricator.services.mozilla.com/D120228
2021-07-21 12:54:32 +00:00
Nicolas Chevobbe f928f3a26d Bug 1691575 - [devtools] Don't rely on webconsole fronts to fetch longStrings fullText. r=bomsy.
The Netmonitor used to call the WebConsoleFront `getString` method to get the full
text of a long string. This could make some test to fail with Fission and target
switching.
Since the webconsole actor is not even involved in the webconsole method, there's
no reason to keep using it. A similar function is added into a util file; the only
difference is that it doesn't cache the front it creates, which does not matter
as the netmonitor only calls this once and then put the full text in its redux
store.
This allows us to re-enable `browser_ext_devtools_network.js` with Fission.

Differential Revision: https://phabricator.services.mozilla.com/D120333
2021-07-20 15:20:11 +00:00
Sebastian Zartner 2b831a7170 Bug 1719567 - [devtools] Fixed test case devtools/client/netmonitor/test/browser_net_search-results.js. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D119818
2021-07-16 12:16:10 +00:00
Hubert Boma Manilla 7c78b05911 Bug 1717050 - Network events and network stacktrace events no longer depend on their orders r=nchevobbe
Previously, we worked with the assumption the NETWORK_STACKTRACE_EVENT resources will always
come before NETWORK_EVENT resources. Even though that's the order they are sent on the backend.
There is no gurantee when it comes through the resource watcher api, this becomes obvious with
server side target-switching on. Ideally there should not be dependency on the order. This patch
fixes that and fixes these 2 tests browser_net_initiator.js and browser_net_cause_source_map.js.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1717050#c0 and https://bugzilla.mozilla.org/show_bug.cgi?id=1717050#c3
for exact commands to run the tests

Differential Revision: https://phabricator.services.mozilla.com/D119494
2021-07-09 16:28:56 +00:00