Commit Graph

20795 Commits

Author SHA1 Message Date
Daisuke Akatsuka
94dc1583db Bug 1647603: Update MDN compat data. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D80770
2020-06-24 13:35:14 +00:00
Yura Zenevich
064b6f0847 Bug 1598016 - make sure that remote frame highlighting works in browser toolbox. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D79404
2020-06-24 13:21:30 +00:00
Yura Zenevich
c5c241588f Bug 1598016 - ensure that only one accessible object is highlighted at all times. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D79403
2020-06-24 13:29:28 +00:00
Razvan Maries
592b80d333 Backed out changeset 7ff5210dae5e (bug 1645896) for build bustages. CLOSED TREE 2020-06-24 13:39:43 +03:00
Nihanth Subramanya
6be693b933 Bug 1645896 - Add a console log origins that have their cookies partitioned by dFPI. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D80675
2020-06-24 10:11:45 +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
Dorel Luca
90a64f0da1 Backed out 4 changesets (bug 1646582) for Browser-chrome failures on nsIWebProgress.addProgressListener. CLOSED TREE
Backed out changeset 2111dd0d6dc0 (bug 1646582)
Backed out changeset e6c496c5a4b1 (bug 1646582)
Backed out changeset 49b4ae8c8be0 (bug 1646582)
Backed out changeset 9d42ec89240c (bug 1646582)
2020-06-24 07:50:07 +03:00
Matt Woodrow
f430dac707 Bug 1646582 - Pull the inner window id from the WindowGlobalParent, rather than passing it across PBrowser for updateForLocationChange. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80131
2020-06-24 03:25:35 +00:00
Matt Woodrow
acd97f7b2c Bug 1646582 - Remove RemoteWebProgressManager. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80129
2020-06-24 03:25:09 +00:00
Daisuke Akatsuka
762d6b5b85 Bug 1591307: Localize Settings component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D79809
2020-06-19 10:56:59 +00:00
Daisuke Akatsuka
f913d2c879 Bug 1591307: Localize Footer component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D79808
2020-06-18 07:28:50 +00:00
Daisuke Akatsuka
629864cbae Bug 1591307: Localize NodePane component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D79807
2020-06-19 10:58:08 +00:00
Daisuke Akatsuka
cb287a6307 Bug 1591307: Localize IssueItem component. r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D79806
2020-06-19 11:00:22 +00:00
Daisuke Akatsuka
4268b89051 Bug 1591307: Localize IssuePane component. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D79805
2020-06-18 07:28:03 +00:00
Daisuke Akatsuka
1c09f71859 Bug 1591307: Localize CompatibilityApp component. r=jdescottes,flod
Differential Revision: https://phabricator.services.mozilla.com/D79804
2020-06-18 07:27:50 +00:00
Daisuke Akatsuka
1e1c4fc175 Bug 1591307: Introduce basic localization mechanism. r=jdescottes,stas
Differential Revision: https://phabricator.services.mozilla.com/D79803
2020-06-23 23:26:42 +00:00
Brad Werth
5c0d68416b Bug 1498336: Modify test browser_toolbox_rule_view_reload.js to await reflow of the Rule View, not just that its "refreshed". r=mtigley
This change forces a reflow + repaint of the Rule View before checking its
contents. Ideally, this will remove the intermittent behavior of this test.

Differential Revision: https://phabricator.services.mozilla.com/D66671
2020-06-23 15:36:58 +00:00
Julien Wajsberg
dcc454abe5 Bug 1647650 - Reference the new profiler server instead of the old one r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D80613
2020-06-23 12:12:09 +00:00
Julian Descottes
426d07f236 Bug 1646636 - Disable devtools.contenttoolbox.fission in inspector tests for frames + context menu r=ochameau,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D80503
2020-06-23 13:26:06 +00:00
Julian Descottes
87467dc091 Bug 1644357 - Remove unused WebExtensionDescriptor properties isAPIExtension & type r=daisuke
Depends on D78009

Differential Revision: https://phabricator.services.mozilla.com/D78868
2020-06-09 10:09:09 +00:00
Julian Descottes
d412953eea Bug 1646456 - Only call destroy on top level pools from connection onClosed r=ochameau,nchevobbe
Depends on D80060

Differential Revision: https://phabricator.services.mozilla.com/D80064
2020-06-23 11:08:30 +00:00
Julian Descottes
4006b42e26 Bug 1646456 - Remove unused noCleanup argument from removeActorPool r=nchevobbe
Depends on D80059

removeActorPool is only called from one spot, which always passes the second optional argument as true.

Differential Revision: https://phabricator.services.mozilla.com/D80060
2020-06-22 12:54:26 +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
Coroiu Cristina
8126633a9c Bug 1644044 - disable browser_dbg-old-breakpoint.js on linux and mac for frequesnt failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D80388
2020-06-23 10:23:15 +00:00
Butkovits Atila
afbfabf2f0 Backed out changeset b09c7ddea2a4 (bug 1646678) for causing leaks. CLOSED TREE 2020-06-23 11:06:54 +03:00
Nicolas Chevobbe
b5493ef467 Bug 1646678 - Allow resource watcher tests to force server side support. r=ochameau.
This is done by getting the value of the `devtools.testing.enableServerWatcherSupport`
preference on the WatcherActor, and using its result to enable the traits or not.
On the browser_resources_* test that have both legacy and server listener, we
run the tests twice, without and with the pref to have some decent coverage.

Differential Revision: https://phabricator.services.mozilla.com/D79983
2020-06-22 12:15:11 +00:00
Narcis Beleuzu
b894acb874 Backed out 4 changesets (bug 1646582) for mochitest failures on test_ext_tabs_create.html . CLOSED TREE
Backed out changeset ce5cdfc5d7cf (bug 1646582)
Backed out changeset 2ac69a2b6708 (bug 1646582)
Backed out changeset 74d89cb24414 (bug 1646582)
Backed out changeset 7de0ff1af560 (bug 1646582)
2020-06-23 06:30:03 +03:00
James Teh
316e5c9eca Bug 1646267: In Dev Tools autocompletes, Only rebuild the list a11y clone when the main list changes. r=nchevobbe
Previously, the list clone was completely replaced every time aria-activedescendant was set.
This caused screen readers to extraneously report this as a new list every time the user cursored to a different item, even if the items hadn't changed.

Differential Revision: https://phabricator.services.mozilla.com/D79941
2020-06-23 01:57:52 +00:00
Matt Woodrow
2ee0adfb0e Bug 1646582 - Pull the inner window id from the WindowGlobalParent, rather than passing it across PBrowser for updateForLocationChange. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80131
2020-06-23 01:24:17 +00:00
Matt Woodrow
f851c6be5b Bug 1646582 - Remove RemoteWebProgressManager. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80129
2020-06-23 01:23:59 +00:00
Sebastian Zartner
e6b39abe08 Bug 1646945 - Fixed MDN URLs linked to from the storage types. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D80369
2020-06-22 18:03:57 +00:00
Julian Descottes
f1c04a710c Bug 1645017 - Provide URL_ROOT variants for example.net, example.org r=ochameau
When testing fission scenarios in mochitests it can be useful to load test
documents with different TLDs.

Differential Revision: https://phabricator.services.mozilla.com/D80149
2020-06-22 17:19:05 +00:00
Nicolas Chevobbe
1e9044a708 Bug 1646633 - Fix intermittent on browser_storage_cache_error.js. r=jdescottes,ochameau.
This patch removes the browsingContextID getter in favor of creating a property
on the instance in the constructor.
The getter was an attempt to handle the fact that we can have multiple browsing
context over time, but it wasn't working that well, so we'll tackle that as
part of Bug 1625027.

Differential Revision: https://phabricator.services.mozilla.com/D80151
2020-06-22 11:36:32 +00:00
Csoregi Natalia
d934cffb58 Bug 1640234 - Disabled browser_application_panel_target-switching.js on Linux and Windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D80431
2020-06-22 11:24:35 +00:00
Farooq AR
0884c9f3ce Bug 1636421 - Refactor response panel styles into separate file. r=Honza,bomsy
Depends on D80336

Differential Revision: https://phabricator.services.mozilla.com/D80337
2020-06-21 15:14:29 +00:00
Farooq AR
2aa84458db Bug 1636421 - Merge Message panel with the Response panel. r=Honza,bomsy
MessagesPanel is now MessagesView and it is now rendered in Response panel instead of TabboxPanel.

Depends on D80335

Differential Revision: https://phabricator.services.mozilla.com/D80336
2020-06-21 15:16:08 +00:00
Farooq AR
65668ef1a7 Bug 1636421 - Rename MessagesPanel to MessagesView. r=Honza,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D80335
2020-06-19 16:07:41 +00:00
Tooru Fujisawa
74dfbb2d11 Bug 1647026 - Disallow Array.prototype.fill in eager evaluation. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D80373
2020-06-20 18:59:52 +00:00
Hubert Boma Manilla
43efe182ba Bug 1646940 - block request only when there is a reason or an extension id r=Honza
Temp fix  should land in 79,  uplift to 78, and then remove from 79

Differential Revision: https://phabricator.services.mozilla.com/D80305
2020-06-19 09:36:50 +00:00
Harald Kirschner
df0102e3be Bug 1642034 - Update DevTools Whats New for 78 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D80280
2020-06-18 22:49:48 +00:00
Dorel Luca
83762a1f31 Backed out changeset 40dae06d5e4d (bug 1646678) for Devtools failures in tests/browser_resources_several_resources.js. CLOSED TREE 2020-06-18 23:21:43 +03:00
Nicolas Chevobbe
06852fdbb6 Bug 1646678 - Allow resource watcher tests to force server side support. r=ochameau.
This is done by getting the value of the `devtools.testing.enableServerWatcherSupport`
preference on the WatcherActor, and using its result to enable the traits or not.
On the browser_resources_* test that have both legacy and server listener, we
run the tests twice, without and with the pref to have some decent coverage.

Differential Revision: https://phabricator.services.mozilla.com/D79983
2020-06-18 15:20:14 +00:00
Hubert Boma Manilla
12ac6882be Bug 1644275 - Add a new Channel map r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D79137
2020-06-18 14:44:12 +00:00
Hubert Boma Manilla
1718c07f68 Bug 1622925 - Wait for navigate to make sure the page title is available r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D79836
2020-06-18 14:44:36 +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
Alexandre Poirot
31a7c42e44 Bug 1644772 - Avoid an exception when we fail detaching a SW on destroy. r=jdescottes
No idea if that is the real reason why the Browser Toolbox failed opening.
It isn't clear how WorkerTarget detach is implied in toolbox opening?

Differential Revision: https://phabricator.services.mozilla.com/D79159
2020-06-18 10:12:04 +00:00
Alexandre Poirot
1a2600afe4 Bug 1646409 - Remove unecessary gBrowser.selectedTab = BrowserTestUtils.addTab(gBrowser); in devtools tests. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D80152
2020-06-18 09:48:11 +00:00
Nicolas Chevobbe
e7f3831299 Bug 1641554 - Fix scroll to bottom issue when expanding object in console. r=bomsy.
The issue was that we were having a ResizeObserver only on the console output
node. When the output only has a few node, its height is impacted when an
element is expanded.
We fix this by observing the output parent node, which contains both the input
and the output, which prevents the issue.
In editor mode though, we still need to observe only the output element, as
the editor is on the right side.
So when the console changes from editor mode to inline, or the other way around,
we change the observed element.

A test case is added to make sure the issue is fixed. Sadly, this also means
we have to remove a test case (typing a multiline expression in input mode
won't keep the output scroll to the bottom), but it's a tradeoff I'm willing
to make as the issue isn't as annoying as the one we're fixing here.

Differential Revision: https://phabricator.services.mozilla.com/D79961
2020-06-18 07:49:47 +00:00
Emilio Cobos Álvarez
011d524740 Bug 1646336 - Don't unnecessarily lose precision in nsComputedDOMStyle. r=hiro
We're converting to nscoord in some places unnecessarily, reducing the
precision of the computed value we return.

This makes some tests unnecessarily fail if we change the base of
nscoord.

Differential Revision: https://phabricator.services.mozilla.com/D79996
2020-06-18 00:42:47 +00:00