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

23443 Коммитов

Автор SHA1 Сообщение Дата
Marian-Vasile Laza 9deb7cad8c Backed out changeset 3a3f6075172e (bug 1723958) for causing xpcshell failures on test_addon_debugging_connect.js. CLOSED TREE 2021-08-06 14:08:47 +03:00
Nicolas Chevobbe f73fdc7e79 Bug 1723958 - [devtools] Use targetActor.originalWindow instead of window in bfcache navigation. r=jdescottes.
During the pagehide event, we're checking that the target we're navigating away
from is the expected one.
We previously used the window property, but this is a getter that is updated when
a document is selected in the iframe picker.
Since the goal is to check the actual document the target was created for, we
can use the originalWindow property instead.

A test is added, which is failing without the fixes of this patch.

We take this as an opportunity to clear the iframe picker list on will-navigate,
(as the test was failing on Fission without this), which allows us to remove the
`_notifyDocShellDestroyAll` method of the `BrowsingContextTargetActor` that was
also called before emitting the `will-navigate` event.

Differential Revision: https://phabricator.services.mozilla.com/D121727
2021-08-06 10:12:56 +00:00
Butkovits Atila 22fb2b6793 Backed out 8 changesets (bug 1650089) for causing Xpcshell failures on test_ext_redirects.js. CLOSED TREE
Backed out changeset ee763318d378 (bug 1650089)
Backed out changeset 24d7898ec4bd (bug 1650089)
Backed out changeset bcdd2f5c9840 (bug 1650089)
Backed out changeset 24a5bd7f97dd (bug 1650089)
Backed out changeset 1b8b4e939e82 (bug 1650089)
Backed out changeset a7a4f37a5d72 (bug 1650089)
Backed out changeset 78c012d4b071 (bug 1650089)
Backed out changeset e870508c1ddc (bug 1650089)
2021-08-06 04:35:52 +03:00
Nika Layzell 12dde3f1e0 Bug 1650089 - Part 7: Avoid process-switching in devtools test to keep it passing, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D121286
2021-08-06 00:10:58 +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
Dorel Luca 00fc23a49d Backed out 2 changesets (bug 1723921) for Mochitest failures in layout/inspector/tests/test_getCSSPseudoElementNames.html. CLOSED TREE
Backed out changeset 5e9348094ee1 (bug 1723921)
Backed out changeset e55c2177bbd2 (bug 1723921)
2021-08-05 18:44:42 +03:00
Emilio Cobos Álvarez 8f8176d86b Bug 1723921 - Make devtools use two colons for pseudo-elements consistently. r=jdescottes
With the patch above, some devtools tests failed because we were trying
to call getComputedStyle(node, ":marker") (read: one colon rather than
two).

Using two colons for pseudo-elements is the right thing to do and fixes
it / removes some weird special-cases.

Differential Revision: https://phabricator.services.mozilla.com/D121858
2021-08-05 15:06:16 +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
Julian Descottes f20436e194 Bug 1722136 - [devtools] Wait for a valid presShell in devtools/client/shared tests r=nchevobbe
For context, see the bug conversation. We have a class of issues on popup related tests on linux webrender.
I suspect they are triggered because we don't have a presShell yet when we try to create popups.
This patch adds a waitForPresShell helper in shared-head, and uses it from the createHost test helper, which is used by most of the failing tests, as well as from a specific test: browser_enable_devtools_popup_new_user.js

Differential Revision: https://phabricator.services.mozilla.com/D121798
2021-08-05 11:37:21 +00:00
Julian Descottes f27216bdea Bug 1723719 - [devtools] Add DevTools performance tests overview documentation page r=davehunt,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D121659
2021-08-05 11:10:31 +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
Markus Stange 33ad3f97af Bug 1723215 - Merge local and remote objdir prefs. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D121436
2021-08-04 20:27:32 +00:00
Nicolas Chevobbe d666a81284 Bug 1719156 - [devtools] Fix iframe dropdown with server side target. r=jdescottes.
We used to set doNotFireFrameUpdates on all the target actors
created from the server, and as a result, we would never populate
the iframe dropdown.
The original concern was that since we can have multiple targets
now (when fission is enabled), different frameUpdate events would
be fired which would cause issues in the iframe dropdown.
But at the moment, we know that the iframe dropdown does not support
Fission (remote frames are not displayed), as the toolbox only listen
for frame-update events emitted from the top-level target.
With this patch, we'll emit frameUpdate event only from top-level targets,
so we don't send unnecessary RDP packet to client.
A test is added that checks multiple scenarios with pages adding and
removing iframes, as well as navigating so we can assert the dropdown
berhaviour with server side targets.
The test is tagged as fail-if on Fission as we're missing remote frames
in the dropdown.

Differential Revision: https://phabricator.services.mozilla.com/D121601
2021-08-04 12:39:37 +00:00
Alexandru Michis 5ca72bfc53 Backed out 7 changesets (bug 1650089) for causing xpcshell failures in test_ext_cookieBehaviors.js
Backed out changeset 336d6eb2fc15 (bug 1650089)
Backed out changeset 283ba29cdbeb (bug 1650089)
Backed out changeset c470e4c65117 (bug 1650089)
Backed out changeset 8fc2f428694d (bug 1650089)
Backed out changeset 37e5185dae14 (bug 1650089)
Backed out changeset a26afdc56d91 (bug 1650089)
Backed out changeset 32e207558b3d (bug 1650089)
2021-08-04 12:32:07 +03:00
Nika Layzell d9a5f40263 Bug 1650089 - Part 7: Avoid process-switching in devtools test to keep it passing, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D121286
2021-08-03 18:17:56 +00:00
Emilio Cobos Álvarez a4e7c9e510 Bug 1722945 - Support break-inside: avoid-{page,column}. r=TYLin
break-before/after: page|column seem harder because you need to deal
with nested breaks, I think, but this should be straight-forward.

Differential Revision: https://phabricator.services.mozilla.com/D121206
2021-08-03 17:56:58 +00:00
Noemi Erli 89a565ea85 Backed out changeset 67c33ba5566e (bug 1722945) for causing bustage in nsContainerFrame.cpp 2021-08-03 20:35:10 +03:00
Noemi Erli 6cd9318b66 Backed out 7 changesets (bug 1650089) foe causing bustages in ProcessIsolation.cpp
Backed out changeset 4e73beb8872c (bug 1650089)
Backed out changeset 092451e931ce (bug 1650089)
Backed out changeset ca9ba60010c6 (bug 1650089)
Backed out changeset ee61b69ba556 (bug 1650089)
Backed out changeset 091c4efa36a7 (bug 1650089)
Backed out changeset dbdee40ef8a0 (bug 1650089)
Backed out changeset 54d12a4333a0 (bug 1650089)
2021-08-03 20:15:54 +03:00
Nika Layzell 522b23739a Bug 1650089 - Part 7: Avoid process-switching in devtools test to keep it passing, r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D121286
2021-08-03 15:39:36 +00:00
Nika Layzell 29295703f8 Bug 1715773 - Remove preloaded newtab process selection logic, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D121423
2021-08-03 15:17:07 +00:00
Emilio Cobos Álvarez 3d1b4f252f Bug 1722945 - Support break-inside: avoid-{page,column}. r=TYLin
break-before/after: page|column seem harder because you need to deal
with nested breaks, I think, but this should be straight-forward.

Differential Revision: https://phabricator.services.mozilla.com/D121206
2021-08-03 13:59:47 +00:00
Nicolas Chevobbe 45f7114db0 Bug 1722714 - [devtools] Don't call restoreActorState from RDM client when target follow window global lifecycle. r=jdescottes.
The call to restoreActor state was inferring with the watcher setting up the configuration
on new documents, and was making browser_max_touchpoints and browser_touch_pointerevents
fail with server side target switching.

Differential Revision: https://phabricator.services.mozilla.com/D121533
2021-08-03 11:04:21 +00:00
Nicolas Chevobbe 7a4bb2ce86 Bug 1722805 - [devtools] Explicitely disable server side target switching in browser_storage_cache_navigation. r=jdescottes.
The test times out with server side target switching as the
storage actor gets created earlier than the cache and the
storage inspector doesn't update when CacheStorage is
updated (see Bug 1712757).

Differential Revision: https://phabricator.services.mozilla.com/D121504
2021-08-02 15:45:33 +00:00
Nicolas Chevobbe 1641a872af Bug 1722543 - [devtools] Don't actually destroy service worker targets on target switching. r=jdescottes.
This makes browser_dbg-windowless-service-workers.js pass
with server side target switching.

Differential Revision: https://phabricator.services.mozilla.com/D121339
2021-08-02 15:44:06 +00:00
Julian Descottes b44277e02b Bug 1722456 - [devtools] Update documentation to find Devtools reviewers r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D121524
2021-08-02 14:14:22 +00:00
Daisuke Akatsuka b591b8d0b0 Bug 1723067: Update MDN compat data. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D121338
2021-08-02 10:07:32 +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
Iulian Moraru e5daa44fb5 Bug 1709840 - disable browser_toolbox_toolbar_minimum_width.js on windows_10_64_qr for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D121459
2021-08-01 02:12:37 +00:00
Markus Stange 124dd3228f Bug 1615066 - Add support for new profiler-get-symbols version which supports partial file reading. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D117938
2021-07-30 20:39:54 +00:00
Sandor Molnar 2f5b54bbea Bug 1613705 - lint fix. a=lint-fix. CLOSED TREE 2021-07-30 22:11:59 +03:00
Sandor Molnar 75d3b3d94f Bug 1613705 - Fix failures in devtools/client/performance-new/test/browser/browser_aboutprofiling-features-disabled.js CLOSED TREE 2021-07-30 21:47:48 +03:00
Hubert Boma Manilla 33b59001b6 Bug 1717807 - [devtools] Resume the front-end on will navigate r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D119739
2021-07-30 16:51:59 +00:00
Zibi Braniecki 15e7d48273 Bug 1660392 - [l10nregistry] part7: Move L10nRegistry callees to use WebIDL one. r=preferences-reviewers,Gijs,platform-i18n-reviewers,gregtatum
Depends on D105416

Differential Revision: https://phabricator.services.mozilla.com/D105584
2021-07-30 16:47:49 +00:00
Nicolas Chevobbe 7159137f70 Bug 1723133 - [devtools] Rename browser_target_list_* tests into browser_target_command_* . r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D121378
2021-07-30 14:41:27 +00:00
Nicolas Chevobbe e689aa7727 Bug 1721991 - [devtools] Wait until page is loaded before going back in browser_target_list_tab_workers_bfcache_navigation.js. r=jdescottes.
it could happen that the page wasn't loaded yet, which would
make the call to gBrowser.goBack() a no-op and messing up
the rest of the test.

Differential Revision: https://phabricator.services.mozilla.com/D121347
2021-07-30 11:44:59 +00:00
Markus Stange 8460d5d435 Bug 1721109 - Rename this getSymbolTable function to prevent some TypeScript confusion. r=fix CLOSED TREE
For some reason, having a function with this name makes TypeScript show an
error for frame-script.js, which also has a function with the same name and
a different signature. Renaming the worker function fixes the TypeScript
error - even though TypeScript doesn't even check the worker script!

Differential Revision: https://phabricator.services.mozilla.com/D121252
2021-07-29 22:19:30 +00:00
Markus Stange 454f2cfc6a Bug 1721109 - Move candidate path handling and lib info map lookup into the worker. r=canaltinova
This prepares the worker for an upcoming update to a new profiler-get-symbols version;
this way of doing things is a much better match for the new API.

For requesting a single symbol table, this may look unnecessarily complicated, and it is.
But it paves the way for requesting symbols for multiple libraries in a single message.
In the future, rather than requesting a full symbol table for a single library, we will
want to have a queryAPI endpoint which lets us request symbols for multiple libraries
with a single message. This is just elaborate preparation for that step.

Differential Revision: https://phabricator.services.mozilla.com/D120188
2021-07-29 20:28:47 +00:00
Markus Stange a94e249328 Bug 1721109 - Factor out getCompactSymbolTableFromPath in the worker. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D120187
2021-07-29 20:28:46 +00:00
Markus Stange f1c9adc42a Bug 1721109 - Remove createLibraryMap. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D120186
2021-07-29 20:28:46 +00:00
Markus Stange e6cec3dde2 Bug 1721109 - Inline-away getSymbolTableFromLocalBinary. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D120185
2021-07-29 20:28:46 +00:00
Markus Stange 7c01a09694 Bug 1721109 - Add type coverage for the initial worker message. r=canaltinova
After I wrote this patch, I noticed that the worker isn't actually covered
by TypeScript because it doesn't have a `// @ts-check` comment.
But it seems to be rather non-trivial to make it pass type checking, especially
around module import. For example, I don't know how to tell TypeScript that
this code runs in a worker global scope which has an importScripts function.

So I'm just going to leave the worker uncovered for now. I hope the JSDoc
comment doesn't give the wrong impression.

Differential Revision: https://phabricator.services.mozilla.com/D120184
2021-07-29 20:28:45 +00:00
Markus Stange bad32b0071 Bug 1721109 - Split getResultFromWorker out of getSymbolTableFromLocalBinary. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D120183
2021-07-29 20:28:45 +00:00
Markus Stange 8b439f0bce Bug 1721109 - Move ProfilerGetSymbols code out of toolkit/components/extensions and into devtools directories. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D120182
2021-07-29 20:28:44 +00:00
Markus Stange a058bd1bbf Bug 1721109 - Update TypeScript dependencies. r=canaltinova
The old version didn't have Worker.onmessageerror in its DOM type definitions.

Differential Revision: https://phabricator.services.mozilla.com/D120181
2021-07-29 20:28:44 +00:00
Markus Stange 8b8f10203f Bug 1721109 - Stop using createLibraryMap in LocalSymbolicationServiceWithRemoteSymbolTableFallback. r=canaltinova
An upcoming patch will remove the other use of `createLibraryMap` (because the
map lookup moves into the worker), so with both uses removed, we'll be able to
remove the function.

This shouldn't noticeably affect performance, because this case is rarely hit
and because the array never has more than 1000 items, so even a linear search
is really fast.

Differential Revision: https://phabricator.services.mozilla.com/D120179
2021-07-29 20:28:43 +00:00
Markus Stange 564989e988 Bug 1721109 - Move library lookup into _getCandidatePaths. r=canaltinova
Depends on D120177

Differential Revision: https://phabricator.services.mozilla.com/D120178
2021-07-29 20:28:43 +00:00
Markus Stange eb4f456d2b Bug 1721109 - Split out LocalSymbolicationServiceWithRemoteSymbolTableFallback. r=canaltinova
Depends on D120176

Differential Revision: https://phabricator.services.mozilla.com/D120177
2021-07-29 20:28:42 +00:00
Markus Stange 124464a729 Bug 1721109 - Make getCandidatePaths a method of LocalSymbolicationService. r=canaltinova
Depends on D120175

Differential Revision: https://phabricator.services.mozilla.com/D120176
2021-07-29 20:28:42 +00:00
Markus Stange dd0b425818 Bug 1721109 - Move getSymbolTableMultiModal into the getSymbolTable method. r=canaltinova
Depends on D120174

Differential Revision: https://phabricator.services.mozilla.com/D120175
2021-07-29 20:28:42 +00:00
Markus Stange 0f7247485a Bug 1721109 - Check all local files in the same loop, both files in objdirs and the regular absolute path of the library. r=canaltinova
This may look odd now but it's a temporary step on the way to the final state.

Depends on D120173

Differential Revision: https://phabricator.services.mozilla.com/D120174
2021-07-29 20:28:41 +00:00