X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Finspector%2Felements%2Fstyles%2Fcolor-aware-property-value-edit.html;h=2e357ee615ae489e276e875ece1eb4538307ae72;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=f0316f25d0867929691ac47046afd7dd5f19af15;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/inspector/elements/styles/color-aware-property-value-edit.html b/src/third_party/WebKit/LayoutTests/inspector/elements/styles/color-aware-property-value-edit.html index f0316f2..2e357ee 100644 --- a/src/third_party/WebKit/LayoutTests/inspector/elements/styles/color-aware-property-value-edit.html +++ b/src/third_party/WebKit/LayoutTests/inspector/elements/styles/color-aware-property-value-edit.html @@ -6,8 +6,6 @@ function test() { - WebInspector.inspectorView.showPanel("elements"); - InspectorTest.runTestSuite([ function init(next) { @@ -64,30 +62,14 @@ function test() treeElement.startEditing(); treeElement.nameElement.textContent = "border-color"; treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("Enter")); - InspectorTest.runAfterPendingDispatches(callbackName); - - function callbackName() - { - treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("U+001B")); - treeElement.valueElement.textContent = "hsl(120, 100%, 25%)"; - treeElement.kickFreeFlowStyleEditForTest(); - InspectorTest.runAfterPendingDispatches(kicked); - } + treeElement.valueElement.textContent = "hsl(120, 100%, 25%)"; + treeElement.kickFreeFlowStyleEditForTest(); + InspectorTest.waitForStyleApplied(kicked); function kicked() { treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("U+0009", false, false, true)); - InspectorTest.runAfterPendingDispatches(callbackBack); - } - - function callbackBack() - { treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("U+0009")); - InspectorTest.runAfterPendingDispatches(callbackForward); - } - - function callbackForward() - { InspectorTest.addResult(treeElement.valueElement.textContent); next(); } @@ -105,7 +87,7 @@ function test() function setFormat(newFormat) { format = newFormat; - WebInspector.inspectorView.panel("elements").sidebarPanes.styles._colorFormatSettingChanged(); + WebInspector.panels.elements.sidebarPanes.styles._colorFormatSettingChanged(); } function startEditingAndDumpValue(format, propertyName, next)