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

21281 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 2378891a30 Bug 1659643 - Refactor browser_dbg-chrome-debugging.js. r=bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D87408
2020-08-19 12:46:52 +00:00
Cody Welsh 2184f67eef Bug 1654218 - single grid layout in Fission popup. r=nchevobbe
Wraps the header container and the preferences list in a grid layout
that is meant to be a "single source of truth" for nested grids via
subgrid.

Differential Revision: https://phabricator.services.mozilla.com/D86866
2020-08-19 08:16:35 +00:00
Sonia Singla 5f5c9fd7f2 Bug 1659267 - Remove usages of -moz-user-select across the Firefox codebase. r=emilio,marionette-reviewers,geckoview-reviewers,preferences-reviewers,whimboo,agi
Differential Revision: https://phabricator.services.mozilla.com/D87499
2020-08-18 23:37:51 +00:00
Csoregi Natalia c1ed2ba64f Backed out 6 changesets (bug 1518999) for marionette failures on test_refresh_firefox.py. CLOSED TREE
Backed out changeset eb8e5411868e (bug 1518999)
Backed out changeset 0924e0169dcb (bug 1518999)
Backed out changeset b7de245b329c (bug 1518999)
Backed out changeset f2a6a3797ef1 (bug 1518999)
Backed out changeset 123403a14312 (bug 1518999)
Backed out changeset 1968b8ca14d7 (bug 1518999)
2020-08-18 23:53:26 +03:00
Sean Feng f59ae11633 Bug 1518999 - Refactor some performance.getEntries related tests r=mstange
Some tests made some assumptions about the number of returned entries
by performance.getEntries, and these assumptions are not valid
anymore once we added new entries.

Depends on D66463

Differential Revision: https://phabricator.services.mozilla.com/D68645
2020-07-31 19:20:41 +00:00
Nicolas Chevobbe 4024f7b515 Bug 1659407 - Remove newCacheStructure webconsole trait. r=ladybenko.
Differential Revision: https://phabricator.services.mozilla.com/D87234
2020-08-18 15:11:59 +00:00
Jan Odvarko 24a06c199b Bug 1629712 - Fix documentation text. r=victoria
Differential Revision: https://phabricator.services.mozilla.com/D87316
2020-08-17 22:52:21 +00:00
Julian Descottes 1ecab54df3 Bug 1658888 - Remove old backward compat code for ArrayBuffer marshalling r=ochameau,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86947
2020-08-17 18:35:18 +00:00
Daisuke Akatsuka fca6e1a13d Bug 1659364: Update MDN compat data. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D87202
2020-08-17 21:21:02 +00:00
Kris Maglione 0c976d908a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-08-17 20:22:12 +00:00
Kris Maglione 3af8c4138c Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.

Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Shinichi Morimoto bc916f4b16 Bug 1659265 - remove layout.css.offset-logical-properties.enabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D87297
2020-08-17 17:51:31 +00:00
Nicolas Chevobbe 6a8d6386cb Bug 1658724 - Don't start the parser worker if it's not needed when evaluating an expression in the console. r=jdescottes. DONTBUILD
In `getMappedExpression`, we check if the expression contains `await `, and in
such case, transform the input to handle top-level await expressions.

The catch is that we first check the existence of this.parserService, and the
getter for parserService will start the parser worker if it wasn't the case yet.
That means we were always spawning the parser worker, even if it wasn't going
to be used, consuming unnecessary resources.

This patch removes the conditions in the if, as `parserService` will always be truthy.

Differential Revision: https://phabricator.services.mozilla.com/D86826
2020-08-17 13:22:51 +00:00
Daisuke Akatsuka 35bbacb047 Bug 1605743: Update target front when starting to listen. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D87225
2020-08-17 11:52:45 +00:00
iamnk f613ce1d3e Bug 1658460 - Swap collapse and block icons for blocked network message. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D87083
2020-08-17 07:15:37 +00:00
Nicolas Chevobbe 8b3f8024e2 Bug 1655406 - Fix race condition when hitting Enter. r=Honza.
Sometimes, it might happen that the user triggered the popup
opening (by typing a letter) and hit Enter before the popup
was already shown, which would result in a blank popup being opened.
This patch addresses that by storing the popup opening promise
and if it exists in the code that handle the Enter key, wait until
the promise resolves and hide the popup.

It would be tricky to write a consistent test as this race is depending
on the server response time and the time it take for the popup to be
shown; but manual tests seemed to indicate this fixes the issue.

Differential Revision: https://phabricator.services.mozilla.com/D86548
2020-08-14 13:38:35 +00:00
Jan Odvarko b30509707e Bug 1652755 - Update DevTools What's New for 80 r=victoria
Differential Revision: https://phabricator.services.mozilla.com/D86950
2020-08-14 07:18:07 +00:00
Nicolas Chevobbe 5c09051944 Bug 1658945 - Add getResourceTypeDictionaryForTargetType function in devtools/server/actors/resources/index.js. r=ochameau.
We already had a function that was returning a resourceType dictionnary for
a given watcher or target actor, on which we were then checking the targetType
to return the appropriate dictionnary.
It feels appropriate to have a dedicated function to get the dictionnary from
the targetType only, so we can call it from other places instead of repeating
the same instructions.

Differential Revision: https://phabricator.services.mozilla.com/D86979
2020-08-14 05:09:02 +00:00
Christoph Kerschbaumer bc8e540bb5 Bug 1658323: HTTPS-Only Mode: Have console message link to SUMO page r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86577
2020-08-11 13:22:32 +00:00
Alexandre Poirot 2cee1e6ebe Bug 1657105 - Fix server side update and destroy events. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86048
2020-08-12 16:49:25 +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
Alexandre Poirot c5b1ffc8f8 Bug 1658566 - Remove all unecessary typeName. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86722
2020-08-12 16:57:05 +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 feeba49b58 Bug 1657105 - Fix server side update and destroy events. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D86048
2020-08-11 14:15:18 +00: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
Alexandre Poirot f4606b2122 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 15:10:13 +00:00
Luca Leone 877b4d38f5 Bug 1590885 - Expose line-wrap as an option in the debugger editor context menu. r=nchevobbe
Added an option to the debugger editor context menu for the user to be able to wrap / unwrap long lines.

Differential Revision: https://phabricator.services.mozilla.com/D60681
2020-08-12 13:46:32 +00:00
Kriyszig f7e148af42 Bug 1657984 - Part 2 - Test the telemetry for CSS Compatibility Tooltip r=daisuke,mtigley
We check if telemetry "devtools.tooltip.shown" is set for label
"css-compatibility" once the tooltip is toggled visible during
the test.

Differential Revision: https://phabricator.services.mozilla.com/D86403
2020-08-12 02:41:48 +00:00
Kriyszig 8e3c67669b Bug 1657984 - Part 1 - Add telemetry for CSS Compatibility Tooltip r=daisuke,mtigley
Based on initital implementation of inactive css tooltip telemetry
implementation in D32810
We record toggling of tooltip using `sendOpenScalarToTelemetry`
against the label "css-compatibility".

Differential Revision: https://phabricator.services.mozilla.com/D86402
2020-08-11 23:10:16 +00:00
Julian Descottes f05829aa08 Bug 1629890 - Use Front/Actor::isDestroyed to replace actorID checks r=nchevobbe
Depends on D86325

Differential Revision: https://phabricator.services.mozilla.com/D86356
2020-08-12 11:33:44 +00:00
Julian Descottes 028ab078d0 Bug 1629890 - Convert accessible isDestroyed getter to Actor::isDestroyed() r=yzen,nchevobbe
Depends on D86324

Differential Revision: https://phabricator.services.mozilla.com/D86325
2020-08-10 18:56:38 +00:00
Julian Descottes da1f00acb5 Bug 1629890 - Add isDestroyed helper on DevTools Actor base class r=nchevobbe
Depends on D86323

Differential Revision: https://phabricator.services.mozilla.com/D86324
2020-08-07 13:21:40 +00:00
Julian Descottes 8b34b0fb01 Bug 1629890 - Add isDestroyed helper on DevTools Front base class r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86323
2020-08-07 13:24:00 +00:00
Kyle Knaggs b4e5389cd9 Bug 1590019 - Make the styling of placeholder text in the Debugger consistent r=nchevobbe
Before this change the styling of the inputs in the Debugger was inconsistent. This patch addresses this issue by:
1. Modifying the appearance of the placeholder text by setting its `color` to `--theme-text-color-alt` and its `opacity` to `1`. This ensures that the placeholder text has a contrast ratio of 4.74 when paired with a white background and passes the 4.5:1 contrast requirement of WCAG.
2. Modifying the height of the inputs in the Primary and Secondary Panes so that they are all `24px`.

{F2406940}

Differential Revision: https://phabricator.services.mozilla.com/D85630
2020-08-12 07:25:16 +00:00
alwu 8aa1cfd69f Bug 1658614 - capture 'MediaController' thread in media preset. r=canaltinova
`MediaPlayback` thread has been renamed to `MediaController` thread, so update the captured thread list for media preset.

Differential Revision: https://phabricator.services.mozilla.com/D86749
2020-08-11 18:46:14 +00:00
Kriyszig 03380e2a78 Bug 1658356 - Fix the incorrect object key for the Tooltip message ID r=daisuke,mtigley
The key of the object is incorrectly used as `css-compatibility-experimental-supported-message`
instead of `experimental-supported`. This leads to the l10n translation
for undefined msgId leading to failure of appearance of tooltip.
This patch fixes the problem and adds a test to prevent regression.

Differential Revision: https://phabricator.services.mozilla.com/D86584
2020-08-11 16:48:18 +00:00
Noemi Erli 56b4ff381b Backed out changeset 9040cdaddc7c (bug 1658323) for causing multiple failures actors/webconsole related CLOSED TREE 2020-08-11 14:45:36 +03:00
Christoph Kerschbaumer a2f94da3d9 Bug 1658323: HTTPS-Only Mode: Have console message link to SUMO page r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86577
2020-08-11 10:00:53 +00:00
Daisuke Akatsuka 1d6b40b174 Bug 1644194: Add a test for CSS change watcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85240
2020-08-03 02:16:54 +00:00
Daisuke Akatsuka d9acff03ab Bug 1644194: Implement CSS change watcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D85239
2020-08-10 23:32:28 +00:00
Emma Malysz 3123c7867e Bug 1634030: lazify main app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84014
2020-08-10 17:09:55 +00:00
Butkovits Atila 6c59af367d Backed out changeset cfaf03474399 (bug 1651033) for failure at browser_accessibility_walker.js. CLOSED TREE 2020-08-10 19:28:49 +03:00
Julian Descottes a0acf13c9c Bug 1651033 - Prevent default for pointerup/down events with DevTools node picker r=gl
Differential Revision: https://phabricator.services.mozilla.com/D86502
2020-08-10 14:37:50 +00:00
Nicolas Chevobbe ab02d889fb Bug 1657378 - Fix intermittent failure on browser_target_list_tab_workers.js . r=jdescottes.
Don't rely on the order of execution of onTargetDestroyed.

Differential Revision: https://phabricator.services.mozilla.com/D86515
2020-08-10 08:45:41 +00:00
Julian Descottes 06dea32c55 Bug 1657899 - Do not assume any resource order in browser_resources_stylesheets.js - part 2 r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D86360
2020-08-08 00:42:21 +00:00
Butkovits Atila 996e816c65 Backed out changeset e71e10688704 (bug 1634030) for failure at browser_shim_disable_devtools.js CLOSED TREE 2020-08-08 03:46:14 +03:00
Emma Malysz 77f8ca0ed1 Bug 1634030: lazify main app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84014
2020-08-07 22:02:32 +00:00
Varun Dey 918fb21e6a Bug 1642769 - Show TypeScript icon for .tsx extension. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D86141
2020-08-07 20:36:18 +00:00
Julian Descottes 705e65c932 Bug 1652445 - Fix highlighters overlay to react to frame navigation r=rcaliman
Depends on D84973

This was highlighted by browser_grids_grid-list-on-iframe-reloaded.js which fails without this fix.

Differential Revision: https://phabricator.services.mozilla.com/D84974
2020-08-07 12:24:10 +00:00