Index: LayoutTests/inspector/elements/edit-style-attribute.html |
diff --git a/LayoutTests/inspector/elements/edit-style-attribute.html b/LayoutTests/inspector/elements/edit-style-attribute.html |
index c1f1177e6a726c42ff535d3babeba2d63c6b7ce9..18c086c19d9442ae340237577160be695eba8843 100644 |
--- a/LayoutTests/inspector/elements/edit-style-attribute.html |
+++ b/LayoutTests/inspector/elements/edit-style-attribute.html |
@@ -31,11 +31,11 @@ function test() |
{ |
InspectorTest.evaluateInPage("testSetNewValue()"); |
- WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener); |
+ WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, listener); |
function listener(event) |
{ |
- InspectorTest.addResult("WebInspector.DOMAgent.Events.AttrModified should be issued"); |
- WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener); |
+ InspectorTest.addResult("WebInspector.DOMModel.Events.AttrModified should be issued"); |
+ WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener); |
next(); |
} |
}, |
@@ -44,18 +44,18 @@ function test() |
{ |
InspectorTest.evaluateInPage("testSetSameValue()"); |
- WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener); |
+ WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, listener); |
function listener(event) |
{ |
- InspectorTest.addResult("WebInspector.DOMAgent.Events.AttrModified should not be issued"); |
- WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener); |
+ InspectorTest.addResult("WebInspector.DOMModel.Events.AttrModified should not be issued"); |
+ WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener); |
} |
InspectorTest.addSniffer(WebInspector.DOMNode.prototype, "_setAttributesPayload", callback); |
function callback() |
{ |
InspectorTest.addResult("WebInspector.DOMNode.prototype._setAttributesPayload should be called"); |
- WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener); |
+ WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.AttrModified, listener); |
next(); |
} |
} |