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

424 Коммитов

Автор SHA1 Сообщение Дата
Michelle Goossens c159e29e05 Bug 1727943 - Part 2: Migrate mochitest, reftest and crashtest Windows 10 ccov suites from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D125350
2021-09-28 15:27:39 +00:00
Nicolas Chevobbe 520f5c0614 Bug 1732678 - [devtools] Remove usage of Promise.jsm in VariableView.jsm. r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D126666
2021-09-28 10:13:58 +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
Paul Zuehlcke 86316039cb Bug 1722600 - [devtools] Make browser_storage_dfpi test more reliable by polling to wait for devtools storage entries to appear. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D121980
2021-08-30 12:49:04 +00:00
Belén Albeza 742774f709 Bug 1706439 - [devtools] Set a time limit for calling win.clear after each test r=jdescottes
The indexedDB fission test was sometimes timing out in the registered clean up function, when it was trying to remove the DB with a dom api call. This patch bails out this clearing if it takes too long. Try push https://treeherder.mozilla.org/jobs?repo=try&revision=403faa4e321d613fe5b056006c31eacda62f878a

Differential Revision: https://phabricator.services.mozilla.com/D123494
2021-08-25 11:17:36 +00:00
Belén Albeza 2e76ecbce9 Bug 1706633 - [devtools] Re-enable fission local-storage test r=jdescottes
This should have been fixed by 1706679

Differential Revision: https://phabricator.services.mozilla.com/D123437
2021-08-24 14:24:25 +00:00
Andreea Pavel 26554f995c Bug 1706633 - disable browser_storage_fission_local_storage.js on linux debug r=intermittent-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122977
2021-08-21 17:19:30 +00:00
Belén Albeza 71efd9dabe Bug 1706679 - [devtools] Fix local/session storage intermittents due to TableWidget error while sorting r=jdescottes
There is a race condition in which the TableWidget was trying to sort values that are no longer available in the table itself, if we change the contents of the table too quickly. This patch should also fix Bug 1696727

Differential Revision: https://phabricator.services.mozilla.com/D122970
2021-08-19 09:00:54 +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
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
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 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
Paul Zuehlcke 947223ccc9 Bug 1721131 - [devtools] Use WindowGlobalParent documentStoragePrincipal for storage access. r=nchevobbe
We need to use documentStoragePrincipal rather than the regular document principal, because it
contains the partitionKey which is used to isolate storage of third-party resources.

Differential Revision: https://phabricator.services.mozilla.com/D120853
2021-07-27 16:44:55 +00:00
Nicolas Chevobbe 554490c7df Bug 1717625 - [devtools] Fix storage inspector tree when bfCacheInParent is enabled and server side target switching is disabled. r=ochameau.
In this patch, we pass a property alongside the DevToolsFrameChild:bf-cache-navigation-pageshow
message that indicates if a new target is being created as a result of this
bfcache navigation.
This flag is then used in the ParentProcessStorage to spawn a new StorageActorMock
when a new target is being created.

As a result we can stop disabling the bfCacheInParent pref in browser_storage_cookies_navigation.js,
where a bfcache navigation is performed.

Differential Revision: https://phabricator.services.mozilla.com/D120438
2021-07-22 05:33:30 +00:00
Nicolas Chevobbe 3dd22f3100 Bug 1713072 - [devtools] Fix storage inspector cross process navigation when fission is disabled. r=ochameau.
In the ParentProcessStorage class, we are listening for window-global-created/destroyed
event to notify the client that hosts can be added/removed.
But in case of bfcache navigation, those events are not emitted.

In order to fix this issue, we forward pageshow and pagehide events from the
DevToolsFrameChild to the DevToolsFrameParent, where the watcher actor can emit
those events, which we'll be listened to by the ParentProcessStorage.

Test cases are added to ensure this works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D118325
2021-07-19 12:29:44 +00:00
Belén Albeza 8721f70d9b Bug 1710077 - [devtools] Part 2: Improve test coverage for navigation r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D116699
2021-06-09 15:34:01 +00:00
Belén Albeza df2ff6decf Bug 1710077 - Part 1: Support target switching for cookies / indexedDB r=jdescottes,ochameau
This adds support for server target-switching for parent process storage resources (cookies and indexedDB at the moment)

Differential Revision: https://phabricator.services.mozilla.com/D114600
2021-06-09 15:34:01 +00:00
Andrey Bienkowski fef03390cb Bug 1715073 - Convert devtools/client/storage/test/browser_storage_localstorage_rapid_add_remove.js to async/await r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D117040
2021-06-07 20:33:00 +00:00
Christoph Kerschbaumer 5bac35577a Bug 1711646: Update PBM tests within devtools/client to work with https-first-mode enabled r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D115355
2021-05-18 13:22:07 +00:00
Csoregi Natalia 7b0167f87f Backed out changeset 667b00fed9ed (bug 1694274) for causing failures on browser_storage_indexeddb_navigation.js. CLOSED TREE 2021-05-10 22:13:23 +03:00
Andreea Pavel 7fdf7b3082 Bug 1694274 - re-enable browser_storage_indexeddb_navigation.js r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D114335
2021-05-10 08:39:58 +00:00
Alexandre Poirot ecf535689e Bug 1701790 - Migrate ResourceWatcher to become ResourceCommand. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D113930
2021-05-04 09:29:47 +00:00
Brindusan Cristian 185ab5e4f4 Backed out 5 changesets (bug 1701790) for bc failures in browser_ext_devtools_network_targetSwitch.js. CLOSED TREE
Backed out changeset 3fc4edd663d9 (bug 1701790)
Backed out changeset 2d3ea7c0d695 (bug 1701790)
Backed out changeset 6cb7502fc1a2 (bug 1701790)
Backed out changeset 8f4205a1a369 (bug 1701790)
Backed out changeset bd3c9b1482c7 (bug 1701790)
2021-05-03 22:21:59 +03:00
Alexandre Poirot 4aee693953 Bug 1701790 - Mass replace resourceWatcher with resourceCommand. r=nchevobbe
$ sed -i 's/resourceWatcher/resourceCommand/g' $(egrep -rl 'resourceWatcher' devtools/)

Differential Revision: https://phabricator.services.mozilla.com/D113933
2021-05-03 18:07:31 +00:00
Nicolas Chevobbe 0f8b07b880 Bug 1708626 - [devtools] Remove usage of Promise.jsm in tests. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D113912
2021-05-03 11:35:18 +00:00
Belén Albeza b716aed36b Bug 1694274 - [devtools] Request longer timeout for indexedDB navigation test r=nchevobbe
Fix intermittent indexedDB test (removing databases can take a while)

Differential Revision: https://phabricator.services.mozilla.com/D113755
2021-04-30 08:49:40 +00:00
Belén Albeza 60c8a028ed Bug 1700904 - [devtools] remove guards for new cookies and indexeddb resources r=ochameau
This removes the testing enableServerWatcherSupport flag for indexedDB and cookies resources. As a consequence of this, some tests that were previously marked as failing on fission now pass, so they have been re-enabled as well.

Differential Revision: https://phabricator.services.mozilla.com/D113143
2021-04-27 14:38:01 +00:00
Sebastian Zartner ea22e54d20 Bug 1613356 - Added test case for storage key names. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D110774
2021-04-22 23:01:08 +00:00
Sebastian Zartner 9d14b2b11c Bug 1613356 - Fixed storage data inspection for empty strings. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D110773
2021-04-22 23:01:07 +00:00
Belén Albeza fb462c65ce Bug 1666532 - [devtools] Part 2: Add mochitest for indexedDB in fission r=ochameau
Note: This depends on D112167. This commit adds a mochitest for the new indexedDB storage resource.

Differential Revision: https://phabricator.services.mozilla.com/D112369
2021-04-20 15:17:09 +00:00
Nicolas Chevobbe a902adedc9 Bug 1701423 - [devtools] Fix intermittent on browser_storage_fission_cookies.js. r=ochameau.
This patch waits for the "store-objects-edit" event to be emitted before checking
the content of the UI.

Differential Revision: https://phabricator.services.mozilla.com/D110423
2021-04-02 05:01:53 +00:00
Alexandre Poirot 547220f7e4 Bug 1631451 - [devtools] Control DevToolsClient closure from Descriptor instead of Target. r=nchevobbe,jdescottes
Still use a shouldCloseClient flag, but instead of closing the client from the target's destruction,
from which we should ignore cross process target switching,
we now close it from the descriptor destruction.
Descriptor destruction should only happen when the toolbox is meant to be closed.

Differential Revision: https://phabricator.services.mozilla.com/D106835
2021-04-01 13:43:57 +00:00
Julian Descottes 4f9e9360fc Bug 1702061 - [devtools] Remove isPanelReady flag and devtools-panel-ready from DevTools panel instances r=nchevobbe
Depends on D110368
Both the flag and the event are not used.
The only thing which matters from the framework perspective is to wait for panel.open to resolve.

Differential Revision: https://phabricator.services.mozilla.com/D110369
2021-03-31 12:41:44 +00:00
Julian Descottes 7a570555f5 Bug 1702061 - [devtools] Rename panel ready event to devtools-panel-ready r=nchevobbe
Depends on D110367

Initial cleanup before removal.

Differential Revision: https://phabricator.services.mozilla.com/D110368
2021-03-31 12:41:43 +00:00
Julian Descottes 116dd052e8 Bug 1702061 - [devtools] rename panel isReady to isPanelReady r=nchevobbe
Initial cleanup to make the future removal easier to review

Differential Revision: https://phabricator.services.mozilla.com/D110367
2021-03-31 12:41:43 +00:00
Alexandre Poirot 247b41df3c Bug 1696372 - [devtools] Migrate the rest of DevTools from toolbox.targetList to commands.TargetCommand. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D110212
2021-03-30 21:29:40 +00:00
Belén Albeza b137f9988e Bug 1666529 - [devtools] Part 2: Add mochitest for cookies resource in Fission r=jdescottes
NOTE: this depends on D108040.

Adds a mochitest to test cookies in iframes under Fission.

Depends on D108040

Differential Revision: https://phabricator.services.mozilla.com/D108041
2021-03-27 16:30:28 +00:00
Belén Albeza 5a57502c75 Bug 1666529 - [devtools] Part 1: Add cookie storage resource r=ochameau,jdescottes,devtools-backward-compat-reviewers
This adds a resource for the cookie storage type, that supports inspecting iframes, etc. on Fission.

NOTE: in order to use this new resource, set the `devtools.testing.enableServerWatcherSupport` to `true`

Differential Revision: https://phabricator.services.mozilla.com/D108040
2021-03-27 16:30:28 +00:00
Butkovits Atila a62df7ef05 Backed out 2 changesets (bug 1666529) for causing lint failures.
Backed out changeset 24a6a96f3536 (bug 1666529)
Backed out changeset 3be87c868f09 (bug 1666529)
2021-03-26 18:42:31 +02:00
Belén Albeza a9c6794d18 Bug 1666529 - [devtools] Part 2: Add mochitest for cookies resource in Fission r=jdescottes
NOTE: this depends on D108040.

Adds a mochitest to test cookies in iframes under Fission.

Differential Revision: https://phabricator.services.mozilla.com/D108041
2021-03-26 14:12:53 +00:00
Belén Albeza 73f1a65656 Bug 1666529 - [devtools] Part 1: Add cookie storage resource r=ochameau,jdescottes,devtools-backward-compat-reviewers
This adds a resource for the cookie storage type, that supports inspecting iframes, etc. on Fission.

NOTE: in order to use this new resource, set the `devtools.testing.enableServerWatcherSupport` to `true`

Differential Revision: https://phabricator.services.mozilla.com/D108040
2021-03-26 14:12:52 +00:00
Alexandre Poirot ded026f627 Bug 1700106 - [devtools] Remove now-useless eslint files related to mochitests. r=jdescottes,Standard8
I kept a few having some overrides. But they may be irrelevant.
And I kept some eslint files for all folder that aren't matching the pattern matching "**/test*/**/browser*/".
Ideally we would rename these folder to match.

Last but not least, I identified one case where we were using mochitest file for xpcshell tests!

Differential Revision: https://phabricator.services.mozilla.com/D109481
2021-03-23 15:51:18 +00:00
Cosmin Sabou 1b1db8ad9c Backed out 8 changesets (bug 1631451, bug 1698842) for xpcshell failures on test_breakpoint-25.js. CLOSED TREE
Backed out changeset 0d9035ed5c50 (bug 1698842)
Backed out changeset 55166c719cd2 (bug 1698842)
Backed out changeset 8cc10a259de1 (bug 1631451)
Backed out changeset bc9072114706 (bug 1631451)
Backed out changeset b5cb78fd1f61 (bug 1631451)
Backed out changeset da765754e3a8 (bug 1631451)
Backed out changeset d7a1c44ea37c (bug 1631451)
Backed out changeset 810bdfa0d899 (bug 1631451)
2021-03-18 02:35:30 +02:00
Alexandre Poirot 97f2421098 Bug 1631451 - [devtools] Control DevToolsClient closure from Descriptor instead of Target. r=nchevobbe,jdescottes
Still use a shouldCloseClient flag, but instead of closing the client from the target's destruction,
from which we should ignore cross process target switching,
we now close it from the descriptor destruction.
Descriptor destruction should only happen when the toolbox is meant to be closed.

Differential Revision: https://phabricator.services.mozilla.com/D106835
2021-03-17 23:46:38 +00:00
Butkovits Atila a9b018d197 Bug 1694274 - disable browser_storage_indexeddb_navigation.js on Linux_64 for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D108609
2021-03-16 14:43:43 +00:00
Julian Descottes 9def83a8fd Bug 1695046 - [devtools] Use the same signature for showToolbox and showToolboxForTab r=ochameau,nchevobbe,rpl
Depends on D107100

Differential Revision: https://phabricator.services.mozilla.com/D106539
2021-03-11 06:32:15 +00:00
Julian Descottes 01718819b8 Bug 1694906 - [devtools] Use descriptors instead of targets in all toolbox APIs r=ochameau,nchevobbe,rpl,perftest-reviewers,sparky
Depends on D107051

Differential Revision: https://phabricator.services.mozilla.com/D106426
2021-03-10 18:22:02 +00:00
Narcis Beleuzu e783ef6d6e Backed out 5 changesets (bug 1694906) for dt failures on browser_target_list_frames.js . CLOSED TREE
Backed out changeset bd5cb6f8b41f (bug 1694906)
Backed out changeset c23343373584 (bug 1694906)
Backed out changeset 02428006de51 (bug 1694906)
Backed out changeset 284e000deded (bug 1694906)
Backed out changeset 3b5269fe0113 (bug 1694906)
2021-03-10 04:52:56 +02:00
Julian Descottes 0f66091841 Bug 1694906 - [devtools] Use descriptors instead of targets in all toolbox APIs r=ochameau,nchevobbe,rpl
Depends on D107051

Differential Revision: https://phabricator.services.mozilla.com/D106426
2021-03-09 20:50:42 +00:00
Narcis Beleuzu e6eaa4eac6 Bug 1694274 - Disable browser_storage_indexeddb_navigation.js on Win10_64. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D107361
2021-03-08 14:30:48 +00:00