Commit Graph
16848 Commits
Author SHA1 Message Date
Alexandre Poirot b446e32dd9 Bug 1510690 - Do focus the content window from the actor when the toolbox closes. r=nchevobbe
No RDP request should be done when the toolbox closes as there no guarantee that
the request will complete. Instead, such cleanup should be done by the actors.

Differential Revision: https://phabricator.services.mozilla.com/D38309
2019-07-31 08:12:16 +00:00
Daniel Varga a9529607c7 Merge mozilla-inbound to mozilla-central. a=merge 2019-07-31 00:52:26 +03:00
Emilio Cobos Álvarez f153aaf577 Bug 1569911 - followup: Update properties database since the order some structs are loaded changed.
MANUAL PUSH: orange
2019-07-30 14:16:48 +02:00
Daniel Varga 05081ead08 Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE
Backed out changeset 998582bf083d (bug 1387894)
Backed out changeset cd58aae7d47b (bug 1387894)
Backed out changeset a51919fb2062 (bug 1387894)
Backed out changeset ef7b589d751b (bug 1387894)
Backed out changeset 75c0249b594a (bug 1387894)
Backed out changeset 4a75f2556242 (bug 1387894)
Backed out changeset 0bff9ba4237c (bug 1387894)
Backed out changeset 80040c0a275e (bug 1387894)
Backed out changeset 02814f69872d (bug 1387894)
2019-07-30 21:05:59 +03:00
Gabriel Luong d2c81efd27 Bug 1569780 - Remove unused notificationBox reference in the inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39787
2019-07-30 09:30:14 +00:00
Tom Ritter 14f681e31e Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

Differential Revision: https://phabricator.services.mozilla.com/D38809
2019-07-30 15:12:08 +00:00
Oriol Brufau aa2cfe8407 Bug 1544175 - Fix browser_console.js. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38804
2019-07-29 22:06:57 +00:00
Oriol Brufau ab7fb91fef Bug 1544175 - Prevent devtools from accessing CPOWs. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38803
2019-07-29 22:16:49 +00:00
Jason Laster ca97847588 Bug 1565578 - 'Step in' exits function. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D38769
2019-07-29 22:40:53 +00:00
Alexandre Poirot 8c033a354a Bug 1568150 - Make Toolbox.destroyInspector synchronous. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D39680
2019-07-29 16:52:31 +00:00
Alexandre Poirot bd645c3ccc 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
2019-07-29 17:16:11 +00:00
Alexandre Poirot e16bbf57d3 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
2019-07-29 16:52:28 +00:00
Kevin Morehouse b43d5f0987 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
2019-07-29 19:33:17 +00:00
Belén Albeza 3a75da81d6 Bug 1553799 - Part 3: Move serviceContainer to its own module r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39374
2019-07-29 12:53:18 +00:00
Belén Albeza 3a2e17b944 Bug 1553799 - Part 2: Move rendering of workers to their own root component r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39373
2019-07-29 12:52:02 +00:00
Belén Albeza 1d4bab6e3c Bug 1553799 - Part 1: Move worker-related components to their own folder r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39372
2019-07-29 12:50:17 +00:00
Csoregi Natalia 28975dc584 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 db70f6cdc4 Bug 1568304 - Add test for local process debugging from aboutdebugging r=remote-debugging-reviewers,Ola,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D39086
2019-07-29 11:06:46 +00:00
Alexandre Poirot c0543cd173 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
2019-07-26 16:54:34 +00:00
Julian Descottes 4d981dcc40 Bug 1531349 - Rename multi-e10s-helper to service-workers-debug-helper r=ladybenko,yulia
Differential Revision: https://phabricator.services.mozilla.com/D38850
2019-07-29 12:59:25 +00:00
Patrick Brosset 1b9f1b2d48 Bug 1569877 - Consider textarea as a replaced element; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39866
2019-07-30 12:56:03 +00:00
Andreea Pavel a929f957f0 Backed out 8 changesets (bug 1387894) for build bustages on a CLOSED TREE
Backed out changeset 09785dc4c5aa (bug 1387894)
Backed out changeset 05728160b89e (bug 1387894)
Backed out changeset 01e5b31bcc17 (bug 1387894)
Backed out changeset c5e16646ddb1 (bug 1387894)
Backed out changeset d1f09b772bac (bug 1387894)
Backed out changeset de538a48f455 (bug 1387894)
Backed out changeset d49cd8ef0825 (bug 1387894)
Backed out changeset fcfe77fab0ec (bug 1387894)
2019-07-30 17:17:39 +03:00
Staś Małolepszy 1d2c6b44d6 Bug 1568914 - Update Fluent to @fluent/bundle 0.14.0 r=zbraniecki,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39400
2019-07-30 13:21:59 +00:00
Tom Ritter 2de54c1257 Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

Differential Revision: https://phabricator.services.mozilla.com/D38809
2019-07-30 13:19:05 +00:00
jaril cccc44dde7 Bug 997119 - Move ThreadActor logic from BrowsingContext. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D36554
2019-07-30 00:05:04 +00:00
Razvan Maries adb9031322 Bug 1543156 - Disabled test_addon_events.js on Windows 7 x32. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D39845
2019-07-30 08:44:55 +00:00
Patrick Brosset e64aed6e38 Bug 1390793 - Fix the click and hold feature simulation in RDM r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D39672
2019-07-29 21:43:58 +00:00
Ciure Andrei 9595ae9a6f Backed out 2 changesets (bug 1566450) for causing browser_aboutdebugging_process_main_local.js to perma fail CLOSED TREE
Backed out changeset b0eee59fb22c (bug 1566450)
Backed out changeset ea5411c307fb (bug 1566450)
2019-07-30 13:25:30 +03:00
yulia 89846bb83d Bug 1566450 - replace getList process json with processDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37712
2019-07-29 13:20:27 +00:00
yulia 00f33b08d9 bug 1566450 - Implement a metaclass for content processes r=ochameau,jdescottes
WIP for metaclass concept

The best place to start is the test, it outlines what the API looks like.

Differential Revision: https://phabricator.services.mozilla.com/D37253
2019-07-29 13:19:49 +00:00
Daisuke Akatsuka 8f7052e6c3 Bug 1534674: Add a test for pseudo element which defines CSS variable. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D38303
2019-07-30 08:00:57 +00:00
Daisuke Akatsuka 47f24a4d4d Bug 1534674: Add test for CSS variable changing. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37964
2019-07-30 08:00:45 +00:00
Daisuke Akatsuka f0af3876e2 Bug 1534674: Update properties referring CSS variables when the variable was updated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37963
2019-07-30 08:00:32 +00:00
Daisuke Akatsuka 67f78f30f4 Bug 1534674: Make getVariable() returns the correct value by the pseudo type. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D38302
2019-07-30 08:00:20 +00:00
Arun Kumar Mohan 1b6b845795 Bug 1554883 - Refactor requests reducer to remove disabled complexity eslint rule. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39472
2019-07-27 00:47:00 +00:00
Christoph Kerschbaumer 3bc99c2060 Bug 1567877: Apply Meta CSP to about:devtools-toolbox. r=jdescottes,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39328
2019-07-30 07:14:09 +00:00
Patrick Brosset 9de3b82217 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
2019-07-29 11:43:54 +00:00
Patrick Brosset c727c6c5a9 Bug 1565652 - Treat input and select unconditionally as replaced elements; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39199
2019-07-29 11:42:07 +00:00
Julian Descottes 3467fcc9e2 Bug 1569495 - Stop using innerHTML in HTML Tooltip r=miker
Depends on D39644

Differential Revision: https://phabricator.services.mozilla.com/D39645
2019-07-29 11:56:59 +00:00
Julian Descottes 4a1d954727 Bug 1569495 - Stop using inline styles and inner HTML for image tooltip r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39644
2019-07-29 11:46:53 +00:00
Alexandre Poirot 030aa32f69 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
2019-07-29 09:20:31 +00:00
Alexandre Poirot 735b357308 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
2019-07-29 09:20:29 +00:00
Tom Schuster 4f127dfe56 Bug 1569122 - Limit Worker/SharedWorker MIME type blocking to Beta/Nightly. r=ckerschb
Depends on D39634

Differential Revision: https://phabricator.services.mozilla.com/D39635
2019-07-29 07:25:37 +00:00
Gurzau Raul 8818582286 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-29 13:06:31 +03:00
Alexandre Poirot 383a8cddbe 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
2019-07-29 09:18:14 +00:00
Nicolas Chevobbe cae8319c82 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
2019-07-29 08:44:08 +00:00
Nicolas Chevobbe b1af817c23 Bug 1567832 - Create a preference for Fission Browser Console. r=yulia.
Differential Revision: https://phabricator.services.mozilla.com/D39646
2019-07-29 08:43:25 +00:00
Daisuke Akatsuka 5aebd04bc4 Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827
2019-07-29 08:32:46 +00:00
Bogdan Tara 7c2c63917b 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 e883120f6f Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827
2019-07-29 02:29:44 +00:00