mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Backed out changeset 14f893f7de2d (bug 1488377) for mochitest failures in devtools/server/tests/mochitest/test_css-properties.html
This commit is contained in:
parent
b84d8a778e
commit
023013edac
@ -1454,6 +1454,7 @@ Inspector.prototype = {
|
||||
this._search = null;
|
||||
}
|
||||
|
||||
const cssPropertiesDestroyer = this._cssProperties.front.destroy();
|
||||
const sidebarDestroyer = this.sidebar.destroy();
|
||||
const ruleViewSideBarDestroyer = this.ruleViewSideBar ?
|
||||
this.ruleViewSideBar.destroy() : null;
|
||||
@ -1486,6 +1487,7 @@ Inspector.prototype = {
|
||||
this.telemetry = null;
|
||||
|
||||
this._panelDestroyer = promise.all([
|
||||
cssPropertiesDestroyer,
|
||||
markupDestroyer,
|
||||
sidebarDestroyer,
|
||||
ruleViewSideBarDestroyer
|
||||
|
@ -237,7 +237,7 @@ const initCssProperties = async function(toolbox) {
|
||||
|
||||
// Get the list dynamically if the cssProperties actor exists.
|
||||
if (toolbox.target.hasActor("cssProperties")) {
|
||||
front = toolbox.target.getFront("cssProperties");
|
||||
front = CssPropertiesFront(client, toolbox.target.form);
|
||||
db = await front.getCSSDatabase();
|
||||
} else {
|
||||
// The target does not support this actor, so require a static list of supported
|
||||
|
Loading…
Reference in New Issue
Block a user