mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
a4cffb88df
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 |
||
---|---|---|
.. | ||
test | ||
index.xhtml | ||
moz.build | ||
original-source.js | ||
panel.js | ||
StyleEditorUI.jsm | ||
StyleEditorUtil.jsm | ||
StyleSheetEditor.jsm |