3 <title>Change inspected iframe's
"src" attribute.
</title>
4 <script src=
"inspector-test.js"></script>
5 <script src=
"elements-test.js"></script>
8 var onIFrameLoadCalled
= false;
9 function onIFrameLoad()
11 if (onIFrameLoadCalled
)
13 onIFrameLoadCalled
= true;
19 InspectorTest
.nodeWithId("receiver", step1
);
23 node
.setAttribute("src", "src=\"http://localhost:8000/inspector/resources/iframe-from-different-domain-data.html\"");
24 InspectorTest
.addConsoleSniffer(step2
);
29 InspectorTest
.completeTest();
36 <iframe src=
"resources/iframe-from-different-domain-data.html" id=
"receiver" onload=
"onIFrameLoad()"></iframe>
38 Tests that Elements panel allows to change src attribute on iframes
39 inside inspected page.
40 See
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=41350">bug
41350</a>.