gecko-dev/devtools/client/styleeditor
Nicolas Chevobbe a4cffb88df Bug 1685268 - [devtools] Don't clear StyleEditor UI on redundant dom-loading event. r=jdescottes,ochameau.
With the previous patches in this queue, it looks like the
timing is stlightly modified, and on initial load we can
reveive stylesheet resources _before_ the intial dom-loading
event.
Since we're using dom-loading to clear the UI, we might destroy
stylesheets that we shouldn't.
We fix that in 2 folds:
- clear the UI in onTargetAvailable, which we do receive before any resources
- add a flag to the `dom-loading` resource when we're already going to be triggering
  onTargetAvailable for a given interaction (toolbox opening, cross-process
  navigation or any navigation when target will follow the global lifecycle).

Differential Revision: https://phabricator.services.mozilla.com/D109471
2021-03-26 09:46:33 +00:00
..
test Bug 1700106 - [devtools] Remove now-useless eslint files related to mochitests. r=jdescottes,Standard8 2021-03-23 15:51:18 +00:00
index.xhtml Bug 1691314 - Use DOM hidden property instead of attribute methods in devtools/client. r=nchevobbe 2021-02-09 17:32:07 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
original-source.js Bug 1644193: Implement basic server-side stylesheets watcher. r=ochameau 2020-09-14 21:29:47 +00:00
panel.js Bug 1691681 - [devtools] Introduce "commands" in order to ease calling global commands throught the Watcher. r=nchevobbe,bomsy,jdescottes 2021-03-03 17:02:42 +00:00
StyleEditorUI.jsm Bug 1685268 - [devtools] Don't clear StyleEditor UI on redundant dom-loading event. r=jdescottes,ochameau. 2021-03-26 09:46:33 +00:00
StyleEditorUtil.jsm
StyleSheetEditor.jsm Bug 1679043 - [devtools] Fix race condition in StyleEditor when editing style sheet. r=daisuke,ochameau,devtools-backward-compat-reviewers,bomsy. 2020-12-18 06:07:32 +00:00