| Index: LayoutTests/inspector/elements/resources/iframe-load-event-iframe.js
|
| diff --git a/LayoutTests/inspector/elements/resources/iframe-load-event-iframe.js b/LayoutTests/inspector/elements/resources/iframe-load-event-iframe.js
|
| index 2dbe287f995670b6a8df9844c3754d5dad30c129..18962715e667a0c28a19c3b8d499301570039b6f 100644
|
| --- a/LayoutTests/inspector/elements/resources/iframe-load-event-iframe.js
|
| +++ b/LayoutTests/inspector/elements/resources/iframe-load-event-iframe.js
|
| @@ -10,7 +10,7 @@ function test()
|
|
|
| function step1()
|
| {
|
| - WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.NodeInserted, nodeInserted);
|
| + WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.NodeInserted, nodeInserted);
|
| InspectorTest.evaluateInPage("loadSecondIFrame()");
|
|
|
| function nodeInserted(event)
|
| @@ -18,7 +18,7 @@ function test()
|
| var node = event.data;
|
| if (node.getAttribute("id") === "myframe") {
|
| InspectorTest.expandElementsTree(step2);
|
| - WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.NodeInserted, nodeInserted);
|
| + WebInspector.domModel.removeEventListener(WebInspector.DOMModel.Events.NodeInserted, nodeInserted);
|
| }
|
| }
|
| }
|
|
|