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

1943 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot 09ffba351a Bug 1620280 - [devtools] Simplify things around sourceLoading promise. r=jdescottes
This was relevant before as we were calling "ThreadActor.getSources"/"StyleSheets.getStyleSheets",
and by the time these requests resolved, we would have navigated to a new URL and need to ignore their response.
I think it is safe to drop this now as these requests may still be pending if we use legacy listeners,
but the call to unwatchResources should immediately unregister _onResourceAvailable and ignore any pending data
coming late.

Differential Revision: https://phabricator.services.mozilla.com/D90428
2020-10-05 08:28:58 +00:00
Alexandre Poirot 4bcdeb0c48 Bug 1620280 - [devtools] Convert SourceMapService to use SOURCE resource. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D88298
2020-10-05 08:28:48 +00:00
Julian Descottes 46a49e5066 Bug 1668615 - [devtools] Remove debugger devtools-config package r=ochameau
Depends on D92117

Differential Revision: https://phabricator.services.mozilla.com/D92119
2020-10-05 12:26:09 +00:00
Itiel a934f29699 Bug 1668884 - Replace -moz-Field/-moz-FieldText with Field/FieldText in devtools/ r=Honza
Depends on D92334

Differential Revision: https://phabricator.services.mozilla.com/D92335
2020-10-05 11:13:54 +00:00
Daisuke Akatsuka 12e9f204be Bug 1667362: Add test for cached resource of target front. r=jdescottes
Depends on D92032

Differential Revision: https://phabricator.services.mozilla.com/D92185
2020-10-05 01:00:47 +00:00
Butkovits Atila d89b519adc Backed out 9 changesets (bug 1620280) for failure at browser_ext_devtools_inspectedWindow_targetSwitch.js. CLOSED TREE
Backed out changeset 8dda1f048067 (bug 1620280)
Backed out changeset 309c0be48745 (bug 1620280)
Backed out changeset 78a06cd336c6 (bug 1620280)
Backed out changeset 74aba83895ce (bug 1620280)
Backed out changeset 6a8126ded6ec (bug 1620280)
Backed out changeset 47a2d6b77270 (bug 1620280)
Backed out changeset 526c067da0c1 (bug 1620280)
Backed out changeset 488f645884ba (bug 1620280)
Backed out changeset 9cffe1c5fb6d (bug 1620280)
2020-10-01 23:32:57 +03:00
Alexandre Poirot db80068f12 Bug 1620280 - [devtools] Simplify things around sourceLoading promise. r=jdescottes
This was relevant before as we were calling "ThreadActor.getSources"/"StyleSheets.getStyleSheets",
and by the time these requests resolved, we would have navigated to a new URL and need to ignore their response.
I think it is safe to drop this now as these requests may still be pending if we use legacy listeners,
but the call to unwatchResources should immediately unregister _onResourceAvailable and ignore any pending data
coming late.

Differential Revision: https://phabricator.services.mozilla.com/D90428
2020-10-01 14:22:36 +00:00
Alexandre Poirot 2cf7b7a8e4 Bug 1620280 - [devtools] Convert SourceMapService to use SOURCE resource. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D88298
2020-10-01 14:22:23 +00:00
Nicolas Chevobbe f315ff58cd Bug 1573779 - [devtools] Rename WorkerTarget to WorkerDescriptor. r=ochameau,jdescottes,devtools-backward-compat-reviewers.
This renames the current WorkerTargetActor which is actually a descriptor.
We also rename the existing `workerTargetFront` occurences to `workerDescriptorFront`
to avoid confusion when we do introduce the real worker fronts and actors.

Differential Revision: https://phabricator.services.mozilla.com/D91100
2020-09-29 14:30:24 +00:00
Dorel Luca f826d52619 Backed out 3 changesets (bug 1573779, bug 1662734) for Geckoview failures. CLOSED TREE
Backed out changeset 0adff4f08b28 (bug 1662734)
Backed out changeset c6bb84f2a032 (bug 1573779)
Backed out changeset 0c605800aa6b (bug 1573779)
2020-09-29 12:59:39 +03:00
Nicolas Chevobbe 4914f8c614 Bug 1573779 - [devtools] Rename WorkerTarget to WorkerDescriptor. r=ochameau,jdescottes,devtools-backward-compat-reviewers.
This renames the current WorkerTargetActor which is actually a descriptor.
We also rename the existing `workerTargetFront` occurences to `workerDescriptorFront`
to avoid confusion when we do introduce the real worker fronts and actors.

Differential Revision: https://phabricator.services.mozilla.com/D91100
2020-09-28 12:27:22 +00:00
Kris Maglione bbfbd2f113 Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-25 02:01:15 +00:00
Razvan Maries 8de1e9f262 Backed out changeset 737f0e3e2f94 (bug 1660057) for xpcshell perma failures. CLOSED TREE 2020-09-24 23:25:54 +03:00
Kris Maglione 04dc79653a Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-24 18:35:58 +00:00
Alexandre Poirot fad9e1690b Bug 1663649 - [devtools] Enable target switching by default. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D91020
2020-09-23 17:50:20 +00:00
Julian Descottes cd81a91915 Bug 1664821 - Remove What's New panel r=ochameau,Honza
Differential Revision: https://phabricator.services.mozilla.com/D90443
2020-09-16 16:43:10 +00:00
Daisuke Akatsuka 3908e7a6d9 Bug 1644193: Implement basic server-side stylesheets watcher. r=ochameau
Depends on D88531

Differential Revision: https://phabricator.services.mozilla.com/D88540
2020-09-14 21:29:47 +00:00
Alexandre Poirot 46d48b5555 Bug 1663873 - Unwatch for resources when closing the toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D89560
2020-09-09 13:03:15 +00:00
Julian Descottes 2eb6d9ccce Bug 1635461 - Use ResourceWatcher for root-node resources in tests r=ochameau
Depends on D86160

Differential Revision: https://phabricator.services.mozilla.com/D86162
2020-09-09 16:08:38 +00:00
Alexandre Poirot 8dd8e4b254 Bug 1660268 - Pass list of resources instead of unique resource from ResourceWatcher. r=nchevobbe
Here, I've tried to be especially careful about replacing `return` by `continue` in the added for..loops.

Differential Revision: https://phabricator.services.mozilla.com/D87768
2020-09-07 21:13:02 +00:00
Daisuke Akatsuka 5ee0f8ed93 Bug 1661625: Get stylesheets traits if needed. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D89339
2020-09-07 21:05:41 +00:00
Csoregi Natalia 3034124827 Backed out 3 changesets (bug 1660268) for failures on browser_ext_devtools_network_targetSwitch.js. CLOSED TREE
Backed out changeset 749fda4e5eb1 (bug 1660268)
Backed out changeset 9d4c305f6b88 (bug 1660268)
Backed out changeset 7ec118209790 (bug 1660268)
2020-09-07 21:24:26 +03:00
Alexandre Poirot ecf3f1c8bc Bug 1660268 - Pass list of resources instead of unique resource from ResourceWatcher. r=nchevobbe
Here, I've tried to be especially careful about replacing `return` by `continue` in the added for..loops.

Differential Revision: https://phabricator.services.mozilla.com/D87768
2020-09-07 13:35:31 +00:00
Nicolas Chevobbe d5a9641120 Bug 1662054 - Add a destroy function to targetList. r=jdescottes.
At the moment, we don't have any guards in the targetList to _not_ execute the
creation/destruction listeners once the toolbox gets destroyed.
We only have a stopListening function on the targetList that is called when we
close the toolbox, but we can't rely only on that since it's also called when
doing a target switch (and working around that is very racy).

One solution would be to follow the common pattern we have everywhere by having
a destroy method that we would check before trying to call the listeners callback.

This might help with intermittent test failures.

Differential Revision: https://phabricator.services.mozilla.com/D88765
2020-09-02 14:39:42 +00:00
Daisuke Akatsuka a936229ca0 Bug 1659589: Get property-change event via resource watcher. r=ochameau
Depends on D87041

Differential Revision: https://phabricator.services.mozilla.com/D87042
2020-08-26 08:37:18 +00:00
Daisuke Akatsuka 0adc3db50a Bug 1659589: Handle importing stylesheet from file using resource watcher mechanism to keep consistency. r=ochameau,devtools-backward-compat-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D87040
2020-08-27 22:31:52 +00:00
Nicolas Chevobbe f09694c73f Bug 1657310 - Attach target and thread from TargetList. r=jdescottes,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D85398
2020-08-21 09:22:48 +00:00
Kris Maglione 0c976d908a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-08-17 20:22:12 +00:00
Julian Descottes f05829aa08 Bug 1629890 - Use Front/Actor::isDestroyed to replace actorID checks r=nchevobbe
Depends on D86325

Differential Revision: https://phabricator.services.mozilla.com/D86356
2020-08-12 11:33:44 +00:00
Alexandre Poirot 28ef7f3731 Bug 1657194 - Prevent attaching to frame target in the context of the browser toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D85918
2020-08-05 14:15:20 +00:00
Nicolas Chevobbe d056b8ad0f Bug 1656888 - Make the iframe in fission_document.html a remote iframe. r=jdescottes.
fission_document.html's iframe was on example.com while the top document
is always on example.com as well, so we weren't exercising fission in it.
This patch puts the iframe on example.org, which highlighted some TargetList
test failures that this patch addresses.

Differential Revision: https://phabricator.services.mozilla.com/D85812
2020-08-05 08:27:23 +00:00
Julian Descottes 32de28696d Bug 1656825 - Fix duplicate calls to lazyRequireGetter r=nchevobbe
Depends on D85288

Differential Revision: https://phabricator.services.mozilla.com/D85720
2020-08-03 07:53:50 +00:00
Julian Descottes 3af62a1e27 Bug 1472821 - Support array of String for lazyRequireGetter r=nchevobbe,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D85268
2020-08-03 05:43:59 +00:00
Julian Descottes 9b4ff5144e Bug 1654745 - Emit toolbox-unload event from toolbox close to notify the host manager r=nchevobbe,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D84662
2020-07-29 19:26:47 +00:00
Julian Descottes 7f33cb0b02 Bug 1633727 - Skip attaching thread for already attached thread fronts r=ochameau,nchevobbe
Depends on D83507

Differential Revision: https://phabricator.services.mozilla.com/D83508
2020-07-28 20:22:20 +00:00
Jason Laster 148b8f4f8f Bug 1633727 - Always attach thread front from toolbox code. r=ochameau,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D75157
2020-07-28 19:44:38 +00:00
Joel Maher 5d27556feb Bug 1652440 - adjust devtools to work with object.is() instead of ==. r=rcaliman,jdescottes
adjust devtools to work with object.is() instead of ==

Differential Revision: https://phabricator.services.mozilla.com/D83302
2020-07-22 14:53:16 +00:00
Dorel Luca 990d081d9f Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione d182c95351 Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-07-21 22:19:19 +00:00
Dorel Luca d91c6dc40b Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione 4a25531b4a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-07-21 16:59:33 +00:00
Nicolas Chevobbe e401092693 Bug 1521781 - Fix damp webconsole/typing.js intermittent. r=bomsy,perftest-reviewers,sparky.
Wait for tick between each "key stroke", wait for the popup to be open if it
wasn't.

Differential Revision: https://phabricator.services.mozilla.com/D83913
2020-07-17 14:11:49 +00:00
Julian Descottes 19b031f36c Bug 1628473 - Stop relying on documentUnload mutation in browser_toolbox_window_reload_target.js r=rcaliman
Depends on D79676

Differential Revision: https://phabricator.services.mozilla.com/D83296
2020-07-16 16:26:09 +00:00
Christoph Kerschbaumer 3d7ee5e969 Bug 1652997: Package all devtools css files and load them using the internal chrome: protocol. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D83656
2020-07-15 16:02:28 +00:00
Alexandre Poirot 9be28a6883 Bug 1649910 - Emit "switched-target" only after we fully attached to the new target. r=jdescottes
The previous code, emitting the event from Toolbox.onTargetAvailable,
wasn't waiting for the call to TargetList.startListening which is done
from TargetList.onTargetAvailable.

Differential Revision: https://phabricator.services.mozilla.com/D82664
2020-07-13 14:03:24 +00:00
Hubert Boma Manilla 119e4262a1 Bug 1625909 - Use the ResourceWatcher API to fetch Network Events r=ochameau,Honza,nchevobbe
This patch migrates to using the Resource Watcher API to handle Network events, it adds a legacy listeners for the network events

Differential Revision: https://phabricator.services.mozilla.com/D71543
2020-07-13 13:33:09 +00:00
Mihai Alexandru Michis ce67650fd6 Backed out changeset e95324121fde (bug 1625909) for causing multiple devtool failures. 2020-07-13 04:20:41 +03:00
Hubert Boma Manilla 9bcb3649ef Bug 1625909 - Use the ResourceWatcher API to fetch Network Events r=ochameau,Honza,nchevobbe
This patch migrates to using the Resource Watcher API to handle Network events, it adds a legacy listeners for the network events

Differential Revision: https://phabricator.services.mozilla.com/D71543
2020-07-12 20:38:06 +00:00
Neil Deakin b8cba0987b Bug 1651141, remove framescript and message manager usage from browser_toolbox_window_reload_target.js, r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D82575
2020-07-10 00:51:55 +00:00
Neil Deakin 5d5d1e8b69 Bug 1651140, remove framescript and message manager usage from devtools netmonitor tests, r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D82574
2020-07-10 10:02:06 +00:00