зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1143742 - part5: fix eslint error in inspector ruleview test;r=bustage
MozReview-Commit-ID: 1W2xTQdlkaS --HG-- extra : rebase_source : 86931078b22f249fc240b092340cd2696dc619eb
This commit is contained in:
Родитель
d756d1c6ca
Коммит
7f0d26fa31
|
@ -32,8 +32,8 @@ add_task(function*() {
|
||||||
// Value is focused, lets add multiple rules here and make sure they get added
|
// Value is focused, lets add multiple rules here and make sure they get added
|
||||||
onMutation = inspector.once("markupmutation");
|
onMutation = inspector.once("markupmutation");
|
||||||
onRuleViewChanged = view.once("ruleview-changed");
|
onRuleViewChanged = view.once("ruleview-changed");
|
||||||
let valueEditor = ruleEditor.propertyList.children[1].
|
let valueEditor = ruleEditor.propertyList.children[1]
|
||||||
querySelector(".styleinspector-propertyeditor");
|
.querySelector(".styleinspector-propertyeditor");
|
||||||
valueEditor.value = "10px;background:orangered;color: black;";
|
valueEditor.value = "10px;background:orangered;color: black;";
|
||||||
EventUtils.synthesizeKey("VK_RETURN", {}, view.styleWindow);
|
EventUtils.synthesizeKey("VK_RETURN", {}, view.styleWindow);
|
||||||
yield onMutation;
|
yield onMutation;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче