gecko-dev/devtools/server
Nicolas Chevobbe 777cf52f7c Bug 1776831 - [devtools] Fix race condition when adding new rule from the UI. r=devtools-reviewers,ochameau.
We're flagging new added rule by adding a `userAdded` property on the StyleRule
form when the rule is added from the UI.
We then refactor `_onAddRule` so it only calls the server and stores the actorID
of the new rule.
Then, in `_createEditors`, if a rule has `userAdded`, and if we are waiting for
a user added rule, we focus the rule's selector.
We take this opportunity to emit a dedicated `new-rule-added` event instead of
relying on the more generic `ruleview-changed` that we previously had.
A few test are updated in consequence.

Differential Revision: https://phabricator.services.mozilla.com/D186463
2023-09-11 15:32:29 +00:00
..
actors Bug 1776831 - [devtools] Fix race condition when adding new rule from the UI. r=devtools-reviewers,ochameau. 2023-09-11 15:32:29 +00:00
connectors Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao 2023-07-26 16:28:11 +00:00
performance Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
socket Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
startup Bug 1846758 - Change ESLint env inclusions from mozilla/chrome-worker to worker where ctypes is not used. r=Gijs,devtools-reviewers 2023-08-04 09:51:15 +00:00
tests Bug 1849235 - [devtools] Handle ::cue pseudo-element's ignored properties in inactive CSS. r=devtools-reviewers,fluent-reviewers,flod,nchevobbe. 2023-09-09 21:16:57 +00:00
tracer Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu 2023-05-20 12:26:53 +00:00
devtools-server-connection.js Bug 1578975 - [devtools] Remove now-unused setupInParent code. r=devtools-reviewers,jdescottes 2023-01-29 20:50:48 +00:00
devtools-server.js Bug 1819767 - [devtools] Expose ChromeUtils.isDevToolsOpened to know if DevTools are debugging something in the current process. r=smaug,devtools-reviewers,jdescottes 2023-04-03 12:35:53 +00:00
moz.build Bug 1817834 - [devtools] Allow to start and stop JavaScript tracing from privileged codebases. r=devtools-reviewers,nchevobbe 2023-04-12 17:56:30 +00:00