зеркало из https://github.com/mozilla/gecko-dev.git
b1e5acf772
This revision introduces throttling for the color picker widget used in the DevTools Inspector Rules view. The color picker widget can emit a lot a requests when clicking and dragging the mouse on the color "palette". Locally I measured up to 200 requests per second. Since each request needs to apply the color to the element before the next request can be processed, this results in a bad user experience where requests will keep being applied for several seconds after the user finished using the widget. Using throttling allows to cap the number of requests we emit, while still making sure the last value is correctly sent to the server. Differential Revision: https://phabricator.services.mozilla.com/D90530 |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild | ||
tsconfig.json |