Commit Graph

16824 Commits

Author SHA1 Message Date
Jason Laster
16912a4087 Bug 1565578 - 'Step in' exits function. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D38769

--HG--
extra : moz-landing-system : lando
2019-07-29 22:40:53 +00:00
Alexandre Poirot
b4e2944794 Bug 1568150 - Make Toolbox.destroyInspector synchronous. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D39680

--HG--
extra : moz-landing-system : lando
2019-07-29 16:52:31 +00:00
Alexandre Poirot
fb092f76b5 Bug 1568150 - Destroy the inspector front after the panels. r=gl
All fronts are destroyed when we call TargetMixin.destroy.
All but the inspector. This changeset move the inspector front destruction
from being done in parallel to panels destruction to do it after.
This highlight races in tests that are not waiting correctly for the full
loading of the grid sidebar.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:16:11 +00:00
Alexandre Poirot
78f9354e3f Bug 1568150 - Stop spinning the event loop when destroying the inspector front. r=gl
InspectorFront.destroy isn't returning a promise. So the `await` in the toolbox
code is not relevant and is only spinning the event loop.
Removing it introduce races which should be fixed.
The toolbox buttons shouldn't try to unhighlight if the inspector isn't used.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 16:52:28 +00:00
Kevin Morehouse
940cd11160 Bug 1566903 - Work-in-Progress Patch - Ensure that Ctrl/Cmd + F shortcut always re-selects the search bar query. r=jlast
This patch ensures that any existing query text in the search bar is highlighted when the Cmd/Ctrl + F shortcut is used.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:33:17 +00:00
Belén Albeza
54ea0f0fd2 Bug 1553799 - Part 3: Move serviceContainer to its own module r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39374

--HG--
extra : moz-landing-system : lando
2019-07-29 12:53:18 +00:00
Belén Albeza
7286fc89e3 Bug 1553799 - Part 2: Move rendering of workers to their own root component r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39373

--HG--
rename : devtools/client/application/test/components/components_application_panel-WorkerList.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkerList.test.js
rename : devtools/client/application/test/components/components_application_panel-WorkerListEmpty.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkerListEmpty.test.js
rename : devtools/client/application/test/components/components_application_panel-App.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkersPage.test.js
extra : moz-landing-system : lando
2019-07-29 12:52:02 +00:00
Belén Albeza
244f7f3e3b Bug 1553799 - Part 1: Move worker-related components to their own folder r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39372

--HG--
rename : devtools/client/application/src/components/Worker.css => devtools/client/application/src/components/service-workers/Worker.css
rename : devtools/client/application/src/components/Worker.js => devtools/client/application/src/components/service-workers/Worker.js
rename : devtools/client/application/src/components/WorkerList.css => devtools/client/application/src/components/service-workers/WorkerList.css
rename : devtools/client/application/src/components/WorkerList.js => devtools/client/application/src/components/service-workers/WorkerList.js
rename : devtools/client/application/src/components/WorkerListEmpty.css => devtools/client/application/src/components/service-workers/WorkerListEmpty.css
rename : devtools/client/application/src/components/WorkerListEmpty.js => devtools/client/application/src/components/service-workers/WorkerListEmpty.js
extra : moz-landing-system : lando
2019-07-29 12:50:17 +00:00
Csoregi Natalia
6ccfe19186 Backed out 2 changesets (bug 1568150) for failures on browser_ext_devtools_panel.js. CLOSED TREE
Backed out changeset 47f2bc60381a (bug 1568150)
Backed out changeset beb290a8b2a3 (bug 1568150)
2019-07-29 17:08:08 +03:00
Julian Descottes
53c3e8c0ce Bug 1568304 - Add test for local process debugging from aboutdebugging r=remote-debugging-reviewers,Ola,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D39086

--HG--
extra : moz-landing-system : lando
2019-07-29 11:06:46 +00:00
Alexandre Poirot
baecf18127 Bug 1567726 - Do not request stylesheets front for content processes in the source map service. r=yulia
This actor isn't implemented for processes, but only by browsing context targets.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:54:34 +00:00
Julian Descottes
c9aba0f00c Bug 1531349 - Rename multi-e10s-helper to service-workers-debug-helper r=ladybenko,yulia
Differential Revision: https://phabricator.services.mozilla.com/D38850

--HG--
rename : devtools/shared/multi-e10s-helper.js => devtools/shared/service-workers-debug-helper.js
extra : moz-landing-system : lando
2019-07-29 12:59:25 +00:00
Patrick Brosset
ff5f28adeb Bug 1565652 - Treat all audio elements as replaced; r=miker
Before this patch we would only treat audio elements as replaced if they
had something visible on the page, so if they had the controls attribute.
This is a specific case that we don't really need to worry about. If we
unconditionnally assume audio elements are replaced, then the code is
simpler and the heuristic is still fine for the vast majority of cases.
In fact, it's even more correct, as an audio element that's inline and
does *not* have the controls attribute still has active width/height
properties. So we do need to treat it as replaced even in this case.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:43:54 +00:00
Patrick Brosset
3c8e3aee01 Bug 1565652 - Treat input and select unconditionally as replaced elements; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39199

--HG--
extra : moz-landing-system : lando
2019-07-29 11:42:07 +00:00
Julian Descottes
bccd17fa9f Bug 1569495 - Stop using innerHTML in HTML Tooltip r=miker
Depends on D39644

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:56:59 +00:00
Julian Descottes
589fea9277 Bug 1569495 - Stop using inline styles and inner HTML for image tooltip r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39644

--HG--
extra : moz-landing-system : lando
2019-07-29 11:46:53 +00:00
Alexandre Poirot
a4067e2cad Bug 1568150 - Destroy the inspector front after the panels. r=gl
All fronts are destroyed when we call TargetMixin.destroy.
All but the inspector. This changeset move the inspector front destruction
from being done in parallel to panels destruction to do it after.
This highlight races in tests that are not waiting correctly for the full
loading of the grid sidebar.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:20:31 +00:00
Alexandre Poirot
6b20f244f3 Bug 1568150 - Stop spinning the event loop when destroying the inspector front. r=gl
InspectorFront.destroy isn't returning a promise. So the `await` in the toolbox
code is not relevant and is only spinning the event loop.
Removing it introduce races which should be fixed.
The toolbox buttons shouldn't try to unhighlight if the inspector isn't used.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:20:29 +00:00
Tom Schuster
c90eade61e Bug 1569122 - Limit Worker/SharedWorker MIME type blocking to Beta/Nightly. r=ckerschb
Depends on D39634

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

--HG--
extra : moz-landing-system : lando
2019-07-29 07:25:37 +00:00
Gurzau Raul
8611828ac4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-29 13:06:31 +03:00
Alexandre Poirot
741e60d13d Bug 1566421 - Ensure that actions.updateRequest resolves only once the action is processed. r=nchevobbe
The code callng action.updateRequest, in FirefoxDataProvider, expects the updateRequest action
to be processed once the returned promise is resolved. Otherwise it may spawn
duplicated requestData requests.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:18:14 +00:00
Nicolas Chevobbe
88c894d090 Bug 1567832 - Retrieve fission pref and use it in console classes. r=yulia.
We retrieve the preference in the hudservice, where
WebConsoles and BrowserConsoles are created from.
If the pref is set to true, we assign a different
title to the Browser Console window so it will be
easier to spot.
The preference is then passes to the BrowserConsole,
WebConsole, WebConsoleUI and finally WebConsoleConnectionProxy
instances.
Later, we'll check this pref to connect to different
targets and listen to new ones.

Depends on D39646

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:44:08 +00:00
Nicolas Chevobbe
e56950f59d Bug 1567832 - Create a preference for Fission Browser Console. r=yulia.
Differential Revision: https://phabricator.services.mozilla.com/D39646

--HG--
extra : moz-landing-system : lando
2019-07-29 08:43:25 +00:00
Daisuke Akatsuka
d6be7f04ea Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-29 08:32:46 +00:00
Bogdan Tara
05b45758c3 Backed out 2 changesets (bug 1407945) for failures on browser_tooltip.js CLOSED TREE
Backed out changeset 2ea007508cd3 (bug 1407945)
Backed out changeset 43553c5c7033 (bug 1407945)
2019-07-29 09:16:30 +03:00
Daisuke Akatsuka
0933ac4c24 Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-29 02:29:44 +00:00
Arun Kumar Mohan
e0595d81ef Bug 1554901 - Refactor onInputKeyDown method to remove disabled complexity eslint rule. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39488

--HG--
extra : moz-landing-system : lando
2019-07-27 14:59:36 +00:00
Gabriel Luong
8923476caf Bug 1539764 - Add a targetFront attribute to the Front class to retrieve the target front. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39130

--HG--
extra : moz-landing-system : lando
2019-07-26 21:40:12 +00:00
Bogdan Tara
35bb05e6e9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-27 00:41:55 +03:00
Bogdan Tara
3736b292dc Merge inbound to mozilla-central. a=merge 2019-07-27 00:38:36 +03:00
Krishnal Ciccolella
046d981ba1 Bug 1566283 - Increased width of event listener breakpoint clickable area r=davidwalsh
In `EventListeners.css` I added `width: 100%` to the `.event-listener-label` to increase the width of the clickable area.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 17:55:37 +00:00
Nicolas Chevobbe
1cc59795a9 Bug 1569190 - Remove outputNode getter from webconsole.js .r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D39516

--HG--
extra : moz-landing-system : lando
2019-07-26 16:39:18 +00:00
Nicolas Chevobbe
46b7e6f5ac Bug 1569190 - Remove JSTerm outputNode getter. r=jdescottes.
The reference isn't used within the component itself,
and is available in the webConsoleUI.
Callsites are updated.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:39:08 +00:00
Armando Ferreira
8cec468233 Bug 1558201 - Disable history navigation with Arrow keys in Editor mode. r=nchevobbe
In editor mode, there are dedicated icons to history navigation  (See Bug [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1558198 | 1558198 ]]).
Removing the arrow up/down history navigation which is troublesome when working with multi-line snippets.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 18:23:59 +00:00
Nicolas Chevobbe
52a8f8e0e7 Bug 1569187 - Move blur event listeners outside of JSTerm. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D39510

--HG--
extra : moz-landing-system : lando
2019-07-26 15:50:07 +00:00
Nicolas Chevobbe
74b0e7a43e Bug 1553180 - Move outputNode clear from JsTerm to webconsoleUI. r=jdescottes.
There's no reason it should be JsTerm's responsability
to clear the output node.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 15:49:53 +00:00
Barret Rennie
a6aabe4a62 Bug 1562821 - Mirror RemoteWebNavigation state from the <xul:browser> to the <iframe mozbrowser> when in RDM r=ochameau
In the last patch of this series, I forgot to sync `remoteWebNavigationImpl`
state in the progress listener. This patch corrects that.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 20:14:56 +00:00
Kris Maglione
87884612c0 Bug 1568035: Part 4 - Update test expections for Fission. r=mccr8
Some failures crept in and out after my last sets of annotations landed. This
patch updates most of the annotations to deal with them.

MANUAL PUSH: Lando won't let me land.

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

--HG--
extra : rebase_source : 4cfccf95c5bb2521533a9f5c4c25d67f414fb6f5
extra : histedit_source : c19187a3b3002e0eebdd809738b57641e1e432cd
2019-07-24 13:06:57 -07:00
Kris Maglione
ef02b3cbd8 Bug 1568035: Part 1 - Skip tests which cause shutdown leaks under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39459

--HG--
extra : rebase_source : 594e7c17a8aa81f9b212ff1fa492a8ab8f40d5ee
2019-07-19 15:31:16 -07:00
Yura Zenevich
9a4d844efc Bug 1568602 - ensure toolbar buttons do not shift when in focus. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D39226

--HG--
extra : moz-landing-system : lando
2019-07-25 23:19:51 +00:00
Noemi Erli
1e52c22f88 Backed out changeset 63fabd70675c (bug 1539764) for causing failures in browser_ext_addon_debugging_netmonitor.js CLOSED TREE 2019-07-26 01:29:13 +03:00
Hiroyuki Ikezoe
7e6638c54c Bug 1498729 - Fix meta viewport content to not scale the document in browser_touch_simulation.js. r=mtigley
The test is supposed that the document is not scalable at all when
"minimum-scale=maximum-scale" is set in the viewport meta content, but it's
actually invalid.  A correct content is assumed "minimum-scale=1,maximum-scale=1"
so that the document is not scaled at all.

The reason why this check has passed is that "user-scalable=no" which is set
right before this check remains in cache so that the content of the meta
viewport becomes "user-scalable=no,minimum-scale=maximum-scale" which means the
document is not scalable.  But we are going to fix this weird behavior in this
commit series so that we are no longer able to rely on the cached
"user-scalable=no" value.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 14:22:57 +00:00
Gabriel Luong
d453abb466 Bug 1539764 - Add a targetFront attribute to the Front class to retrieve the target front. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39130

--HG--
extra : moz-landing-system : lando
2019-07-25 20:44:09 +00:00
Bryan Kok
645a0fa8ca Bug 1528036 - Full page screenshot tool is not functional after page refresh r=yulia,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33832

--HG--
extra : moz-landing-system : lando
2019-07-22 12:04:04 +00:00
Florens Verschelde
c7a66ffd65 Bug 1568846 - Update link of FirefoxUX photon colors repo; r=rcaliman
- Link to new repo https://github.com/FirefoxUX/photon-colors/blob/master/photon-colors.css
- Explain why we don't include all available colors (test failure)
- Explain why we add some custom values
- Move the Red values after the Yellow ones to match upstream

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

--HG--
extra : moz-landing-system : lando
2019-07-25 18:49:06 +00:00
Jason Laster
30aa454f11 Bug 1565695 - Mousing out of a a preview should close the popup in the Browser toolbox. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37937

--HG--
extra : moz-landing-system : lando
2019-07-25 17:47:27 +00:00
Alexandre Poirot
40f0d43088 Bug 1567860 - Make inspector panel's destroy synchronous. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D39303

--HG--
extra : moz-landing-system : lando
2019-07-25 11:54:22 +00:00
Alexandre Poirot
91c0c3d8b5 Bug 1567860 - Make changes view destroy codepath synchronous. r=rcaliman
The fronts are destroyed when the toolbox closes and when a front is destroyed,
all its listeners are removed. So there is no real value in trying to unregister
them. On top of that, this destroy method is called by Inspector.destroy
and doesn't wait for its completion.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 11:54:20 +00:00
Alexandre Poirot
2ee4c1769e Bug 1567860 - Make the inspector sidebars destroy codepath synchronous. r=rcaliman
This code in ToolSidebar.destroy looks dead as there shouldn't be any sidebar
loaded in distinct iframes anymore. So we are not trying to call sidebars destroy
from here anymore. Instead, it is being done from Inspector.destroy, via the _panels
Map.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 11:54:13 +00:00
Alexandre Poirot
371c9012b2 Bug 1567860 - Make the markup view destroy codepath synchronous. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D39300

--HG--
extra : moz-landing-system : lando
2019-07-25 11:54:11 +00:00