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

1377 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru cad53f4804 Bug 1588458 - Replace dxr links by searchfox in the code/test r=kats,sparky
Differential Revision: https://phabricator.services.mozilla.com/D92792
2020-10-08 14:02:40 +00:00
Gijs Kruitbosch 1aa2c4d5db Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91933
2020-10-02 18:00:40 +00:00
Kriyszig 4825b53af6 Bug 1657537 - Part 1 - Move the ISSUE_TYPE property to devtools/shared/constants.js r=mtigley
Most of the client side imports from the MDNCompatibility library
is to access the MDNCompatibility.ISSUE_TYPE property.
This patch moves the property into devtools/shared/constants.js
from where it can be accessed on both the client and server side.

Differential Revision: https://phabricator.services.mozilla.com/D86519
2020-09-15 14:26:23 +00:00
Daisuke Akatsuka 3fd81e0284 Bug 1664842: Introduce async watch function. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D88759
2020-09-14 21:12:52 +00:00
Jan de Mooij 927eea2c81 Bug 1663847 part 2 - Change Debugger.Environment.callee getter to calleeScript getter. r=tcampbell,jdescottes
The callee getter returned |undefined| for certain functions because it's
hard to recover the callee consistently for all environments (and we can't
return the internal canonical function). See also bug 1414684.

This patch fixes that by exposing the script instead of the callee. Devtools is
only interested in the displayName and parameterNames properties and those are
also available on scripts (the previous patch adds Script.parameterNames).

Differential Revision: https://phabricator.services.mozilla.com/D89701
2020-09-11 09:24:34 +00:00
Julian Descottes 7909e64490 Bug 1635461 - Remove watcher logic from WalkerFront in favor of ResourceWatcher r=ochameau
Depends on D86162
The resource watcher already guarantees that listeners are only called once, caches resources etc.
Consequently, the client side logic currently implemented in the WalkerFront is redundant and should be removed.

Differential Revision: https://phabricator.services.mozilla.com/D86163
2020-09-09 16:08:56 +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
Brad Werth fc3cb8fd99 Bug 1661283 Part 6: Add a test of NodeActor.isScrollable on various elements. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D88683
2020-08-31 17:56:24 +00:00
Brad Werth 8ca8fd6962 Bug 1661283 Part 5: Add a test of GetOverflowingChildrenOfElement on the body element. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D88682
2020-09-04 13:15:08 +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
Alexandre Poirot 3441a8b394 Bug 1657105 - Allow listening for resources from both parent and content processes. r=jdescottes,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86046
2020-08-12 16:49:23 +00:00
Alexandre Poirot 9f9a8d9b3e Bug 1657105 - Use constants to define target types on the server and set targetType on all targets. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86632
2020-08-12 16:49:21 +00:00
Bogdan Tara 16fadcf1aa Backed out 3 changesets (bug 1657105) for es lint and test_logpoint-03.js failures CLOSED TREE
Backed out changeset e0ac6c61d65a (bug 1657105)
Backed out changeset 51b8364f941b (bug 1657105)
Backed out changeset cc50fc1340a9 (bug 1657105)
2020-08-12 18:56:52 +03:00
Alexandre Poirot 3bf66fff0b Bug 1657105 - Allow listening for resources from both parent and content processes. r=jdescottes,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86046
2020-08-11 14:11:52 +00:00
Julian Descottes 40eb2a0d73 Bug 1652445 - Remove skipped & outdated test browser_inspector-mutations-frameload.js r=ochameau
Depends on D85598

This test relies on mutations which are no longer emitted for most navigations and which will no longer be emitted at all with the next patches.
It has been disabled for 9 months and should be removed.

Differential Revision: https://phabricator.services.mozilla.com/D85599
2020-08-07 12:16:44 +00:00
Julian Descottes 58de59ca2b Bug 1652445 - Remove backward compatibility code for newRoot mutations r=rcaliman
Depends on D85597

newRoot mutations are no longer emitted by any server we support, we can remove the corresponding client code.

Differential Revision: https://phabricator.services.mozilla.com/D85598
2020-08-07 12:16:42 +00:00
Julian Descottes 1d0130e4df Bug 1652445 - Rename WalkerActor _ref method and _refMap property r=gl
_ref is renamed to _getOrCreateNodeActor to better reflect the purpose of the method.
_refMap is renamed to _nodeActorsMap

The test helper inspector-helpers was also directly querying _refMap.
This has been replaced by a call to the public API getNode.

Differential Revision: https://phabricator.services.mozilla.com/D84972
2020-08-07 12:14:37 +00:00
wartmanm f4757d7c63 Bug 1656726 - Pause On Exceptions, DOM mutation breakpoints, debugger statements pause in blackboxed original sources r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D85718
2020-08-04 18:41:53 +00:00
Yura Zenevich e65360bcf3 Bug 1648161 - update code paths where canvas helper was expected to insert synchronously. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D82416
2020-07-30 13:59:53 +00:00
Yura Zenevich c894b69ce1 Bug 1648161 - use accessible highlighter instead of xul-accessible highlighter in browser toolbox. Remove xul-accessible highlighter altogether. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D80005
2020-07-30 13:59:36 +00:00
Daisuke Akatsuka 29ac85b4ad Bug 1643294: Show prefixNeeded message. r=rcaliman,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83284
2020-07-30 03:36:25 +00:00
Mark Banner 10cbdaa642 Bug 1620537 - Fix more ESLint issues raised after upgrading to ESlint 7. r=mossop
There's two issues being fixed here - the first is that no-unused-vars now reports against the last instance of the unused variable. The second is no-dupe-else-if is now on by default.

Depends on D84816

Differential Revision: https://phabricator.services.mozilla.com/D84818
2020-07-24 21:31:24 +00:00
Kashav Madan ae956c4eef Bug 1653674 - Unskip passing fission tests, r=kmag
It's possible that some of these are still failing intermittently. We can't
really know without first unskipping them.

https://github.com/annygakh/audit-tests

Differential Revision: https://phabricator.services.mozilla.com/D84017
2020-07-21 15:42:48 +00:00
Luca Greco b2f2e7f66d Bug 1620767 - Fix test_extension_storage_actor_upgrade intermittency by explicitly waiting the stores-update RDP event. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D84215
2020-07-21 12:10:05 +00:00
Narcis Beleuzu 0a0d8f9451 Backed out 3 changesets (bug 1648161, bug 1650094) as requeste by yzen
Backed out changeset a05fbae74197 (bug 1650094)
Backed out changeset b1c3cfa3b77b (bug 1648161)
Backed out changeset 7cd63199f143 (bug 1648161)
2020-07-20 18:01:00 +03:00
manas 7a7e2a7c34 Bug 1647372 Part 2 - Add tests for GetOverflowingChildrenOfElement. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D81957
2020-07-16 17:05:47 +00:00
Yura Zenevich 0e099f0461 Bug 1648161 - update code paths where canvas helper was expected to insert synchronously. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D82416
2020-07-14 17:38:28 +00:00
Yura Zenevich b1d246431a Bug 1648161 - use accessible highlighter instead of xul-accessible highlighter in browser toolbox. Remove xul-accessible highlighter altogether. r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D80005
2020-07-14 17:13:48 +00:00
Logan Smyth d1c3302aa9 Bug 1652608 - Remove usage of nonexistent hostAnnotations property. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D83421
2020-07-14 15:13:31 +00:00
Matthew Gaudet 763196a86c Bug 1651420 - Adding private fields to an object is side-effectful and should be marked as such r=loganfsmyth
Note: Until private fields are enabled by default, this test case will take the
early return. However, I have tested locally that it fails without the fix, and
passes with the fix.

Differential Revision: https://phabricator.services.mozilla.com/D82786
2020-07-09 02:14:02 +00:00
Alexandre Poirot e1c1588e32 Bug 1646854 - Rename onResourceAvailable to notifyResourceAvailable. r=nchevobbe
This is to align with notifyTargetAvailable and notifyTargetDestroyed.

Differential Revision: https://phabricator.services.mozilla.com/D80900
2020-07-07 13:39:58 +00:00
Julian Descottes 0649d657d4 Bug 1650221 - Wait until storage is ready after extension upgrade in test_extension_storage_actor_upgrade.js r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D82166
2020-07-06 09:56:55 +00:00
Yura Zenevich cea0dcd04d Bug 1640338 - simplify accessibility proxy startup since we no longer need to initialize it until the panel is opened. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D77056
2020-07-03 23:52:12 +00:00
Julian Descottes 3e1e4c22b6 Bug 1650155 - Rename PromiseTestUtils.whitelistRejectionsGlobally to allowMatchingRejectionsGlobally r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82059
2020-07-03 17:01:29 +00:00
Nicolas Chevobbe b7e4bda832 Bug 1649753 - Remove unused EnvironmentFront. r=jdescottes,devtools-backward-compat-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D82143
2020-07-03 11:27:25 +00:00
Coroiu Cristina 697891333d Backed out 2 changesets (bug 1646854) for devtools failures at devtools/shared/resources/tests/browser_resources_target_destroy.js on a CLOSED TREE
Backed out changeset f3f1407d5eae (bug 1646854)
Backed out changeset 1a71c8facf72 (bug 1646854)
2020-07-03 14:29:10 +03:00
Alexandre Poirot bfa7b78f6a Bug 1646854 - Rename onResourceAvailable to notifyResourceAvailable. r=nchevobbe
This is to align with notifyTargetAvailable and notifyTargetDestroyed.

Differential Revision: https://phabricator.services.mozilla.com/D80900
2020-07-02 22:09:51 +00:00
Julian Descottes 8f530a3e07 Bug 1618059 - Extract the storage extension live reload test r=ochameau,davidwalsh
The failure only occurs locally when I use an attached target for the test_panel_live_reload mochitest.
And it only happens if we perform the `extension.upgrade` call during the test.
Most of the time it seems linked to a "frameUpdated" event fired when the webextension is being updated.
But even after commenting out the event, the test remains intermittent (albeit with a much lower frequency)

A first option would be to expose a new API on the webextension descriptor front in order to create
detached targets.

But it seems that isolating the live_reload test in a dedicated file also fixes the intermittent.
It makes the fix a bit obscure, and it probably means we won't look into the issue much furhter but
I would prefer to avoid test-only APIs in the codebase.

Differential Revision: https://phabricator.services.mozilla.com/D81322
2020-07-02 15:56:00 +00:00
Nicolas Chevobbe d5ffb31381 Bug 1623283 - Rename Pool#actor into getActorByID. r=jdescottes.
We take this opportunity to remove Pool.get as well,
which was doing exactly the same thing as Pool.actor

This highlighted a couple issues in Reps:
- LongString were relying on the isGrip function, which was only checking that
  the actor property was truthy. So it was matching LongStringFront which had
  the actor method. This is modified by using the isLongString helper instead.
- The Object rep was building all the reps for the object properties, even in
  TINY mode, where the result was only used to check the length. In the Accessibility
  panel, it can happen that an plain object containing front properties is passed
  to Rep. It was fine before because this was short-circuited by the Accessor rep
  which was only checking the truthiness of a `get` property. With `get` being
  removed, the default Rep was used, which is Object, and we were hitting a
  recursion loop, as some of the properties of fronts are cycle references.
  There should be a fix in the Accessibility panel to _not_ pass fronts, but we
  also "fix" it from here by simply not building sub-properties for the object
  when we're in TINY mode.

Differential Revision: https://phabricator.services.mozilla.com/D81971
2020-07-02 15:07:12 +00:00
Nicolas Chevobbe e19e7c943a Bug 1649710 - Fix EnvironmentFront constructor. r=jdescottes.
The constructor signature was wrong, as protocol.js calls it with a targetFront
instead of the expected "form".
The self-management isn't making much sense, and there's no need for this front
to be different than others.
test_framebindings-07.js, which was directly instantiating EnvironmentFronts is
modified to not do this anymore.
This allow us remove the getBindings method from the front, as it was only used
from this test.

Differential Revision: https://phabricator.services.mozilla.com/D81838
2020-07-01 13:31:31 +00:00
Cosmin Sabou 4a382d7801 Backed out 4 changesets (bug 1640338, bug 1640778) for devtools failures on browser_dbg-toolbox-unselected-pause.js.
Backed out changeset 92cb02f03119 (bug 1640778)
Backed out changeset 6401dd804f28 (bug 1640338)
Backed out changeset cb4edb2627bb (bug 1640338)
Backed out changeset b2394d79f48f (bug 1640338)
2020-06-30 19:59:10 +03:00
Yura Zenevich 8c1725004b Bug 1640338 - simplify accessibility proxy startup since we no longer need to initialize it until the panel is opened. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D77056
2020-06-30 14:53:07 +00:00
Razvan Maries 4b75bbe39d Bug 1618059 - Disabled test_extension_storage_actor.js on Windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D81406
2020-06-29 08:17:39 +00:00
Sebastian Zartner 63db1cbfbc Bug 1635970 - Extended support for XPath expressions in Inspector search. r=jdescottes
The limitation to expressions starting with a slash was lifted in order to allow searching via other possible XPath expressions like `id("foo")` or `(//div)[2]`.

Differential Revision: https://phabricator.services.mozilla.com/D80963
2020-06-25 18:32:40 +00:00
Nicolas Chevobbe efe9743fe7 Bug 1495728 - Remove unused ActorPool class. r=ochameau.
This class isn't used anymore, and it's safe to remove it.
We take this as an opportunity to remove Pool#cleanup and
Pool#isEmpty, which each only had one callsite.
Some comments are updated to not mention ActorPool.

Differential Revision: https://phabricator.services.mozilla.com/D80602
2020-06-24 07:39:06 +00:00
Nicolas Chevobbe a67f596fa2 Bug 1621713 - Don't create extra ActorPools in devtools/server. r=jdescottes.
Remove pools and make target actors manage themselves.
devtools/server/tests/browser/browser_navigateEvents.js was modified
since the targetActor can't be retrieved with `searchAllConnectionsForActor`
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D67510
2020-06-24 07:38:09 +00:00
Julian Descottes b1578fe35a Bug 1646456 - Add xpcshell test to check pool destruction when connection closes r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D80059
2020-06-23 10:13:59 +00:00
Alexandre Poirot e5f625b56e Bug 1646143 - Use instantiable classes for resource watchers. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D79882
2020-06-18 10:34:37 +00:00
Kriyszig a39858820c Bug 1637632 - Add browser tests for the CompatibilityActor r=mtigley,daisuke
Added browser test for CompatibilityActor to check consistency and
correctness.
Thse test include:
* Test for no issue
* Test for simple issue
* Test for invalid CSS rule
* Test for aliases
* Test for browser specific issues
* Test for multiple issues for same element

Differential Revision: https://phabricator.services.mozilla.com/D78956
2020-06-15 23:21:07 +00:00
Logan Smyth 25d491b792 Bug 1601179 - Enable async stacks but limit captured async stacks to debuggees. r=jorendorff,smaug
The 'asyncStack' flag on JS execution contexts is used as a general switch
to enable async stack capture across all locations in SpiderMonkey, but
this causes problems because it can at times be too much of a performance
burden to general and track all of these stacks.

Since the introduction of this option, we have only enabled it on Nightly
and DevEdition for non-mobile builds, which has left a lot of users unable
to take advantage of this data while debugging.

This patch enables async stack traces across all of Firefox, but introduces
a new pref to toggle the scope of the actual expensive part of async stacks,
which is _capturing_ them and keeping them alive in memory. The new pref
limits the capturing of async stack traces to only debuggees, unless an
explicit pref is flipped to capture async traces for all cases.

This means that while async stacks are technically enabled, and code could
manually capture a stack and pass it back to SpiderMonkey and see that stack
reflected in later captured stacks, SpiderMonkey itself and related async
DOM APIs, among others, will not capture stacks or pass them to SpiderMonkey,
so there should be no general change in performance by enabling the broader
feature itself, unless the user is actively debugging the page.

One effect of this patch is that if you have the debugger open and then close
it, objects that have async stacks associated with them will retain those
stacks and they will continue to show up in stack traces, no _new_ stacks
will be captured. jorendorff and I have decided that this is okay because
the expectation that the debugger fully revert every possible effect that it
could have on a page is a nice goal but not a strict requirement.

Differential Revision: https://phabricator.services.mozilla.com/D68503
2020-06-14 02:41:45 +00:00
Jason Laster 13a9ca307f Bug 1644808 - Remove references to wasmBinarySource. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D79165
2020-06-12 20:28:44 +00:00
Stepan Stava 7b50798bc1 Bug 1594467 - Add 'Restart frame' r=loganfsmyth
Adds 'Restart frame' context menu item to the Call stack

Differential Revision: https://phabricator.services.mozilla.com/D75620
2020-06-12 18:26:40 +00:00
Jason Laster d213ae4f61 Bug 1644813 - Remove references to autoBlackbox. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D79167
2020-06-12 18:06:42 +00:00
Alexandre Poirot d6c2c33b24 Bug 1620243 - Watch console messages resources from the server side. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77441
2020-06-09 18:22:45 +00:00
Logan Smyth cc02094920 Bug 1643540 - Split scriptElement type into three types for clarity. r=jlast,smaug
The lack of specificity for script intro type has lead the debugger to need
to make use of 'source.introductionType' and 'source.element' in order to
determine whether a given script was injected, or inline or fetched, which
is entirely unnecessary of the loader itself clearly tells us what type
of script we are working with. It also allows us to cleanly handle the case
of XUL, which previously was "scriptElement" but has no ".element" passed
in, so we were unable to know whether a given source was inline or not.

Differential Revision: https://phabricator.services.mozilla.com/D78435
2020-06-05 18:22:50 +00:00
James Teh c45ca37cf4 Bug 1151648: Construct accessible objects for SVG elements which have title or desc. r=MarcoZ,yzen
According to SVG Accessibility API Mappings, an SVG element which has title or desc element must be exposed.
https://w3c.github.io/svg-aam/#include_elements
Previously, we didn't expose <g> elements at all even if they had a title/desc, and we unconditionally exposed some other SVG elements even when they didn't.

This removes the Dev Tools A11y Panel code which explicitly allowed unlabelled descendants of role="img" <svg> elements, since we don't create descendants if they don't have a label now anyway.
The associated tests had to be tweaked as well, since now we don't create unlabelled descendants.

Original patch by Takeshi Kurosawa.

Differential Revision: https://phabricator.services.mozilla.com/D77763
2020-06-03 13:18:38 +00:00
Yura Zenevich 84a0dd32fb Bug 1598076 - pass audit progress number of completed audits back to the client to avoid calculating it from percentage. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77464
2020-06-04 17:11:26 +00:00
Julian Descottes d08d42cd18 Bug 1640904 - Do not assert specific error message in browser_actor_error.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D77136
2020-05-28 07:52:59 +00:00
Julian Descottes 7af155daf4 Bug 1640904 - Force property_error_message_fix in browser_actor_error.js r=nchevobbe
The exception used in this test has different formats depending on the channel.

Differential Revision: https://phabricator.services.mozilla.com/D76887
2020-05-27 05:52:57 +00:00
Julian Descottes b27b79da1e Bug 1639111 - Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau
Depends on D75902

Differential Revision: https://phabricator.services.mozilla.com/D75904
2020-05-25 17:13:59 +00:00
Emilio Cobos Álvarez 462a4cc4d8 Bug 1640631 - Make ::marker styles not show up for elements that aren't list items. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D76699
2020-05-25 13:33:05 +00:00
Mihai Alexandru Michis 6f4fa0a560 Backed out 2 changesets (bug 1639111) for causing failures in browser_actor_error.js
CLOSED TREE

Backed out changeset 2964f445c2f5 (bug 1639111)
Backed out changeset 84be772b9ac4 (bug 1639111)
2020-05-25 16:34:55 +03:00
Julian Descottes 5c31755a29 Bug 1639111 - Show the filename, line and column for DevTools actor errors r=davidwalsh,ochameau
Depends on D75902

Differential Revision: https://phabricator.services.mozilla.com/D75904
2020-05-25 12:49:10 +00:00
Emilio Cobos Álvarez dcec1f3697 Bug 1639852 - Don't collect pseudo-element rules for pseudo-elements that cannot apply. r=rcaliman
This prevents showing e.g. ::cue pseudo-elements for elements that are
not videos, and such.

This is useful on its own, but it's going to be even more useful because
I'm making some rules in the UA sheets less specific in the blocking
bugs.

For example, after my patches, the number of expected rules in
test_styles-applied was 24 (instead of 9 with this patch). That's just
too much noise.

Differential Revision: https://phabricator.services.mozilla.com/D76308
2020-05-25 10:17:05 +00:00
Jason Laster 9f485e4904 Bug 1608078 - Stepping out of async function doesnt work properly. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D75235
2020-05-20 22:22:31 +00:00
Csoregi Natalia c7fbe6575e Backed out changeset 7050d098119c (bug 1608078) for failures on test_stepping-12.js. CLOSED TREE 2020-05-20 23:43:52 +03:00
Jason Laster eeb896255a Bug 1608078 - Stepping out of async function doesnt work properly. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D75235
2020-05-20 17:53:37 +00:00
Tom Schuster 7824fc6e57 Bug 1277801 - Remove Object.prototype.toString classname fallback. r=jwalden
Similar to a patch by Robin Templeton <robin@igalia.com>

Differential Revision: https://phabricator.services.mozilla.com/D72459
2020-05-11 20:53:10 +00:00
Julian Descottes 0d4c2cbb28 Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-10 18:41:58 +00:00
Razvan Maries 917859d20b Backed out 3 changesets (bug 1635467, bug 1625961) for mochitest perma failures at browser_harautomation_simple.js
Backed out changeset 1d258bab62d7 (bug 1635467)
Backed out changeset cf46002eefb0 (bug 1625961)
Backed out changeset c7757cea8327 (bug 1625961)
2020-05-10 19:01:23 +03:00
Julian Descottes b65aacf37e Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-10 14:40:22 +00:00
Dorel Luca c0aa119d7d Backed out 3 changesets (bug 1635467, bug 1625961) for Devtools failures in resources/tests/browser_resources_exceptions.js. CLOSED TREE
Backed out changeset 1fd6a3754afb (bug 1635467)
Backed out changeset 977b0031b41c (bug 1625961)
Backed out changeset 18646e7b984f (bug 1625961)
2020-05-09 20:09:59 +03:00
Julian Descottes 9fb3f67263 Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-08 21:58:14 +00:00
Julian Descottes d5b84fb6fe Bug 1611096 - Fix tests relying on newRoot mutations r=rcaliman
Depends on D62623

`new-root` is no longer a mutation, but an event emitted by the `walker` actor.
Tests watching for mutations should be updated accordingly. They also need to call watchRootNode explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D62624
2020-05-08 21:53:31 +00:00
Julian Descottes d813016c11 Bug 1611096 - Add watch-like API for new root event r=ochameau,rcaliman
Depends on D62617

Differential Revision: https://phabricator.services.mozilla.com/D62622
2020-05-08 21:52:20 +00:00
Narcis Beleuzu 43ad94eeae Backed out 4 changesets (bug 1611096) for dt failures on browser_animation_inspector_exists.js . CLOSED TREE
Backed out changeset 0fe3613ee36b (bug 1611096)
Backed out changeset c86433fe8cd0 (bug 1611096)
Backed out changeset a7242f506aa6 (bug 1611096)
Backed out changeset 3703fbfe567a (bug 1611096)
2020-05-08 20:34:54 +03:00
Julian Descottes 6c4f741806 Bug 1611096 - Check webprogresslistener as a fallback for non loaded documents r=rcaliman,ochameau
Depends on D62624

With the previous implementation, an uninitialized document could be returned as a root node.
Here we try to be more explicit and wait for a correct root node. However in some cases a document can remain uninitialized and will never transition to any other state.
If the document is uninitialized but is not currently loading, we should consider it as a valid root node.

Differential Revision: https://phabricator.services.mozilla.com/D62625
2020-05-08 11:55:14 +00:00
Julian Descottes db1a2da5e2 Bug 1611096 - Add watch-like API for new root event r=ochameau,rcaliman
Depends on D62617

Differential Revision: https://phabricator.services.mozilla.com/D62622
2020-05-08 11:52:14 +00:00
Julien Wajsberg 7fe841ba60 Bug 1516311 - Increase the timeout for browser-perf-01 r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D73808
2020-05-05 14:27:36 +00:00
Alexandre Poirot 0df0904d08 Bug 1593937 - Remove/Deprecate listRemoteFrames. r=jdescottes
The previous changeset removed all the usages of listRemoteFrames from
the frontend code. We can start removing this method from the actor codebase,
and keep backward compat code in the client.

Differential Revision: https://phabricator.services.mozilla.com/D65522
2020-04-30 07:59:42 +00:00
Alexandre Poirot 1af9a59a48 Bug 1593937 - Fetch BrowsingContextTargets via the watcher instead of the RootFront. r=jdescottes
Now that the BrowsingContextTarget are created by the watcher,
we should redirect existing code in the frontend which was using
`RootFront.getBrowsingContextDescriptor` in order to directly fetch the target from the watcher.

We don't really need descriptors for additional targets.
I think that descriptors are mostly useful for the top level target and for about:debugging, to describe a target without debugging it yet.

This patch is a bit complex because we can't fetch the "parent BrowsingContext ID" from actors/browsing-context.js:form().
browsingContext.parent and browsingContext.embedderWindowGlobal are both null from the content process.
I have not found any way/API to get the parent browsing context ID from the content process, i.e. the ID of browser.xhtml from a tab content process.
So, I end up with this helper method on Watcher actor to get the parent ID on-demand.
We could also inject the parent ID into the browsingContextTarget's form in WindowGlobalWatcher._createTarget,
but that sounds very hacky and hard to follow.

Note that this patch address the issue of duplicated targets.
WatcherFront.getBrowsingContextTarget ensures fetching the ParentProcessTarget for browser.xhtml
instead of recreating a duplicated FrameDescriptor and BrowsingContextTarget for this document, as we do in the existing codebase.

Differential Revision: https://phabricator.services.mozilla.com/D62465
2020-04-30 07:59:38 +00:00
Alexandre Poirot 879475cfd3 Bug 1593937 - Implement watchTargets for remote frames. r=jdescottes
* Introduce a new actor "Watcher", which might in the future allow listening to anything.
Here, it only implements listening for additional remote frame's WindowGlobal
and notify about the WindowGlobalTargetActor's.
* Also, very important part here is that it instantiates the BrowsingContextTargetActor much earlier. Before anything from the page is executed.
It requires to instantiate the actor directly from the content processes, whereas before, we were doing it from a frontend request, after a notification sent from the parent process to the frontend.
* Last but not least, make the TargetList use this new watcher actor in order to
notify the frontend about the dynamically added remote frames.

Differential Revision: https://phabricator.services.mozilla.com/D63317
2020-04-30 07:59:30 +00:00
William Durand 4e87886f42 Bug 1631403 - Add test case to cover RDP APIs that 'web-ext run' depends on. r=rpl,ochameau,robwu
Differential Revision: https://phabricator.services.mozilla.com/D71892
2020-04-23 14:14:49 +00:00
Andreea Pavel cf61e9c6b6 Backed out changeset 78f47bf43523 (bug 1631403) for failing xpcshell at est_webext_apis.js on a CLOSED TREE 2020-04-22 21:58:57 +03:00
William Durand cb0716453c Bug 1631403 - Add test case to cover RDP APIs that 'web-ext run' depends on. r=rpl,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D71892
2020-04-22 15:11:16 +00:00
Jason Laster 54e726553b Bug 1630642 - Stepping should respect the currently selected frame. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D71223
2020-04-21 23:29:33 +00:00
Razvan Caliman 17fd76e771 Bug 1628044 - Remove obsolete initCssProperties() helper and cleanup tests; r=jdescottes
Depends on D70071

After changes in D70071, the `CSSProperties` object is retrieved from the `CSSPropertiesFront`. The `initCssProperties()` method is no longer required. It is only used in tests.

This patch removes the leftover callsites for `initCssProperties()` from tests and the method implementation itself.

Differential Revision: https://phabricator.services.mozilla.com/D71560
2020-04-21 13:49:11 +00:00
Gijs Kruitbosch 11836f7641 Bug 1631358 - remove traces of CPOWs from devtools, r=jdescottes,loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D71509
2020-04-21 14:04:58 +00:00
Coroiu Cristina 43be71277d Backed out 2 changesets (bug 1625500) for multiple failures on a CLOSED TREE
Backed out changeset 7d80233bcfcd (bug 1625500)
Backed out changeset 0a35b13dfcde (bug 1625500)
2020-04-17 15:36:05 +03:00
Gijs Kruitbosch cc39a339a0 Bug 1625500 - fix use of .then(x, x) in the tree, r=marionette-reviewers,Standard8,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D68614
2020-04-17 11:41:49 +00:00
pbz e118843a3a Bug 1615588 - Updated prompt tests. r=marionette-reviewers,johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66450
2020-04-16 14:44:56 +00:00
Razvan Caliman af81e97e25 Bug 1627795 - Remove unused getCssProperties() helper r=gl
Differential Revision: https://phabricator.services.mozilla.com/D70048
2020-04-07 19:39:25 +00:00
janelledement 851e55a3df Bug 1580585 - Adds set or get watchpoint option. r=jlast
Adds a set or get watchpoint option.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 17:53:52 +00:00
Julian Descottes 9b57f6f875 Bug 1618691 - Use tab descriptor in about:debugging r=ochameau
Depends on D69545

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

--HG--
extra : moz-landing-system : lando
2020-04-14 13:16:55 +00:00
Julian Descottes 72dc449a53 Bug 1618691 - Stop returning selected tab information in listTabs r=ochameau
Depends on D69544
Since selected is read on the descriptor form, there is no need to include it in the listTabs response.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 13:15:37 +00:00
Csoregi Natalia 954b969608 Backed out 5 changesets (bug 1615588) for browser-chrome failures e.g. browser_beforeunload_duplicate_dialogs.js. CLOSED TREE
Backed out changeset 751cca7566a8 (bug 1615588)
Backed out changeset 474aca043834 (bug 1615588)
Backed out changeset 7839b95ef76c (bug 1615588)
Backed out changeset 32bb87f48b13 (bug 1615588)
Backed out changeset 264e642042b1 (bug 1615588)

--HG--
extra : rebase_source : 41ed149c97382bc1cf823abc56811b382cae0207
2020-04-10 21:19:15 +03:00
pbz b296ec16c4 Bug 1615588 - Updated prompt tests. r=marionette-reviewers,johannh,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66450

--HG--
extra : moz-landing-system : lando
2020-04-10 16:45:36 +00:00
Julian Descottes 1b92684353 Bug 1626875 - Return TabDescriptors in TestTabList for DevTools xpcshell tests r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D69331

--HG--
extra : moz-landing-system : lando
2020-04-02 13:24:19 +00:00
Julian Descottes fdec3e7197 Bug 1625495 - Remove devtools/shared/client folder r=daisuke,ochameau,nchevobbe
Depends on D68599

This changeset moves devtools-client.js and constants.js to devtools/client and removes devtools/shared/client

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

--HG--
rename : devtools/shared/client/constants.js => devtools/client/constants.js
rename : devtools/shared/client/devtools-client.js => devtools/client/devtools-client.js
extra : moz-landing-system : lando
2020-03-31 08:36:29 +00:00
Michael Ratcliffe 5af09e6675 Bug 1604528 - IndexedDB inspector no longer shows main process data r=jdescottes,johannh
This reverts https://hg.mozilla.org/mozilla-central/rev/c7a6f863a0cc6d74357dc53933b89a0e168c1958 so the patches are exact opposites... not much else to say ;)

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

--HG--
extra : moz-landing-system : lando
2020-03-30 15:42:39 +00:00
Julian Descottes 33a9959898 Bug 1515008 - Move connection-manager from devtools/shared to devtools/client/shared/remote-debugging r=daisuke
Depends on D68598

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

--HG--
extra : moz-landing-system : lando
2020-03-30 06:56:39 +00:00
Yura Zenevich de935f1fc6 Bug 1477936 - fixing document node highlighting in accessibility panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D66616

--HG--
extra : moz-landing-system : lando
2020-03-23 19:51:59 +00:00
Mihai Alexandru Michis 8cc8d9250f Backed out changeset 9bef02f44365 (bug 1477936) for causing dt failures in browser_accessibility_fission_switch_target.js
CLOSED TREE
2020-03-21 01:22:37 +02:00
Yura Zenevich b672b3f331 Bug 1477936 - fixing document node highlighting in accessibility panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D66616

--HG--
extra : moz-landing-system : lando
2020-03-20 15:18:20 +00:00
chujun d082cd9ae5 Bug 1613636 - Edit test_breakpoint-01.js and disable test_breakpoint-02.js r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D61987

--HG--
extra : moz-landing-system : lando
2020-02-21 12:06:12 +00:00
Julian Descottes cfab47ff53 Bug 1604539 - Rename shared/fronts to client/fronts in the devtools codebase r=nchevobbe
Depends on D67603
This patch is an automated string replace of shared/fronts/ to client/fronts/ in devtools.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 13:58:56 +00:00
Bogdan Tara b03ab7d69b Backed out 5 changesets (bug 1604539) for xpc failures complanining about test_encryption.js CLOSED TREE
Backed out changeset 8455e50002a9 (bug 1604539)
Backed out changeset fb410a1bf9aa (bug 1604539)
Backed out changeset da94f7d503a1 (bug 1604539)
Backed out changeset b4b54335ee2d (bug 1604539)
Backed out changeset 866d6794bbba (bug 1604539)

--HG--
rename : devtools/client/fronts/accessibility.js => devtools/shared/fronts/accessibility.js
rename : devtools/client/fronts/addon/addons.js => devtools/shared/fronts/addon/addons.js
rename : devtools/client/fronts/addon/moz.build => devtools/shared/fronts/addon/moz.build
rename : devtools/client/fronts/addon/webextension-inspected-window.js => devtools/shared/fronts/addon/webextension-inspected-window.js
rename : devtools/client/fronts/animation.js => devtools/shared/fronts/animation.js
rename : devtools/client/fronts/array-buffer.js => devtools/shared/fronts/array-buffer.js
rename : devtools/client/fronts/changes.js => devtools/shared/fronts/changes.js
rename : devtools/client/fronts/content-viewer.js => devtools/shared/fronts/content-viewer.js
rename : devtools/client/fronts/css-properties.js => devtools/shared/fronts/css-properties.js
rename : devtools/client/fronts/descriptors/frame.js => devtools/shared/fronts/descriptors/frame.js
rename : devtools/client/fronts/descriptors/moz.build => devtools/shared/fronts/descriptors/moz.build
rename : devtools/client/fronts/descriptors/process.js => devtools/shared/fronts/descriptors/process.js
rename : devtools/client/fronts/descriptors/tab.js => devtools/shared/fronts/descriptors/tab.js
rename : devtools/client/fronts/descriptors/webextension.js => devtools/shared/fronts/descriptors/webextension.js
rename : devtools/client/fronts/device.js => devtools/shared/fronts/device.js
rename : devtools/client/fronts/environment.js => devtools/shared/fronts/environment.js
rename : devtools/client/fronts/frame.js => devtools/shared/fronts/frame.js
rename : devtools/client/fronts/framerate.js => devtools/shared/fronts/framerate.js
rename : devtools/client/fronts/highlighters.js => devtools/shared/fronts/highlighters.js
rename : devtools/client/fronts/inspector.js => devtools/shared/fronts/inspector.js
rename : devtools/client/fronts/inspector/moz.build => devtools/shared/fronts/inspector/moz.build
rename : devtools/client/fronts/inspector/rule-rewriter.js => devtools/shared/fronts/inspector/rule-rewriter.js
rename : devtools/client/fronts/layout.js => devtools/shared/fronts/layout.js
rename : devtools/client/fronts/manifest.js => devtools/shared/fronts/manifest.js
rename : devtools/client/fronts/memory.js => devtools/shared/fronts/memory.js
rename : devtools/client/fronts/moz.build => devtools/shared/fronts/moz.build
rename : devtools/client/fronts/node.js => devtools/shared/fronts/node.js
rename : devtools/client/fronts/object.js => devtools/shared/fronts/object.js
rename : devtools/client/fronts/perf.js => devtools/shared/fronts/perf.js
rename : devtools/client/fronts/performance-recording.js => devtools/shared/fronts/performance-recording.js
rename : devtools/client/fronts/performance.js => devtools/shared/fronts/performance.js
rename : devtools/client/fronts/preference.js => devtools/shared/fronts/preference.js
rename : devtools/client/fronts/property-iterator.js => devtools/shared/fronts/property-iterator.js
rename : devtools/client/fronts/reflow.js => devtools/shared/fronts/reflow.js
rename : devtools/client/fronts/responsive.js => devtools/shared/fronts/responsive.js
rename : devtools/client/fronts/root.js => devtools/shared/fronts/root.js
rename : devtools/client/fronts/screenshot.js => devtools/shared/fronts/screenshot.js
rename : devtools/client/fronts/source.js => devtools/shared/fronts/source.js
rename : devtools/client/fronts/storage.js => devtools/shared/fronts/storage.js
rename : devtools/client/fronts/string.js => devtools/shared/fronts/string.js
rename : devtools/client/fronts/styles.js => devtools/shared/fronts/styles.js
rename : devtools/client/fronts/stylesheets.js => devtools/shared/fronts/stylesheets.js
rename : devtools/client/fronts/symbol-iterator.js => devtools/shared/fronts/symbol-iterator.js
rename : devtools/client/fronts/targets/browsing-context.js => devtools/shared/fronts/targets/browsing-context.js
rename : devtools/client/fronts/targets/content-process.js => devtools/shared/fronts/targets/content-process.js
rename : devtools/client/fronts/targets/local-tab.js => devtools/shared/fronts/targets/local-tab.js
rename : devtools/client/fronts/targets/moz.build => devtools/shared/fronts/targets/moz.build
rename : devtools/client/fronts/targets/target-mixin.js => devtools/shared/fronts/targets/target-mixin.js
rename : devtools/client/fronts/targets/worker.js => devtools/shared/fronts/targets/worker.js
rename : devtools/client/fronts/thread.js => devtools/shared/fronts/thread.js
rename : devtools/client/fronts/walker.js => devtools/shared/fronts/walker.js
rename : devtools/client/fronts/webconsole.js => devtools/shared/fronts/webconsole.js
rename : devtools/client/fronts/websocket.js => devtools/shared/fronts/websocket.js
rename : devtools/client/fronts/worker/moz.build => devtools/shared/fronts/worker/moz.build
rename : devtools/client/fronts/worker/push-subscription.js => devtools/shared/fronts/worker/push-subscription.js
rename : devtools/client/fronts/worker/service-worker-registration.js => devtools/shared/fronts/worker/service-worker-registration.js
rename : devtools/client/fronts/worker/service-worker.js => devtools/shared/fronts/worker/service-worker.js
2020-03-20 15:53:23 +02:00
Julian Descottes ad4b5dfb37 Bug 1604539 - Rename shared/fronts to client/fronts in the devtools codebase r=nchevobbe
Depends on D67603
This patch is an automated string replace of shared/fronts/ to client/fronts/ in devtools.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 12:57:58 +00:00
Miriam 9d51161278 Bug 1613165 - Ensure adding or removing breakpoint does not disable debugger statement.
Differential Revision: https://phabricator.services.mozilla.com/D67172

--HG--
extra : moz-landing-system : lando
2020-03-18 22:41:20 +00:00
Tom Schuster 5eb9932e47 Bug 1621813 - Remove nsIScriptError.exceptionFlag. r=mccr8
I made some changes in preparation for removing nsIScriptError.flags in favor
of nsIConsoleMessage.logLevel.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 21:31:44 +00:00
Alexandre Poirot 2c6d4bea78 Bug 1623350 - Remove references to tabAttached. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D67455

--HG--
extra : moz-landing-system : lando
2020-03-19 15:06:35 +00:00
Julian Descottes 3df40590e9 Bug 1621886 - Call Actor destroy from all actors r=nchevobbe
Depends on D66780

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

--HG--
extra : moz-landing-system : lando
2020-03-18 10:48:22 +00:00
Mihai Alexandru Michis c8f56f1eb8 Bug 1620194 - Fix eslint violation in browser_connectToFrame.js
CLOSED TREE

--HG--
extra : amend_source : fa52a47840c950719be63d3f2d4e28a32b95eed1
2020-03-18 11:58:55 +02:00
Julian Descottes 22a011204c Bug 1620194 - Remove actor-registry actor r=ochameau
Depends on D65564

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

--HG--
extra : moz-landing-system : lando
2020-03-18 09:29:45 +00:00
Julian Descottes c230c0e21e Bug 1620194 - Stop registering test actor dynamically r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D65564

--HG--
extra : moz-landing-system : lando
2020-03-18 09:17:17 +00:00
Nicolas Chevobbe aa9535d9d8 Bug 1621712 - Switch ActorPool usage to Pools in devtools/server/actors. r=jdescottes.
All the actors using ActorPool now use Pool instead.
A few changes were needed since the API are a bit different:
- addActor(x) was changed to manage(x)
- removeActor(x) was changed to x.destroy() (which removes x from the Pool)
- x.registeredPool was changed into x.parent() (registeredPool was the Pool x was in)
- conn.addActorPool calls were removed as it's already done in the Pool _poolMap getter
- conn.removeActorPool(x) calls were turned into x.destroy , as the former is called
  from Pool#destroy.

Also, some actors were overriding Actor#initialize without calling
Actor.prototype.initialize.call, which mean they didn't have a `conn`
property.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 06:32:24 +00:00
Jason Laster a97162dd59 Bug 1620651 - Watchpoints should ignore blackboxed files. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D65764

--HG--
extra : moz-landing-system : lando
2020-03-16 17:29:17 +00:00
Nicolas Chevobbe cf1c7818c2 Bug 1620270 - Extend the Actor class for actors created for tests. r=ochameau.
This will help us migrate some code to use Actor methods.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 17:31:04 +00:00
Alexandre Poirot 69614d0bdc Bug 1622219 - 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-16 11:37:47 +00:00
Andreea Pavel 43ef099e3f Backed out 4 changesets (bug 1619622, bug 1622219) for failing dt at browser_dbg-browser-content-toolbox.js on a CLOSED TREE
Backed out changeset ee78eb11695d (bug 1619622)
Backed out changeset f83aee4ecf04 (bug 1622219)
Backed out changeset 6616e4b92e83 (bug 1622219)
Backed out changeset 48d662255ed1 (bug 1622219)
2020-03-16 13:33:51 +02:00
Alexandre Poirot 3130556e78 Bug 1622219 - 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-13 12:26:13 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Tom Schuster ff852cea9c Bug 1621817 - Remove nsIScriptError.strictFlag. r=remote-protocol-reviewers,mccr8,whimboo
I am not sure if you are okay with reviewing all those test changes.
Sadly it's not that easy to search through our huge JavaScript code
base for some generic name like 'isStrict'.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 16:12:16 +00:00
Mihai Alexandru Michis 6aff1e4070 Backed out 5 changesets (bug 1619622) for causing devtool failures in browser_dbg-browser-content-toolbox.js
CLOSED TREE

Backed out changeset d447fd6fa18d (bug 1619622)
Backed out changeset f2ac72165a3a (bug 1619622)
Backed out changeset ceeaf109d8b6 (bug 1619622)
Backed out changeset 778c166fd33f (bug 1619622)
Backed out changeset 9a2b75a25794 (bug 1619622)
2020-03-11 21:17:35 +02: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 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
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 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
Emma Malysz 4d71db7b6d Bug 1604299, Remove remaining references to XULDocument r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D58143

--HG--
extra : moz-landing-system : lando
2020-03-06 21:51:36 +00:00
Yura Zenevich fc528a6c7a Bug 1599806 - update accessibility actors tests to support parent accessibility actor. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D58808

--HG--
extra : moz-landing-system : lando
2020-03-06 16:28:27 +00:00
Sebastian Zartner f2a579e171 Bug 963933 - Tests for searching for elements via XPath in Inspector. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D64860

--HG--
extra : moz-landing-system : lando
2020-03-04 19:54:48 +00:00
wartmanm 878f6df197 Bug 1548469 - Step in to the next script r=jlast
Depends on D65008

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

--HG--
extra : moz-landing-system : lando
2020-03-03 18:44:43 +00:00
Alexandre Poirot b927c79579 Bug 1614494 - Refactor all DevTools test using mozbrowser iframes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D65229

--HG--
rename : devtools/server/tests/chrome/setup-in-child.js => devtools/server/tests/browser/setup-in-child.js
rename : devtools/server/tests/chrome/setup-in-parent.js => devtools/server/tests/browser/setup-in-parent.js
extra : moz-landing-system : lando
2020-03-04 16:32:12 +00:00
Arthur Iakab 86c980eba4 Backed out 2 changesets (bug 963933) for causing devtools failures on browser_inspector_search-03.js
CLOSED TREE

Backed out changeset d33b655d9fab (bug 963933)
Backed out changeset ed3f61f1c32c (bug 963933)

--HG--
extra : rebase_source : 4cf04bc52117beaf023151fb14601cd8cb3df35b
2020-03-04 13:32:09 +02:00
Sebastian Zartner 288748ec6c Bug 963933 - Tests for searching for elements via XPath in Inspector. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D64860

--HG--
extra : moz-landing-system : lando
2020-03-04 10:14:42 +00:00
Marcos Cáceres 65ea85a94c Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp,agi,ladybenko
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 05:02:27 +00:00
Razvan Maries e5f96b8645 Backed out changeset 27b9929438f8 (bug 1603673) for perma failures on browser_ssb_manifest_scope.js. CLOSED TREE 2020-03-04 06:34:48 +02:00
Marcos Cáceres 635fd4573d Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp,agi,ladybenko
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 03:10:06 +00:00
Alexandre Poirot da1f4a952d Bug 1614494 - Migrate connectToFrame to browser mochitest and use <browser> element. r=pbro,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D62793

--HG--
extra : moz-landing-system : lando
2020-03-03 14:11:57 +00:00
Julian Descottes 0bc74c9a03 Bug 1618876 - Return a process descriptor in RootFront getProcess/getMainProcess r=ochameau
Depends on D64744

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

--HG--
extra : moz-landing-system : lando
2020-03-03 09:24:55 +00:00
Julian Descottes 4e3fc764f9 Bug 1618876 - Remove backward compatibility related to process descriptor r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D64744

--HG--
extra : moz-landing-system : lando
2020-03-03 09:24:47 +00:00
Brian Birtles 650bcd6848 Bug 1292001 - Fix lint warnings on a CLOSED TREE; a=lint-fix
Differential Revision: https://phabricator.services.mozilla.com/D64917

--HG--
extra : moz-landing-system : lando
2020-03-02 07:21:25 +00:00
Brian Birtles 280d5a112d Bug 1292001 - Update expected easing for transitions in DevTools tests; r=daisuke
The transition-timing-function is now applied to the effect as opposed to the
individual keyframes.

Depends on D64523

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

--HG--
extra : moz-landing-system : lando
2020-03-02 06:55:29 +00:00
Narcis Beleuzu b2ccce862e Backed out changeset 2c1dd534e937 (bug 1603673) for geckoview failures on webAppManifestPref. CLOSED TREE 2020-02-27 08:50:39 +02:00
Marcos Cáceres 2cc840acbb Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp,agi,ladybenko
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 18:41:59 +00:00
Kris Maglione 9fe389f830 Bug 1609443: Part 2 - Fix most dodgy uses of fission.autostart pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D64435

--HG--
extra : moz-landing-system : lando
2020-02-26 19:43:32 +00:00
Tanny_m 010d102d37 Bug 1597046 - addressing the revision. r=sebo
Differential Revision: https://phabricator.services.mozilla.com/D55384

--HG--
extra : moz-landing-system : lando
2019-12-10 21:54:05 +00:00
Nicolas Chevobbe ab439621fd Bug 1617210 - Fix issue with duplicated ObjectFronts in the scopes panel. r=jlast.
Since the thread actor caches the object actors
it creates, if an object had multiple properties
referencing the same object, we would create
multiple fronts for the same object actor, which
would confuse protocol.js.
The fix consist in checking if a front already exists
before creating a new one.
A test is added for the debugger to ensure this
works as expected and we don't regress.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 10:22:31 +00:00
Pranav Pandey 6218068e2b "Bug 1551578 - displayed a warning when text-overflow is used incorrectly. " r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D62407

--HG--
extra : moz-landing-system : lando
2020-02-21 10:22:30 +00:00
Yura Zenevich b7c111cdad Bug 1605435 - pass simulate function to a11y panel client instead of the actual simulator actor. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58544

--HG--
extra : moz-landing-system : lando
2020-02-21 04:35:45 +00:00